Changeset 581 in xtideuniversalbios for trunk/Assembly_Library/Src/Menu/MenuLoop.asm


Ignore:
Timestamp:
Feb 25, 2015, 12:54:50 PM (9 years ago)
Author:
krille_n_@…
google:author:
krille_n_@hotmail.com
Message:

Changes:

  • Fixed a bug from r178 in MenuLoop.asm that would cause screen corruption when browsing the menu with Num Lock enabled and using the numeric keys as arrows.
File:
1 edited

Legend:

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

    r527 r581  
    202202ALIGN MENU_JUMP_ALIGN
    203203.DecrementSelectedItem:
    204     mov     ax, -1
    205     SKIP2B  cx  ; mov cx, <next instruction>
     204    mov     al, -1
     205    SKIP2B  cx
    206206.IncrementSelectedItem:
    207     mov     al, 1   ; AH is already 0
     207    mov     al, 1
     208    cbw
    208209ALIGN MENU_JUMP_ALIGN
    209210.MoveHighlightedItemByAX:
Note: See TracChangeset for help on using the changeset viewer.