Changeset 177 for trunk/bootcode/regular/bootmenu.asm
- Timestamp:
- Nov 7, 2017, 7:12:39 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bootcode/regular/bootmenu.asm
r170 r177 675 675 676 676 677 ; Dirty hack to clear remaining line when menu is scrolled. 678 ; Padd with spaces. 677 ; Dirty hack to pad remaining line with spaces. 679 678 ; Should be implemented in scrolling routine. 680 push word ptr [TextPosX] 681 mov si, offset spaces 682 mov cl,24 683 call VideoIO_FixedPrint 684 pop word ptr [TextPosX] 685 679 push word ptr [TextPosY] ; Quick save X,Y position 680 mov al, ' ' ; Filler 681 mov cl, 79 ; Index of last column 682 sub cl, byte ptr [TextPosX] ; Calculate padding length 683 call VideoIO_PrintSingleMultiChar ; Do the padding 684 pop word ptr [TextPosY] ; Quick restore X,Y position 685 686 ; Get AiR-BOOT system-ID to see if drive-letters need to be shown 686 687 mov si, [PartPointer] 687 688 mov ah, [si+LocIPT_SystemID] … … 702 703 ENDIF 703 704 704 mov al, ah705 706 cmp al, 07h 707 je show_dl 708 cmp al, 0fch 709 je show_dl 710 711 jmp skip_show_dl 705 ; Only show drive-letters when partition is HPFS or JFS 706 mov al, ah ; AiR-BOOT system-ID in AL 707 cmp al, 07h ; Is HPFS ? 708 je show_dl ; Yep, show drive-letters 709 cmp al, 0fch ; Is JFS ? 710 je show_dl ; Yep, show drive-letters 711 712 jmp skip_show_dl ; No HPFS or JFS, skip show drive-letters 712 713 713 714 show_dl: … … 799 800 dl_text db ' on drive ',0 800 801 dl_hidden db ' hidden ',0 801 spaces db ' ',0802 802 803 803 ; In: DL - Active Partition
Note:
See TracChangeset
for help on using the changeset viewer.