mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-21 01:29:29 +02:00
* slight accuracy improvement in crt.delay for i8086-msdos
git-svn-id: trunk@24749 -
This commit is contained in:
parent
4e427b9663
commit
40630a7cde
@ -454,16 +454,16 @@ label
|
||||
asm
|
||||
mov ax, $40
|
||||
mov es, ax
|
||||
mov di, $6c
|
||||
xor di, di
|
||||
|
||||
mov cx, MS
|
||||
test cx, cx
|
||||
jz LDelay2
|
||||
mov si, [DelayCnt + 2]
|
||||
mov bx, es:[di]
|
||||
LDelay1:
|
||||
mov ax, [DelayCnt]
|
||||
mov dx, si
|
||||
mov bx, es:[di]
|
||||
call DelayLoop
|
||||
loop LDelay1
|
||||
LDelay2:
|
||||
|
Loading…
Reference in New Issue
Block a user