* use 'cmp mem,const' to check DontClearGraphMemory, instead of first loading it

into a register in InitModeX. This saves 1 byte of code from an initialization
  routine. Hurrah! :)

git-svn-id: trunk@40977 -
This commit is contained in:
nickysn 2019-01-21 17:43:57 +00:00
parent 5738ba19bb
commit 5655b04b1c

View File

@ -2401,9 +2401,8 @@ const CrtAddress: word = 0;
MOV CRTAddress,DX
MOV AX, 0013h
MOV BL, DontClearGraphMemory
OR BL,BL
JZ @L2
CMP BYTE PTR [DontClearGraphMemory],0
JE @L2
OR AX, 080h
@L2:
push ds