Changeset 135 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Boot/BootMenuPrint.asm
- Timestamp:
- Mar 13, 2011, 12:38:59 PM (14 years ago)
- google:author:
- aitotat
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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
Note:
See TracChangeset
for help on using the changeset viewer.