Changeset 148 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Inc


Ignore:
Timestamp:
Mar 19, 2011, 8:09:41 PM (14 years ago)
Author:
Tomi Tilli
google:author:
aitotat
Message:

Changes to XTIDE Universal BIOS:

  • INT 13h optimizations to save almost 100 bytes.
File:
1 edited

Legend:

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

    r97 r148  
    1212    .bFDSwap        resb    1   ; Floppy Drive to swap to 00h and vice versa
    1313    .bHDSwap        resb    1   ; Hard Drive to swap to 80h and vice versa
    14     .bRecurCnt      resb    1   ; INT 13h recursion counter for drive translation
     14    .bXlatedDrv     resb    1   ; Drive number after translation
    1515                    resb    1   ; For WORD alignment
    1616endstruc
     
    2020; at the top of interrupt vectors.
    2121struc RAMVARS
    22     .fpOldI13h      resb    4   ; Far pointer to old INT 13h handler
    23 
    24     .dwI13DIDS:                 ; Temporary DI and DS storages when calling...
    25     .wI13hDI:                   ; ...previous INT 13h handler
    26     .wIdeBase       resb    2   ; Base port address for currently handled controller
    27 
    28     .wI13hDS:
     22    .fpOldI13h          resb    4   ; Far pointer to old INT 13h handler
     23    .wIdeBase           resb    2   ; Base port address for currently handled controller
    2924    .wTimeoutCounter    resb    2
    3025
    3126    .wDrvCntAndFirst:
    32     .bDrvCnt        resb    1   ; Number of drives handled by this BIOS
    33     .bFirstDrv      resb    1   ; Number of first drive for this BIOS
     27    .bDrvCnt            resb    1   ; Number of drives handled by this BIOS
     28    .bFirstDrv          resb    1   ; Number of first drive for this BIOS
    3429
    3530    ; Variables for drive number translation
     
    3934; Full mode RAM variables.
    4035struc FULLRAMVARS
    41     .ramVars        resb    RAMVARS_size
    42     .wSign          resb    2           ; FULLRAMVARS signature for finding segment
     36    .ramVars            resb    RAMVARS_size
     37    .wSign              resb    2       ; FULLRAMVARS signature for finding segment
    4338endstruc
    4439
Note: See TracChangeset for help on using the changeset viewer.