Changeset 46 for trunk/BOOTCODE/AIR-BOOT.ASM
- Timestamp:
- Apr 12, 2014, 8:23:32 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BOOTCODE/AIR-BOOT.ASM
r45 r46 20 20 21 21 ;------------------------------------------------------------------------------ 22 ; AiR-BOOT / MAIN-CODE22 ; AiR-BOOT / DEFINITIONS 23 23 ;------------------------------------------------------------------------------ 24 24 ; 25 26 ; 27 ; Include AiR-BOOT Version Information. 28 ; 29 Include VERSION.INC 30 31 ; 32 ; Include OS/2 BLDLEVEL Information. 33 ; 34 Include BLDLEVEL.INC 25 35 26 36 … … 66 76 ; Include Debug Modules and enable COM-port debugging. 67 77 ; 68 AUX_DEBUG EQU78 ;~ AUX_DEBUG EQU 69 79 70 80 … … 132 142 VideoIO_FXSegment equ 0A000h 133 143 134 ; Include 144 ; Include some macro's 135 145 Include ../INCLUDE/ASM.INC 136 146 … … 239 249 Flags_HideFeature equ 00000100b 240 250 Flags_DriveLetter equ 00001000b ; OS/2 FAT16/HPFS only 241 Flags_ExtPartMShack equ 00010000b ; Ext endedPartition M$-Hack req ?251 Flags_ExtPartMShack equ 00010000b ; Ext. Partition M$-Hack req ? 242 252 Flags_NoPartName equ 01000000b 243 253 Flags_NowFound equ 10000000b ; temp only in OldPartTable … … 276 286 277 287 288 289 290 291 292 ;------------------------------------------------------------------------------ 293 ; AiR-BOOT / MAIN-CODE 294 ;------------------------------------------------------------------------------ 295 278 296 ; ------------------------------------------ 279 297 ; Rousseau: # Changed this from .386 to .286 … … 297 315 ; Tasm needs a memory model for USES on PROC to work. 298 316 IFDEF TASM 299 ; .model large, basic317 ;~ .model large, basic 300 318 .model tiny,c 301 319 ENDIF … … 321 339 322 340 ; Our code-segment starts here. 323 LDRIMAGE SEGMENT USE16 PUBLIC ' MIXED'341 LDRIMAGE SEGMENT USE16 PUBLIC 'CODE' 324 342 325 343 IFDEF SEGMENTED … … 332 350 ; Sector 1 333 351 334 335 ; We are not a .com file at 100h but a binary image 336 ; of which only the 1st sector gets loaded at 07c00h. 352 ;############################################################################## 353 ; We are not a .COM file at 100h but a BINARY image 354 ; of which only the 1st sector gets loaded at 0000:07c00h 355 ; by the BIOS. The code in this 1st sector is position 356 ; independent and moves itself to a new location at 8000:0000h. 357 ; Then it jumps to a new entry-point and loads the rest of 358 ; the image to the new location. 337 359 org 00000h ; Sector 1 338 360 ;############################################################################## 361 362 363 ; 339 364 ; Start of sector 1 340 ; This is the MBR, note the AiRBOOT signature, it's date (2006), version and 341 ; language. 342 ; Version 1.07 was intruduced in 2011. 343 ; It fixes issues with huge drives and lvm and more. 344 345 365 ; This is the MBR. 366 ; Note the AiRBOOT signature, it's date, version and language. 367 ; Version 1.07 was intruduced in 2011, version 1.0.8 in 2012. 368 ; These new versions fix issues with huge drives, lvm and more. 369 ; For a detailed description see AIR-BOOT.HIS. 370 ; 371 372 ; 346 373 ; --------------------------------------------- 347 374 ; Rousseau: # Combined letter and jump offset # 348 375 ; --------------------------------------------- 349 ; M y guess is Martin had a short jump followed by the AiRBOOT signature at first.350 ; Then he encountered strange behaviour by some M$ operating-systems if the351 ; the first insruction was not a CLI.376 ; Martin had a short jump followed by the AiRBOOT signature at first. 377 ; Then he encountered strange behaviour by some M$ operating-systems 378 ; if the the first insruction was not a CLI. 352 379 ; But there was no room to insert the CLI and of course he did not want to 353 380 ; change the location of the AiRBOOT signature. 354 381 ; He solved this by inserting the M$ needed CLI at offset 0 followed by a short 355 382 ; jump that uses the 'A' of the AiRBOOT signature as the jump displacement. 383 ; 356 384 357 385 … … 359 387 AiR_BOOT: 360 388 361 ; Some M$ operating systems need a CLI 362 ; here otherwise they will go beserk 363 ; and will do funny things during 364 ; boot phase, it's laughable! 365 cli 366 367 ; JMP-Short -> MBR_Start 368 ; Uses the 'A' from the signature as the displacement ! 369 db 0EBh 370 371 ; ID String, Date (DD,MM,CC,YY), Version Number, Language ID 372 db 'AiRBOOT', 24h, 02h, 20h, 12h, 01h, 08h, TXT_LanguageID 373 374 ; Total Sectors Count. 375 ; Will get overwritten by FIXCODE. 376 db 1 377 378 ; Total Sectors Count, 379 ; Dynamic calculation. 380 ;~ db (code_end-$)/512 389 ; Some M$ operating systems need a CLI 390 ; here otherwise they will go beserk 391 ; and will do funny things during 392 ; boot phase, it's laughable! 393 cli 394 395 ; JMP-Short -> MBR_Start 396 ; Uses the 'A' from the signature as the displacement ! 397 db 0EBh 398 399 ; ID String, Date (DD,MM,CC,YY), Version Number, Language ID 400 ;~ db 'AiRBOOT', 24h, 02h, 20h, 12h, 01h, 08h, TXT_LanguageID 401 InsertAirbootSignature TXT_LanguageID 402 403 ; Total Sectors Count. 404 ; Will get overwritten by FIXCODE. 405 db 1 406 407 ; Total Sectors Count, 408 ; Dynamic calculation. 409 ;~ db (code_end-$)/512 381 410 382 411 … … 420 449 ; Code an intersegment jump to the new location 421 450 db 0EAh 422 dw BootBaseExec 423 dw BootBaseSeg 451 dw BootBaseExec ; This is MBR_RealStart + BootBasePtr 452 dw BootBaseSeg ; This is 08000h 424 453 ;jmp far ptr BootBaseSeg:BootBaseExec 425 454 … … 436 465 xor cx, cx 437 466 mov dx, 500 438 int 15h ; Wait to display the whole screen :] 439 MBR_HaltSys: cli 467 int 15h ; Wait to display the whole screen :] 468 MBR_HaltSys: 469 cli 440 470 jmp MBR_HaltSys 441 471 ;db 100 dup (0) … … 485 515 jmp MBRLE_Halt 486 516 MBR_LoadError EndP 487 488 517 489 518 ; … … 749 778 db 16 dup (0) 750 779 751 FileSysNames db 752 db 753 db 754 db 755 db 756 db 757 db 758 db 759 db 760 db 761 ; db 762 db 780 FileSysNames db 'FAT12 ', 'FAT16 ', 'FAT16Big', 'FAT16Big' 781 db 'HPFS ', 'NTFS ', 'LVM-Data', 'JFS ' 782 db 'FAT32 ', 'FAT32 ', 'FAT32 ', 'BeOS ' 783 db 'Unix ', 'Minix ', 'Linux ', 'Venix ' ; x row ;) 784 db 'BSD/386 ', 'OpenBSD ', 'LinuxSwp', 'NeXTSTEP' 785 db 'GNU HURD', 'QNX ', 'QNX ', 'QNX ' 786 db ' ', ' ', ' ', ' ' 787 db ' ', ' ', ' ', ' ' 788 db ' ', ' ', ' ', ' ' 789 db ' ', 'Kernel ', ' ', '0V-Award' 790 ; db 'OS/2 Man', 'via BIOS', 'Floppy ', 'Unknown ' 791 db 'OS2-BMGR', 'via BIOS', 'Floppy ', 'Unknown ' 763 792 ; -> 44 Partition-Types 764 793 … … 1011 1040 ; 1012 1041 ;call AuxIO_TeletypeNL 1013 mov si, offset PartitionTable1042 ;mov si, offset PartitionTable 1014 1043 ;call AuxIO_DumpSector 1015 1044 ;call AuxIO_TeletypeNL … … 1020 1049 ; Moved here to fix that Esc out of SETUP would also save. 1021 1050 ; So moved above the MBR_Main_ReEnterSetup label. 1022 mov [eCS_InstallVolume], 0 ; disable phase 1 for next boot1051 mov byte ptr [eCS_InstallVolume], 0 ; disable phase 1 for next boot 1023 1052 call DriveIO_SaveConfiguration 1024 1053 … … 1044 1073 1045 1074 1075 1046 1076 MBR_Main_ReEnterBootMenuPre: 1047 1077 … … 1050 1080 1051 1081 ; ...and count that one... 1052 cmp PartitionPointerCount, 01082 cmp byte ptr [PartitionPointerCount], 0 1053 1083 jne MBR_Main_SomethingBootAble 1054 1084 mov si, offset TXT_NoBootAble … … 1065 1095 MBR_Main_ReEnterBootMenu: 1066 1096 call BOOTMENU_ResetMenuVars ; reset has to be done 1067 test CFG_AutomaticBoot, 11097 test byte ptr [CFG_AutomaticBoot], 1 1068 1098 jz MBR_Main_NoAutomaticBooting 1069 1099 ; ------------------------------------------ AUTOMATIC BOOTING 1070 1100 ; Select automatic partition, disable automatic booting for 1071 1101 ; next time and boot system... 1072 mov CFG_AutomaticBoot, 01102 mov byte ptr [CFG_AutomaticBoot], 0 1073 1103 call PASSWORD_AskSystemPwd 1074 1104 mov al, Menu_EntryAutomatic … … 1083 1113 ;call SOUND_Beep 1084 1114 1085 test CFG_BootMenuActive, 0FFh1115 test byte ptr [CFG_BootMenuActive], 0FFh 1086 1116 jnz MBR_Main_GotBootMenu 1087 1117 ; ----------------------------------------------- NO BOOT-MENU … … 1212 1242 IFDEF AUX_DEBUG 1213 1243 b_debug: 1214 Include REGULAR/DEBUG.ASM 1244 Include REGULAR/DEBUG.ASM ; Debug module 1215 1245 size_debug = $-b_debug 1216 1246 b_auxio: … … 1225 1255 1226 1256 ; 1257 ; Moved up. 1258 ; 1259 1260 ; 1227 1261 ; This is the AiR-BOOT MBR-Protection Image. 1228 1262 ; 04600 / 200h = 23h = 35d sectors are before this point. 1229 ; The stuff generated here gets overwritten when the MBR_PROT.ASM 1230 ; module, which is assembled separately, gets merged. 1263 ; The stuff generated here gets overwritten when the 1264 ; MBR_PROT.ASM module, which is assembled separately, 1265 ; gets merged. 1231 1266 ; So you won't find the string below in the generated binary. 1232 1267 ; … … 1238 1273 1239 1274 1240 1275 ; Rousseau: It needed a sector alignment, so moved it up to 1276 ; have as much space as possible for the modules 1277 ; included here. 1241 1278 1242 1279 … … 1276 1313 1277 1314 1315 1278 1316 ; 1279 1317 ; Critical end of code marker. … … 1302 1340 1303 1341 1304 ; 1305 ; Let's make this always the last module in this section. 1306 ; 1307 Include BLDDATE.ASM ; Build Date generated by _build.cmd 1342 ; If we are debugging, we overwrite the FX code. 1343 ; As long as no FX is disabled this will do no harm. 1344 IFDEF AUX_DEBUG 1345 ORG 06780h 1346 ENDIF 1347 1348 bld_level: 1349 ; 1350 ; Here we insert the OS/2 BLDLEVEL Information. 1351 ; It is composed of the AiR-BOOT version-info and other 1352 ; information. 1353 ; It is unique for each release of AiR-BOOT. 1354 ; 1355 InsertBuildLevel 1308 1356 1309 1357 ; … … 1318 1366 ; 1319 1367 ; AiR-BOOT Protection Image. 1368 ; Moved from below to have it not break the included modules 1369 ; with it's sector alignment requirement. 1320 1370 ; 1321 1371 ORIGIN 06800h … … 1324 1374 ; This is the AiR-BOOT MBR-Protection Image. 1325 1375 ; 06800 / 200h = 34h = 52d sectors are before this point. 1326 ; The stuff generated here gets overwritten when the MBR_PROT.ASM 1327 ; module, which is assembled separately, gets merged. 1376 ; The stuff generated here gets overwritten when the 1377 ; MBR_PROT.ASM module, which is assembled separately, 1378 ; gets merged. 1328 1379 ; So you won't find the string below in the generated binary. 1329 1380 ; 1381 1382 ; 06800-068FF 1383 ; 06900-069FF 1384 ; 06A00-06AFF 1385 ; 06B00-06BFF 1386 1387 ; 1330 1388 ; Hardcoded to 1k (1024 bytes) (MBR_PROT.ASM) 1389 ; The string below is searched for by the FIXCODE helper and *must* be 1390 ; sector (512-bytes) aligned. 1391 ; 1331 1392 MBR_Protection db 'AiR-BOOT MBR-Protection Image' 1332 1393 … … 1334 1395 db 1024-($-MBR_Protection) dup('M') 1335 1396 1336 ;LDRIMAGE ENDS1337 ;DATA_SEG SEGMENT USE16 PUBLIC 'CODE'1338 1339 1340 1341 ;~ MYDATA SEGMENT COMMON 'MIXED'1342 ;~ qqqq dw 'QQ'1343 ;~ MYDATA ENDS1344 1397 1345 1398 ;============================================================================== … … 1356 1409 1357 1410 Configuration: 1358 ; THERE IS A N INVISIBLECHAR HERE !!1359 ; Your editor may not display th e invisible1411 ; THERE IS A NON-ASCII CHAR HERE !! 1412 ; Your editor may not display this non-ASCII 1360 1413 ; character at the end if the 'AiRCFG-TABLE' 1361 1414 ; string. When this character get's deleted, 1362 1415 ; AiR-BOOT will not function because it cannot 1363 1416 ; find the config-signature which includes this 1364 ; invisible character. The code is: 0x0ad.1417 ; invisible character. The code of the char is: 0x0ad. 1365 1418 db 'AiRCFG-TABLE' 1366 db 01h, 07h, 'U' ; "Compressed" ID String 1367 ; This is now version 1.07 to have it in sync with 1368 ; the new code version for eCS. 1419 db 01h, 08h, 'U' ; "Compressed" ID String 1369 1420 ; Version 1.02 was for code 1.06, 1.03 was internal 1370 1421 ; and 1.04,1.05 and 1.06 do not exist. 1422 ; 1423 ; 1.07 was used with AB v1.07 and introduced the phase1 1424 ; system-name. For the rest it is compatible with v1.02. 1425 ; 1426 ; 1.0.8 is introduced with AB v1.0.8 and indicates the movement 1427 ; of several components and the packing of the hideparttable. 1428 ; The core configuration has not changed but the generated 1429 ; configuration has. The v1.0.8 installer handles upgrading. 1430 ; 1371 1431 ; It is not required for the config to have the 1372 1432 ; same version as the code, so in the future 1373 1433 ; the code version might be higher than the 1374 1434 ; config version if there are no changes to the latter. 1435 ; 1375 1436 1376 1437 CFG_LastTimeEditLow dw 0 ; Last Time Edited Stamp (will incr every setup) … … 1483 1544 ; Entries allocated down from 06E00 boundary. 1484 1545 ; 1485 ORIGIN %06DABh ; 427 Boundry1546 ORIGIN 06DABh ; 427 Boundry 1486 1547 1487 1548 ; (432 - 5 = 427) … … 1502 1563 ; stealth virus is on-line, we can intercept its call. 1503 1564 ; Normal (non stealth) virus are trapped simply by rereading the MBR sector. 1504 ; If a virus is found, we will restore MBR from Sektor 60/62 and stop the system 1505 ; from working, so the user has to press reset. That's saver than a Reboot. 1565 ; If a virus is found, we will restore MBR from Sektor 60/62 and stop the 1566 ; system from working, so the user has to press reset. 1567 ; That's saver than a Reboot. 1506 1568 ; 1507 1569 ; If a virus is found on the partition to boot, the system will ONLY halt, … … 1546 1608 ; dw 0 ; No Checksum :) 1547 1609 ; db 0, 0, 1 1548 ; db 0, 0, 1 1610 ; db 0, 0, 1 ; Location of Partition/Boot Record 1549 1611 ; dd 0, 0 1550 1612 … … 1616 1678 1617 1679 1618 MBR_BackUpMBR db 'AiR-BOOT MBR-BackUp - Just to fill this sector with something',0 1680 MBR_BackUpMBR db 'AiR-BOOT MBR-BackUp',\ 1681 ' - Just to fill this sector with something',0 1619 1682 AirBootRocks db 'AiR-BOOT Rocks!',0 1620 1683 … … 1649 1712 ENDIF 1650 1713 1714 1715 1651 1716 sobss: 1652 1717 ;------------------------------------------------------------------------------ 1718 1653 1719 ; 1654 ; Removed orgfor BSS data to be more compatible1720 ; Removed ORG for BSS data to be more compatible 1655 1721 ; with segment-concatenated layout. 1656 1722 ; 1657 1723 ; What happens before this space ?? 1658 1724 ; If org 0 corruption occurs. 1725 ; 1726 1727 ; 1659 1728 ; Filling hiddenparttable goes out-of-bounds ! 1729 ; Fixed with 6-bit packing. 1660 1730 ; 1661 org 02400h ; Uninitialized 1662 ;~ org 00200h ; 200h geeft 3 floppies ! 1731 1732 ; 1733 ; If segmented, offsets are relative to the BSS segment. 1734 ; They are resolved at link-time. 1735 ; If not segmented, offsets are relative to the CODE segment. 1736 ; 1737 IFDEF SEGMENTED 1738 ORG 02400h 1739 ELSE 1740 ORG 0A000h 1741 ENDIF 1742 1663 1743 1664 1744 ; This space actually gets initialized in PreCrap to NUL (till EndOfVariables) 1665 1745 BeginOfVariables: 1666 PartitionSector db 512 dup (?) ; Temporary Sector for Partition 1667 JfsPBR db 512 dup (?) ; Temporary Sector for JFS PBR writeback 1668 LVMSector db 512 dup (?) ; Temporary Sector for LVM 1669 TmpSector db 512 dup (?) ; Temporary Sector 1746 PartitionSector db 512 dup (?) ; Temporary Sector for Partition 1747 JfsPBR db 512 dup (?) ; Temporary Sector for JFS PBR writeback 1748 LVMSector db 512 dup (?) ; Temporary Sector for LVM 1749 TmpSector db 512 dup (?) ; Temporary Sector 1750 Scratch db 256 dup (?) ; Scratch buffer 1670 1751 1671 1752 ; Everything used to build a new IPT and reference it to the old one 1672 1753 ; IETS OVERSCHRIJFT DIT !! 1673 NewPartTable db 1536 dup (?) ; New Partition Table 1674 1675 NewHidePartTable db partition_count * LocHPT_LenOfHPT dup (?) ; New Hide-Partition Table 1676 NewDriveLetters db partition_count dup (?) ; Logical Drive-Letters 1677 1678 PartitionSizeTable db partition_count * 6 dup (?) ; Size-Table (6 bytes per partition) 1679 PartitionPointers dw 52 dup (?) ; Maximum is 52 entries till now 1680 PartitionPointerCount db ? ; Count of total Partition Pointers 1681 PartitionXref db partition_count dup (?) ; X-Reference Table (holds new partnr, index is old part nr) 1682 PartitionVolumeLetters db partition_count dup (?) ; Volume-Letters 1683 ; 0 - no LVM support 1684 ; 1 - LVM support, but no letter 1685 ; 'C'-'Z' - assigned drive letter 1686 1687 TotalHarddiscs db ? ; Total harddrives (by POST) 1688 LBASwitchTable db 128 dup (?) ; Bit 25-18 for CHS/LBA Switching 1689 NewPartitions db ? ; Freshly found partitions 1754 NewPartTable db 1536 dup (?) ; New Partition Table 1755 1756 ; New Hide-Partition Table 1757 NewHidePartTable db partition_count * LocHPT_LenOfHPT dup (?) 1758 1759 ; Logical Drive-Letters 1760 NewDriveLetters db partition_count dup (?) 1761 1762 ; Size-Table (6 bytes per partition) 1763 PartitionSizeTable db partition_count * 6 dup (?) 1764 1765 ; Maximum is 52 entries till now 1766 PartitionPointers dw 52 dup (?) 1767 1768 ; Count of total Partition Pointers 1769 PartitionPointerCount db ? 1770 1771 ; X-Reference Table (holds new partnr, index is old part nr) 1772 PartitionXref db partition_count dup (?) 1773 1774 ; Volume-Letters 1775 ; 0 - no LVM support 1776 ; 1 - LVM support, but no letter 1777 ; 'C'-'Z' - assigned drive letter 1778 PartitionVolumeLetters db partition_count dup (?) 1779 1780 1781 1782 1783 TotalHarddiscs db ? ; Total harddrives (by POST) 1784 LBASwitchTable db 128 dup (?) ; Bit 25-18 for CHS/LBA Switching 1785 NewPartitions db ? ; Freshly found partitions 1690 1786 ; Independent of SaveConfiguration 1691 TooManyPartitions 1692 1693 VideoIO_Segment 1694 1695 ExtendedAbsPos 1696 ExtendedAbsPosSet 1697 1698 CurPartition_Location 1699 CurIO_UseExtension 1700 1701 CurIO_Scanning 1787 TooManyPartitions db ? ; Non-zero if too many partitions found 1788 1789 VideoIO_Segment dw ? ; Segment for Video I/O 1790 1791 ExtendedAbsPos dd ? ; Extended Partition Absolute Position 1792 ExtendedAbsPosSet db ? ; If Absolute Position set 1793 1794 CurPartition_Location dw 4 dup (?) ; Where did current partition come from? 1795 CurIO_UseExtension db ? ; 1-Use INT 13h EXTENSIONS 1796 ; (filled out by PreCrap) 1797 CurIO_Scanning db ? ; 1-AiR-BOOT is scanning partitions 1702 1798 ; (for detailed error message) 1703 1799 … … 1705 1801 ;GotLinux db ? ; 1-Linux found 1706 1802 1707 Menu_EntrySelected 1708 Menu_UpperPart 1709 Menu_AbsoluteX 1710 Menu_TotalParts 1711 Menu_TotalLines 1712 Menu_EntryDefault 1713 Menu_EntryLast 1714 Menu_EntryAutomatic 1803 Menu_EntrySelected db ? ; Which partition we boot this time... 1804 Menu_UpperPart db ? ; Which number (Base=0) is the partition upper pos 1805 Menu_AbsoluteX db ? ; Pos where Menu stuff starts 1806 Menu_TotalParts db ? ; Copy of CFG_BootParts 1807 Menu_TotalLines db ? ; Total Lines on Screen used for BootMenu 1808 Menu_EntryDefault db ? ; Default Entry in filtered View 1809 Menu_EntryLast db ? ; LastBooted Entry in filtered View 1810 Menu_EntryAutomatic db ? ; Automatic Entry in filtered View 1715 1811 ; - All adjusted to menu locations 1716 1812 1717 PartSetup_UpperPart 1718 PartSetup_ActivePart 1719 PartSetup_HiddenUpper 1720 PartSetup_HiddenX 1721 PartSetup_HiddenAdd 1722 1723 TimedBootEnable 1724 TimedTimeOut dd ? ; TimeOut Timer for TimedBoot (too much time here;)1725 TimedSecondLeft 1726 TimedSecondBack 1727 TimedBootUsed 1728 FloppyGetNameTimer 1729 SETUP_KeysOnEntry 1730 SETUP_ExitEvent 1731 TempPasswordEntry 1732 SETUP_OldPwd 1733 SETUP_NewPwd 1734 SETUP_VerifyPwd 1735 StartSoundPlayed 1736 ChangePartNameSave 1737 SyncLvmLabels 1813 PartSetup_UpperPart db ? ; Partition-Setup (like Menu_UpperPart) 1814 PartSetup_ActivePart db ? ; Active Partition 1815 PartSetup_HiddenUpper db ? ; (like Menu_UpperPart) 1816 PartSetup_HiddenX db ? ; Pos for Hidden-Setup 1817 PartSetup_HiddenAdd db ? ; Adjust for Hidden-Setup 1818 1819 TimedBootEnable db ? ; Local Enable/Disable for timed boot 1820 TimedTimeOut dd ? ; TimeOut Timer for TimedBoot (too much time here;) 1821 TimedSecondLeft db ? ; How many seconds are left till boom ? 1822 TimedSecondBack db ? ; To get a modification noticed 1823 TimedBootUsed db ? ; Timed Boot used for bootup ? 1824 FloppyGetNameTimer dd ? ; Timer for Floppy-Get-Name 1825 SETUP_KeysOnEntry db ? ; which Shift Status was there, when booting ? 1826 SETUP_ExitEvent db ? ; Exit Event to end SETUP 1827 TempPasswordEntry db 17 dup (?) 1828 SETUP_OldPwd db 17 dup (?) 1829 SETUP_NewPwd db 17 dup (?) 1830 SETUP_VerifyPwd db 17 dup (?) 1831 StartSoundPlayed db ? 1832 ChangePartNameSave db ? ; Save label after user-edit ? 1833 SyncLvmLabels db ? ; Sync LVM labels after user-edit ? 1738 1834 1739 1835 FX_UseCount dw ? … … 1748 1844 FX_CooperBarsTimer dw ? 1749 1845 1750 ; [Linux support removed since v1.02] 1751 ;FAT16_Drive db ? ; FAT-16: Drive of FAT16-partition 1752 ;FAT16_AbsPartitionBegin dd ? ; FAT-16: LBA Begin of Partition 1753 ;FAT16_SecsPerCluster db ? ; FAT-16: Sectors Per Cluster 1754 ;FAT16_NumOfRootEntries dw ? ; FAT-16: Number of Root Entries 1755 ;FAT16_SecsPerFAT dw ? ; FAT-16: Sectors Per FAT 1756 ;FAT16_AbsFATBegin dd ? ; FAT-16: LBA Begin of FAT 1757 ;FAT16_AbsRootBegin dd ? ; FAT-16: LBA Begin of Root 1758 ;FAT16_AbsClusterBegin dd ? ; FAT-16: LBA Begin of Clusters 1759 ;FAT16_FATCacheSector db ? ; FAT-16: FAT-Sector No in Cache 1760 ;FAT16_FATCache db 512 dup (?) ; FAT-16: FAT-Area Cache 1761 ; 1762 ;LINUX_KernelEntries db 680 dup (?) ; 34*20 -> Space for Kernel-Entries 1763 ;LINUX_KernelNo db ? ; Total of Kernels in KernelEntries 1764 ;LINUX_KernelSizeTable db 120 dup (?) ; Size-Table (6 bytes per kernel) 1765 ;EndOfVariables: 1846 ;~ ; [Linux support removed since v1.02] 1847 ;~ FAT16_Drive db ? ; FAT-16: Drive of FAT16-partition 1848 ;~ FAT16_AbsPartitionBegin dd ? ; FAT-16: LBA Begin of Partition 1849 ;~ FAT16_SecsPerCluster db ? ; FAT-16: Sectors Per Cluster 1850 ;~ FAT16_NumOfRootEntries dw ? ; FAT-16: Number of Root Entries 1851 ;~ FAT16_SecsPerFAT dw ? ; FAT-16: Sectors Per FAT 1852 ;~ FAT16_AbsFATBegin dd ? ; FAT-16: LBA Begin of FAT 1853 ;~ FAT16_AbsRootBegin dd ? ; FAT-16: LBA Begin of Root 1854 ;~ FAT16_AbsClusterBegin dd ? ; FAT-16: LBA Begin of Clusters 1855 ;~ FAT16_FATCacheSector db ? ; FAT-16: FAT-Sector No in Cache 1856 ;~ FAT16_FATCache db 512 dup (?) ; FAT-16: FAT-Area Cache 1857 ;~ LINUX_KernelEntries db 680 dup (?) ; 34*20 -> Space for Kernel-Entries 1858 ;~ LINUX_KernelNo db ? ; Total of Kernels in KernelEntries 1859 ;~ LINUX_KernelSizeTable db 120 dup (?) ; Size-Table (6 bytes per kernel) 1766 1860 1767 1861 ; Dynamically Generated Tables - do not need to get initialized with NUL 1768 FX_CooperColors db 672 dup (?) ; 7 cooper bars*96 - runtime calculated 1769 FX_CooperState db 7 dup (?) 1770 FX_SinusPos db 7 dup (?) 1771 FX_CooperPos dw 7 dup (?) 1772 CharsetTempBuffer db 4096 dup (?) ; Uninitialized Charset buffer 1773 LVM_CRCTable dd 256 dup (?) ; LVM-CRC (->SPECiAL\LVM.asm) 1862 FX_CooperColors db 672 dup (?) ; 7 cooper bars*96 - runtime calculated 1863 FX_CooperState db 7 dup (?) 1864 FX_SinusPos db 7 dup (?) 1865 FX_CooperPos dw 7 dup (?) 1866 CharsetTempBuffer db 4096 dup (?) ; Uninitialized Charset buffer 1867 LVM_CRCTable dd 256 dup (?) ; LVM-CRC (->SPECiAL\LVM.asm) 1868 1774 1869 1775 1870 … … 1809 1904 LOG_TotalSecs dq MaxDisks dup(?) 1810 1905 1811 ; Rousseau: moved here1906 ; End of transient variables. 1812 1907 EndOfVariables: 1813 1908 1814 ; Temporary buffer for 48h INT13X bios call 1815 ; Word aligned 1816 ;even 1817 ;align 2 1818 1819 ;db 1 dup(?) 1820 1821 i13xbuf dw 1 dup (?) ; Size of the buffer; 1822 ; this param *must* be present. 1823 ; Code inserts it. 1824 db 126 dup(?) ; The buffer itself. 1825 i13xbuf_size = $-offset i13xbuf-2 ; Size of buffer 1826 ; (excluding the size word at the start). 1827 1909 1910 ; 1911 ; Temporary buffer for 48h INT13X bios call. 1912 ; 1913 1914 ; Size of the buffer. 1915 ; this param *must* be filled in. 1916 ; Code inserts it. 1917 i13xbuf dw 1 dup (?) 1918 1919 ; The buffer itself. 1920 db 126 dup(?) 1921 1922 ; Size of buffer calculated. 1923 ; (excluding the size word at the start). 1924 i13xbuf_size = $-offset i13xbuf-2 1925 1926 ; Some debug area. 1828 1927 ott db 512 dup(?) 1829 1928 … … 1831 1930 1832 1931 IFDEF SEGMENTED 1833 VOLATILE ENDS1932 VOLATILE ENDS 1834 1933 ELSE 1835 LDRIMAGE ENDS1934 LDRIMAGE ENDS 1836 1935 ENDIF 1837 1936
Note:
See TracChangeset
for help on using the changeset viewer.