Changeset 522 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src
- Timestamp:
- Mar 11, 2013, 3:22:21 PM (12 years ago)
- google:author:
- aitotat@gmail.com
- Location:
- trunk/XTIDE_Universal_BIOS/Src
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Src/Handlers/Int13h.asm
r507 r522 50 50 mov di, ds ; We do not want to overwrite DS and DI in stack 51 51 mov ss, di 52 mov sp, [RAMVARS.wNewStackOffset]52 mov sp, RAMVARS.rgbTopOfStack 53 53 lds di, [RAMVARS.dwStackChangeDSDI] 54 54 -
trunk/XTIDE_Universal_BIOS/Src/Initialization/Interrupts.asm
r501 r522 80 80 81 81 mov al, BIOS_DISK_INTERRUPT_13h ; INT 13h interrupt vector offset 82 %ifdef RELOCATE_INT13H_STACK 83 mov si, Int13h_DiskFunctionsHandlerWithStackChange 84 %else 82 85 mov si, Int13h_DiskFunctionsHandler 83 %ifdef RELOCATE_INT13H_STACK84 test BYTE [cs:ROMVARS.wFlags], FLG_ROMVARS_FULLMODE85 eCMOVNZ si, Int13h_DiskFunctionsHandlerWithStackChange86 86 %endif 87 87 -
trunk/XTIDE_Universal_BIOS/Src/Main.asm
r507 r522 46 46 ; Included .inc files 47 47 %include "AssemblyLibrary.inc" ; Assembly Library. Must be included first! 48 %include "ModuleDependency.inc" ; Dependency checks for optional modules 48 %include "ModuleDependency.inc" ; Dependency checks for optional modules. Must be included second! 49 49 %include "Version.inc" 50 50 %include "ATA_ID.inc" ; For ATA Drive Information structs -
trunk/XTIDE_Universal_BIOS/Src/VariablesAndDPTs/FindDPT.asm
r521 r522 116 116 117 117 mul dl 118 add ax, BYTE RAMVARS_size; Clears CF (will not overflow)118 add ax, RAMVARS_size ; Clears CF (will not overflow) 119 119 120 120 pop dx -
trunk/XTIDE_Universal_BIOS/Src/VariablesAndDPTs/RamVars.asm
r505 r522 77 77 mov WORD [RAMVARS.wDrvDetectSignature], RAMVARS_DRV_DETECT_SIGNATURE 78 78 mov WORD [RAMVARS.wSignature], RAMVARS_RAM_SIGNATURE 79 ; Fall to .InitializeInt13hStackChangeVariables80 81 ;--------------------------------------------------------------------82 ; .InitializeInt13hStackChangeVariables83 ; Parameters:84 ; DS: RAMVARS segment85 ; Returns:86 ; Nothing87 ; Corrupts registers:88 ; AX89 ;--------------------------------------------------------------------90 %ifdef RELOCATE_INT13H_STACK91 .InitializeInt13hStackChangeVariables:92 eMOVZX ax, BYTE [cs:ROMVARS.bStealSize]93 eSHL_IM ax, 10 ; kiB to Bytes = Top of stack offset94 mov [RAMVARS.wNewStackOffset], ax95 %endif96 97 79 ;; There used to be a DriveXlate_Reset call here. It isn't necessary, as we reset 98 80 ;; when entering the boot menu and also before transferring control at boot time and
Note:
See TracChangeset
for help on using the changeset viewer.