Changeset 49 for trunk/BOOTCODE
- Timestamp:
- Apr 12, 2014, 12:13:57 PM (11 years ago)
- Location:
- trunk/BOOTCODE
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BOOTCODE/AIR-BOOT.ASM
r47 r49 855 855 ;jmp skip 856 856 857 ; Rousseau:858 ; I should cleanup my garbage here...857 mov al, byte ptr [CFG_Partitions] 858 mov byte ptr [OldPartitionCount], al 859 859 860 860 ; Initialize Variable-Tables, Detections, etc. … … 863 863 ; Number of harddisks is now known 864 864 865 IFDEF AUX_DEBUG 866 call DEBUG_DumpIPT 867 ;~ call DEBUG_DumpPartitionPointers 868 call DEBUG_DumpPartitionXref 869 ;~ call DEBUG_DumpNewPartTable 870 ENDIF 871 872 ; Scan all partitions 865 873 call PARTSCAN_ScanForPartitions 866 874 867 868 ; Number of disks found 875 ; Display number of physical disks found 869 876 mov si, offset DisksFound 870 877 call MBR_Teletype 871 872 878 mov al, [TotalHarddiscs] 873 879 call VideoIO_SyncPos … … 876 882 call MBR_TeletypeNL 877 883 878 ; Number of bootable systems indicator884 ; Display number of partitions found 879 885 mov si, offset PartitionsFound 880 886 call MBR_Teletype 881 882 887 mov al, [CFG_Partitions] 883 888 call VideoIO_SyncPos 884 889 call VideoIO_PrintByteDynamicNumber 885 890 891 ; Dump summier disk-info for disks found 886 892 xor si,si 887 893 call MBR_TeletypeNL 888 894 call MBR_TeletypeNL 889 890 895 call VideoIO_SyncPos 891 892 896 mov dl,80h 893 897 call VideoIO_DumpDiskInfo 894 898 895 ; 896 ; Enumberate Bootable Systems by name 897 ; and prepare Phase 1 if active. 898 ; 899 ; This can also be implemented using the 900 ; Installable LVM-flag I think. 901 ; But at the time I had lesser knowledge about LVM... 902 ; So this algorithm may change in the future. 903 ; 904 mov si, offset PartitionTable 905 xor cx,cx 906 mov cl,[CFG_Partitions] 907 MBR_Parts: 908 add si, 4 909 push si 910 push si 911 ;call MBR_TeletypeVolName 912 pop si 913 call PART_IsInstallVolume 914 jnc MBR_Parts_NI 915 916 ; Install Volume 917 mov al,' ' 918 mov bl,7 919 mov ah, 0eh 920 int 10h 921 922 mov al,'(' 923 mov bl,7 924 mov ah, 0eh 925 int 10h 926 927 mov al,[CFG_Partitions] 928 sub al,cl 929 ;inc al 930 ;mov [Menu_EntryAutomatic],al 931 mov [CFG_PartAutomatic],al ; Setup entry for install-volume 932 mov [CFG_PartLast],al 933 mov ah, [eCS_InstallVolume] ; 1st byte is 0 if no phase 1 active 934 test ah,ah ; test the byte, ZF is 0 if phase 1 active 935 lahf ; flags in ah 936 xor ah, 40h ; complement ZF 937 and ah, 40h ; mask ZF 938 shr ah, 6 ; move ZF to LSB 939 mov [CFG_AutomaticBoot], ah ; automatic boot if phase 1 is active 940 941 942 add al,'1' 943 mov bl,7 944 mov ah, 0eh 945 int 10h 946 947 mov al,')' 948 mov bl,7 949 mov ah, 0eh 950 int 10h 951 952 mov bx,cx 953 954 MBR_Parts_NI: 955 xor si,si 956 ;call MBR_TeletypeNL 957 pop si 958 add si, 30 ; Add remainder of IPT entry 959 loop MBR_Parts 960 961 962 963 964 ; Index of automatic start partition 965 ;mov si, offset AutoStartPart 966 ;call MBR_Teletype 967 968 ;mov al, [CFG_PartAutomatic] 969 ;add al, 31h 970 ;mov ah, 09h 971 ;mov bx, 15 972 ;mov cx, 1 973 ;int 10h 974 975 ;mov al, [CFG_PartAutomatic] 976 ;add al, 31h 977 ;mov ah, 0eh 978 ;mov bx, 15 979 ;mov cx, 1 980 ;int 10h 981 899 900 IFDEF AUX_DEBUG 901 call DEBUG_DumpIPT 902 ;~ call DEBUG_DumpPartitionPointers 903 call DEBUG_DumpPartitionXref 904 ;~ call DEBUG_DumpNewPartTable 905 ENDIF 906 907 908 ; ====================== 909 ; == eCS PHASE1 check == 910 ; ====================== 911 912 ; If the firt byte if name of the Install Volume is not 0 913 ; then we potentially have a phase1 boot. 914 test byte ptr [eCS_InstallVolume],0ffh 915 ; Nope, so continue normally. 916 jz MBR_Main_ContinueBoot 917 918 ; Setup phase1. 919 ; It is still possible that a name was set for the 920 ; Install Volume that does not exist. 921 ; In that case CY will be clear and AL=0FFh. 922 call PART_SetupPhase1 923 ; Oops, Install Volume not found, continue normally. 924 jnc MBR_Main_ContinueBoot 925 926 927 ; == Install Volume Found == 928 929 ; Because the old IPT read from disk differs from the new 930 ; IPT, we need to rescan all partitions. 931 ; This causes the PartitionXref table to be filled with 932 ; correct values so the auto-boot from the new partition 933 ; works correctly. 934 call PARTSCAN_ScanForPartitions 935 936 ; Setup automatic boot to forgo the Menu. 937 ; PART_SetupPhase1 has filled in the other variables. 938 mov byte ptr [CFG_AutomaticBoot],1 939 940 941 IFDEF AUX_DEBUG 942 call DEBUG_DumpIPT 943 ;~ call DEBUG_DumpPartitionPointers 944 call DEBUG_DumpPartitionXref 945 ;~ call DEBUG_DumpNewPartTable 946 ENDIF 947 948 949 jmp MBR_Main_ContinueBoot 950 951 952 953 954 955 MBR_Main_ContinueBoot: 982 956 xor si,si 983 957 call MBR_TeletypeNL … … 985 959 call MBR_TeletypeNL 986 960 987 ;mov ax,[BIOS_AuxParms]988 ;call VideoIO_SyncPos989 ;push ax990 ;add al,'0'991 ;mov bl,7992 ;mov ah, 0eh993 ;int 10h994 ;pop ax995 ;xchg al,ah996 ;sub al,0a2h997 ;mov bl,7998 ;mov ah, 0eh999 ;int 10h1000 1001 961 1002 962 call MBR_TeletypeSyncPos … … 1012 972 1013 973 1014 skip: 974 1015 975 1016 976 … … 1023 983 ; Rousseau: 1024 984 ; Wait for key so we can see debug log if ab-menu hangs. 1025 ; ;xor ax, ax1026 ; ;int 16h985 ;~ xor ax, ax 986 ;~ int 16h 1027 987 1028 988 ;call SOUND_Beep … … 1047 1007 ; Save configuration so phase1 boot-through is disabled 1048 1008 ; on next boot. 1049 ; Moved here to fix that Esc out of SETUP would also save.1050 ; So moved above the MBR_Main_ReEnterSetup label.1051 1009 mov byte ptr [eCS_InstallVolume], 0 ; disable phase 1 for next boot 1052 1010 call DriveIO_SaveConfiguration … … 1097 1055 test byte ptr [CFG_AutomaticBoot], 1 1098 1056 jz MBR_Main_NoAutomaticBooting 1057 1058 1099 1059 ; ------------------------------------------ AUTOMATIC BOOTING 1100 1060 ; Select automatic partition, disable automatic booting for … … 1109 1069 jmp MBR_Main_NoBootMenu 1110 1070 1111 MBR_Main_NoAutomaticBooting: 1071 1072 MBR_Main_NoAutomaticBooting: 1112 1073 1113 1074 ;call SOUND_Beep … … 1167 1128 ENDIF 1168 1129 call ANTIVIR_SaveBackUpMBR 1169 mov dl, Menu_EntrySelected 1130 1131 ; Preload the selected menu-entry 1132 ; However, this value will be wrong if eCS phase1 is 1133 ; active and the installation partition is newly created. 1134 ; See below for the adjustment. 1135 mov dl, byte ptr [Menu_EntrySelected] 1136 1137 jmp MBR_Main_StartPartition 1138 1139 1140 1141 MBR_Main_StartPartition: 1142 1143 IFDEF AUX_DEBUG 1144 ;~ call DEBUG_DumpIPT 1145 ;~ call DEBUG_DumpPartitionPointers 1146 call DEBUG_DumpPartitionXref 1147 ;~ call DEBUG_DumpNewPartTable 1148 ENDIF 1149 1170 1150 1171 1151 ; -------------------------------------------- START PARTITION … … 1546 1526 ;eCS_InstallVolume db 12 dup (0) 1547 1527 ;eCS_InstallVolume db 'HIGHLOG' ,0 1548 eCS_InstallVolume db 0,'NOPHASEONE' ,01549 1528 ;eCS_InstallVolume db 'ECS-MIDDLE',0,0 1550 1529 ;eCS_InstallVolume db 'ECS-HIGH',0,0,0,0 1551 1530 ;eCS_InstallVolume db 'ECS-HIGH',0,'NO',0 1552 1531 eCS_InstallVolume db 'KANWEG2',0 1532 ;eCS_InstallVolume db 0,'NOPHASEONE' ,0 1553 1533 1554 1534 ; … … 1779 1759 PartitionSizeTable db partition_count * 6 dup (?) 1780 1760 1781 ; Maximum is 52 entries till now1761 ; Maximum is 52 word entries till now 1782 1762 PartitionPointers dw 52 dup (?) 1783 1763 … … 1890 1870 ; 1891 1871 1872 Phase1Active db ? 1873 OldPartitionCount db ? 1892 1874 1893 1875 ;EVEN -
trunk/BOOTCODE/AIR-BOOT.HIS
r48 r49 24 24 ; Rousseau: Fixes and Enhancements 25 25 ; --------------------------------- 26 ; 27 ; v1.0.8-rc3-bld201205nn 28 ; ---------------------- 29 ; # Fixed a nasty bug when eCS phase1 is active # 30 ; When creating a partition in a free space between partitions for 31 ; eCS installation, the phase1 boot-through code would calculate the 32 ; wrong index for the new partition. As a result the next partition 33 ; would be auto-booted instead of the newly installed system. 34 ; This has been fixed. 35 ; This bug is also present in v1.07. 26 36 ; 27 37 ; v1.0.8-rc2-bld20120423 -
trunk/BOOTCODE/Makefile
r47 r49 174 174 # -zcw = no _ prefix on symbols (C model) 175 175 # -Zm = Masm51 compat -- don't use ! (Will generate incorrect offsets) 176 ASM_FLAGS_D0=-DDEBUG_LEVEL=$(DEBUG_LEVEL) -DJWASM -q - Cp -zcw -Fo$^. -Sa -Fl=$^&.LST -Fw$^&.ERR177 ASM_FLAGS_D1=-DDEBUG_LEVEL=$(DEBUG_LEVEL) -DJWASM -q - Cp -zcw -Zd -Zi -Fo$^. -Sa -Fl=$^&.LST -Fw$^&.ERR178 ASM_FLAGS_D2=-DDEBUG_LEVEL=$(DEBUG_LEVEL) -DJWASM -q - Cp -zcw -Zd -Zi -Fo$^. -Sa -Fl=$^&.LST -Fw$^&.ERR176 ASM_FLAGS_D0=-DDEBUG_LEVEL=$(DEBUG_LEVEL) -DJWASM -q -W0 -Cp -zcw -Fo$^. -Sa -Fl=$^&.LST -Fw$^&.ERR 177 ASM_FLAGS_D1=-DDEBUG_LEVEL=$(DEBUG_LEVEL) -DJWASM -q -W4 -Cp -zcw -Zd -Zi -Fo$^. -Sa -Fl=$^&.LST -Fw$^&.ERR 178 ASM_FLAGS_D2=-DDEBUG_LEVEL=$(DEBUG_LEVEL) -DJWASM -q -W4 -Cp -zcw -Zd -Zi -Fo$^. -Sa -Fl=$^&.LST -Fw$^&.ERR 179 179 180 180 # WASM … … 182 182 # -w0 = suppress warnings (wasm is nice to check for missing size qualifiers) 183 183 ASM_FLAGS_D0=-dDEBUG_LEVEL=$(DEBUG_LEVEL) -dWASM -zq -w0 -fo=$^. -fr=$^&.ERR 184 ASM_FLAGS_D1=-dDEBUG_LEVEL=$(DEBUG_LEVEL) -dWASM -zq - d1 -fo=$^. -fr=$^&.ERR185 ASM_FLAGS_D2=-dDEBUG_LEVEL=$(DEBUG_LEVEL) -dWASM -zq - d1 -fo=$^. -fr=$^&.ERR184 ASM_FLAGS_D1=-dDEBUG_LEVEL=$(DEBUG_LEVEL) -dWASM -zq -w4 -d1 -fo=$^. -fr=$^&.ERR 185 ASM_FLAGS_D2=-dDEBUG_LEVEL=$(DEBUG_LEVEL) -dWASM -zq -w4 -d1 -fo=$^. -fr=$^&.ERR 186 186 187 187 # TASM -
trunk/BOOTCODE/REGULAR/DEBUG.ASM
r47 r49 164 164 DEBUG_DumpGeo Endp 165 165 166 167 168 DEBUG_DumpIPT Proc 169 pushf 170 pusha 171 172 call AuxIO_TeletypeNL 173 174 mov si,offset [PartitionTable] 175 call AuxIO_DumpSector 176 177 popa 178 popf 179 ret 180 DEBUG_DumpIPT EndP 181 182 DEBUG_DumpNewPartTable Proc 183 pushf 184 pusha 185 186 call AuxIO_TeletypeNL 187 188 mov si,offset [NewPartTable] 189 call AuxIO_DumpSector 190 191 popa 192 popf 193 ret 194 DEBUG_DumpNewPartTable EndP 195 196 DEBUG_DumpPartitionPointers Proc 197 pushf 198 pusha 199 200 call AuxIO_TeletypeNL 201 202 mov si,offset [PartitionPointers] 203 mov cx,7 204 205 DEBUG_DumpPartitionPointers_next: 206 call AuxIO_DumpParagraph 207 add si,16 208 call AuxIO_TeletypeNL 209 loop DEBUG_DumpPartitionPointers_next 210 211 popa 212 popf 213 ret 214 DEBUG_DumpPartitionPointers EndP 215 216 217 DEBUG_DumpPartitionXref Proc 218 pushf 219 pusha 220 221 call AuxIO_TeletypeNL 222 223 mov si,offset [PartitionXref] 224 mov cx,3 225 226 DEBUG_DumpPartitionXref_next: 227 call AuxIO_DumpParagraph 228 add si,16 229 call AuxIO_TeletypeNL 230 loop DEBUG_DumpPartitionXref_next 231 232 popa 233 popf 234 ret 235 DEBUG_DumpPartitionXref EndP 236 166 237 ; 167 238 ; Dump information before the menu is displayed. … … 230 301 231 302 DEBUG_DumpHidePartTables Proc Near 232 pushf233 pusha234 235 mov cx,3236 mov si, offset [HidePartitionTable]237 again1:238 call AuxIO_DumpSector239 add si,512240 loop again1241 call AuxIO_TeletypeNL242 243 mov cx,3244 mov si, offset [PartitionXref]245 again2:246 call AuxIO_DumpParagraph247 call AuxIO_TeletypeNL248 add si,16249 loop again2250 call AuxIO_TeletypeNL251 252 mov cx,3253 mov si, offset [NewHidePartTable]254 again3:255 call AuxIO_DumpSector256 add si,512257 loop again3258 call AuxIO_TeletypeNL259 260 popa261 popf303 ;~ pushf 304 ;~ pusha 305 ;~ 306 ;~ mov cx,3 307 ;~ mov si, offset [HidePartitionTable] 308 ;~ again1: 309 ;~ call AuxIO_DumpSector 310 ;~ add si,512 311 ;~ loop again1 312 ;~ call AuxIO_TeletypeNL 313 ;~ 314 ;~ mov cx,3 315 ;~ mov si, offset [PartitionXref] 316 ;~ again2: 317 ;~ call AuxIO_DumpParagraph 318 ;~ call AuxIO_TeletypeNL 319 ;~ add si,16 320 ;~ loop again2 321 ;~ call AuxIO_TeletypeNL 322 ;~ 323 ;~ mov cx,3 324 ;~ mov si, offset [NewHidePartTable] 325 ;~ again3: 326 ;~ call AuxIO_DumpSector 327 ;~ add si,512 328 ;~ loop again3 329 ;~ call AuxIO_TeletypeNL 330 ;~ 331 ;~ popa 332 ;~ popf 262 333 ret 263 334 DEBUG_DumpHidePartTables EndP -
trunk/BOOTCODE/REGULAR/DRIVEIO.ASM
r47 r49 107 107 mov es, ax 108 108 109 mov ah, 00h ; Function 2- Reset Drive109 mov ah, 00h ; Function 0 - Reset Drive 110 110 xor dl, dl 111 111 int 13h … … 569 569 IFDEF AUX_DEBUG 570 570 ; show current partition location 571 pushf572 pusha571 ;~ pushf 572 ;~ pusha 573 573 ;~ call AuxIO_TeletypeNL 574 574 ;~ mov si,offset db_curlvmsec 575 575 ;~ call AuxIO_Print 576 mov dx,bx576 ;~ mov dx,bx 577 577 ;~ call AuxIO_TeletypeHexDWord 578 578 ;~ call AuxIO_TeletypeNL 579 mov si,offset LVMSector579 ;~ mov si,offset LVMSector 580 580 ;~ call AuxIO_DumpSector 581 581 ;~ call AuxIO_TeletypeNL 582 popa583 popf582 ;~ popa 583 ;~ popf 584 584 ENDIF 585 585 -
trunk/BOOTCODE/REGULAR/PARTMAIN.ASM
r46 r49 745 745 746 746 747 ; Setup Phase1 748 ; If found CY=1, AL=partnum, else CY=0, AL=0FFH 749 PART_SetupPhase1 Proc Uses bx cx dx si di 750 751 ; 752 ; Enumberate Bootable Systems by name 753 ; and prepare Phase 1 if active. 754 ; 755 ; This can also be implemented using the 756 ; Installable LVM-flag I think. 757 ; But at the time I had lesser knowledge about LVM... 758 ; So this algorithm may change in the future. 759 ; 760 mov byte ptr [Phase1Active],0 ; Clear phase1 indicator 761 mov si, offset PartitionTable ; Pointer to IPT 762 xor cx,cx 763 mov cl,[CFG_Partitions] ; Partitions in IPT 764 765 ; Process next entry in IPT 766 MBR_Parts: 767 add si, 4 768 ;push si 769 ;push si 770 ;call MBR_TeletypeVolName 771 ;pop si 772 call PART_IsInstallVolume ; Check if this is install-volume 773 jnc MBR_Parts_NI 774 775 ; 776 ; Install Volume found 777 ; 778 mov byte ptr [Phase1Active],1 ; Set phase1 indicator 779 780 mov al,' ' 781 mov bl,7 782 mov ah, 0eh 783 int 10h 784 785 mov al,'(' 786 mov bl,7 787 mov ah, 0eh 788 int 10h 789 790 791 792 mov al,[CFG_Partitions] 793 sub al,cl 794 795 mov dh,al 796 797 798 mov [CFG_PartAutomatic],al ; Setup entry for install-volume 799 mov [CFG_PartLast],al 800 801 add al,'1' 802 mov bl,7 803 mov ah, 0eh 804 int 10h 805 806 mov al,')' 807 mov bl,7 808 mov ah, 0eh 809 int 10h 810 811 ;mov bx,cx ; ???? 812 813 mov al,dh 814 stc 815 jmp PART_SetupPhase1_found 816 817 MBR_Parts_NI: 818 ;xor si,si 819 ;call MBR_TeletypeNL 820 ;pop si 821 add si, 30 ; Add remainder of IPT entry 822 loop MBR_Parts 823 824 mov al,0ffh 825 clc 826 827 PART_SetupPhase1_found: 828 829 ret 830 831 PART_SetupPhase1 EndP 832 833 834 835 836 ;~ PART_GetOldPartitionCount Proc Uses cx dx di 837 ;~ mov di,offset [PartitionXref] 838 ;~ mov dx,partition_count 839 ;~ mov cx,dx 840 ;~ mov al,0ffh 841 ;~ cld 842 ;~ repne scasb 843 ;~ inc cx 844 ;~ sub dx,cx 845 ;~ mov ax,dx 846 ;~ ret 847 ;~ PART_GetOldPartitionCount EndP 848 849 747 850 748 851 ; ################### … … 1294 1397 popa 1295 1398 1399 1400 1401 1402 1296 1403 ; Debug display physdisk, ptype and physdisk offset in BPB 1297 pusha 1298 mov ah,[si+LocIPT_Drive] 1299 mov al,[si+LocIPT_SystemID] 1300 call VideoIO_PrintHexWord 1301 mov ax,bx 1302 call VideoIO_PrintHexWord 1303 mov ax,[si+LocIPT_AbsolutePartTable+02] 1304 call VideoIO_PrintHexWord 1305 mov ax,[si+LocIPT_AbsolutePartTable+00] 1306 call VideoIO_PrintHexWord 1307 mov al,[ExtendedAbsPosSet] 1308 call VideoIO_PrintHexByte 1309 popa 1404 ;~ pusha 1405 ;~ mov ah,[si+LocIPT_Drive] 1406 ;~ mov al,[si+LocIPT_SystemID] 1407 ;~ call VideoIO_PrintHexWord 1408 ;~ mov ax,bx 1409 ;~ call VideoIO_PrintHexWord 1410 ;~ mov ax,[si+LocIPT_AbsolutePartTable+02] 1411 ;~ call VideoIO_PrintHexWord 1412 ;~ mov ax,[si+LocIPT_AbsolutePartTable+00] 1413 ;~ call VideoIO_PrintHexWord 1414 ;~ mov al,[ExtendedAbsPosSet] 1415 ;~ call VideoIO_PrintHexByte 1416 ;~ mov al,'-' 1417 ;~ call VideoIO_PrintSingleChar 1418 ;~ mov al,byte ptr [Menu_EntrySelected] 1419 ;~ call VideoIO_PrintHexByte 1420 ;~ mov al,byte ptr [CFG_PartAutomatic] 1421 ;~ call VideoIO_PrintHexByte 1422 ;~ mov al,byte ptr [Phase1Active] 1423 ;~ call VideoIO_PrintHexByte 1424 ;~ mov al,byte ptr [NewPartitions] 1425 ;~ call VideoIO_PrintHexByte 1426 ;~ mov al, byte ptr [OldPartitionCount] 1427 ;~ call VideoIO_PrintHexByte 1428 ;~ popa 1429 1430 1431 1432 1310 1433 1311 1434 -
trunk/BOOTCODE/REGULAR/PARTSCAN.ASM
r46 r49 894 894 895 895 IFDEF AUX_DEBUG 896 pusha897 mov al,dl898 call AuxIO_TeletypeHexByte899 call AuxIO_TeletypeNL900 popa896 ;~ pusha 897 ;~ mov al,dl 898 ;~ call AuxIO_TeletypeHexByte 899 ;~ call AuxIO_TeletypeNL 900 ;~ popa 901 901 ENDIF 902 902 … … 914 914 IFDEF AUX_DEBUG 915 915 ; debug code 916 mov ax,di917 call AuxIO_TeletypeHexWord918 call AuxIO_TeletypeNL916 ;~ mov ax,di 917 ;~ call AuxIO_TeletypeHexWord 918 ;~ call AuxIO_TeletypeNL 919 919 ENDIF 920 920 -
trunk/BOOTCODE/REGULAR/STD_TEXT.ASM
r48 r49 55 55 db BLDLVL_MINOR_VERSION,' - (c) ' 56 56 db BLDLVL_YEAR 57 ;~ db ' M. Kiewitz <<Internal Release 2q>> (bld: '58 db ' M. Kiewitz <<Release Candidate 2>> (bld: '57 db ' M. Kiewitz <<Internal Release 3b>> (bld: ' 58 ;~ db ' M. Kiewitz <<Release Candidate 2>> (bld: ' 59 59 db BLDLVL_YEAR 60 60 db BLDLVL_MONTH -
trunk/BOOTCODE/SETUP/PART_SET.ASM
r46 r49 922 922 923 923 IFDEF AUX_DEBUG 924 pusha925 mov al,dl ; Partition the hiding is set for.926 call AuxIO_TeletypeHexByte927 call AuxIO_TeletypeNL928 popa924 ;~ pusha 925 ;~ mov al,dl ; Partition the hiding is set for. 926 ;~ call AuxIO_TeletypeHexByte 927 ;~ call AuxIO_TeletypeNL 928 ;~ popa 929 929 ENDIF 930 930 … … 946 946 947 947 IFDEF AUX_DEBUG 948 pusha949 mov al,dl ; Index of partition to set Special Marker on.950 call AuxIO_TeletypeHexByte951 call AuxIO_TeletypeNL952 popa948 ;~ pusha 949 ;~ mov al,dl ; Index of partition to set Special Marker on. 950 ;~ call AuxIO_TeletypeHexByte 951 ;~ call AuxIO_TeletypeNL 952 ;~ popa 953 953 ENDIF 954 954 … … 1401 1401 1402 1402 IFDEF AUX_DEBUG 1403 pushf1404 pusha1405 push ax1406 mov al,dl1407 call AuxIO_TeletypeHexByte1408 mov al,':'1409 call AuxIO_Teletype1410 mov ax,bx1411 call AuxIO_TeletypeHexWord1412 mov al,':'1413 call AuxIO_Teletype1414 mov ax,bp1415 call AuxIO_TeletypeHexWord1416 mov al,':'1417 call AuxIO_Teletype1418 mov ax,sp1419 call AuxIO_TeletypeHexWord1420 mov al,':'1421 call AuxIO_Teletype1422 pop ax1423 call AuxIO_TeletypeHexByte1424 call AuxIO_TeletypeNL1425 popa1426 popf1403 ;~ pushf 1404 ;~ pusha 1405 ;~ push ax 1406 ;~ mov al,dl 1407 ;~ call AuxIO_TeletypeHexByte 1408 ;~ mov al,':' 1409 ;~ call AuxIO_Teletype 1410 ;~ mov ax,bx 1411 ;~ call AuxIO_TeletypeHexWord 1412 ;~ mov al,':' 1413 ;~ call AuxIO_Teletype 1414 ;~ mov ax,bp 1415 ;~ call AuxIO_TeletypeHexWord 1416 ;~ mov al,':' 1417 ;~ call AuxIO_Teletype 1418 ;~ mov ax,sp 1419 ;~ call AuxIO_TeletypeHexWord 1420 ;~ mov al,':' 1421 ;~ call AuxIO_Teletype 1422 ;~ pop ax 1423 ;~ call AuxIO_TeletypeHexByte 1424 ;~ call AuxIO_TeletypeNL 1425 ;~ popa 1426 ;~ popf 1427 1427 ENDIF 1428 1428 -
trunk/BOOTCODE/VERSION.INC
r48 r49 16 16 ; The Year, Month and Day in BCD so we can easily extract nibbles. 17 17 AB_YEAR EQU 2012h 18 AB_MONTH EQU 0 4h19 AB_DAY EQU 23h18 AB_MONTH EQU 05h 19 AB_DAY EQU 13h 20 20 21 21 ; The Hours, Minutes and Seconds, again in BCD for easy manipulation. 22 AB_HOURS EQU 19h23 AB_MINUTES EQU 41h22 AB_HOURS EQU 00h 23 AB_MINUTES EQU 25h 24 24 AB_SECONDS EQU 00h 25 25
Note:
See TracChangeset
for help on using the changeset viewer.