Changeset 249 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Handlers/Int19h.asm
- Timestamp:
- Feb 16, 2012, 1:56:36 PM (13 years ago)
- google:author:
- aitotat@gmail.com
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Src/Handlers/Int19h.asm
r243 r249 4 4 ; Section containing code 5 5 SECTION .text 6 7 ;-------------------------------------------------------------------- 8 ; INT 19h handler that properly reboots the computer when 9 ; INT 19h is called. 10 ; 11 ; Int19h_ResetHandler 12 ; Parameters: 13 ; Nothing 14 ; Returns: 15 ; Never returns (reboots computer) 16 ;-------------------------------------------------------------------- 17 Int19h_ResetHandler: 18 mov ax, BOOT_FLAG_WARM ; Skip memory tests 19 jmp Reboot_ComputerWithBootFlagInAX 20 6 21 7 22 ;-------------------------------------------------------------------- … … 125 140 push cx ; sgment address for MBR 126 141 push bx ; offset address for MBR 142 mov bx, BIOS_BOOT_LOADER_INTERRUPT_19h ; INT 19h interrupt vector offset 143 mov si, Int19h_ResetHandler ; INT 19h handler to reboot the system 144 call Interrupts_InstallHandlerToVectorInBXFromCSSI 127 145 retf ; NOTE: DL is set to the drive number 128 146
Note:
See TracChangeset
for help on using the changeset viewer.