;512DevOS sector loading test program
;Just prints a string, waits for a key, and returns to the OS
;Also demonstrates 512DevOS interrupts in user programs

org 0x0000

mov ah, 0x0E
mov al, "B"
int 0x10
xor ax, ax
int 0x16

mov si, string	;load and print string
int 0x21

mov si, pakmsg
int 0x21

int 0x22	 ;wait for key

int 0x19	 ;give control back to OS

string db 'If you can read this, you have successfully run the 512DevOS test program',13,10,0
pakmsg db 'Press any key to return to 512DevOS',13,10,0


times 512-($-$$) db 0	;make file 512 bytes