Changeset 193 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Inc


Ignore:
Timestamp:
Nov 17, 2011, 2:59:13 AM (12 years ago)
Author:
gregli@…
google:author:
gregli@hotmail.com
Message:

Space optimizations in AccessDPT.asm, transfer one routine to a macro (retaining some encapsulation), and transfer the unique part of another routine to the one place it was being called (which also makes what it was doing more transparent).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/XTIDE_Universal_BIOS/Inc/CustomDPT.inc

    r175 r193  
    6565ADDRESSING_MODE_LBA48           EQU     3   ; 48-bit LBA Addressing Mode
    6666
     67%macro CustomDPT_GetUnshiftedAddressModeToALZF 0
     68    mov     al, [di+DPT.bFlagsLow]
     69    and     al, MASKL_DPT_ADDRESSING_MODE
     70%endmacro
     71
    6772; Number of Sectors per Track is fixed to 63 for LBA assist calculation.
    6873; 1024 cylinders, 256 heads, 63 sectors = 8.4 GB limit (but DOS does not support more than 255 heads)
Note: See TracChangeset for help on using the changeset viewer.