Changeset 94
- Timestamp:
- Apr 8, 2017, 12:26:36 AM (8 years ago)
- Location:
- trunk
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bootcode/regular/debug.asm
r93 r94 326 326 ; Dump some disk information. 327 327 ; 328 IF 0328 IF 1 329 329 ddi db 10,'DumpDiskInfo:',10,0 330 330 DEBUG_DumpDiskInfo Proc … … 728 728 pushf 729 729 pusha 730 call DEBUG_Test_CONV_BinToPBCD730 ;~ call DEBUG_Test_CONV_BinToPBCD 731 731 ;~ call DEBUG_Test_MATH_Mul32 732 732 popa … … 745 745 ; Test the packed BCD conversion function. 746 746 ; 747 IF 1747 IF 0 748 748 db_testbin2pbcd db "## TEST BIN2PBCD ##",10,0 749 749 DEBUG_Test_CONV_BinToPBCD Proc … … 1069 1069 dbp db '>---------->> DebugProbe: ',0 1070 1070 DEBUG_Probe Proc 1071 IF 0 1071 1072 push bp 1072 1073 mov bp,sp … … 1088 1089 popf 1089 1090 pop bp 1091 ENDIF 1090 1092 ret 2 1091 1093 DEBUG_Probe Endp -
trunk/bootcode/regular/partscan.asm
r78 r94 171 171 ;! DEBUG_PROBE 172 172 ;! 173 IFDEF AUX_DEBUG 173 IFDEF AUX_DEBUGx 174 174 push 1234h 175 175 call DEBUG_Probe -
trunk/bootcode/regular/videoio.asm
r67 r94 200 200 VideoIO_PrintSingleChar EndP 201 201 202 203 IF 0 204 ; Print dec-byte to screen 205 ; This outputs 1 to 3 characters 206 ; In: AL - byte to send 207 ; Out: AL - byte sent 208 ; Destroyed: None 209 VideoIO_PrintDecByte Proc Near Uses ax 210 call CONV_BinToPBCD ; Convert to PBCD 211 mov dx, ax ; Save PBCD value 212 shr ah, 4 ; Move digit count to low nibble 213 cmp ah, 3 ; Less than 3 digits ? 214 jb @F ; Yep, skip digit with index 2 215 mov al, dh ; Get byte with digit 216 and al, 0fh ; Mask it out 217 add al, '0' ; To ASCII 218 call VideoIO_PrintSingleChar 219 @@: 220 shr dh, 4 ; Move digit count to low nibble 221 cmp dh, 2 ; Less that 2 digits ? 222 jb @F ; Yep, skip digit with index 1 223 mov al, dl ; Get byte with digit 224 shr al, 4 ; Move to lower nibble 225 add al, '0' ; To ASCII 226 call VideoIO_PrintSingleChar 227 @@: 228 mov al, dl ; Get byte with digit 229 and al, 0fh ; Mask it out 230 add al, '0' ; To ASCII 231 call VideoIO_PrintSingleChar 232 ret 233 VideoIO_PrintDecByte EndP 234 ENDIF 202 235 203 236 -
trunk/include/version.h
r83 r94 32 32 #define BLDLVL_YEAR "2017" 33 33 #define BLDLVL_MONTH "03" 34 #define BLDLVL_DAY "2 0"34 #define BLDLVL_DAY "21" 35 35 // Build time 36 36 //~ #define BLDLVL_HOURS "01" -
trunk/include/version.inc
r83 r94 70 70 AB_YEAR EQU 2017h 71 71 AB_MONTH EQU 03h 72 AB_DAY EQU 2 0h72 AB_DAY EQU 21h 73 73 74 74 ; The Hours, Minutes and Seconds, again in BCD for easy manipulation.
Note:
See TracChangeset
for help on using the changeset viewer.