Changeset 78 in xtideuniversalbios for trunk/Configurator/Src/Libraries/keys.asm


Ignore:
Timestamp:
Jan 5, 2011, 7:36:41 PM (13 years ago)
Author:
aitotat
google:author:
aitotat
Message:

Changes to old configurator:

  • Optimizations by Krille
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Configurator/Src/Libraries/keys.asm

    r2 r78  
    22; Project name  :   Keyboard library
    33; Created date  :   17.11.2009
    4 ; Last update   :   31.12.2009
    5 ; Author        :   Tomi Tilli
     4; Last update   :   4.1.2011
     5; Author        :   Tomi Tilli,
     6;               :   Krister Nordvall (optimizations)
    67; Description   :   ASM library to for keyboard related functions.     
    78
     
    311312ALIGN JUMP_ALIGN
    312313Keys_Backspace:
    313     push    dx
    314314    test    si, si              ; At the beginning?
    315315    jz      .Return             ;  If so, return
     316    push    dx                  ; Save DX
    316317    dec     si                  ; Decrement char counter
    317318    dec     di                  ; Decrement offset to buffer
     
    322323    mov     dl, BS              ; Back again
    323324    PRINT_CHAR
     325    pop     dx                  ; Restore DX
    324326ALIGN JUMP_ALIGN
    325327.Return:
    326     pop     dx
    327     ret
    328 %endif
     328    ret
     329%endif
Note: See TracChangeset for help on using the changeset viewer.