Changeset 95 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Boot/BootPrint.asm
- Timestamp:
- Jan 28, 2011, 11:55:34 AM (14 years ago)
- google:author:
- aitotat
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Src/Boot/BootPrint.asm
r88 r95 20 20 mov bp, sp 21 21 22 mov ax, g_szH ardDrv22 mov ax, g_szHDD 23 23 test dl, 80h 24 eCMOVZ ax, g_szF loppyDrv25 push ax ; "Hard Drive" or "Floppy Drive"24 eCMOVZ ax, g_szFDD 25 push ax 26 26 27 27 call DriveXlate_ToOrBack … … 35 35 36 36 ;-------------------------------------------------------------------- 37 ; BootPrint_BootSector Loaded37 ; BootPrint_BootSectorResultStringFromBX 38 38 ; Parameters: 39 ; Nothing39 ; CS:BX: Ptr to "found" or "not found" 40 40 ; Returns: 41 41 ; Nothing … … 44 44 ;-------------------------------------------------------------------- 45 45 ALIGN JUMP_ALIGN 46 BootPrint_BootSector Loaded:46 BootPrint_BootSectorResultStringFromBX: 47 47 push bp 48 48 mov bp, sp 49 49 ePUSH_T ax, g_szBootSector 50 ePUSH_T ax, g_szFound 51 jmp SHORT PrintBootSectorResult 52 53 ;-------------------------------------------------------------------- 54 ; BootPrint_FirstSectorNotBootable 55 ; Parameters: 56 ; Nothing 57 ; Returns: 58 ; Nothing 59 ; Corrupts registers: 60 ; AX, SI 61 ;-------------------------------------------------------------------- 62 ALIGN JUMP_ALIGN 63 BootPrint_FirstSectorNotBootable: 64 push bp 65 mov bp, sp 66 ePUSH_T ax, g_szBootSector 67 ePUSH_T ax, g_szNotFound 68 PrintBootSectorResult: 50 push bx ; "found" or "not found" 69 51 mov si, g_szSectRead 70 52 jmp BootMenuPrint_FormatCSSIfromParamsInSSBP … … 78 60 ; Nothing 79 61 ; Corrupts registers: 80 ; AX, CX, SI62 ; AX, BX, SI 81 63 ;-------------------------------------------------------------------- 82 64 ALIGN JUMP_ALIGN … … 84 66 push bp 85 67 mov bp, sp 86 eMOVZX cx, ah ; Error code to CX87 push cx ; Push INT 13h error code68 eMOVZX bx, ah 69 push bx ; Push INT 13h error code 88 70 mov si, g_szReadError 89 71 jmp BootMenuPrint_FormatCSSIfromParamsInSSBP
Note:
See TracChangeset
for help on using the changeset viewer.