Changeset 369 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Boot/BootMenu.asm
- Timestamp:
- Mar 29, 2012, 9:29:28 AM (13 years ago)
- google:author:
- gregli@hotmail.com
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Src/Boot/BootMenu.asm
r294 r369 16 16 ; All General Purpose Registers 17 17 ;-------------------------------------------------------------------- 18 ALIGN JUMP_ALIGN19 18 BootMenu_DisplayAndReturnSelectionInDX: 20 19 call DriveXlate_Reset … … 39 38 ; AX, DI 40 39 ;-------------------------------------------------------------------- 41 ALIGN JUMP_ALIGN42 40 BootMenu_GetDriveToDXforMenuitemInCX_And_RamVars_GetSegmentToDS: 43 41 call RamVars_GetSegmentToDS 44 42 ;;; fall-through 45 43 46 ALIGN JUMP_ALIGN47 44 BootMenu_GetDriveToDXforMenuitemInCX: 48 45 cmp cl, NO_ITEM_HIGHLIGHTED … … 73 70 ; AX, BX, DI 74 71 ;-------------------------------------------------------------------- 75 ALIGN JUMP_ALIGN76 72 BootMenu_Enter: 77 73 mov bx, BootMenuEvent_Handler … … 92 88 ; CX 93 89 ;-------------------------------------------------------------------- 94 ALIGN JUMP_ALIGN95 90 BootMenu_GetMenuitemCountToAX: 96 91 call RamVars_GetHardDiskCountFromBDAtoAX … … 110 105 ; AL, CX, DI 111 106 ;-------------------------------------------------------------------- 112 ALIGN JUMP_ALIGN113 107 BootMenu_GetHeightToAHwithItemCountInAL: 114 108 add al, BOOT_MENU_HEIGHT_WITHOUT_ITEMS … … 119 113 jb SHORT .Return 120 114 mov ah, cl 121 ALIGN JUMP_ALIGN, ret 115 122 116 .Return: 123 117 ret … … 133 127 ; CX 134 128 ;-------------------------------------------------------------------- 135 ALIGN JUMP_ALIGN136 129 BootMenu_GetMenuitemToAXforAsciiHotkeyInAL: 137 130 call Char_ALtoUpperCaseLetter … … 144 137 sub al, 'A' ; Letter to Floppy Drive menuitem 145 138 ret 146 ALIGN JUMP_ALIGN 139 147 140 .StartFromHardDiskLetter: 148 141 sub cl, al ; Hard Disk index … … 165 158 ; AX 166 159 ;-------------------------------------------------------------------- 167 ALIGN JUMP_ALIGN168 160 BootMenu_GetLetterForFirstHardDiskToAL: 169 161 call FloppyDrive_GetCountToAX … … 172 164 ja .Return 173 165 mov al, 'C' 174 ALIGN JUMP_ALIGN, ret 166 175 167 .Return: 176 168 ret … … 186 178 ; AX 187 179 ;-------------------------------------------------------------------- 188 ALIGN JUMP_ALIGN189 180 BootMenu_GetMenuitemToDXforDriveInDL: 190 181 xor dh, dh ; Drive number now in DX … … 211 202 ; AX, CX 212 203 ;-------------------------------------------------------------------- 213 ALIGN JUMP_ALIGN214 204 BootMenu_IsDriveInSystem: 215 205 test dl, dl ; Floppy drive?
Note:
See TracChangeset
for help on using the changeset viewer.