- START:
- MOV AH,00h ;get into video mode. 00 = Set Video Mode
- MOV AL,13h ;13h = 320x240x16
- INT 10h
- ; starting X & Y location + starting colour
- MOV CX,0
- MOV DX,0
- MOV AL,0
- LL1:
- MOV CX,0
- ResetAL:
- MOV AL,0x00
- LL2:
- MOV AH,0x0C
- MOV BX,0x1
- INT 0x10
- CMP CX,319
- JE NLINE
- JNE Continue
- Continue:
- ADD CX,0x01
- ADD AL,0x01
- CMP AL,16
- JE ResetAL
- JNE LL2
- NLINE:
- ADD DX,1
- CMP DX,240
- JL LL1
- WAIT_FOR_KEY_PRESS:
- MOV AH,0x00
- INT 0x16
- REBOOT:
- DB 0xEA
- DW 0x0000
- DW 0xFFFF
- times 0200h - 2 - ($ - $$) db 0
- SIGNATURE DW 0xAA55
Untitled
Posted by Anonymous on Tue 15th Jan 2013 01:19
raw | new post
modification of post by Anonymous (view diff)
Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.
kpaste.net RSS