Changeset 189 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Boot/BootMenuPrint.asm
- Timestamp:
- Nov 16, 2011, 6:29:32 AM (13 years ago)
- google:author:
- gregli@hotmail.com
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Src/Boot/BootMenuPrint.asm
r186 r189 5 5 SECTION .text 6 6 7 ;;; 8 ;;; Fall-through from BootMenuEvent.asm! 9 ;;; BootMenuPrint_FloppyMenuitem must be the first routine in this file 10 ;;; (checked at assembler time with the code after BootMenuPrint_FloppyMenuitem) 11 ;;; 12 ;-------------------------------------------------------------------- 13 ; BootMenuPrint_FloppyMenuitem 14 ; Parameters: 15 ; DL: Untranslated Floppy Drive number 16 ; Returns: 17 ; Nothing 18 ; Corrupts registers: 19 ; AX, DX, SI, DI 20 ;-------------------------------------------------------------------- 21 ALIGN JUMP_ALIGN 22 BootMenuPrint_FloppyMenuitem: 23 js BootMenuPrint_FloppyMenuitemInformation 24 call PrintDriveNumberAfterTranslationFromDL 25 push bp 26 mov bp, sp 27 mov si, g_szFDLetter 28 ePUSH_T ax, g_szFloppyDrv 29 add dl, 'A' 30 push dx ; Drive letter 31 jmp BootMenuPrint_FormatCSSIfromParamsInSSBP 32 33 %if BootMenuPrint_FloppyMenuitem <> BootMenuEvent_FallThroughToFloppyMenuitem 34 %error "BootMenuPrint.asm must follow BootMenuEvent.asm, and BootMenuPrint_FloppyMenuitem must be the first routine in BootMenuPrint.asm" 35 %endif 36 7 37 ;-------------------------------------------------------------------- 8 38 ; BootMenuPrint_ClearScreen … … 81 111 82 112 ;-------------------------------------------------------------------- 83 ; BootMenuPrint_FloppyMenuitem84 ; Parameters:85 ; DL: Untranslated Floppy Drive number86 ; Returns:87 ; Nothing88 ; Corrupts registers:89 ; AX, DX, SI, DI90 ;--------------------------------------------------------------------91 ALIGN JUMP_ALIGN92 BootMenuPrint_FloppyMenuitem:93 call PrintDriveNumberAfterTranslationFromDL94 push bp95 mov bp, sp96 mov si, g_szFDLetter97 ePUSH_T ax, g_szFloppyDrv98 add dl, 'A'99 push dx ; Drive letter100 jmp BootMenuPrint_FormatCSSIfromParamsInSSBP101 102 103 ;--------------------------------------------------------------------104 113 ; BootMenuPrint_HardDiskMenuitem 105 114 ; Parameters: … … 113 122 ALIGN JUMP_ALIGN 114 123 BootMenuPrint_HardDiskMenuitem: 124 js BootMenuPrint_HardDiskMenuitemInformation 115 125 call PrintDriveNumberAfterTranslationFromDL 116 126 call RamVars_IsDriveHandledByThisBIOS
Note:
See TracChangeset
for help on using the changeset viewer.