fix typo
This commit is contained in:
parent
416b7fd731
commit
5837a8983e
2 changed files with 12 additions and 12 deletions
16
src/boot.asm
16
src/boot.asm
|
|
@ -108,7 +108,7 @@ reset:
|
||||||
mov dx, 80
|
mov dx, 80
|
||||||
GFX_DRV GFX_GOTOXY
|
GFX_DRV GFX_GOTOXY
|
||||||
|
|
||||||
GFX_SET_WRTIE_MODE GFX_TXT_WHITE_TRANSPARENT
|
GFX_WRITE_MODE GFX_TXT_WHITE_TRANSPARENT
|
||||||
|
|
||||||
push cs
|
push cs
|
||||||
pop ds
|
pop ds
|
||||||
|
|
@ -119,7 +119,7 @@ reset:
|
||||||
mov dx, 90
|
mov dx, 90
|
||||||
GFX_DRV GFX_GOTOXY
|
GFX_DRV GFX_GOTOXY
|
||||||
|
|
||||||
GFX_SET_WRTIE_MODE GFX_TXT_BLACK_TRANSPARENT
|
GFX_WRITE_MODE GFX_TXT_BLACK_TRANSPARENT
|
||||||
|
|
||||||
push cs
|
push cs
|
||||||
pop ds
|
pop ds
|
||||||
|
|
@ -130,7 +130,7 @@ reset:
|
||||||
mov dx, 100
|
mov dx, 100
|
||||||
GFX_DRV GFX_GOTOXY
|
GFX_DRV GFX_GOTOXY
|
||||||
|
|
||||||
GFX_SET_WRTIE_MODE GFX_TXT_WHITE
|
GFX_WRITE_MODE GFX_TXT_WHITE
|
||||||
|
|
||||||
push cs
|
push cs
|
||||||
pop ds
|
pop ds
|
||||||
|
|
@ -141,7 +141,7 @@ reset:
|
||||||
mov dx, 110
|
mov dx, 110
|
||||||
GFX_DRV GFX_GOTOXY
|
GFX_DRV GFX_GOTOXY
|
||||||
|
|
||||||
GFX_SET_WRTIE_MODE GFX_TXT_BLACK
|
GFX_WRITE_MODE GFX_TXT_BLACK
|
||||||
|
|
||||||
push cs
|
push cs
|
||||||
pop ds
|
pop ds
|
||||||
|
|
@ -151,7 +151,7 @@ reset:
|
||||||
; call mouse_reset
|
; call mouse_reset
|
||||||
call mouse_init
|
call mouse_init
|
||||||
|
|
||||||
GFX_SET_WRTIE_MODE GFX_TXT_BLACK
|
GFX_WRITE_MODE GFX_TXT_BLACK
|
||||||
|
|
||||||
xor cx,cx
|
xor cx,cx
|
||||||
mov dx,0
|
mov dx,0
|
||||||
|
|
@ -162,7 +162,7 @@ reset:
|
||||||
mov si, cpt_txt
|
mov si, cpt_txt
|
||||||
GFX_DRV GFX_WRITE
|
GFX_DRV GFX_WRITE
|
||||||
|
|
||||||
GFX_SET_WRTIE_MODE GFX_TXT_WHITE_TRANSPARENT
|
GFX_WRITE_MODE GFX_TXT_WHITE_TRANSPARENT
|
||||||
|
|
||||||
mov cx,8
|
mov cx,8
|
||||||
mov dx,8
|
mov dx,8
|
||||||
|
|
@ -173,7 +173,7 @@ reset:
|
||||||
|
|
||||||
mov cx,8
|
mov cx,8
|
||||||
mov dx,24
|
mov dx,24
|
||||||
GFX_SET_WRTIE_MODE 0
|
GFX_WRITE_MODE 0
|
||||||
|
|
||||||
GFX_DRV GFX_CRS_UPDATE
|
GFX_DRV GFX_CRS_UPDATE
|
||||||
|
|
||||||
|
|
@ -189,7 +189,7 @@ reset:
|
||||||
mov ax,BDA_DATA_SEG
|
mov ax,BDA_DATA_SEG
|
||||||
mov ds,ax
|
mov ds,ax
|
||||||
endless:
|
endless:
|
||||||
GFX_SET_WRTIE_MODE GFX_TXT_BLACK
|
GFX_WRITE_MODE GFX_TXT_BLACK
|
||||||
xor cx,cx
|
xor cx,cx
|
||||||
mov dx,180
|
mov dx,180
|
||||||
GFX_DRV GFX_GOTOXY
|
GFX_DRV GFX_GOTOXY
|
||||||
|
|
|
||||||
|
|
@ -43,10 +43,10 @@
|
||||||
;
|
;
|
||||||
%define GFX_TXT_WHITE_TRANSPARENT 00000000b
|
%define GFX_TXT_WHITE_TRANSPARENT 00000000b
|
||||||
%define GFX_TXT_BLACK_TRANSPARENT 00000001b
|
%define GFX_TXT_BLACK_TRANSPARENT 00000001b
|
||||||
%define GFX_TXT_WHITE 00000011b
|
%define GFX_TXT_WHITE 00000010b
|
||||||
%define GFX_TXT_BLACK 00000010b
|
%define GFX_TXT_BLACK 00000011b
|
||||||
|
|
||||||
%macro GFX_DRV 1
|
%macro GFX_DRV 1-*
|
||||||
call word [cs:graph_driver + ((%1)*2)]
|
call word [cs:graph_driver + ((%1)*2)]
|
||||||
%endmacro
|
%endmacro
|
||||||
|
|
||||||
|
|
@ -106,7 +106,7 @@ graph_driver:
|
||||||
xchg ah,al
|
xchg ah,al
|
||||||
%endmacro
|
%endmacro
|
||||||
|
|
||||||
%macro GFX_SET_WRTIE_MODE 1
|
%macro GFX_WRITE_MODE 1
|
||||||
push fs
|
push fs
|
||||||
|
|
||||||
push BDA_DATA_SEG
|
push BDA_DATA_SEG
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue