Changeset 190 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Boot/BootMenuEvent.asm


Ignore:
Timestamp:
Nov 16, 2011, 7:36:34 AM (12 years ago)
Author:
gregli@…
google:author:
gregli@hotmail.com
Message:

More comments for changes to BootMenuEvent and BootMenuPrint.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/XTIDE_Universal_BIOS/Src/Boot/BootMenuEvent.asm

    r189 r190  
    153153ALIGN JUMP_ALIGN
    154154.RefreshItemFromCX:
    155     mov     bl,00h
    156     SKIP2B  dx      ; dx corrupted below by BootMenu_GetDriveToDXforMenuitemInCX
     155    mov     bl,00h      ; will result in SF being clear in .RefreshItemOrInformation...
     156    SKIP2B  dx          ; dx corrupted below by BootMenu_GetDriveToDXforMenuitemInCX
    157157    ; Fall to .RefreshInformation
    158158       
     
    160160;   CX:         Index of highlighted item
    161161;   Cursor has been positioned to the beginning of first line
     162; NO ALIGN - in the shadow of SKIP2B
    162163.RefreshInformation:
    163     mov     bl,040h
     164    mov     bl,040h     ;  will result in SF being set in .RefreshItemOrInformation...
    164165    ; Fall to .RefreshItemOrInformationWithJumpTableInCSBX
    165166
     
    178179    call    RamVars_GetSegmentToDS
    179180    call    BootMenu_GetDriveToDXforMenuitemInCX
    180     or      bl,dl
    181     shl     bl,1
     181    or      bl,dl               ;  or drive number with bit from .RefreshItemFromCX or .RefreshInformation
     182    shl     bl,1                ;  drive letter high order bit to CF, Item/Information bit to SF
    182183    jc      SHORT BootMenuPrint_HardDiskMenuitem
    183184       
Note: See TracChangeset for help on using the changeset viewer.