Changeset 194 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Boot
- Timestamp:
- Nov 17, 2011, 11:07:58 AM (13 years ago)
- google:author:
- gregli@hotmail.com
- Location:
- trunk/XTIDE_Universal_BIOS/Src/Boot
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Src/Boot/BootMenuEvent.asm
r190 r194 182 182 shl bl,1 ; drive letter high order bit to CF, Item/Information bit to SF 183 183 jc SHORT BootMenuPrint_HardDiskMenuitem 184 ; fall through to BootMenuEvent_FallThroughToFloppyMenuitem 184 185 185 186 ;;; … … 189 190 ALIGN JUMP_ALIGN 190 191 BootMenuEvent_FallThroughToFloppyMenuitem: 191 192 ; fall through to BootMenuPrint_FloppyMenuitem -
trunk/XTIDE_Universal_BIOS/Src/Boot/BootMenuPrint.asm
r192 r194 32 32 jmp short BootMenuPrint_FormatCSSIfromParamsInSSBP 33 33 34 %ifndef CHECK_FOR_UNUSED_ENTRYPOINTS 34 35 %if BootMenuPrint_FloppyMenuitem <> BootMenuEvent_FallThroughToFloppyMenuitem 35 36 %error "BootMenuPrint.asm must follow BootMenuEvent.asm, and BootMenuPrint_FloppyMenuitem must be the first routine in BootMenuPrint.asm" 36 37 %endif 37 38 %endif 38 39 39 40 ;-------------------------------------------------------------------- … … 174 175 db 2880 / FloppyTypes.rgbCapacityMultiplier ; type 6 175 176 177 %ifndef CHECK_FOR_UNUSED_ENTRYPOINTS 176 178 %if g_szFddFiveQuarter <> g_szFddThreeHalf+g_szFddThreeFive_Displacement 177 179 %error "FddThreeFive_Displacement incorrect" 180 %endif 178 181 %endif 179 182 … … 225 228 cmp bl, FLOPPY_TYPE_525_HD 226 229 ja .ThreeHalf 230 %ifndef CHECK_FOR_UNUSED_ENTRYPOINTS 227 231 %if g_szFddThreeFive_Displacement = 2 228 232 inc ax ; compressed string case … … 230 234 %else 231 235 add ax, g_szFddThreeFive_Displacement 236 %endif 232 237 %endif 233 238 .ThreeHalf: -
trunk/XTIDE_Universal_BIOS/Src/Boot/BootMenuPrintCfg.asm
r193 r194 26 26 eMOVZX ax, BYTE [di+DPT.bIdevarsOffset] 27 27 xchg si, ax ; CS:SI now points to IDEVARS 28 ; Fall to PushAndFormatCfgString28 ; Fall to .PushAndFormatCfgString 29 29 30 30 ;-------------------------------------------------------------------- … … 38 38 ; AX, DX, SI, DI 39 39 ;-------------------------------------------------------------------- 40 PushAndFormatCfgString:40 .PushAndFormatCfgString: 41 41 push bp 42 42 mov bp, sp … … 53 53 ; AX, BX 54 54 ;-------------------------------------------------------------------- 55 PushAddressingMode:55 .PushAddressingMode: 56 56 CustomDPT_GetUnshiftedAddressModeToALZF 57 57 ;; … … 76 76 ; AX 77 77 ;-------------------------------------------------------------------- 78 PushBlockMode:78 .PushBlockMode: 79 79 mov ax, 1 80 80 test BYTE [di+DPT.bFlagsHigh], FLGH_DPT_BLOCK_MODE_SUPPORTED … … 94 94 ; AX, DX 95 95 ;-------------------------------------------------------------------- 96 ;PushBusType:96 .PushBusType: 97 97 mov al,g_szBusTypeValues_Displacement 98 98 mul BYTE [cs:si+IDEVARS.bDevice] … … 113 113 ; AX, DX 114 114 ;-------------------------------------------------------------------- 115 PushIRQ:115 .PushIRQ: 116 116 eMOVZX ax, BYTE [cs:si+IDEVARS.bIRQ] 117 117 push ax … … 127 127 ; AX 128 128 ;-------------------------------------------------------------------- 129 PushResetStatus:129 .PushResetStatus: 130 130 mov al, [di+DPT.bFlagsHigh] 131 131 and ax, MASKH_DPT_RESET … … 141 141 ; AX, SI, DI 142 142 ;-------------------------------------------------------------------- 143 PrintValuesFromStack:143 .PrintValuesFromStack: 144 144 mov si, g_szCfgFormat 145 145 jmp BootPrint_BootMenuPrint_FormatCSSIfromParamsInSSBP_Relay
Note:
See TracChangeset
for help on using the changeset viewer.