Assembler


         

- 7


.
 
[. .: . 252 .
, . 8.12]

Microsoft (R) Macro Assembler Version 5.00 1/1/80 04:05:31
. 8.12 젠 Page 1-1
 
PAGE ,132
TITLE . 8.12
 
0000 STACK SEGMENT STACK
0000 0040[ DW 64 DUP (?)
????
]
0080 STACK ENDS
 
0000 DISPLAY_BUFFER SEGMENT AT 0B800H
0000 DISPLAY_START LABEL WORD
0000 DISPLAY_BUFFER ENDS
 
= 03D4 CRT_INDEX EQU 03D4H
= 03D5 CRT_DATA EQU 03D5H
= 03DA CRT_STATUS EQU 03DAH
= 000A CURSOR_START EQU 10 ;
= 000B CURSOR_END EQU 11 ; 6845
 
0000 CODE SEGMENT
ASSUME CS:CODE
0000 COLOR_GRAPHICS PROC FAR
0000 1E PUSH DS ;
0001 2B C0 SUB AX, AX
0003 50 PUSH AX
 
. 8.12 ()
;----- . 8.12 ()
 
0004 BA 03D4 MOV DX, CRT_INDEX
0007 B0 0A MOV AL, CURSOR_START ;