Changeset 632 in xtideuniversalbios
- Timestamp:
- Nov 7, 2025, 4:50:55 PM (6 weeks ago)
- Location:
- trunk
- Files:
-
- 45 edited
-
Assembly_Library/Src/Menu/Dialog/DialogFile.asm (modified) (2 diffs)
-
Assembly_Library/Src/Menu/Dialog/DialogWord.asm (modified) (2 diffs)
-
Assembly_Library/Src/Menu/Dialog/ItemLineSplitter.asm (modified) (2 diffs)
-
Assembly_Library/Src/Menu/MenuCharOut.asm (modified) (2 diffs)
-
BIOS_Drive_Information_Tool/Src/AtaInfo.asm (modified) (2 diffs)
-
Configurator/Src/EEPROM.asm (modified) (1 diff)
-
Configurator/Src/Libraries/menu/menu.asm (modified) (4 diffs)
-
Configurator/Src/Libraries/menu/menudlg.asm (modified) (3 diffs)
-
Configurator/Src/Libraries/menu/menudraw.asm (modified) (7 diffs)
-
Configurator/Src/Libraries/menu/menufile.asm (modified) (1 diff)
-
Configurator/Src/Libraries/menu/menuloop.asm (modified) (3 diffs)
-
Configurator/Src/Libraries/menu/menumsg.asm (modified) (2 diffs)
-
Configurator/Src/Libraries/menu/menuprog.asm (modified) (1 diff)
-
Configurator/Src/Libraries/menu/prntvram.asm (modified) (1 diff)
-
Configurator/Src/MenuPage.asm (modified) (1 diff)
-
Configurator/Src/MenuPageItem.asm (modified) (1 diff)
-
Configurator/Src/MenuPageItemFormat.asm (modified) (4 diffs)
-
Configurator/Src/Menupages/DrvParamsMenu.asm (modified) (1 diff)
-
Configurator/Src/Menupages/FlashMenu.asm (modified) (4 diffs)
-
Configurator/Src/Menupages/IdeControllerMenu.asm (modified) (1 diff)
-
XTIDE_Universal_BIOS/Inc/IdeIO.inc (modified) (4 diffs)
-
XTIDE_Universal_BIOS/Inc/Revision.inc (modified) (1 diff)
-
XTIDE_Universal_BIOS/Src/Device/IDE/IdeDPT.asm (modified) (2 diffs)
-
XTIDE_Universal_BIOS/Src/Device/IDE/IdeTransfer.asm (modified) (3 diffs)
-
XTIDE_Universal_BIOS/Src/Device/IDE/JrIdeTransfer.asm (modified) (2 diffs)
-
XTIDE_Universal_BIOS/Src/Handlers/Int13h/EBIOS/AH48h_GetExtendedDriveParameters.asm (modified) (4 diffs)
-
XTIDE_Universal_BIOS/Src/Handlers/Int13h/Tools/Address.asm (modified) (2 diffs)
-
XTIDE_Universal_BIOS/Src/Initialization/AdvancedAta/AdvAtaInit.asm (modified) (2 diffs)
-
XTIDE_Universal_BIOS/Src/Initialization/AdvancedAta/PDC20x30.asm (modified) (2 diffs)
-
XTIDE_Universal_BIOS/Src/Initialization/AdvancedAta/Vision.asm (modified) (2 diffs)
-
XTIDE_Universal_BIOS/Src/Initialization/AtaID.asm (modified) (3 diffs)
-
XTIDE_Universal_BIOS/Src/Initialization/Interrupts.asm (modified) (2 diffs)
-
XTIDE_Universal_BIOS/Src/Menus/BootMenu/BootMenuEvent.asm (modified) (2 diffs)
-
XTIDE_Universal_BIOS/Src/VariablesAndDPTs/AccessDPT.asm (modified) (2 diffs)
-
XTIDE_Universal_BIOS/Src/VariablesAndDPTs/CompatibleDPT.asm (modified) (6 diffs)
-
XTIDE_Universal_BIOS/Src/VariablesAndDPTs/FindDPT.asm (modified) (2 diffs)
-
XTIDE_Universal_BIOS/Src/VariablesAndDPTs/RamVars.asm (modified) (2 diffs)
-
XTIDE_Universal_BIOS_Configurator_v2/Inc/Variables.inc (modified) (2 diffs)
-
XTIDE_Universal_BIOS_Configurator_v2/Src/Buffers.asm (modified) (2 diffs)
-
XTIDE_Universal_BIOS_Configurator_v2/Src/EEPROM.asm (modified) (2 diffs)
-
XTIDE_Universal_BIOS_Configurator_v2/Src/Flash.asm (modified) (5 diffs)
-
XTIDE_Universal_BIOS_Configurator_v2/Src/FlashSST.asm (modified) (6 diffs)
-
XTIDE_Universal_BIOS_Configurator_v2/Src/Menuitem.asm (modified) (2 diffs)
-
XTIDE_Universal_BIOS_Configurator_v2/Src/MenuitemPrint.asm (modified) (2 diffs)
-
XTIDE_Universal_BIOS_Configurator_v2/Src/Menupages/FlashMenu.asm (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Assembly_Library/Src/Menu/Dialog/DialogFile.asm
r625 r632 4 4 ; 5 5 ; XTIDE Universal BIOS and Associated Tools 6 ; Copyright (C) 2009-2010 by Tomi Tilli, 2011-202 3by XTIDE Universal BIOS Team.6 ; Copyright (C) 2009-2010 by Tomi Tilli, 2011-2025 by XTIDE Universal BIOS Team. 7 7 ; 8 8 ; This program is free software; you can redistribute it and/or modify … … 204 204 205 205 lds si, [bp+DIALOG.fpDialogIO] 206 eMOVZX cx, [si+FILE_DIALOG_IO.bFileAttributes]206 eMOVZX cx, BYTE [si+FILE_DIALOG_IO.bFileAttributes] 207 207 lds si, [si+FILE_DIALOG_IO.fpFileFilterString] 208 208 call Directory_UpdateDTAForFirstMatchForDSSIwithAttributesInCX -
trunk/Assembly_Library/Src/Menu/Dialog/DialogWord.asm
r625 r632 4 4 ; 5 5 ; XTIDE Universal BIOS and Associated Tools 6 ; Copyright (C) 2009-2010 by Tomi Tilli, 2011-202 3by XTIDE Universal BIOS Team.6 ; Copyright (C) 2009-2010 by Tomi Tilli, 2011-2025 by XTIDE Universal BIOS Team. 7 7 ; 8 8 ; This program is free software; you can redistribute it and/or modify … … 92 92 GetWordFromUser: 93 93 lds si, [bp+DIALOG.fpDialogIO] 94 eMOVZX bx, [si+WORD_DIALOG_IO.bNumericBase]94 eMOVZX bx, BYTE [si+WORD_DIALOG_IO.bNumericBase] 95 95 ALIGN JUMP_ALIGN 96 96 .GetUserInputUntilValidOrCancelled: -
trunk/Assembly_Library/Src/Menu/Dialog/ItemLineSplitter.asm
r625 r632 4 4 ; 5 5 ; XTIDE Universal BIOS and Associated Tools 6 ; Copyright (C) 2009-2010 by Tomi Tilli, 2011-202 3by XTIDE Universal BIOS Team.6 ; Copyright (C) 2009-2010 by Tomi Tilli, 2011-2025 by XTIDE Universal BIOS Team. 7 7 ; 8 8 ; This program is free software; you can redistribute it and/or modify … … 44 44 eENTER_STRUCT ITEM_LINE_SPLITTER_size 45 45 mov [bp+ITEM_LINE_SPLITTER.wMaxTextLineLength], ax 46 mov WORD [bp+ITEM_LINE_SPLITTER.wLineToFind], -1 46 mov WORD [bp+ITEM_LINE_SPLITTER.wLineToFind], -1 ; OR would be one byte less but possibly slower 47 47 48 48 xor bx, bx ; Line index -
trunk/Assembly_Library/Src/Menu/MenuCharOut.asm
r526 r632 4 4 ; 5 5 ; XTIDE Universal BIOS and Associated Tools 6 ; Copyright (C) 2009-2010 by Tomi Tilli, 2011-20 13by XTIDE Universal BIOS Team.6 ; Copyright (C) 2009-2010 by Tomi Tilli, 2011-2025 by XTIDE Universal BIOS Team. 7 7 ; 8 8 ; This program is free software; you can redistribute it and/or modify … … 78 78 mov al, CR 79 79 call DisplayCharOut_BiosTeletypeOutput 80 eMOVZX ax, [VIDEO_BDA.displayContext+DISPLAY_CONTEXT.wCharOutParam]80 eMOVZX ax, BYTE [VIDEO_BDA.displayContext+DISPLAY_CONTEXT.wCharOutParam] 81 81 add di, ax 82 82 ReturnSinceNoNeedToStartLineWithControlCharacter: -
trunk/BIOS_Drive_Information_Tool/Src/AtaInfo.asm
r613 r632 4 4 ; 5 5 ; XTIDE Universal BIOS and Associated Tools 6 ; Copyright (C) 2009-2010 by Tomi Tilli, 2011-20 13by XTIDE Universal BIOS Team.6 ; Copyright (C) 2009-2010 by Tomi Tilli, 2011-2025 by XTIDE Universal BIOS Team. 7 7 ; 8 8 ; This program is free software; you can redistribute it and/or modify … … 185 185 ;-------------------------------------------------------------------- 186 186 DisplayBlockModeInformationUsingAtaInfoFromDSBX: 187 eMOVZX ax, [bx+ATA1.bBlockSel] ; ATA2+ has flag on high word187 eMOVZX ax, BYTE [bx+ATA1.bBlockSel] ; ATA2+ has flag on high word 188 188 cwd 189 189 mov dl, [bx+ATA1.bBlckSize] -
trunk/Configurator/Src/EEPROM.asm
r293 r632 21 21 call EEPROM_FindXtideUniversalBiosROM 22 22 xor si, si ; Load from beginning of ROM 23 eMOVZX cx, [es:ROMVARS.bRomSize]23 eMOVZX cx, BYTE [es:ROMVARS.bRomSize] 24 24 eSHL_IM cx, 9 ; *= 512 for byte count 25 25 call EEPROM_LoadBytesFromROM -
trunk/Configurator/Src/Libraries/menu/menu.asm
r83 r632 1 ; File name : menu.asm2 1 ; Project name : Menu library 3 ; Created date : 9.11.20094 ; Last update : 6.1.20115 ; Author : Tomi Tilli,6 ; : Krister Nordvall (optimizations)7 2 ; Description : ASM library to menu system. 8 3 ; … … 40 35 .bTitleH resb 1 ; Title height in chars (borders not included, 0=disabled) 41 36 .bInfoH resb 1 ; Info height in chars (borders not included, 0=disabled) 42 37 43 38 ; Menu callback system set by user 44 39 .fnEvent resb 2 ; Offset to event callback function 45 40 46 41 ; Menu library internal variables. 47 42 ; Do not modify from outside menu library! … … 211 206 212 207 ; Calculate number of visible menuitems 213 eMOVZX ax, [bp+MENUVARS.bHeight] ; Load menu total height208 eMOVZX ax, BYTE [bp+MENUVARS.bHeight] ; Load menu total height 214 209 times 2 dec ax ; Decrement top and borders 215 210 or ah, [bp+MENUVARS.bTitleH] ; Load title height … … 234 229 jz .InitDone ; If not, continue 235 230 mov [bp+MENUVARS.wItemSel], cx ; Store default 236 eMOVZX ax, [bp+MENUVARS.bVisCnt] ; Load one past last to be displayed231 eMOVZX ax, BYTE [bp+MENUVARS.bVisCnt] ; Load one past last to be displayed 237 232 cmp cx, ax ; Visible selection? 238 233 jb .InitDone ; If so, continue -
trunk/Configurator/Src/Libraries/menu/menudlg.asm
r2 r632 1 ; File name : menudlg.asm2 1 ; Project name : Menu library 3 ; Created date : 17.11.20094 ; Last update : 4.12.20095 ; Author : Tomi Tilli6 2 ; Description : ASM library to menu system. 7 3 ; Contains functions for displaying input dialogs. … … 15 11 16 12 ; Dialog parameters for different dialogs 17 .wCXPrm: 13 .wCXPrm: 18 14 .wPrmBase: ; Numeric base for DWORD dialog (10=dec, 16=hex...) 19 15 .wBuffLen resb 2 ; Buffer length for string dialog (with STOP included) … … 124 120 call MenuCrsr_Show ; Show cursor during input 125 121 mov cx, [bp+DLGVARS.wPrmBase] ; Load numeric base to CX 126 eMOVZX dx, [bp+MENUVARS.bWidth] ; Load dialog width122 eMOVZX dx, BYTE [bp+MENUVARS.bWidth] ; Load dialog width 127 123 sub dx, 4 ; Subtract borders for max char count 128 124 call Keys_PrintGetUint ; Get DWORD -
trunk/Configurator/Src/Libraries/menu/menudraw.asm
r293 r632 61 61 push cx 62 62 call MenuCrsr_GetCursor ; Get current cursor to DX 63 eMOVZX cx, [bp+MENUVARS.bWidth]; Load menu width63 eMOVZX cx, BYTE [bp+MENUVARS.bWidth] ; Load menu width 64 64 add cl, [bp+MENUVARS.bInitX] ; Add menu start X coord 65 65 sub cl, W_OFF_CRSR_STR & 0FFh ; Subtract right borders … … 164 164 call MenuCrsr_Point1stItem ; Set cursor position 165 165 mov cx, [bp+MENUVARS.wItemTop] ; Load idx of first menuitem to draw 166 eMOVZX dx, [bp+MENUVARS.bVisCnt]; Load number of visible menuitems166 eMOVZX dx, BYTE [bp+MENUVARS.bVisCnt] ; Load number of visible menuitems 167 167 MIN_U dx, [bp+MENUVARS.wItemCnt] ; Limit to item count 168 168 add dx, cx ; One past last menuitem to draw … … 266 266 call MenuDraw_TopBorder ; Draw top border 267 267 call MenuDraw_NewlineBrdr ; Change line 268 eMOVZX cx, [bp+MENUVARS.bTitleH]; Load number of title strings268 eMOVZX cx, BYTE [bp+MENUVARS.bTitleH] ; Load number of title strings 269 269 jcxz .Return ; Return if no title strings 270 270 ALIGN JUMP_ALIGN … … 284 284 xor dx, dx ; Zero DX 285 285 call MenuCrsr_PointNfoBrdr ; Set cursor 286 eMOVZX cx, [bp+MENUVARS.bInfoH]; Load number of info strings286 eMOVZX cx, BYTE [bp+MENUVARS.bInfoH] ; Load number of info strings 287 287 test BYTE [bp+MENUVARS.bFlags], FLG_MNU_HIDENFO ; Information hidden? 288 288 jnz SHORT .JumpToBottomBorder … … 320 320 xor dx, dx ; Zero DX 321 321 call MenuCrsr_PointItemBrdr ; Set cursor 322 eMOVZX cx, [bp+MENUVARS.bVisCnt]; Load max number of item strings322 eMOVZX cx, BYTE [bp+MENUVARS.bVisCnt] ; Load max number of item strings 323 323 ALIGN JUMP_ALIGN 324 324 .LineLoop: … … 374 374 mov dl, bh ; Leftmost 375 375 PRINT_CHAR 376 eMOVZX cx, [bp+MENUVARS.bWidth]376 eMOVZX cx, BYTE [bp+MENUVARS.bWidth] 377 377 times 2 dec cx ; Subtract borders 378 378 mov dl, bl ; Middle … … 438 438 mov dh, B_V ; Assume no scroll bars needed 439 439 mov ax, [bp+MENUVARS.wItemCnt] ; Load menuitem count to AX 440 eMOVZX bx, [bp+MENUVARS.bVisCnt] ; Load visible menuitems to BX440 eMOVZX bx, BYTE [bp+MENUVARS.bVisCnt] ; Load visible menuitems to BX 441 441 cmp ax, bx ; Need scroll bars? 442 442 jbe .Return ; If not, return -
trunk/Configurator/Src/Libraries/menu/menufile.asm
r293 r632 308 308 mov di, [bp+MSGVARS.wStrOff] ; Load string offset 309 309 mov es, [bp+MSGVARS.wStrSeg] ; Load string segment 310 eMOVZX cx, [bp+MENUVARS.bInfoH]; Load info line count to CX310 eMOVZX cx, BYTE [bp+MENUVARS.bInfoH] ; Load info line count to CX 311 311 call MenuDraw_MultilineStr ; Draw multiline str 312 312 pop di -
trunk/Configurator/Src/Libraries/menu/menuloop.asm
r293 r632 218 218 je .KeyHome ; If so, go to beginning 219 219 mov [bp+MENUVARS.wItemSel], ax ; Store new menuitem index 220 eMOVZX bx, [bp+MENUVARS.bVisCnt]; Load number of visible items220 eMOVZX bx, BYTE [bp+MENUVARS.bVisCnt] ; Load number of visible items 221 221 add bx, [bp+MENUVARS.wItemTop] ; BX to one past last visible index 222 222 cmp ax, bx ; Need to scroll? … … 231 231 ALIGN JUMP_ALIGN 232 232 .TextScrollDown: 233 eMOVZX ax, [bp+MENUVARS.bVisCnt]; Load visible items233 eMOVZX ax, BYTE [bp+MENUVARS.bVisCnt] ; Load visible items 234 234 add ax, [bp+MENUVARS.wItemTop] ; Add topmost menuitem index 235 235 cmp ax, [bp+MENUVARS.wItemCnt] ; Already at the bottom? … … 280 280 inc ax ; Increment page 281 281 mul BYTE [bp+MENUVARS.bVisCnt] ; AX=First menuitem on page 282 eMOVZX bx, [bp+MENUVARS.bVisCnt]; Load number of visible items282 eMOVZX bx, BYTE [bp+MENUVARS.bVisCnt] ; Load number of visible items 283 283 add bx, ax ; BX now one past last visible 284 284 cmp bx, [bp+MENUVARS.wItemCnt] ; Went over last? -
trunk/Configurator/Src/Libraries/menu/menumsg.asm
r293 r632 157 157 158 158 ; Prepare to scan tokens 159 eMOVZX si, [bp+MENUVARS.bWidth]159 eMOVZX si, BYTE [bp+MENUVARS.bWidth] 160 160 sub si, SIZE_MSG_HBRDR ; Max number of chars per line 161 161 mov dx, si ; Initialize chars left on line … … 212 212 call MenuMsg_GetTokenForLine ; Get ptr to first token, length to AX 213 213 jnc .EndOfString ; Return if no tokens 214 eMOVZX dx, [bp+MENUVARS.bWidth]; Menu width214 eMOVZX dx, BYTE [bp+MENUVARS.bWidth] ; Menu width 215 215 sub dl, SIZE_MSG_HBRDR ; To line length 216 216 mov bl, ' ' ; Space character -
trunk/Configurator/Src/Libraries/menu/menuprog.asm
r293 r632 106 106 MenuProg_DrawBar: 107 107 ; Calculate number of chars to draw 108 eMOVZX cx, [bp+MENUVARS.bWidth]; Dialog width to CX108 eMOVZX cx, BYTE [bp+MENUVARS.bWidth] ; Dialog width to CX 109 109 sub cl, 4 ; Sub borders, CX=bar width 110 110 mul cl ; AX=bar with * percentage -
trunk/Configurator/Src/Libraries/menu/prntvram.asm
r293 r632 39 39 40 40 ; Calculate offset to VRAM 41 eMOVZX di, [es:BDA.bVidPageIdx]; Load page index41 eMOVZX di, BYTE [es:BDA.bVidPageIdx] ; Load page index 42 42 shl di, 1 ; Shift for word lookup 43 43 mov ax, [es:di+BDA.rgwVidCurPos] ; Load cursor position -
trunk/Configurator/Src/MenuPage.asm
r293 r632 109 109 push cx 110 110 push bx 111 eMOVZX cx, [si+MENUPAGE.bItemCnt]111 eMOVZX cx, BYTE [si+MENUPAGE.bItemCnt] 112 112 lea bx, [si+MENUPAGE.rgMenuPageItem] 113 113 ALIGN JUMP_ALIGN -
trunk/Configurator/Src/MenuPageItem.asm
r293 r632 21 21 push cs 22 22 pop es 23 eMOVZX cx, [bp+MENUVARS.bInfoH]; Info line count to CX23 eMOVZX cx, BYTE [bp+MENUVARS.bInfoH] ; Info line count to CX 24 24 call MenuPageItem_PrintCommonInfoLines 25 25 mov di, [di+MENUPAGEITEM.szInfo] ; ES:DI now points to info string -
trunk/Configurator/Src/MenuPageItemFormat.asm
r293 r632 21 21 mov si, [di+MENUPAGEITEM.rgszLookup] ; Load offset to string lookup table 22 22 mov bx, [di+MENUPAGEITEM.pValue] ; Ptr to value containing lookup index 23 eMOVZX bx, [bx]; BX=lookup index (values are already shifted for WORD lookup)23 eMOVZX bx, BYTE [bx] ; BX=lookup index (values are already shifted for WORD lookup) 24 24 push WORD [bx+si] ; Push offset to string to print 25 25 mov dh, 4 ; Total of 4 bytes for formatting params … … 42 42 ALIGN JUMP_ALIGN 43 43 MenuPageItemFormat_NameForAnyType: 44 eMOVZX bx, [di+MENUPAGEITEM.bType]; Load menuitem type44 eMOVZX bx, BYTE [di+MENUPAGEITEM.bType] ; Load menuitem type 45 45 jmp [cs:bx+.rgfnPrintBasedOnType] 46 46 ALIGN WORD_ALIGN … … 128 128 MenuPageItemFormat_NameWithUnsignedByteValue: 129 129 mov si, [di+MENUPAGEITEM.pValue] ; DS:SI points to value 130 eMOVZX ax, [si]; Load byte to AX130 eMOVZX ax, BYTE [si] ; Load byte to AX 131 131 push ax ; Push byte 132 132 jmp SHORT MenuPageItemFormat_NameWithUnsignedValuePushed … … 157 157 MenuPageItemFormat_NameWithByteHexadecimalValue: 158 158 mov si, [di+MENUPAGEITEM.pValue] ; DS:SI points to value 159 eMOVZX ax, [si]; Load byte to AX159 eMOVZX ax, BYTE [si] ; Load byte to AX 160 160 push ax ; Push byte 161 161 jmp SHORT MenuPageItemFormat_NameWithHexadecimalValuePushed -
trunk/Configurator/Src/Menupages/DrvParamsMenu.asm
r293 r632 105 105 ALIGN JUMP_ALIGN 106 106 DrvParamsMenu_SetDrvParamsOffset: 107 eMOVZX cx, [g_MenuPageDrvParams+MENUPAGE.bItemCnt]107 eMOVZX cx, BYTE [g_MenuPageDrvParams+MENUPAGE.bItemCnt] 108 108 dec cx 109 109 mov bx, g_MenuPageItemDrvBlockMode+MENUPAGEITEM.pValue -
trunk/Configurator/Src/Menupages/FlashMenu.asm
r293 r632 132 132 call MenuPageItem_GetByteFromUserWithoutMarkingUnsaved 133 133 jnc SHORT .Cancel 134 eMOVZX bx, [g_cfgVars+CFGVARS.bPageSize]134 eMOVZX bx, BYTE [g_cfgVars+CFGVARS.bPageSize] 135 135 eBSR ax, bx ; AX = Index of highest order bit 136 136 mov cx, 1 … … 185 185 xor dx, dx 186 186 mov ax, [g_cfgVars+CFGVARS.wEepromSize] ; DX:AX = Bytes to write 187 eMOVZX cx, [g_cfgVars+CFGVARS.bPageSize]187 eMOVZX cx, BYTE [g_cfgVars+CFGVARS.bPageSize] 188 188 div cx ; AX = Total number of pages 189 189 mov [g_cfgVars+CFGVARS.flashVars+FLASHVARS.wTotalPages], ax … … 278 278 mov ax, [si+FLASHVARS.wTotalPages] 279 279 sub ax, [si+FLASHVARS.wPagesLeft] ; AX=Pages written 280 eMOVZX dx, [g_cfgVars+CFGVARS.bPageSize]280 eMOVZX dx, BYTE [g_cfgVars+CFGVARS.bPageSize] 281 281 mul dx ; AX=Bytes written 282 282 … … 311 311 mov dx, [si+FLASHVARS.wPagesBeforeDraw] 312 312 call FlashMenu_GetPointersToPageToFlash 313 eMOVZX ax, [g_cfgVars+CFGVARS.bSdpCommand]314 eMOVZX cx, [g_cfgVars+CFGVARS.bPageSize]313 eMOVZX ax, BYTE [g_cfgVars+CFGVARS.bSdpCommand] 314 eMOVZX cx, BYTE [g_cfgVars+CFGVARS.bPageSize] 315 315 ALIGN JUMP_ALIGN 316 316 .PageLoop: -
trunk/Configurator/Src/Menupages/IdeControllerMenu.asm
r293 r632 129 129 ALIGN JUMP_ALIGN 130 130 IdeControllerMenu_SetIdevarsOffset: 131 eMOVZX cx, [g_MenuPageIdeVars+MENUPAGE.bItemCnt]131 eMOVZX cx, BYTE [g_MenuPageIdeVars+MENUPAGE.bItemCnt] 132 132 dec cx 133 133 mov bx, g_MenuPageItemIdeMaster+MENUPAGEITEM.pValue -
trunk/XTIDE_Universal_BIOS/Inc/IdeIO.inc
r630 r632 4 4 ; 5 5 ; XTIDE Universal BIOS and Associated Tools 6 ; Copyright (C) 2009-2010 by Tomi Tilli, 2011-202 4by XTIDE Universal BIOS Team.6 ; Copyright (C) 2009-2010 by Tomi Tilli, 2011-2025 by XTIDE Universal BIOS Team. 7 7 ; 8 8 ; This program is free software; you can redistribute it and/or modify … … 81 81 %ifdef IO_SEQUENCE 82 82 %ifndef previous_parameter 83 eMOVZX bx, [di+DPT.bIdevarsOffset]83 eMOVZX bx, BYTE [di+DPT.bIdevarsOffset] 84 84 %ifnidni %1, dx 85 85 mov dx, %1 … … 92 92 %elif previous_parameter = %1 93 93 %else 94 eMOVZX bx, [di+DPT.bIdevarsOffset]94 eMOVZX bx, BYTE [di+DPT.bIdevarsOffset] 95 95 %ifnidni %1, dx 96 96 mov dx, %1 … … 102 102 %else ; ~IO_SEQUENCE 103 103 %undef previous_parameter 104 eMOVZX bx, [di+DPT.bIdevarsOffset]104 eMOVZX bx, BYTE [di+DPT.bIdevarsOffset] 105 105 %ifnidni %1, dx 106 106 mov dx, %1 -
trunk/XTIDE_Universal_BIOS/Inc/Revision.inc
r631 r632 1 63 11 632 -
trunk/XTIDE_Universal_BIOS/Src/Device/IDE/IdeDPT.asm
r623 r632 4 4 ; 5 5 ; XTIDE Universal BIOS and Associated Tools 6 ; Copyright (C) 2009-2010 by Tomi Tilli, 2011-20 13by XTIDE Universal BIOS Team.6 ; Copyright (C) 2009-2010 by Tomi Tilli, 2011-2025 by XTIDE Universal BIOS Team. 7 7 ; 8 8 ; This program is free software; you can redistribute it and/or modify … … 113 113 ;-------------------------------------------------------------------- 114 114 .DetectAdvancedIdeController: 115 %ifdef MODULE_8BIT_IDE OR MODULE_SERIAL 115 116 ; Detection is only relevant on standard devices. XT-CF seems to give false positive for 116 ; PDC20x30 detection so better to skip detection for 8-bit devices 117 ; PDC20x30 detection so better to skip detection for 8-bit devices. (This check is only 118 ; needed in builds that includes modules providing device types above DEVICE_32BIT_ATA.) 117 119 cmp BYTE [di+DPT_ATA.bDevice], DEVICE_32BIT_ATA 118 120 ja SHORT .NoAdvancedControllerDetected 121 %endif 119 122 120 123 mov bx, [di+DPT.wBasePort] -
trunk/XTIDE_Universal_BIOS/Src/Device/IDE/IdeTransfer.asm
r630 r632 4 4 ; 5 5 ; XTIDE Universal BIOS and Associated Tools 6 ; Copyright (C) 2009-2010 by Tomi Tilli, 2011-202 4by XTIDE Universal BIOS Team.6 ; Copyright (C) 2009-2010 by Tomi Tilli, 2011-2025 by XTIDE Universal BIOS Team. 7 7 ; 8 8 ; This program is free software; you can redistribute it and/or modify … … 143 143 ReturnWithTransferErrorInAH: 144 144 %ifdef USE_386 145 movzx cx, [bp+PIOVARS.bSectorsDone]145 movzx cx, BYTE [bp+PIOVARS.bSectorsDone] 146 146 %else 147 147 mov cl, [bp+PIOVARS.bSectorsDone] … … 246 246 mov ax, [di+DPT.wBasePort] 247 247 mov [bp+PIOVARS.wDataPort], ax 248 eMOVZX ax, [di+DPT_ATA.bBlockSize]248 eMOVZX ax, BYTE [di+DPT_ATA.bBlockSize] 249 249 mov [bp+PIOVARS.wSectorsInBlock], ax 250 250 mov [bp+PIOVARS.bSectorsDone], ah ; Zero -
trunk/XTIDE_Universal_BIOS/Src/Device/IDE/JrIdeTransfer.asm
r601 r632 4 4 ; 5 5 ; XTIDE Universal BIOS and Associated Tools 6 ; Copyright (C) 2009-2010 by Tomi Tilli, 2011-20 13by XTIDE Universal BIOS Team.6 ; Copyright (C) 2009-2010 by Tomi Tilli, 2011-2025 by XTIDE Universal BIOS Team. 7 7 ; 8 8 ; This program is free software; you can redistribute it and/or modify … … 147 147 lds di, [bp+MEMPIOVARS.fpDPT] ; DPT now in DS:DI 148 148 %ifdef USE_386 149 movzx cx, [bp+MEMPIOVARS.bSectorsDone]149 movzx cx, BYTE [bp+MEMPIOVARS.bSectorsDone] 150 150 %else 151 151 mov ch, 0 ; Preserve CF -
trunk/XTIDE_Universal_BIOS/Src/Handlers/Int13h/EBIOS/AH48h_GetExtendedDriveParameters.asm
r580 r632 4 4 ; 5 5 ; XTIDE Universal BIOS and Associated Tools 6 ; Copyright (C) 2009-2010 by Tomi Tilli, 2011-20 13by XTIDE Universal BIOS Team.6 ; Copyright (C) 2009-2010 by Tomi Tilli, 2011-2025 by XTIDE Universal BIOS Team. 7 7 ; 8 8 ; This program is free software; you can redistribute it and/or modify … … 74 74 ;-------------------------------------------------------------------- 75 75 AH48h_HandlerForGetExtendedDriveParameters: 76 mov si, di77 76 push ds 78 77 pop es ; ES = RAMVARS segment 78 mov si, di 79 79 xor bx, bx 80 80 dec bx ; Set to FFFFh to assume we do not return DPTE … … 147 147 ; from previously scanned drive. 148 148 .DoNotSetChsFlag: 149 eMOVZX dx, [es:si+DPT.bPchsHeads] 149 %ifdef USE_386 150 push eax ; Save the high WORD of EAX 151 152 movzx eax, BYTE [es:si+DPT.bPchsHeads] 153 mov [di+EDRIVE_INFO.dwHeads], eax 154 155 mov al, [es:si+DPT.bPchsSectorsPerTrack] 156 mov [di+EDRIVE_INFO.dwSectorsPerTrack], eax 157 158 mov ax, [es:si+DPT.wPchsCylinders] 159 mov [di+EDRIVE_INFO.dwCylinders], eax 160 161 pop eax ; Restore the high WORD of EAX 162 %else 163 eMOVZX dx, BYTE [es:si+DPT.bPchsHeads] 150 164 mov [di+EDRIVE_INFO.dwHeads], dx 151 165 mov [di+EDRIVE_INFO.dwHeads+2], cx … … 158 172 mov [di+EDRIVE_INFO.dwCylinders], dx 159 173 mov [di+EDRIVE_INFO.dwCylinders+2], cx 160 174 %endif 161 175 xchg ax, cx ; Success 162 176 jmp Int13h_ReturnFromHandlerAfterStoringErrorCodeFromAH -
trunk/XTIDE_Universal_BIOS/Src/Handlers/Int13h/Tools/Address.asm
r618 r632 4 4 ; 5 5 ; XTIDE Universal BIOS and Associated Tools 6 ; Copyright (C) 2009-2010 by Tomi Tilli, 2011-20 13by XTIDE Universal BIOS Team.6 ; Copyright (C) 2009-2010 by Tomi Tilli, 2011-2025 by XTIDE Universal BIOS Team. 7 7 ; 8 8 ; This program is free software; you can redistribute it and/or modify … … 155 155 xchg cx, ax ; Cylinder number to AX, Sectors per Track to CX 156 156 %ifdef USE_386 157 movzx dx, [di+DPT.bLchsHeads]157 movzx dx, BYTE [di+DPT.bLchsHeads] 158 158 %else 159 159 cwd -
trunk/XTIDE_Universal_BIOS/Src/Initialization/AdvancedAta/AdvAtaInit.asm
r623 r632 5 5 ; 6 6 ; XTIDE Universal BIOS and Associated Tools 7 ; Copyright (C) 2009-2010 by Tomi Tilli, 2011-20 13by XTIDE Universal BIOS Team.7 ; Copyright (C) 2009-2010 by Tomi Tilli, 2011-2025 by XTIDE Universal BIOS Team. 8 8 ; 9 9 ; This program is free software; you can redistribute it and/or modify … … 174 174 ;-------------------------------------------------------------------- 175 175 AdvAtaInit_SelectSlowestCommonPioTimingsToBXandCXfromDSSIandDSDI: 176 eMOVZX bx, [di+DPT_ADVANCED_ATA.bPioMode]176 eMOVZX bx, BYTE [di+DPT_ADVANCED_ATA.bPioMode] 177 177 mov cx, [di+DPT_ADVANCED_ATA.wMinPioCycleTime] 178 178 test si, si -
trunk/XTIDE_Universal_BIOS/Src/Initialization/AdvancedAta/PDC20x30.asm
r622 r632 5 5 ; 6 6 ; XTIDE Universal BIOS and Associated Tools 7 ; Copyright (C) 2009-2010 by Tomi Tilli, 2011-20 13by XTIDE Universal BIOS Team.7 ; Copyright (C) 2009-2010 by Tomi Tilli, 2011-2025 by XTIDE Universal BIOS Team. 8 8 ; 9 9 ; This program is free software; you can redistribute it and/or modify … … 295 295 out dx, al 296 296 297 mov c x, 100297 mov cl, 100 298 298 DELAY_WITH_LOOP_INSTRUCTION_NA 299 299 pop cx -
trunk/XTIDE_Universal_BIOS/Src/Initialization/AdvancedAta/Vision.asm
r596 r632 5 5 ; 6 6 ; XTIDE Universal BIOS and Associated Tools 7 ; Copyright (C) 2009-2010 by Tomi Tilli, 2011-20 13by XTIDE Universal BIOS Team.7 ; Copyright (C) 2009-2010 by Tomi Tilli, 2011-2025 by XTIDE Universal BIOS Team. 8 8 ; 9 9 ; This program is free software; you can redistribute it and/or modify … … 214 214 db 102 ; QDI6580 DOS driver v3.7 uses fixed values for PIO 3... 215 215 db 61 ; ...and PIO 4. No idea where these values come from. 216 db (PIO_5_MIN_CYCLE_TIME_NS / 2) ; PIO 5 and 6 were not available when QD6 850 was released. Use values...216 db (PIO_5_MIN_CYCLE_TIME_NS / 2) ; PIO 5 and 6 were not available when QD6580 was released. Use values... 217 217 db (PIO_6_MIN_CYCLE_TIME_NS / 2) ; ...that resembles those used for PIO 4 218 218 -
trunk/XTIDE_Universal_BIOS/Src/Initialization/AtaID.asm
r625 r632 5 5 ; 6 6 ; XTIDE Universal BIOS and Associated Tools 7 ; Copyright (C) 2009-2010 by Tomi Tilli, 2011-202 3by XTIDE Universal BIOS Team.7 ; Copyright (C) 2009-2010 by Tomi Tilli, 2011-2025 by XTIDE Universal BIOS Team. 8 8 ; 9 9 ; This program is free software; you can redistribute it and/or modify … … 215 215 ; Get PIO mode and cycle time for PIO 0...2 216 216 %ifdef USE_386 217 movzx ax, [es:si+ATA1.bPioMode] ; AH = 0, AL = PIO mode 0, 1 or 2217 movzx ax, BYTE [es:si+ATA1.bPioMode] ; AH = 0, AL = PIO mode 0, 1 or 2 218 218 %else 219 219 mov al, [es:si+ATA1.bPioMode] … … 261 261 ;-------------------------------------------------------------------- 262 262 AtaID_GetActiveTimeToAXfromPioModeInBX: 263 eMOVZX ax, [cs:bx+.rgbPioModeToActiveTimeNs]263 eMOVZX ax, BYTE [cs:bx+.rgbPioModeToActiveTimeNs] 264 264 ret 265 265 -
trunk/XTIDE_Universal_BIOS/Src/Initialization/Interrupts.asm
r621 r632 4 4 ; 5 5 ; XTIDE Universal BIOS and Associated Tools 6 ; Copyright (C) 2009-2010 by Tomi Tilli, 2011-20 13by XTIDE Universal BIOS Team.6 ; Copyright (C) 2009-2010 by Tomi Tilli, 2011-2025 by XTIDE Universal BIOS Team. 7 7 ; 8 8 ; This program is free software; you can redistribute it and/or modify … … 203 203 ;-------------------------------------------------------------------- 204 204 Interrupts_UnmaskInterruptControllerForDriveInDSDI: 205 eMOVZX bx, [di+DPT.bIdevarsOffset]; Clears CF on pre-386 CPUs205 eMOVZX bx, BYTE [di+DPT.bIdevarsOffset] ; Clears CF on pre-386 CPUs 206 206 %ifndef USE_386 207 207 %ifdef USE_UNDOC_INTEL -
trunk/XTIDE_Universal_BIOS/Src/Menus/BootMenu/BootMenuEvent.asm
r599 r632 4 4 ; 5 5 ; XTIDE Universal BIOS and Associated Tools 6 ; Copyright (C) 2009-2010 by Tomi Tilli, 2011-20 13by XTIDE Universal BIOS Team.6 ; Copyright (C) 2009-2010 by Tomi Tilli, 2011-2025 by XTIDE Universal BIOS Team. 7 7 ; 8 8 ; This program is free software; you can redistribute it and/or modify … … 141 141 142 142 ; Store default Menuitem (=default drive to boot from) 143 eMOVZX dx, [cs:ROMVARS.bBootDrv]143 eMOVZX dx, BYTE [cs:ROMVARS.bBootDrv] 144 144 call GetMenuitemToDXforDriveInDL 145 145 mov [bp+MENUINIT.wHighlightedItem], dx -
trunk/XTIDE_Universal_BIOS/Src/VariablesAndDPTs/AccessDPT.asm
r630 r632 4 4 ; 5 5 ; XTIDE Universal BIOS and Associated Tools 6 ; Copyright (C) 2009-2010 by Tomi Tilli, 2011-202 4by XTIDE Universal BIOS Team.6 ; Copyright (C) 2009-2010 by Tomi Tilli, 2011-2025 by XTIDE Universal BIOS Team. 7 7 ; 8 8 ; This program is free software; you can redistribute it and/or modify … … 162 162 ;-------------------------------------------------------------------- 163 163 AccessDPT_GetIdevarsToCSBX: 164 eMOVZX bx, [di+DPT.bIdevarsOffset]164 eMOVZX bx, BYTE [di+DPT.bIdevarsOffset] 165 165 ret 166 166 -
trunk/XTIDE_Universal_BIOS/Src/VariablesAndDPTs/CompatibleDPT.asm
r612 r632 6 6 ; 7 7 ; XTIDE Universal BIOS and Associated Tools 8 ; Copyright (C) 2009-2010 by Tomi Tilli, 2011-20 13by XTIDE Universal BIOS Team.8 ; Copyright (C) 2009-2010 by Tomi Tilli, 2011-2025 by XTIDE Universal BIOS Team. 9 9 ; 10 10 ; This program is free software; you can redistribute it and/or modify … … 121 121 call StoswThenAddALandAHtoDL ; Bytes 2 (Logical number of heads) and 3 (Axh signature to indicate Translated DPT) 122 122 123 eMOVZX ax, [si+DPT.bPchsSectorsPerTrack]123 eMOVZX ax, BYTE [si+DPT.bPchsSectorsPerTrack] 124 124 call StoswThenAddALandAHtoDL ; Bytes 4 (Physical sectors per track) and 5 (Write Precompensation Cylinder low) 125 125 … … 182 182 FillStandardDPTtoESDIfromDPTinDSSI: 183 183 stosw ; Bytes 0 and 1 (Physical number of cylinders) 184 eMOVZX ax, [si+DPT.bLchsHeads]184 eMOVZX ax, BYTE [si+DPT.bLchsHeads] 185 185 stosw ; Bytes 2 (Physical number of heads) and 3 186 186 %ifdef USE_UNDOC_INTEL … … 225 225 call GetTemporaryBufferForDPTEtoESDI ; Valid until next AH=48h call 226 226 227 mov cx, FLG_LBA_TRANSLATION_ENABLED ; DPTE.wFlags 228 %ifdef MODULE_ADVANCED_ATA 227 229 ; Set 32-bit flag for 32-bit controllers 228 mov cx, FLG_LBA_TRANSLATION_ENABLED ; DPTE.wFlags229 230 cmp BYTE [si+DPT_ATA.bDevice], DEVICE_32BIT_ATA 230 231 eCMOVE cl, FLG_LBA_TRANSLATION_ENABLED | FLG_32BIT_XFER_MODE 232 %endif 231 233 232 234 xor dl, dl ; Clear DL for checksum … … 239 241 240 242 ; DPTE.wControlBlockPort 241 eMOVZX bx, [si+DPT.bIdevarsOffset]243 eMOVZX bx, BYTE [si+DPT.bIdevarsOffset] 242 244 mov ax, [cs:bx+IDEVARS.wControlBlockPort] 243 245 call bp ; Bytes 2 and 3 … … 278 280 test al, FLGL_DPT_ASSISTED_LBA 279 281 jz SHORT .NoChsTranslationOrBitShiftTranslationSet 280 or ch, LBA_ASSISTED_TRANSLATION << (TRANSLATION_TYPE_FIELD_POSITION - 8)282 mov ch, LBA_ASSISTED_TRANSLATION << (TRANSLATION_TYPE_FIELD_POSITION - 8) ; MOV shorter than OR (CH was zero) 281 283 .NoChsTranslationOrBitShiftTranslationSet: 282 284 xchg ax, cx -
trunk/XTIDE_Universal_BIOS/Src/VariablesAndDPTs/FindDPT.asm
r623 r632 4 4 ; 5 5 ; XTIDE Universal BIOS and Associated Tools 6 ; Copyright (C) 2009-2010 by Tomi Tilli, 2011-20 13by XTIDE Universal BIOS Team.6 ; Copyright (C) 2009-2010 by Tomi Tilli, 2011-2025 by XTIDE Universal BIOS Team. 7 7 ; 8 8 ; This program is free software; you can redistribute it and/or modify … … 303 303 304 304 mov di, RAMVARS_size ; Point DS:DI to first DPT 305 eMOVZX cx, [RAMVARS.bDrvCnt]305 eMOVZX cx, BYTE [RAMVARS.bDrvCnt] 306 306 jcxz .NotFound ; Return if no drives 307 307 -
trunk/XTIDE_Universal_BIOS/Src/VariablesAndDPTs/RamVars.asm
r625 r632 4 4 ; 5 5 ; XTIDE Universal BIOS and Associated Tools 6 ; Copyright (C) 2009-2010 by Tomi Tilli, 2011-202 3by XTIDE Universal BIOS Team.6 ; Copyright (C) 2009-2010 by Tomi Tilli, 2011-2025 by XTIDE Universal BIOS Team. 7 7 ; 8 8 ; This program is free software; you can redistribute it and/or modify … … 154 154 ALIGN JUMP_ALIGN 155 155 RamVars_GetIdeControllerCountToCX: 156 eMOVZX cx, [cs:ROMVARS.bIdeCnt]156 eMOVZX cx, BYTE [cs:ROMVARS.bIdeCnt] 157 157 ret 158 158 -
trunk/XTIDE_Universal_BIOS_Configurator_v2/Inc/Variables.inc
r621 r632 4 4 ; 5 5 ; XTIDE Universal BIOS and Associated Tools 6 ; Copyright (C) 2009-2010 by Tomi Tilli, 2011-20 13by XTIDE Universal BIOS Team.6 ; Copyright (C) 2009-2010 by Tomi Tilli, 2011-2025 by XTIDE Universal BIOS Team. 7 7 ; 8 8 ; This program is free software; you can redistribute it and/or modify … … 101 101 .wLastOffsetWritten resb 2 102 102 .bLastByteWritten resb 1 103 . flashResult resb 1103 .bFlashResult resb 1 104 104 endstruc 105 105 106 106 ; Flashing results 107 107 struc FLASH_RESULT 108 . success resb 2108 .Success resb 2 109 109 .DeviceNotDetected resb 2 110 110 .PollingTimeoutError resb 2 -
trunk/XTIDE_Universal_BIOS_Configurator_v2/Src/Buffers.asm
r621 r632 4 4 ; 5 5 ; XTIDE Universal BIOS and Associated Tools 6 ; Copyright (C) 2009-2010 by Tomi Tilli, 2011-20 13by XTIDE Universal BIOS Team.6 ; Copyright (C) 2009-2010 by Tomi Tilli, 2011-2025 by XTIDE Universal BIOS Team. 7 7 ; 8 8 ; This program is free software; you can redistribute it and/or modify … … 183 183 ALIGN JUMP_ALIGN 184 184 Buffers_GetSelectedEepromSizeInWordsToAX: 185 eMOVZX bx, [g_cfgVars+CFGVARS.bEepromType]185 eMOVZX bx, BYTE [g_cfgVars+CFGVARS.bEepromType] 186 186 mov ax, [bx+g_rgwEepromTypeToSizeInWords] 187 187 -
trunk/XTIDE_Universal_BIOS_Configurator_v2/Src/EEPROM.asm
r621 r632 4 4 ; 5 5 ; XTIDE Universal BIOS and Associated Tools 6 ; Copyright (C) 2009-2010 by Tomi Tilli, 2011-20 13by XTIDE Universal BIOS Team.6 ; Copyright (C) 2009-2010 by Tomi Tilli, 2011-2025 by XTIDE Universal BIOS Team. 7 7 ; 8 8 ; This program is free software; you can redistribute it and/or modify … … 186 186 push ds 187 187 188 eMOVZX bx, [g_cfgVars+CFGVARS.bEepromType]188 eMOVZX bx, BYTE [g_cfgVars+CFGVARS.bEepromType] 189 189 mov cx, [bx+g_rgwEepromTypeToSizeInWords] 190 190 mov ds, [g_cfgVars+CFGVARS.wEepromSegment] -
trunk/XTIDE_Universal_BIOS_Configurator_v2/Src/Flash.asm
r630 r632 4 4 ; 5 5 ; XTIDE Universal BIOS and Associated Tools 6 ; Copyright (C) 2009-2010 by Tomi Tilli, 2011-202 4by XTIDE Universal BIOS Team.6 ; Copyright (C) 2009-2010 by Tomi Tilli, 2011-2025 by XTIDE Universal BIOS Team. 7 7 ; 8 8 ; This program is free software; you can redistribute it and/or modify … … 26 26 ; DS:SI: Ptr to FLASHVARS 27 27 ; Returns: 28 ; FLASHVARS. flashResult28 ; FLASHVARS.bFlashResult 29 29 ; Corrupts registers: 30 30 ; All, including segments … … 50 50 loop .FlashNextPage 51 51 %ifndef CHECK_FOR_UNUSED_ENTRYPOINTS 52 %if FLASH_RESULT. success = 0 ; Just in case this should ever change53 mov [bp+FLASHVARS. flashResult], cl52 %if FLASH_RESULT.Success = 0 ; Just in case this should ever change 53 mov [bp+FLASHVARS.bFlashResult], cl 54 54 %else 55 mov BYTE [bp+FLASHVARS. flashResult], FLASH_RESULT.success55 mov BYTE [bp+FLASHVARS.bFlashResult], FLASH_RESULT.Success 56 56 %endif 57 57 %endif … … 63 63 .DataVerifyError: 64 64 mov al, FLASH_RESULT.DataVerifyError 65 mov [bp+FLASHVARS. flashResult], al65 mov [bp+FLASHVARS.bFlashResult], al 66 66 ret 67 67 … … 107 107 ALIGN JUMP_ALIGN 108 108 .GetSdpCommandFunctionToAXwithFlashvarsInSSBP: 109 eMOVZX bx, [bp+FLASHVARS.bEepromSdpCommand]109 eMOVZX bx, BYTE [bp+FLASHVARS.bEepromSdpCommand] 110 110 mov si, [cs:bx+.rgpSdpCommandToEepromTypeLookupTable] 111 111 mov bl, [bp+FLASHVARS.bEepromType] -
trunk/XTIDE_Universal_BIOS_Configurator_v2/Src/FlashSST.asm
r621 r632 4 4 ; 5 5 ; XTIDE Universal BIOS and Associated Tools 6 ; Copyright (C) 2009-2010 by Tomi Tilli, 2011-202 1by XTIDE Universal BIOS Team.6 ; Copyright (C) 2009-2010 by Tomi Tilli, 2011-2025 by XTIDE Universal BIOS Team. 7 7 ; 8 8 ; This program is free software; you can redistribute it and/or modify … … 22 22 23 23 ;-------------------------------------------------------------------- 24 ; FlashSst_WithFlashvarsInDS SI24 ; FlashSst_WithFlashvarsInDSBX 25 25 ; Parameters: 26 26 ; DS:BX: Ptr to FLASHVARS … … 40 40 mov bp, bx ; Flashvars now in SS:BP (Assumes SS=DS) 41 41 42 mov BYTE [bp+FLASHVARS. flashResult], FLASH_RESULT.DeviceNotDetected42 mov BYTE [bp+FLASHVARS.bFlashResult], FLASH_RESULT.DeviceNotDetected 43 43 call DetectSstDevice 44 44 jc SHORT .ExitOnError … … 46 46 call CalibrateSstTimeout 47 47 48 mov BYTE [bp+FLASHVARS. flashResult], FLASH_RESULT.PollingTimeoutError48 mov BYTE [bp+FLASHVARS.bFlashResult], FLASH_RESULT.PollingTimeoutError 49 49 mov cx, [bp+FLASHVARS.wPagesToFlash] 50 50 mov dx, [bp+FLASHVARS.wEepromPageSize] … … 82 82 ; Here we do an additional verify check just in case there was some 83 83 ; kind of oddity with pages / addresses. 84 mov BYTE [bp+FLASHVARS. flashResult], FLASH_RESULT.DataVerifyError84 mov BYTE [bp+FLASHVARS.bFlashResult], FLASH_RESULT.DataVerifyError 85 85 %ifndef USE_186 86 86 mov ax, [bp+FLASHVARS.wPagesToFlash] … … 98 98 99 99 %ifndef CHECK_FOR_UNUSED_ENTRYPOINTS 100 %if FLASH_RESULT. success = 0 ; Just in case this should ever change101 mov [bp+FLASHVARS. flashResult], cl100 %if FLASH_RESULT.Success = 0 ; Just in case this should ever change 101 mov [bp+FLASHVARS.bFlashResult], cl 102 102 %else 103 mov BYTE [bp+FLASHVARS. flashResult], FLASH_RESULT.success103 mov BYTE [bp+FLASHVARS.bFlashResult], FLASH_RESULT.Success 104 104 %endif 105 105 %endif -
trunk/XTIDE_Universal_BIOS_Configurator_v2/Src/Menuitem.asm
r625 r632 4 4 ; 5 5 ; XTIDE Universal BIOS and Associated Tools 6 ; Copyright (C) 2009-2010 by Tomi Tilli, 2011-202 3by XTIDE Universal BIOS Team.6 ; Copyright (C) 2009-2010 by Tomi Tilli, 2011-2025 by XTIDE Universal BIOS Team. 7 7 ; 8 8 ; This program is free software; you can redistribute it and/or modify … … 149 149 %if 0 150 150 ; 3 bytes more but this will always invoke the Writer, even if it's an invalid item type (which might be useful). 151 eMOVZX bx, [si+MENUITEM.bType]151 eMOVZX bx, BYTE [si+MENUITEM.bType] 152 152 cmp bl, TYPE_MENUITEM_HEX 153 153 %else -
trunk/XTIDE_Universal_BIOS_Configurator_v2/Src/MenuitemPrint.asm
r625 r632 4 4 ; 5 5 ; XTIDE Universal BIOS and Associated Tools 6 ; Copyright (C) 2009-2010 by Tomi Tilli, 2011-202 3by XTIDE Universal BIOS Team.6 ; Copyright (C) 2009-2010 by Tomi Tilli, 2011-2025 by XTIDE Universal BIOS Team. 7 7 ; 8 8 ; This program is free software; you can redistribute it and/or modify … … 52 52 ALIGN JUMP_ALIGN 53 53 MenuitemPrint_NameWithPossibleValueFromDSSI: 54 eMOVZX bx, [si+MENUITEM.bType]54 eMOVZX bx, BYTE [si+MENUITEM.bType] 55 55 cmp bl, TYPE_MENUITEM_ACTION 56 56 ja SHORT .PrintNameAndValueFromDSSI -
trunk/XTIDE_Universal_BIOS_Configurator_v2/Src/Menupages/FlashMenu.asm
r621 r632 4 4 ; 5 5 ; XTIDE Universal BIOS and Associated Tools 6 ; Copyright (C) 2009-2010 by Tomi Tilli, 2011-20 13by XTIDE Universal BIOS Team.6 ; Copyright (C) 2009-2010 by Tomi Tilli, 2011-2025 by XTIDE Universal BIOS Team. 7 7 ; 8 8 ; This program is free software; you can redistribute it and/or modify … … 360 360 je SHORT .UseSstPageSize 361 361 362 eMOVZX bx, [g_cfgVars+CFGVARS.bEepromPage]362 eMOVZX bx, BYTE [g_cfgVars+CFGVARS.bEepromPage] 363 363 mov ax, [bx+g_rgwEepromPageToSizeInBytes] 364 364 .UseSstPageSize: … … 403 403 ALIGN JUMP_ALIGN 404 404 .DisplayFlashingResultsFromFlashvarsInDSBX: 405 eMOVZX bx, [bx+FLASHVARS.flashResult]405 eMOVZX bx, BYTE [bx+FLASHVARS.bFlashResult] 406 406 jmp [cs:bx+.rgfnFlashResultMessage] 407 407
Note:
See TracChangeset
for help on using the changeset viewer.
