Changeset 96 for trunk/bootcode/regular/partmain.asm
- Timestamp:
- Apr 8, 2017, 12:26:41 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bootcode/regular/partmain.asm
r84 r96 36 36 call PART_FixUpSelectionNumber 37 37 mov CFG_PartAutomatic, dl 38 39 ; [Linux support removed since v1.02]40 ; ; Fix-Up Linux Kernel Partition - If lost, search for FAT-1641 ; mov bl, 06h42 ; mov dl, CFG_LinuxKrnlPartition43 ; call PART_FixUpPartitionNumber44 ; mov CFG_LinuxKrnlPartition, dl45 ;46 ; ; Fix-Up Linux Root Partition - If lost, search for Linux partition (83h)47 ; mov bl, 83h48 ; mov dl, CFG_LinuxRootPartition49 ; call PART_FixUpPartitionNumber50 ; mov CFG_LinuxRootPartition, dl51 38 ret 52 39 PART_FixUpDefaultPartitionValues EndP … … 264 251 PCMPP_NoResumeBootSeqInclude: 265 252 266 ; [Linux support removed since v1.02]267 ; ; Now include all Linux Kernels, if any available...268 ; movzx cx, LINUX_KernelNo269 ; or cx, cx270 ; jz PCMPP_NoLinuxKernels271 ; mov ax, offset LINUX_KernelEntries272 ; PCMPP_KernelLoop:273 ; mov ds:[bx], ax274 ; add bx, 2275 ; add ax, LocIPT_LenOfIPT276 ; dec cx277 ; jnz PCMPP_KernelLoop278 ; PCMPP_NoLinuxKernels:279 280 253 ;movzx cx, CFG_Partitions ; LocIPT_MaxPartitions 281 254 mov cl,CFG_Partitions ; LocIPT_MaxPartitions … … 378 351 je PCTS_IsFloppy ; Is Floppy 379 352 380 ; [Linux support removed since v1.02]381 ; cmp ax, offset LINUX_KernelEntries382 ; jae PCTS_IsKernelEntry383 384 353 ; 385 354 ; Is partition, AX contains pointer to IPT entry … … 390 359 mov dl, al ; Index in IPT 391 360 ret 392 393 ; [Linux support removed since v1.02]394 ; PCTS_IsKernelEntry:395 ; mov dl, 0FDh396 ; ret397 361 398 362 PCTS_IsBIOSbootSeq: … … 469 433 ; Destroyed: AX 470 434 PART_GetSizeElementPointer Proc Near Uses bx 471 ; [Linux support removed since v1.02]472 ; cmp ax, offset LINUX_KernelEntries473 ; jae PGSEP_IsKernelEntry474 435 mov si, offset PartitionSizeTable 475 436 sub ax, offset PartitionTable 476 ; jmp PGSEP_Continue477 ; [Linux support removed since v1.02]478 ; PGSEP_IsKernelEntry:479 ; mov si, offset LINUX_KernelSizeTable480 ; sub ax, offset LINUX_KernelEntries481 ; PGSEP_Continue:482 437 mov bl, LocIPT_LenOfIPT 483 438 div bl ; Divide with IPTlength … … 1053 1008 call MBR_Teletype 1054 1009 1055 1056 ; [Linux support removed since v1.02]1057 ; cmp dh, 0FDh1058 ; je PSP_IsKernel1059 1060 1010 ;~ pusha 1061 1011 ;~ call MBR_Teletype … … 1077 1027 call MBR_TeletypeVolName 1078 1028 jmp PSP_IsFloppyCDROMetc ; JUMPS BUITEN SI POP !!! AANPASSEN 1079 1080 1081 ; [Linux support removed since v1.02]1082 ; PSP_IsKernel:1083 ; IFDEF ReleaseCode1084 ; ; Save configuration on HDD boots (save CFG_LinuxLastKernel)1085 ; call DriveIO_SaveConfiguration1086 ; ENDIF1087 ; call MBR_Teletype ; Prints out BootingNow2 including KernelName1088 ; mov si, offset TXT_BootingNowKernel1089 ; call MBR_Teletype1090 ; jmp PSP_IsFloppyCDROMetc1091 1029 1092 1030 … … 1417 1355 je PSP_ResumeBIOSbootSeq 1418 1356 1419 ; [Linux support removed since v1.02]1420 ; cmp al, 0FDh ; Kernel-Booting ?1421 ; je PSP_KernelBooting1422 1423 1357 jmp PSP_StartNormal 1424 1358 … … 1428 1362 dw 0FFF0h 1429 1363 dw 0F000h 1430 1431 ; [Linux support removed since v1.02]1432 ; PSP_KernelBooting:1433 ; call LINUX_LoadKernel ; DS:SI - Entry Pointer to Kernel1434 ; db 0EAh ; if return to here -> Reboot1435 ; dw 0FFF0h1436 ; dw 0F000h1437 1438 1364 1439 1365
Note:
See TracChangeset
for help on using the changeset viewer.