Changeset 202 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src


Ignore:
Timestamp:
Nov 22, 2011, 2:08:32 PM (12 years ago)
Author:
krille_n_@…
google:author:
krille_n_@hotmail.com
Message:

Changes:

  • Library/BIOS: Minor optimizations to DisplayFormatCompressed.asm and BootMenuEvent.asm
  • XTIDECFG: Trimmed trailing CRLFs from some of the text files in Help (also fixed a typo)
File:
1 edited

Legend:

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

    r194 r202  
    1818ALIGN JUMP_ALIGN
    1919BootMenuEvent_Handler:
    20        
     20
    2121%ifdef MENUEVENT_INLINE_OFFSETS
    22        
     22
    2323    add     bx, BootMenuEvent_Handler
    2424    jmp     bx
     
    3232MENUEVENT_RefreshInformation equ (BootMenuEvent_Handler.RefreshInformation - BootMenuEvent_Handler)
    3333MENUEVENT_RefreshItemFromCX equ (BootMenuEvent_Handler.RefreshItemFromCX - BootMenuEvent_Handler)
    34 ; 
    35 ; Note that there is no entry for MENUEVENT_IdleProcessing.  If MENUEVENT_IDLEPROCESSING_ENABLE is not %defined, 
     34;
     35; Note that there is no entry for MENUEVENT_IdleProcessing.  If MENUEVENT_IDLEPROCESSING_ENABLE is not %defined,
    3636; then the entry point will not be called (saving memory on this end and at the CALL point).
    3737;
    38        
     38
    3939%else
    40        
     40
    4141    cmp     bx, BYTE MENUEVENT.RefreshItemFromCX    ; Above last supported item?
    4242    ja      SHORT .EventNotHandled
     
    4646    clc
    4747    ret
    48        
     48
    4949ALIGN WORD_ALIGN
    5050.rgfnEventSpecificHandlers:
     
    5858    dw      .RefreshInformation         ; MENUEVENT.RefreshInformation
    5959    dw      .RefreshItemFromCX          ; MENUEVENT.RefreshItemFromCX
    60        
     60
    6161%endif
    6262
     
    153153ALIGN JUMP_ALIGN
    154154.RefreshItemFromCX:
    155     mov     bl,00h      ; will result in SF being clear in .RefreshItemOrInformation...
     155    xor     bl, bl      ; will result in SF being clear in .RefreshItemOrInformation...
    156156    SKIP2B  dx          ; dx corrupted below by BootMenu_GetDriveToDXforMenuitemInCX
    157157    ; Fall to .RefreshInformation
    158        
     158
    159159; Parameters:
    160160;   CX:         Index of highlighted item
     
    183183    jc      SHORT BootMenuPrint_HardDiskMenuitem
    184184    ; fall through to BootMenuEvent_FallThroughToFloppyMenuitem
    185        
    186 ;;; 
     185
     186;;;
    187187;;; Fall-through (to BootMenuPrint_FloppyMenuitem)
    188188;;; (checked at assembler time with the code after BootMenuPrint_FloppyMenuitem)
    189189;;;
    190190ALIGN JUMP_ALIGN
    191 BootMenuEvent_FallThroughToFloppyMenuitem: 
     191BootMenuEvent_FallThroughToFloppyMenuitem:
    192192    ; fall through to BootMenuPrint_FloppyMenuitem
Note: See TracChangeset for help on using the changeset viewer.