Changeset 561 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Handlers
- Timestamp:
- Jul 9, 2013, 6:00:38 PM (11 years ago)
- google:author:
- aitotat@gmail.com
- Location:
- trunk/XTIDE_Universal_BIOS/Src/Handlers
- Files:
-
- 3 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
Note:
See TracChangeset
for help on using the changeset viewer.