Changeset 262 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Inc
- Timestamp:
- Feb 24, 2012, 10:28:31 AM (13 years ago)
- google:author:
- gregli@hotmail.com
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Inc/RamVars.inc
r258 r262 10 10 ; Variables for translating drive numbers. 11 11 struc XLATEVARS 12 .wFDandHDswap:13 .bFDSwap resb 1 ; Floppy Drive to swap to 00h and vice versa14 .bHDSwap resb 1 ; Hard Drive to swap to 80h and vice versa15 .bXlatedDrv resb 1 ; Drive number after translation16 12 %ifdef MODULE_SERIAL_FLOPPY 17 13 .bFlopCreateCnt: … … 23 19 resb 1 ; alignment 24 20 %endif 21 .bXlatedDrv resb 1 ; Drive number after translation 22 .wFDandHDswap: 23 .bFDSwap resb 1 ; Floppy Drive to swap to 00h and vice versa 24 .bHDSwap resb 1 ; Hard Drive to swap to 80h and vice versa 25 25 endstruc 26 26 … … 36 36 .wDrvCntAndFirst: 37 37 .bFirstDrv resb 1 ; Number of first drive for this BIOS 38 .wDrvCntAndFlopCnt: ; Both the hard disk and floppy counts in one word 39 ; (yes, misaligned, but it is only used this way during initialization) 38 40 .bDrvCnt resb 1 ; Number of drives handled by this BIOS 39 41 … … 41 43 .xlateVars resb XLATEVARS_size 42 44 endstruc 45 46 %ifdef MODULE_SERIAL_FLOPPY 47 %ifndef CHECK_FOR_UNUSED_ENTRYPOINTS 48 %if RAMVARS.xlateVars != RAMVARS.bDrvCnt+1 || XLATEVARS.bFlopCreateCnt != 0 49 %error "bFlopCreateCnt needs to be the first thing in XLATEVARS, and .xlateVars needs to come immediately after .bDrvCnt. In at least one place, we read .wDrvCntAndFlopCnt to get both counts in one fetch" 50 %endif 51 %endif 52 %endif 43 53 44 54 RAMVARS_SIGNATURE EQU "Xu" ; RAMVARS signature for .wSignature
Note:
See TracChangeset
for help on using the changeset viewer.