mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-22 11:49:23 +02:00
* 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:
parent
5738ba19bb
commit
5655b04b1c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user