Changeset 492 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Menus/BootMenu/BootMenuPrint.asm
- Timestamp:
- Dec 21, 2012, 1:01:55 AM (12 years ago)
- google:author:
- gregli@hotmail.com
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Src/Menus/BootMenu/BootMenuPrint.asm
r491 r492 33 33 ;-------------------------------------------------------------------- 34 34 BootMenuPrint_RefreshItem: 35 call BootMenu_GetDriveToDXforMenuitemInCX36 jnc BootMenuEvent_Completed ; if no menu item selected, out we go37 38 35 push bp 39 36 mov bp, sp 37 38 call BootMenu_GetDriveToDXforMenuitemInCX 39 mov si, g_szRomBootDash ; Standard "Rom Boot" but with a "-" at the front 40 mov al, 20h ; The space between "Rom" and "Boot" 41 jnc .ROMBoot ; display "Rom Boot" option for last entry 40 42 41 43 call FindDPT_ForDriveNumberInDL … … 57 59 mov ax, dx ; preserve DL for the floppy drive letter addition 58 60 call DriveXlate_ToOrBack 61 62 test dl, 0f0h ; if there is a character in the upper nibble 63 jnz .noSpace 64 dec si ; backup a character to a leading space 65 .noSpace: 66 59 67 push dx ; translated drive number 60 68 push bx ; sub string 61 69 add al, 'A' ; floppy drive letter (we always push this although 62 push ax ; the hard disks don't ever use it, but it does no harm) 70 ; the hard disks don't ever use it, but it does no harm) 71 .ROMBoot: 72 push ax 63 73 64 74 jmp SHORT BootMenuPrint_RefreshInformation.FormatRelay … … 95 105 96 106 call BootMenu_GetDriveToDXforMenuitemInCX 97 jnc BootMenuEvent_Completed ; if no menu selection, abort107 jnc BootMenuEvent_Completed ; nothing to display if "Rom Boot" option 98 108 99 109 push bp
Note:
See TracChangeset
for help on using the changeset viewer.