Changeset 116 in xtideuniversalbios for trunk/Assembly_Library/Src/Menu


Ignore:
Timestamp:
Feb 26, 2011, 11:55:06 PM (13 years ago)
Author:
krille_n_@…
google:author:
krille_n_@hotmail.com
Message:

Changes to all parts of the project:

  • Removed a redundant macro (HPIO_NORMALIZE_PTR)
  • Deleted XTIDE_Universal_BIOS/Inc/BiosData.inc since that was also redundant.
  • Size optimization: Changed the LOAD_BDA_SEGMENT_TO macro to use the stack on 186+ processors (the old behaviour can still be used where needed).
  • Made other minor size optimizations and cleanups to various functions, mostly in the Int13h handler.
Location:
trunk/Assembly_Library/Src/Menu
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Assembly_Library/Src/Menu/MenuAttributes.asm

    r104 r116  
    4848    push    ds
    4949
    50     LOAD_BDA_SEGMENT_TO ds, ax
     50    LOAD_BDA_SEGMENT_TO ds, ax, !
    5151    mov     al, [VIDEO_BDA.bMode]       ; Load BIOS display mode (0, 1, 2, 3 or 7)
    5252    cmp     al, 7
     
    7373    pop     ds
    7474    ret
    75 
    7675
    7776
  • trunk/Assembly_Library/Src/Menu/MenuInit.asm

    r104 r116  
    1919    push    es
    2020    push    ds
    21     LOAD_BDA_SEGMENT_TO ds, cx
     21    LOAD_BDA_SEGMENT_TO ds, cx, !
    2222    push    WORD [BDA.wVidCurShape]
    2323    mov     cl, MENU_size
     
    7474    call    MenuText_RefreshTitle           ; Draw title strings
    7575    call    MenuText_RefreshAllItems        ; Draw item strings
    76     jmp     MenuText_RefreshInformation     ; Draw information strings 
     76    jmp     MenuText_RefreshInformation     ; Draw information strings
    7777
    7878
Note: See TracChangeset for help on using the changeset viewer.