Changeset 135 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src
- Timestamp:
- Mar 13, 2011, 12:38:59 PM (14 years ago)
- google:author:
- aitotat
- Location:
- trunk/XTIDE_Universal_BIOS/Src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Src/Boot/BootMenuEvent.asm
r130 r135 61 61 call BootMenu_GetHeightToAHwithItemCountInAL 62 62 mov [si+MENUINIT.bHeight], ah 63 mov al, TICKS_PER_SECOND 64 mul BYTE [cs:ROMVARS.bBootDelay] 65 CALL_MENU_LIBRARY StartSelectionTimeoutWithTicksInAX 63 66 stc 64 67 ret -
trunk/XTIDE_Universal_BIOS/Src/Boot/BootMenuPrint.asm
r130 r135 88 88 ALIGN JUMP_ALIGN 89 89 BootMenuPrint_FloppyMenuitem: 90 call PrintDriveNumberAfterTranslationFromDL 90 91 push bp 91 92 mov bp, sp … … 109 110 ALIGN JUMP_ALIGN 110 111 BootMenuPrint_HardDiskMenuitem: 112 call PrintDriveNumberAfterTranslationFromDL 111 113 call FindDPT_ForDriveNumber ; DS:DI to point DPT 112 114 jnc SHORT .HardDiskMenuitemForForeignDrive … … 145 147 mov si, g_szforeignHD 146 148 jmp SHORT BootMenuPrint_NullTerminatedStringFromCSSIandSetCF 149 150 151 ;-------------------------------------------------------------------- 152 ; PrintDriveNumberAfterTranslationFromDL 153 ; Parameters: 154 ; DL: Untranslated Floppy Drive number 155 ; DS: RAMVARS segment 156 ; Returns: 157 ; Nothing 158 ; Corrupts registers: 159 ; AX, DI 160 ;-------------------------------------------------------------------- 161 ALIGN JUMP_ALIGN 162 PrintDriveNumberAfterTranslationFromDL: 163 mov ax, dx 164 call DriveXlate_ToOrBack 165 xchg dx, ax ; Restore DX, WORD to print in AL 166 xor ah, ah 167 push bp 168 mov bp, sp 169 mov si, g_szDriveNum 170 push ax 171 jmp BootMenuPrint_FormatCSSIfromParamsInSSBP 147 172 148 173 -
trunk/XTIDE_Universal_BIOS/Src/Strings.asm
r130 r135 27 27 28 28 ; Boot Menu menuitem strings 29 g_szDriveNum: db "%x ",NULL 29 30 g_szFDLetter: db "%s %c",NULL 30 31 g_szFloppyDrv: db "Floppy Drive",NULL
Note:
See TracChangeset
for help on using the changeset viewer.