mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-08 06:08:16 +02:00
* Fix compilation of crt unit for msdos tiny memory model
git-svn-id: trunk@32930 -
This commit is contained in:
parent
79c5b632f1
commit
0791422c1e
@ -472,8 +472,8 @@ LInitDel1:
|
||||
mov dx, $FFFF
|
||||
call DelayLoop
|
||||
|
||||
mov [DelayCnt], ax
|
||||
mov [DelayCnt + 2], dx
|
||||
mov word ptr [DelayCnt], ax
|
||||
mov word ptr [DelayCnt + 2], dx
|
||||
end ['AX','BX','DX', 'DI'];
|
||||
DelayCnt := -DelayCnt div $55;
|
||||
end;
|
||||
@ -490,10 +490,10 @@ asm
|
||||
mov cx, MS
|
||||
test cx, cx
|
||||
jz LDelay2
|
||||
mov si, [DelayCnt + 2]
|
||||
mov si, word ptr [DelayCnt + 2]
|
||||
mov bx, es:[di]
|
||||
LDelay1:
|
||||
mov ax, [DelayCnt]
|
||||
mov ax, word ptr [DelayCnt]
|
||||
mov dx, si
|
||||
call DelayLoop
|
||||
loop LDelay1
|
||||
|
Loading…
Reference in New Issue
Block a user