Changeset 52 in xtideuniversalbios for trunk/Assembly_Library/Inc


Ignore:
Timestamp:
Oct 12, 2010, 6:51:07 PM (13 years ago)
Author:
aitotat
google:author:
aitotat
Message:

Changes to Assembly Library:
Completely rewritten line splitting (slower but no need to modify string).
Some changes to string processing functions.
Saved few bytes from CGA detection.

Location:
trunk/Assembly_Library/Inc
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Assembly_Library/Inc/CgaSnow.inc

    r49 r52  
    22; Project name  :   AssemblyLibrary
    33; Created date  :   8.10.2010
    4 ; Last update   :   8.10.2010
     4; Last update   :   11.10.2010
    55; Author        :   Tomi Tilli
    66; Description   :   Macros for preventing CGA snow.
     
    2828    %elifidn %1, stosw
    2929        call    CgaSnow_Stosw
    30     %elifidn %1, scasb
    31         call    CgaSnow_Scasb
    3230    %elifidn %1, rep movsb
    3331        call    CgaSnow_RepMovsb
  • trunk/Assembly_Library/Inc/Display.inc

    r50 r52  
    22; Project name  :   AssemblyLibrary
    33; Created date  :   25.6.2010
    4 ; Last update   :   9.10.2010
     4; Last update   :   11.10.2010
    55; Author        :   Tomi Tilli
    66; Description   :   Defines for display library.
     
    2626    %elifidn %1, PopDisplayContext
    2727        call    DisplayContext_Pop
    28     %elifidn %1, PrepareOffScreenBufferInESBXtoESDI
    29         call    DisplayContext_PrepareOffScreenBufferInESBXtoESDI
     28    %elifidn %1, PrepareOffScreenBufferInESBXwithLengthInCX
     29        call    DisplayContext_PrepareOffScreenBufferInESBXwithLengthInCX
    3030    %else
    3131        mov     di, DISPLAY_LIB.%1
     
    3939    .PushDisplayContext:
    4040    .PopDisplayContext:
    41     .PrepareOffScreenBufferInESBXtoESDI:
    4241    .InitializeDisplayContext                       resb    2
    4342
  • trunk/Assembly_Library/Inc/Menu.inc

    r48 r52  
    22; Project name  :   Assembly Library
    33; Created date  :   13.7.2010
    4 ; Last update   :   5.10.2010
     4; Last update   :   12.10.2010
    55; Author        :   Tomi Tilli
    66; Description   :   Defines for Menu library.
     
    9595    .wTimeoutTicks                  resb    2   ; Selection timeout in system timer ticks
    9696    .wItems                         resb    2   ; Number of items in menu
     97    .wHighlightedItem               resb    2   ; Index for highlighted item
    9798
    9899    .wTitleAndInfoLines:
     
    115116                                    resb    1
    116117    .wTimeoutCounter                resb    2
    117 
    118     .wHighlightedItem               resb    2   ; Index for highlighted item
    119118    .wFirstVisibleItem              resb    2   ; Index for first visible item on the menu
    120119endstruc
Note: See TracChangeset for help on using the changeset viewer.