Changeset 593 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Inc/RamVars.inc
- Timestamp:
- Jun 30, 2018, 8:27:04 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Inc/RamVars.inc
r589 r593 29 29 %ifdef MODULE_SERIAL_FLOPPY OR MODULE_DRIVEXLATE 30 30 %define NEED_XLATEVARS 31 %endif 32 33 34 %ifdef NEED_XLATEVARS 35 ; Variables for translating drive numbers. 36 struc XLATEVARS 37 %ifdef MODULE_SERIAL_FLOPPY 38 .bFlopCreateCnt: 39 .bFlopCntAndFirst resb 1 ; Normally, packed starting floppy drive number (high order 7 bits) 40 ; and number of drives (low order bit, max 2 drives supported). 41 ; During initialization, until the end of DetectDrives_FromAllIDEControllers, 42 ; this byte contains the raw number of floppy drives seen 43 ; (using .bFlopCreateCnt) 44 %else 45 resb 1 ; alignment 46 %endif 47 48 %ifdef MODULE_DRIVEXLATE 49 .bXlatedDrv resb 1 ; Drive number after translation 50 .wFDandHDswap: 51 .bFDSwap resb 1 ; Floppy Drive to swap to 00h and vice versa 52 .bHDSwap resb 1 ; Hard Drive to swap to 80h and vice versa 53 %else 54 resb 1 ; alignment 55 %endif 56 endstruc 31 57 %endif 32 58 … … 66 92 RAMVARS_DRV_DETECT_SIGNATURE EQU 5A5Ah ; Signature when BIOS is in drive detection mode 67 93 68 69 %ifdef NEED_XLATEVARS70 ; Variables for translating drive numbers.71 struc XLATEVARS72 %ifdef MODULE_SERIAL_FLOPPY73 .bFlopCreateCnt:74 .bFlopCntAndFirst resb 1 ; Normally, packed starting floppy drive number (high order 7 bits)75 ; and number of drives (low order bit, max 2 drives supported).76 ; During initialization, until the end of DetectDrives_FromAllIDEControllers,77 ; this byte contains the raw number of floppy drives seen78 ; (using .bFlopCreateCnt)79 %else80 resb 1 ; alignment81 %endif82 83 %ifdef MODULE_DRIVEXLATE84 .bXlatedDrv resb 1 ; Drive number after translation85 .wFDandHDswap:86 .bFDSwap resb 1 ; Floppy Drive to swap to 00h and vice versa87 .bHDSwap resb 1 ; Hard Drive to swap to 80h and vice versa88 %else89 resb 1 ; alignment90 %endif91 endstruc92 %endif93 94 94 95 %ifdef MODULE_SERIAL_FLOPPY
Note:
See TracChangeset
for help on using the changeset viewer.