Skip to content

Commit 34003d0

Browse files
ecm-pushbxPerditionC
authored andcommitted
sys.c: set ds = 40h for 13.41 on Watcom build too
1 parent ff933de commit 34003d0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

sys/sys.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1293,7 +1293,11 @@ BOOL haveLBA(void); /* return TRUE if we have LBA BIOS, FALSE otherwise */
12931293
"mov ax, 0x4100" /* IBM/MS Int 13h Extensions - installation check */ \
12941294
"mov bx, 0x55AA" \
12951295
"mov dl, 0x80" \
1296+
"push ds" \
1297+
"mov cx, 0x40" \
1298+
"mov ds, cx" \
12961299
"int 0x13" \
1300+
"pop ds" \
12971301
"xor ax, ax" \
12981302
"cmp bx, 0xAA55" \
12991303
"jne quit" \

0 commit comments

Comments
 (0)