Changeset 143 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Boot
- Timestamp:
- Mar 14, 2011, 5:24:48 PM (14 years ago)
- google:author:
- aitotat
- Location:
- trunk/XTIDE_Universal_BIOS/Src/Boot
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Src/Boot/BootPrint.asm
r130 r143 37 37 38 38 ;-------------------------------------------------------------------- 39 ; BootPrint_BootSectorResultStringFromAX40 ; Parameters:41 ; CS:AX: Ptr to "found" or "not found"42 ; Returns:43 ; Nothing44 ; Corrupts registers:45 ; AX, CX, SI, DI46 ;--------------------------------------------------------------------47 ALIGN JUMP_ALIGN48 BootPrint_BootSectorResultStringFromAX:49 push bp50 mov bp, sp51 ePUSH_T cx, g_szBootSector52 push ax ; "found" or "not found"53 mov si, g_szSectRead54 jmp BootMenuPrint_FormatCSSIfromParamsInSSBP55 56 57 ;--------------------------------------------------------------------58 39 ; BootPrint_FailedToLoadFirstSector 59 40 ; Parameters: -
trunk/XTIDE_Universal_BIOS/Src/Boot/BootSector.asm
r130 r143 15 15 ; Cleared if failed to load boot sector 16 16 ; Corrupts registers: 17 ; AX, CX, DH, DI, (DL if failed to read boot sector)17 ; AX, CX, DH, SI, DI, (DL if failed to read boot sector) 18 18 ;-------------------------------------------------------------------- 19 19 ALIGN JUMP_ALIGN … … 28 28 jne SHORT .FirstHardDiskSectorNotBootable 29 29 .AlwaysBootFromFloppyDriveForBooterGames: 30 mov ax, g_szFound31 call BootPrint_BootSectorResultStringFromAX32 30 stc 33 31 ret … … 37 35 ret 38 36 .FirstHardDiskSectorNotBootable: 39 mov ax, g_szNotFound40 call Boot Print_BootSectorResultStringFromAX37 mov si, g_szBootSectorNotFound 38 call BootMenuPrint_NullTerminatedStringFromCSSIandSetCF 41 39 clc 42 40 ret
Note:
See TracChangeset
for help on using the changeset viewer.