Changeset 243 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src
- Timestamp:
- Feb 10, 2012, 2:00:50 PM (13 years ago)
- google:author:
- aitotat@gmail.com
- Location:
- trunk/XTIDE_Universal_BIOS/Src
- Files:
-
- 1 added
- 1 deleted
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Src/Boot/BootMenu.asm
r241 r243 8 8 ; Displays Boot Menu and returns Drive or Function number. 9 9 ; 10 ; BootMenu_DisplayAndReturnSelection 10 ; BootMenu_DisplayAndReturnSelectionInDX 11 11 ; Parameters: 12 12 ; DS: RAMVARS segment … … 17 17 ;-------------------------------------------------------------------- 18 18 ALIGN JUMP_ALIGN 19 BootMenu_DisplayAndReturnSelection :19 BootMenu_DisplayAndReturnSelectionInDX: 20 20 call DriveXlate_Reset 21 21 call BootMenuPrint_TheBottomOfScreen … … 23 23 call BootMenuPrint_ClearScreen 24 24 call BootMenu_GetDriveToDXforMenuitemInCX 25 jnc BootMenu_DisplayAndReturnSelection 25 jnc BootMenu_DisplayAndReturnSelectionInDX 26 26 ret 27 27 -
trunk/XTIDE_Universal_BIOS/Src/Boot/BootMenuPrint.asm
r241 r243 426 426 db 2880 / FloppyTypes.rgbCapacityMultiplier ; type 5 427 427 db 2880 / FloppyTypes.rgbCapacityMultiplier ; type 6 428 429 430 431 432 433 434 435 -
trunk/XTIDE_Universal_BIOS/Src/Initialization/Initialize.asm
r229 r243 30 30 ; Install INT 19h handler (boot loader) where drives are detected 31 31 mov bx, BIOS_BOOT_LOADER_INTERRUPT_19h 32 mov si, HandlerForLateInitialization32 mov si, Int19h_BootLoaderHandler 33 33 call Interrupts_InstallHandlerToVectorInBXFromCSSI 34 34 … … 39 39 popf 40 40 retf 41 42 43 ;--------------------------------------------------------------------44 ; HandlerForLateInitialization45 ; Parameters:46 ; Nothing47 ; Returns:48 ; Never returns49 ;--------------------------------------------------------------------50 HandlerForLateInitialization:51 LOAD_BDA_SEGMENT_TO es, ax52 call Initialize_AndDetectDrives ; Installs new boot menu loader53 int BIOS_BOOT_LOADER_INTERRUPT_19h ; Display boot menu54 41 55 42 … … 103 90 ; Parameters: 104 91 ; DS: RAMVARS segment 92 ; ES: BDA and interrupt vector segment (zero) 105 93 ; Returns: 106 94 ; Nothing 107 95 ; Corrupts registers: 108 ; All 96 ; All, except DS and ES 109 97 ;-------------------------------------------------------------------- 110 98 .ResetDetectedDrives: -
trunk/XTIDE_Universal_BIOS/Src/Initialization/Interrupts.asm
r181 r243 43 43 ; 40h from 13h. That system locks to infinite loop if we copy 13h to 40h. 44 44 call FloppyDrive_IsInt40hInstalled 45 jc SHORT .In itializeInt19h45 jc SHORT .Int40hAlreadyInstalled 46 46 mov [es:BIOS_DISKETTE_INTERRUPT_40h*4], ax ; Store old INT 13h offset 47 47 mov [es:BIOS_DISKETTE_INTERRUPT_40h*4+2], dx ; Store old INT 13h segment 48 ; Fall to .InitializeInt19h 49 50 ;-------------------------------------------------------------------- 51 ; .InitializeInt19h 52 ; Parameters: 53 ; DS: RAMVARS segment 54 ; ES: BDA and Interrupt Vector segment (zero) 55 ; Returns: 56 ; Nothing 57 ; Corrupts registers: 58 ; BX, SI 59 ;-------------------------------------------------------------------- 60 .InitializeInt19h: 61 mov bx, BIOS_BOOT_LOADER_INTERRUPT_19h 62 mov si, Int19hMenu_BootLoader 63 call Interrupts_InstallHandlerToVectorInBXFromCSSI 48 .Int40hAlreadyInstalled: 64 49 ; Fall to .InitializeHardwareIrqHandlers 65 50 -
trunk/XTIDE_Universal_BIOS/Src/Main.asm
r239 r243 70 70 %endif 71 71 72 %ifdef MODULE_JRIDE 73 MAIN_FLG_MODULE_JRIDE equ FLG_ROMVARS_MODULE_JRIDE 74 %else 75 MAIN_FLG_MODULE_JRIDE equ 0 76 %endif 77 78 72 79 ;---------------------------; 73 80 ; AT Build default settings ; 74 81 ;---------------------------; 75 82 %ifdef USE_AT 76 at ROMVARS.wFlags, dw FLG_ROMVARS_FULLMODE | FLG_ROMVARS_DRVXLAT | MAIN_FLG_MODULE_SERIAL | MAIN_FLG_MODULE_EBIOS 83 at ROMVARS.wFlags, dw FLG_ROMVARS_FULLMODE | FLG_ROMVARS_DRVXLAT | MAIN_FLG_MODULE_SERIAL | MAIN_FLG_MODULE_EBIOS | MAIN_FLG_MODULE_JRIDE 77 84 at ROMVARS.wDisplayMode, dw DEFAULT_TEXT_MODE 78 85 at ROMVARS.wBootTimeout, dw 30 * TICKS_PER_SECOND ; Boot Menu selection timeout … … 117 124 ; XT and XT+ Build default settings ; 118 125 ;-----------------------------------; 119 at ROMVARS.wFlags, dw FLG_ROMVARS_DRVXLAT | MAIN_FLG_MODULE_SERIAL | MAIN_FLG_MODULE_EBIOS 126 at ROMVARS.wFlags, dw FLG_ROMVARS_DRVXLAT | MAIN_FLG_MODULE_SERIAL | MAIN_FLG_MODULE_EBIOS | MAIN_FLG_MODULE_JRIDE 120 127 at ROMVARS.wDisplayMode, dw DEFAULT_TEXT_MODE 121 128 at ROMVARS.wBootTimeout, dw 30 * TICKS_PER_SECOND ; Boot Menu selection timeout … … 178 185 179 186 ; Boot loader 180 %include "Int19h Menu.asm" ; For Int 19h, Boot Loader for Boot Menu187 %include "Int19h.asm" ; For Int 19h, Boot Loader 181 188 182 189 ; For all device types
Note:
See TracChangeset
for help on using the changeset viewer.