Changeset 73
- Timestamp:
- Apr 8, 2017, 12:26:09 AM (8 years ago)
- Location:
- trunk/bootcode/regular
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bootcode/regular/bootmenu.asm
r65 r73 511 511 local PartPointer:word 512 512 513 call PART_GetPartitionPointer 514 mov PartPointer, si513 call PART_GetPartitionPointer ; Gets pointer to partition (DL) -> SI 514 mov [PartPointer], si ; SI now points to the IPT-entry 515 515 516 516 ; === Display Boot-Number === … … 545 545 mov cx, CLR_HD_INDEX 546 546 call VideoIO_Color ; Violet, blue 547 mov si, PartPointer547 mov si, [PartPointer] 548 548 mov al, [si+LocIPT_Drive] 549 549 sub al, 7Fh ; Will only display numbers up to 99, … … 577 577 mov al, '/' 578 578 call VideoIO_PrintSingleChar 579 mov cx, CLR_HD_SIZE _BM579 mov cx, CLR_HD_SIZE 580 580 call VideoIO_Color ; Violet, Blue 581 mov ax, PartPointer; Get Size-Element from PartPtr (AX)581 mov ax, [PartPointer] ; Get Size-Element from PartPtr (AX) 582 582 call PART_GetSizeElementPointer ; DS:SI -> Size-Element... 583 583 mov cl, 4 … … 608 608 mov cx, CLR_LABEL 609 609 call VideoIO_Color ; Yellow, blue 610 mov si, PartPointer610 mov si, [PartPointer] 611 611 add si, LocIPT_Name 612 612 mov cl, 11 … … 620 620 621 621 call VideoIO_Locate 622 mov si, PartPointer622 mov si, [PartPointer] 623 623 mov al, [si+LocIPT_SystemID] 624 624 call PART_SearchFileSysName … … 731 731 732 732 call LVM_GetDriveLetter 733 IF 0 734 ; Print values at start of LVM-record 735 pushf 736 pusha 737 mov si, offset [LVMSector] 738 lodsw 739 call VideoIO_PrintHexWord 740 lodsw 741 call VideoIO_PrintHexWord 742 popa 743 popf 744 ENDIF 745 jnc skip_show_dl 733 746 734 747 test al,al … … 972 985 mov dl, Menu_EntryLast 973 986 BMRMV_TimedBootDefault: 974 call PART_GetPartitionPointer ; Hol t SI fr Partition DL987 call PART_GetPartitionPointer ; Hold SI for Partition DL 975 988 add si, LocIPT_Name 976 989 mov cx, 11 -
trunk/bootcode/regular/partmain.asm
r67 r73 2267 2267 2268 2268 next_pe: 2269 ; Compute rpointer to PE2269 ; Compute pointer to PE 2270 2270 mov bx,dx ; Point BX to 1st partition address 2271 2271 mov ax,cx ; Get PE-index
Note:
See TracChangeset
for help on using the changeset viewer.