- Timestamp:
- Jun 24, 2013, 2:22:36 PM (11 years ago)
- google:author:
- aitotat@gmail.com
- Location:
- trunk/XTIDE_Universal_BIOS/Src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Src/Handlers/Int13hBiosInit.asm
r553 r559 26 26 27 27 Int13hBiosInit_Handler: 28 ; Ignore all but read command (assumed to read boot sector) 29 cmp ah, READ_SECTORS_INTO_MEMORY 30 jne SHORT .MainBiosStillInInitializationMode 31 28 32 LOAD_BDA_SEGMENT_TO ds, ax 29 33 … … 33 37 mov [BIOS_BOOT_LOADER_INTERRUPT_19h*4+2], cs 34 38 int BIOS_BOOT_LOADER_INTERRUPT_19h ; Does not return 39 40 ; Main BIOS might reset floppy drives etc. so let's wait longer 41 ; before installing our INT 19h handler. 42 .MainBiosStillInInitializationMode: 43 int TEMPORARY_VECTOR_FOR_SYSTEM_INT13h 44 retf 2 35 45 36 46 -
trunk/XTIDE_Universal_BIOS/Src/Main.asm
r556 r559 128 128 at ROMVARS.wBootTimeout, dw BOOT_MENU_DEFAULT_TIMEOUT 129 129 %endif 130 %ifdef MODULE_8BIT_IDE_ADVANCED131 at ROMVARS.bIdeCnt, db 2 ; Number of supported controllers132 %else133 130 at ROMVARS.bIdeCnt, db 1 134 %endif135 131 at ROMVARS.bBootDrv, db 80h ; Boot Menu default drive 136 132 at ROMVARS.bMinFddCnt, db 0 ; Do not force minimum number of floppy drives … … 138 134 at ROMVARS.bIdleTimeout, db 0 ; Standby timer disabled by default 139 135 140 at ROMVARS.ideVars0+IDEVARS.wBasePort, dw DEVICE_XTIDE_DEFAULT_PORT ; Controller Command Block base port 141 at ROMVARS.ideVars0+IDEVARS.wControlBlockPort, dw DEVICE_XTIDE_DEFAULT_PORTCTRL ; Controller Control Block base port 142 at ROMVARS.ideVars0+IDEVARS.bDevice, db DEVICE_8BIT_XTIDE_REV1 136 %ifdef MODULE_8BIT_IDE_ADVANCED 137 at ROMVARS.ideVars0+IDEVARS.wBasePort, dw DEVICE_XTIDE_DEFAULT_PORT ; Controller Command Block base port 138 at ROMVARS.ideVars0+IDEVARS.bDevice, db DEVICE_8BIT_XTCF_PIO8 139 %else 140 at ROMVARS.ideVars0+IDEVARS.wBasePort, dw DEVICE_XTIDE_DEFAULT_PORT ; Controller Command Block base port 141 at ROMVARS.ideVars0+IDEVARS.wControlBlockPort, dw DEVICE_XTIDE_DEFAULT_PORTCTRL ; Controller Control Block base port 142 at ROMVARS.ideVars0+IDEVARS.bDevice, db DEVICE_8BIT_XTIDE_REV1 143 %endif 143 144 at ROMVARS.ideVars0+IDEVARS.drvParamsMaster+DRVPARAMS.wFlags, db DISABLE_WRITE_CACHE | FLG_DRVPARAMS_BLOCKMODE | (TRANSLATEMODE_AUTO<<TRANSLATEMODE_FIELD_POSITION) 144 145 at ROMVARS.ideVars0+IDEVARS.drvParamsSlave+DRVPARAMS.wFlags, db DISABLE_WRITE_CACHE | FLG_DRVPARAMS_BLOCKMODE | (TRANSLATEMODE_AUTO<<TRANSLATEMODE_FIELD_POSITION) 145 146 %ifdef MODULE_8BIT_IDE_ADVANCED147 at ROMVARS.ideVars1+IDEVARS.wBasePort, dw DEVICE_XTIDE_DEFAULT_PORT ; Controller Command Block base port148 at ROMVARS.ideVars1+IDEVARS.bDevice, db DEVICE_8BIT_XTCF_PIO8149 %endif150 146 151 147 at ROMVARS.ideVars1+IDEVARS.drvParamsMaster+DRVPARAMS.wFlags, db DISABLE_WRITE_CACHE | FLG_DRVPARAMS_BLOCKMODE | (TRANSLATEMODE_AUTO<<TRANSLATEMODE_FIELD_POSITION)
Note:
See TracChangeset
for help on using the changeset viewer.