Changeset 86 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Libraries


Ignore:
Timestamp:
Jan 25, 2011, 9:13:56 PM (14 years ago)
Author:
krille_n_@…
google:author:
krille_n_@hotmail.com
Message:

Size optimizations in various files in the XTIDE BIOS.
Also added a new include file for generic macros (macros.inc).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/XTIDE_Universal_BIOS/Src/Libraries/menu/menucrsr.asm

    r3 r86  
    1 ; File name     :   menucrsr.asm
    21; Project name  :   Menu library
    3 ; Created date  :   10.11.2009
    4 ; Last update   :   17.1.2010
    5 ; Author        :   Tomi Tilli
    62; Description   :   ASM library to menu system.
    73;                   Contains menu cursor functions.
     
    160156ALIGN JUMP_ALIGN
    161157MenuCrsr_SetCursor:
    162     xor     bx, bx                      ; Zero page
    163158    mov     ah, 02h                     ; Set Cursor Position and Size
    164     int     10h
    165     ret
     159    SKIP2B  bx                          ; mov bx, <next instruction>
     160    ; Fall through to MenuCrsr_GetCursor
    166161
    167162
     
    178173;       AX, BX
    179174;--------------------------------------------------------------------
    180 ALIGN JUMP_ALIGN
     175;ALIGN JUMP_ALIGN
    181176MenuCrsr_GetCursor:
     177    mov     ah, 03h                     ; Get Cursor Position and Size
    182178    xor     bx, bx                      ; Zero page
    183     mov     ah, 03h                     ; Get Cursor Position and Size
    184179    int     10h
    185180    ret
Note: See TracChangeset for help on using the changeset viewer.