Code: Select all
org 7C00h
start:
mov ah, 2
mov al, 2
mov ch, 0
mov cl, 2
mov dh, 0
mov bx, 0800h
mov es, bx
xor bx, bx
int 13h
jmp 0800h:0000h
times 510 - ($ - start) db 0
dw 0AA55h
Code: Select all
;a test program for zdio_b.asm and zdgfx_b.asm xD
segment .data
welcome db "UZ-DOS Version 0.01",13,10,0
copyright db "Copyright (c) UZ-Developement 2006, 2006-2007",13,10,0 ;it just looks cool xD
testmsg db 13,10,"intget/intprint test, input a number < 4294967296",13,10,13,10,0
br db 13,10,0
prompt db "Z:\HELL>",0
text db "You have input this number: ",0
segment .bss
stringzor resb 128
segment .text
code:
call clrscreen
mov si,welcome
call strprint
mov si,copyright
call strprint
mov si,testmsg
call strprint
mov si,prompt
call strprint
call intget
mov eax,ecx
mov si,br
call strprint
mov si,text
call strprint
call intprint
%include "zdio_b.asm"
%include "zdgfx_b.asm"