We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ff933de commit 34003d0Copy full SHA for 34003d0
sys/sys.c
@@ -1293,7 +1293,11 @@ BOOL haveLBA(void); /* return TRUE if we have LBA BIOS, FALSE otherwise */
1293
"mov ax, 0x4100" /* IBM/MS Int 13h Extensions - installation check */ \
1294
"mov bx, 0x55AA" \
1295
"mov dl, 0x80" \
1296
+ "push ds" \
1297
+ "mov cx, 0x40" \
1298
+ "mov ds, cx" \
1299
"int 0x13" \
1300
+ "pop ds" \
1301
"xor ax, ax" \
1302
"cmp bx, 0xAA55" \
1303
"jne quit" \
0 commit comments