mirror of
https://github.com/FDOS/kernel.git
synced 2025-07-23 22:04:33 +02:00
Correct fat32readwrite prototype and register use in detect LBA pragma.
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@1342 6ac86273-5f31-0410-b378-82cca8765d1b
This commit is contained in:
parent
c2fababb01
commit
43399a4335
@ -516,7 +516,7 @@ int2526readwrite(DosDrive, diskReadPacket, 0x26)
|
|||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
fat32readwrite(int DosDrive, void *diskReadPacket, unsigned intno)
|
int fat32readwrite(int DosDrive, void *diskReadPacket, unsigned intno)
|
||||||
{
|
{
|
||||||
union REGS regs;
|
union REGS regs;
|
||||||
|
|
||||||
@ -643,7 +643,7 @@ BOOL haveLBA(void); /* return TRUE if we have LBA BIOS, FALSE otherwise */
|
|||||||
"and cx, 1" \
|
"and cx, 1" \
|
||||||
"xchg cx, ax" \
|
"xchg cx, ax" \
|
||||||
"quit:" \
|
"quit:" \
|
||||||
modify [bx cx] \
|
modify [bx cx dx] \
|
||||||
value [ax];
|
value [ax];
|
||||||
#else
|
#else
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user