- Timestamp:
- Nov 15, 2011, 5:21:19 AM (13 years ago)
- google:author:
- gregli@hotmail.com
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Assembly_Library/Src/Display/DisplayFormat.asm
r181 r184 128 128 .rgcFormatCharToLookupIndex: 129 129 %ifndef EXCLUDE_FROM_XTIDE_UNIVERSAL_BIOS 130 db "a AduxsSct-+%"130 db "aIAduxsSct-+%" 131 131 %else 132 db " Auxsc-" ; Required by XTIDE Universal BIOS132 db "IAuxsc-" ; Required by XTIDE Universal BIOS 133 133 %endif 134 134 .rgcFormatCharToLookupIndexEnd: … … 138 138 dw a_FormatAttributeForNextCharacter 139 139 %endif 140 dw I_FormatDashForZero 140 141 dw A_FormatAttributeForRemainingString 141 142 %ifndef EXCLUDE_FROM_XTIDE_UNIVERSAL_BIOS … … 320 321 %endif 321 322 322 ALIGN JUMP_ALIGN 323 ALIGN JUMP_ALIGN 323 324 u_FormatUnsignedDecimalWord: 324 325 mov ax, [bp] … … 335 336 336 337 ALIGN JUMP_ALIGN 338 I_FormatDashForZero: 339 mov ax, [bp] 340 test ax,ax 341 jnz u_FormatUnsignedDecimalWord 342 mov [bp], word g_szDashForZero 343 ;;; fall-through 344 345 ALIGN JUMP_ALIGN 337 346 s_FormatStringFromSegmentCS: 338 347 xchg si, [bp] -
trunk/XTIDE_Universal_BIOS/Src/Boot/BootMenuPrintCfg.asm
r182 r184 143 143 ;-------------------------------------------------------------------- 144 144 PushIRQ: 145 mov dl, ' ' ; Load space to DL 146 mov al, [cs:si+IDEVARS.bIRQ] 147 test al, al ; Interrupts disabled? 148 jz SHORT .PushIrqDisabled 149 add al, '0' ; Digit to ASCII 150 cmp al, '9' ; Only one digit needed? 151 jbe SHORT .PushCharacters 152 153 ; Two digits needed 154 sub al, 10 ; Limit to single digit ASCII 155 mov dl, '1' ; Load '1 to DX 156 jmp SHORT .PushCharacters 157 ALIGN JUMP_ALIGN 158 .PushIrqDisabled: 159 mov al, '-' ; Load line to AL 160 xchg ax, dx ; Space to AL, line to DL 161 ALIGN JUMP_ALIGN 162 .PushCharacters: 163 push dx 145 eMOVZX ax, BYTE [cs:si+IDEVARS.bIRQ] 164 146 push ax 165 147 -
trunk/XTIDE_Universal_BIOS/Src/Strings.asm
r182 r184 36 36 g_szSizeDual: db "%s%4-u.%u %ciB / %4-u.%u %ciB",LF,CR,NULL 37 37 g_szCfgHeader: db "Addr.",SINGLE_VERTICAL,"Block",SINGLE_VERTICAL,"Bus", SINGLE_VERTICAL,"IRQ", SINGLE_VERTICAL,"Reset",LF,CR,NULL 38 g_szCfgFormat: db "%s" ,SINGLE_VERTICAL,"%5-u", SINGLE_VERTICAL,"%s",SINGLE_VERTICAL," % c%c",SINGLE_VERTICAL,"%5-x", NULL38 g_szCfgFormat: db "%s" ,SINGLE_VERTICAL,"%5-u", SINGLE_VERTICAL,"%s",SINGLE_VERTICAL," %2-I",SINGLE_VERTICAL,"%5-x", NULL 39 39 40 40 g_szAddressingModes: … … 64 64 g_szSelectionTimeout: db DOUBLE_BOTTOM_LEFT_CORNER,DOUBLE_LEFT_HORIZONTAL_TO_SINGLE_VERTICAL,"%ASelection in %2u s",NULL 65 65 66 g_szDashForZero: db "- ",NULL
Note:
See TracChangeset
for help on using the changeset viewer.