Whitespace
This commit is contained in:
parent
141b7db85d
commit
0910d0585e
3 changed files with 12 additions and 12 deletions
|
|
@ -50,11 +50,11 @@ start proc near
|
||||||
;
|
;
|
||||||
; Set driver to use the 8x8 font.
|
; Set driver to use the 8x8 font.
|
||||||
;
|
;
|
||||||
mov ah,11h ;VGA BIOS character generator function,
|
mov ah,11h ;VGA BIOS character generator function,
|
||||||
mov al,30h ; return info subfunction
|
mov al,30h ; return info subfunction
|
||||||
mov bh,3;get 8x8 font pointer
|
mov bh,3;get 8x8 font pointer
|
||||||
int 10h
|
int 10h
|
||||||
call SelectFont
|
call SelectFont
|
||||||
;
|
;
|
||||||
; Print the test string.
|
; Print the test string.
|
||||||
;
|
;
|
||||||
|
|
|
||||||
|
|
@ -41,13 +41,13 @@ start proc near
|
||||||
;
|
;
|
||||||
SETSC SC_MAP_MASK,02h ;map mask setting enables only
|
SETSC SC_MAP_MASK,02h ;map mask setting enables only
|
||||||
; plane 1, the green plane
|
; plane 1, the green plane
|
||||||
sub di,di ;start at beginning of video memory
|
sub di,di ;start at beginning of video memory
|
||||||
mov al,0ffh
|
mov al,0ffh
|
||||||
mov bp,24 ;# bars to draw
|
mov bp,24 ;# bars to draw
|
||||||
HorzBarLoop:
|
HorzBarLoop:
|
||||||
mov cx,80*10 ;# bytes per horizontal bar
|
mov cx,80*10 ;# bytes per horizontal bar
|
||||||
rep stosb ;draw bar
|
rep stosb ;draw bar
|
||||||
add di,80*10 ;point to start of next bar
|
add di,80*10 ;point to start of next bar
|
||||||
dec bp
|
dec bp
|
||||||
jnz HorzBarLoop
|
jnz HorzBarLoop
|
||||||
;
|
;
|
||||||
|
|
|
||||||
|
|
@ -74,8 +74,8 @@ HorzBarLoop:
|
||||||
; be written to planes 0, 2 & 3
|
; be written to planes 0, 2 & 3
|
||||||
; and CPU data can be written to
|
; and CPU data can be written to
|
||||||
; plane 1 (the green plane)
|
; plane 1 (the green plane)
|
||||||
SETGC GC_ENABLE_SET_RESET,0dh ;CPU data to planes 0, 2 & 3 will be
|
SETGC GC_ENABLE_SET_RESET,0dh ;CPU data to planes 0, 2 & 3 will be
|
||||||
; replaced by set/reset value
|
; replaced by set/reset value
|
||||||
SETGC GC_SET_RESET,04h ;set/reset value is 0ffh for plane 2
|
SETGC GC_SET_RESET,04h ;set/reset value is 0ffh for plane 2
|
||||||
; (the red plane) and 0 for other
|
; (the red plane) and 0 for other
|
||||||
; planes
|
; planes
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue