Changeset 190 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Boot


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

More comments for changes to BootMenuEvent and BootMenuPrint.

Location:
trunk/XTIDE_Universal_BIOS/Src/Boot
Files:
2 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       
  • trunk/XTIDE_Universal_BIOS/Src/Boot/BootMenuPrint.asm

    r189 r190  
    1414;   Parameters:
    1515;       DL:     Untranslated Floppy Drive number
     16;       SF:     set for Information, clear for Item
    1617;   Returns:
    1718;       Nothing
     
    115116;       DL:     Untranslated Hard Disk number
    116117;       DS:     RAMVARS segment
     118;       SF:     set for Information, clear for Item     
    117119;   Returns:
    118120;       CF:     Set since menu event handled
Note: See TracChangeset for help on using the changeset viewer.