Changeset 561 in xtideuniversalbios
- Timestamp:
- Jul 9, 2013, 6:00:38 PM (11 years ago)
- google:author:
- aitotat@gmail.com
- Location:
- trunk/XTIDE_Universal_BIOS
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Src/Handlers/Int13h.asm
r558 r561 176 176 ; Simulate INT by pushing flags and return address 177 177 push WORD [bp+IDEPACK.intpack+INTPACK.flags] 178 %if 0 179 ; No standard INT 13h function uses FLAGS as parameters so no need to restore them 178 180 popf 179 pushf ; Simulate INT by pushing flags 181 pushf 182 %endif 180 183 push cs 181 184 ePUSH_T di, .ReturnFromAnotherBios ; Can not corrupt flags -
trunk/XTIDE_Universal_BIOS/Src/Handlers/Int13hBiosInit.asm
r560 r561 22 22 SECTION .text 23 23 24 TEMPORARY_VECTOR_FOR_SYSTEM_INT13h EQU 20h ; MS-DOS so BIOSes most likely do not use this24 TEMPORARY_VECTOR_FOR_SYSTEM_INT13h EQU 32h ; Unused by BIOS 25 25 26 26 -
trunk/XTIDE_Universal_BIOS/Src/Handlers/Int19h.asm
r560 r561 31 31 sti ; Enable interrupts 32 32 cld ; String instructions to increment pointers 33 %ifdef MODULE_VERY_LATE_INITIALIZATION 34 LOAD_BDA_SEGMENT_TO ds, ax ; Load BDA segment (zero) to DS 35 les ax, [TEMPORARY_VECTOR_FOR_SYSTEM_INT13h*4] 36 mov [BIOS_DISK_INTERRUPT_13h*4], ax 37 mov [BIOS_DISK_INTERRUPT_13h*4+2], es 38 push ds ; BDA segment (zero)... 39 pop es ; ...to ES 40 %else 33 41 LOAD_BDA_SEGMENT_TO es, ax ; Load BDA segment (zero) to ES 34 %ifdef MODULE_VERY_LATE_INITIALIZATION35 lds ax, [es:TEMPORARY_VECTOR_FOR_SYSTEM_INT13h*4]36 mov [es:BIOS_DISK_INTERRUPT_13h*4], ax37 mov [es:BIOS_DISK_INTERRUPT_13h*4+2], ds38 42 %endif 39 43 ; Fall to .PrepareBootLoaderStack -
trunk/XTIDE_Universal_BIOS/Src/Initialization/Initialize.asm
r560 r561 52 52 ; when our INT 19h is not called 53 53 les ax, [BIOS_DISK_INTERRUPT_13h*4] ; Load system INT 13h handler 54 mov WORD [BIOS_DISK_INTERRUPT_13h*4], Int13hBiosInit_Handler 55 mov [BIOS_DISK_INTERRUPT_13h*4+2], cs 54 56 mov [TEMPORARY_VECTOR_FOR_SYSTEM_INT13h*4], ax 55 57 mov [TEMPORARY_VECTOR_FOR_SYSTEM_INT13h*4+2], es 56 mov WORD [BIOS_DISK_INTERRUPT_13h*4], Int13hBiosInit_Handler57 mov [BIOS_DISK_INTERRUPT_13h*4+2], cs58 58 pop es 59 59 %endif -
trunk/XTIDE_Universal_BIOS/makefile
r560 r561 101 101 # Assembler preprocessor defines. # 102 102 ################################################################# 103 DEFINES_COMMON = MODULE_STRINGS_COMPRESSED MODULE_HOTKEYS MODULE_8BIT_IDE MODULE_EBIOS MODULE_SERIAL MODULE_SERIAL_FLOPPY MODULE_ VERY_LATE_INITIALIZATION MODULE_FEATURE_SETS RESERVE_DIAGNOSTIC_CYLINDER103 DEFINES_COMMON = MODULE_STRINGS_COMPRESSED MODULE_HOTKEYS MODULE_8BIT_IDE MODULE_EBIOS MODULE_SERIAL MODULE_SERIAL_FLOPPY MODULE_FEATURE_SETS RESERVE_DIAGNOSTIC_CYLINDER 104 104 DEFINES_COMMON_LARGE = MODULE_BOOT_MENU MODULE_8BIT_IDE_ADVANCED MODULE_COMPATIBLE_TABLES 105 105 106 DEFINES_XT = $(DEFINES_COMMON) ELIMINATE_CGA_SNOW MODULE_8BIT_IDE_ADVANCED 106 DEFINES_XT = $(DEFINES_COMMON) ELIMINATE_CGA_SNOW MODULE_8BIT_IDE_ADVANCED MODULE_VERY_LATE_INITIALIZATION 107 107 DEFINES_XTPLUS = $(DEFINES_COMMON) $(DEFINES_XT) USE_186 108 108 DEFINES_AT = $(DEFINES_COMMON) USE_AT USE_286 MODULE_IRQ MODULE_ADVANCED_ATA MODULE_COMPATIBLE_TABLES
Note:
See TracChangeset
for help on using the changeset viewer.