Changeset 181 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Boot
- Timestamp:
- Nov 13, 2011, 3:38:40 PM (13 years ago)
- google:author:
- krille_n_@hotmail.com
- Location:
- trunk/XTIDE_Universal_BIOS/Src/Boot
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Src/Boot/BootInfo.asm
r165 r181 125 125 mul bl ; AX = Offset inside BOOTNFO array 126 126 add ax, BOOTVARS.rgBootNfo ; Add offset to BOOTNFO array 127 xchg bx, ax ; Copyresult to BX127 xchg bx, ax ; Move result to BX 128 128 ret -
trunk/XTIDE_Universal_BIOS/Src/Boot/BootMenu.asm
r130 r181 102 102 CALL_DISPLAY_LIBRARY GetColumnsToALandRowsToAH 103 103 sub ah, MENU_SCREEN_BOTTOM_LINES*2 ; Leave space for bottom info 104 MIN_U ah, cl 104 cmp ah, cl 105 jb SHORT .Return 106 mov ah, cl 107 ALIGN JUMP_ALIGN, ret 108 .Return: 105 109 ret 106 110 … … 148 152 call FloppyDrive_GetCountToCX 149 153 add cl, 'A' 150 MAX_U cl, 'C' 154 cmp cl, 'C' 155 ja .Return 156 mov cl, 'C' 157 ALIGN JUMP_ALIGN, ret 158 .Return: 151 159 ret 152 160 -
trunk/XTIDE_Universal_BIOS/Src/Boot/BootMenuPrintCfg.asm
r158 r181 85 85 ; AX, DX 86 86 ;-------------------------------------------------------------------- 87 PushBusType: 87 ;PushBusType: 88 cwd ; Clear DX using sign extension 88 89 xchg ax, bx ; Store BX to AX 89 90 eMOVZX bx, BYTE [cs:si+IDEVARS.bDevice] 90 91 mov bx, [cs:bx+rgwBusTypeValues] ; Char to BL, Int to BH 91 eMOVZX dx, bh92 mov dl, bh 92 93 push bx ; Push character 93 94 push dx ; Push 1, 8, 16 or 32
Note:
See TracChangeset
for help on using the changeset viewer.