Changeset 630 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/VariablesAndDPTs/AccessDPT.asm
- Timestamp:
- Dec 31, 2024, 3:38:24 PM (8 days ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Src/VariablesAndDPTs/AccessDPT.asm
r593 r630 4 4 ; 5 5 ; XTIDE Universal BIOS and Associated Tools 6 ; Copyright (C) 2009-2010 by Tomi Tilli, 2011-20 13by XTIDE Universal BIOS Team.6 ; Copyright (C) 2009-2010 by Tomi Tilli, 2011-2024 by XTIDE Universal BIOS Team. 7 7 ; 8 8 ; This program is free software; you can redistribute it and/or modify … … 141 141 AccessDPT_GetPointerToDRVPARAMStoCSBX: 142 142 call AccessDPT_GetIdevarsToCSBX 143 add bx, BYTE IDEVARS.drvParamsMaster ; CS:BX points to MasterDrive DRVPARAMS143 add bx, BYTE IDEVARS.drvParamsMaster+DRVPARAMS_size ; CS:BX points to Slave Drive DRVPARAMS 144 144 test BYTE [di+DPT.bFlagsLow], FLGL_DPT_SLAVE 145 j z SHORT .ReturnPointerToDRVPARAMS146 add bx, BYTE DRVPARAMS_size ; CS:BX points to SlaveDrive DRVPARAMS147 .Return PointerToDRVPARAMS:145 jnz SHORT .Return 146 sub bx, BYTE DRVPARAMS_size ; CS:BX points to Master Drive DRVPARAMS 147 .Return: 148 148 ret 149 149
Note:
See TracChangeset
for help on using the changeset viewer.