Changeset 111 for trunk/bootcode/regular/partmain.asm
- Timestamp:
- Apr 8, 2017, 12:27:09 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bootcode/regular/partmain.asm
r102 r111 514 514 ; Destroyed: None 515 515 PART_HidePartition Proc Near Uses ax bx cx dx si di 516 517 IFDEF AUX_DEBUG 518 IF 0 519 pushf 520 pusha 521 push si 522 mov si, offset $+5 523 jmp @F 524 db 10,'PART_HidePartition:',10,0 525 @@: 526 call AuxIO_Print 527 pop si 528 ;~ call DEBUG_DumpRegisters 529 ;~ call AuxIO_DumpParagraph 530 ;~ call AuxIO_TeletypeNL 531 popa 532 popf 533 ENDIF 534 ENDIF 535 516 536 call PART_GetPartitionPointer ; Pointer to partition (DL) -> SI 517 537 … … 565 585 ; do anything else. 566 586 PART_MarkFirstGoodPrimary Proc Near Uses ax si di 587 588 IFDEF AUX_DEBUG 589 IF 0 590 pushf 591 pusha 592 push si 593 mov si, offset $+5 594 jmp @F 595 db 10,'PART_MarkFirstGoodPrimary:',10,0 596 @@: 597 call AuxIO_Print 598 pop si 599 ;~ call DEBUG_DumpRegisters 600 ;~ call AuxIO_DumpParagraph 601 ;~ call AuxIO_TeletypeNL 602 popa 603 popf 604 ENDIF 605 ENDIF 606 567 607 mov di, offset PartitionSector+446 ; DS:SI - 1st partitionentry 568 608 ; First action to do: Remove the active flag from every partition … … 944 984 ; run boot sector... 945 985 PART_StartPartition Proc Near Uses ax dx es di 986 987 IFDEF AUX_DEBUG 988 IF 0 989 pushf 990 pusha 991 push si 992 mov si, offset $+5 993 jmp @F 994 db 10,'PART_StartPartition:',10,0 995 @@: 996 call AuxIO_Print 997 pop si 998 ;~ call DEBUG_DumpRegisters 999 ;~ call AuxIO_DumpParagraph 1000 ;~ call AuxIO_TeletypeNL 1001 popa 1002 popf 1003 ENDIF 1004 ENDIF 1005 946 1006 ; 947 1007 ; Local Storage for this much too large function. … … 2165 2225 ; 2166 2226 PART_IsPrimaryPartition Proc Near Uses bx cx dx si di ds es 2227 2228 IFDEF AUX_DEBUG 2229 IF 0 2230 pushf 2231 pusha 2232 push si 2233 mov si, offset $+5 2234 jmp @F 2235 db 10,'PART_IsPrimaryPartition:',10,0 2236 @@: 2237 call AuxIO_Print 2238 pop si 2239 ;~ call DEBUG_DumpRegisters 2240 ;~ call AuxIO_DumpParagraph 2241 ;~ call AuxIO_TeletypeNL 2242 popa 2243 popf 2244 ENDIF 2245 ENDIF 2246 2167 2247 ; Push LBA address of partition 2168 2248 push bx
Note:
See TracChangeset
for help on using the changeset viewer.