Changeset 581 in xtideuniversalbios for trunk


Ignore:
Timestamp:
Feb 25, 2015, 12:54:50 PM (10 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.
Location:
trunk/Assembly_Library/Src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Assembly_Library/Src/Keyboard/Keyboard.asm

    r526 r581  
    289289;       Nothing
    290290;--------------------------------------------------------------------
    291 
    292291%ifdef EXCLUDE_FROM_XTIDE_UNIVERSAL_BIOS
    293292    %define EXCLUDE
     
    301300
    302301%ifndef EXCLUDE
    303 
    304302ALIGN KEYBOARD_JUMP_ALIGN
    305303Keyboard_GetKeystrokeToAXandLeaveItToBuffer:
  • 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.