pastebin - collaborative debugging tool
kpaste.net RSS


Untitled
Posted by Anonymous on Tue 15th Jan 2013 01:19
raw | new post
modification of post by Anonymous (view diff)

  1. START:
  2.     MOV AH,00h                      ;get into video mode.  00 = Set Video Mode
  3.     MOV AL,13h                      ;13h = 320x240x16
  4.     INT 10h
  5. ; starting X & Y location + starting colour
  6.     MOV CX,0
  7.     MOV DX,0          
  8.     MOV AL,0
  9. LL1:
  10.     MOV CX,0
  11. ResetAL:
  12.     MOV AL,0x00
  13. LL2:
  14.     MOV AH,0x0C
  15.     MOV BX,0x1
  16.     INT 0x10
  17.     CMP CX,319
  18.     JE NLINE
  19.     JNE Continue
  20. Continue:
  21.     ADD CX,0x01
  22.     ADD AL,0x01
  23.     CMP AL,16
  24.     JE ResetAL
  25.     JNE LL2
  26. NLINE:
  27.     ADD DX,1
  28.     CMP DX,240
  29.     JL LL1
  30. WAIT_FOR_KEY_PRESS:
  31.     MOV AH,0x00
  32.     INT 0x16
  33. REBOOT:
  34.     DB 0xEA
  35.     DW 0x0000
  36.     DW 0xFFFF
  37. times 0200h - 2 - ($ - $$)  db 0
  38. SIGNATURE DW 0xAA55

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.

Syntax highlighting:

To highlight particular lines, prefix each line with {%HIGHLIGHT}




All content is user-submitted.
The administrators of this site (kpaste.net) are not responsible for their content.
Abuse reports should be emailed to us at