Changeset 48 in xtideuniversalbios for trunk/Assembly_Library/Inc/Display.inc


Ignore:
Timestamp:
Oct 8, 2010, 3:44:05 PM (14 years ago)
Author:
aitotat
google:author:
aitotat
Message:

Changes to Assembly Library:
Added functions to clear Menu Title and Information areas.
Implemented automatic line change when writing Menu Title and Information areas.
CGA snow related functions have been moved to CgaSnow.asm.
Keyboard input functions no longer produce beep for backspace.

File:
1 edited

Legend:

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

    r45 r48  
    22; Project name  :   AssemblyLibrary
    33; Created date  :   25.6.2010
    4 ; Last update   :   28.9.2010
     4; Last update   :   6.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
    2830    %else
    2931        mov     di, DISPLAY_LIB.%1
     
    3739    .PushDisplayContext:
    3840    .PopDisplayContext:
     41    .PrepareOffScreenBufferInESBXtoESDI:
    3942    .InitializeDisplayContext                       resb    2
    4043
     
    181184COLOR_TEXT_SEGMENT          EQU     0B800h  ; Text modes 0...3 (CGA+)
    182185MONO_TEXT_SEGMENT           EQU     0B000h  ; Text mode 7 (MDA, Hercules)
     186
     187OFFSET_TO_CGA_STATUS_REGISTER   EQU     6   ; Base port 3D4h + 6 = 3DAh
     188CGA_STATUS_REGISTER             EQU     3DAh
    183189
    184190
Note: See TracChangeset for help on using the changeset viewer.