Changeset 50 in xtideuniversalbios for trunk/Assembly_Library/Inc


Ignore:
Timestamp:
Oct 9, 2010, 5:47:26 PM (14 years ago)
Author:
Tomi Tilli
google:author:
aitotat
Message:

Changes to Assembly Library:
Removed Memory_ExchangeSSBPwithESDI since it obviously corrupted stack.
CGA detection is now only done once when initializing Display Context.
Moved File Library defines to File.inc.

Location:
trunk/Assembly_Library/Inc
Files:
1 added
4 edited

Legend:

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

    r48 r50  
    1515%include "Debug.inc"
    1616%include "DosFunctions.inc"
     17%include "File.inc"
    1718%include "Math.inc"
    1819
  • trunk/Assembly_Library/Inc/Display.inc

    r48 r50  
    22; Project name  :   AssemblyLibrary
    33; Created date  :   25.6.2010
    4 ; Last update   :   6.10.2010
     4; Last update   :   9.10.2010
    55; Author        :   Tomi Tilli
    66; Description   :   Defines for display library.
     
    110110; Display context flags
    111111FLG_CONTEXT_ATTRIBUTES      EQU     (1<<0)  ; Character output function uses attributes
     112FLG_CONTEXT_CGA             EQU     (1<<1)  ; CGA detected so prevent CGA snow
    112113
    113114
  • trunk/Assembly_Library/Inc/DosFunctions.inc

    r41 r50  
    22; Project name  :   AssemblyLibrary
    33; Created date  :   1.9.2010
    4 ; Last update   :   3.9.2010
     4; Last update   :   8.10.2010
    55; Author        :   Tomi Tilli
    66; Description   :   Defines for MS-DOS functions.
     
    3030; DOS errors
    3131ERR_DOS_DRIVE_NOT_READY                             EQU     15h
    32 
    33 
    34 ; File attribute flags
    35 FLG_FILEATTR_READ_ONLY          EQU     (1<<0)
    36 FLG_FILEATTR_HIDDEN             EQU     (1<<1)
    37 FLG_FILEATTR_SYSTEM             EQU     (1<<2)
    38 FLG_FILEATTR_VOLUME_LABEL       EQU     (1<<3)
    39 FLG_FILEATTR_DIRECTORY          EQU     (1<<4)
    40 FLG_FILEATTR_ARCHIVE            EQU     (1<<5)
    4132
    4233
  • trunk/Assembly_Library/Inc/Emulate.inc

    r41 r50  
    22; Project name  :   Emulation library
    33; Created date  :   21.10.2009
    4 ; Last update   :   29.7.2010
     4; Last update   :   9.10.2010
    55; Author        :   Tomi Tilli
    66; Description   :   Macros for emulating later x86 instruction with older
     
    318318    sub     sp, %1
    319319    mov     bp, sp
    320     ;eENTER %1, 0
    321     ;sub        bp, %1          ; SS:BP now points to struct
    322320%endmacro
    323321
     
    334332    add     sp, %1
    335333    pop     bp
    336     ;add        bp, %1          ; Restore BP to what it was after eENTER
    337     ;eLEAVE
    338334%endmacro
    339335
Note: See TracChangeset for help on using the changeset viewer.