Rev | Line | |
---|
[3] | 1 | ; File name : Int18h.asm
|
---|
| 2 | ; Project name : IDE BIOS
|
---|
| 3 | ; Created date : 6.1.2010
|
---|
| 4 | ; Last update : 25.3.2010
|
---|
| 5 | ; Author : Tomi Tilli
|
---|
| 6 | ; Description : Int 18h BIOS functions (ROM boot and Boot error).
|
---|
| 7 |
|
---|
| 8 | ; Section containing code
|
---|
| 9 | SECTION .text
|
---|
| 10 |
|
---|
| 11 | ;--------------------------------------------------------------------
|
---|
| 12 | ; Int 18h software interrupt handler.
|
---|
| 13 | ; Enters boot menu again after displaying callback message.
|
---|
| 14 | ;
|
---|
| 15 | ; Int18h_BootError
|
---|
| 16 | ; Parameters:
|
---|
| 17 | ; Nothing
|
---|
| 18 | ; Returns:
|
---|
| 19 | ; Nothing (jumps to Int19hMenu_Display)
|
---|
| 20 | ; Corrupts registers:
|
---|
| 21 | ; Doesn't matter
|
---|
| 22 | ;--------------------------------------------------------------------
|
---|
| 23 | ALIGN JUMP_ALIGN
|
---|
| 24 | Int18h_BootError:
|
---|
| 25 | mov si, g_sz18hCallback
|
---|
| 26 | call PrintString_FromCS ; No need to clean stack
|
---|
| 27 | jmp Int19hMenu_Display ; Return to boot menu
|
---|
Note:
See
TracBrowser
for help on using the repository browser.