Changeset 370 in xtideuniversalbios for trunk/Assembly_Library


Ignore:
Timestamp:
Mar 29, 2012, 4:40:50 PM (12 years ago)
Author:
krille_n_@…
google:author:
krille_n_@hotmail.com
Message:

Changes:

  • Added some missing PIO mode timings to ATA_ID.inc (based on info from http://www.singlix.net/specs/cfspc4_0.pdf)
  • Updated Configuration_FullMode.txt but it may need additional changes as the Tandy info doesn't match the wiki.
  • Optimizations.
  • Excluded some unused code from XTIDECFG.
Location:
trunk/Assembly_Library
Files:
9 edited

Legend:

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

    r341 r370  
    5050    .SetCursorShapeFromAX                           resb    2
    5151    .SetCursorCoordinatesFromAX                     resb    2
     52%ifndef EXCLUDE_FROM_XTIDECFG
    5253    .SetNewPageFromAL                               resb    2
     54%endif
    5355    .SynchronizeDisplayContextToHardware            resb    2
    5456
  • trunk/Assembly_Library/Inc/Menu.inc

    r205 r370  
    8080    .RefreshInformation                         resb    2
    8181
     82%ifndef EXCLUDE_FROM_XTIDECFG
    8283    .StartSelectionTimeoutWithTicksInAX         resb    2
     84%endif
    8385
    8486%ifdef INCLUDE_MENU_DIALOGS
  • trunk/Assembly_Library/Src/AssemblyLibrary.asm

    r369 r370  
    1616    %include "DisplayCursor.asm"
    1717    %include "DisplayPage.asm"
    18     %include "DisplayPrint.asm"                 ; must come before DisplayFormat/DisplayFormatCompressed           
     18    %include "DisplayPrint.asm"                 ; must come before DisplayFormat/DisplayFormatCompressed
    1919%ifdef MODULE_STRINGS_COMPRESSED
    2020    %include "DisplayFormatCompressed.asm"
    2121%else
    22     %include "DisplayFormat.asm"       
     22    %include "DisplayFormat.asm"
    2323%endif
    2424%endif
     
    3434  %ifndef KEYBOARD_JUMP_ALIGN
    3535    %define KEYBOARD_JUMP_ALIGN 1
    36   %endif       
     36  %endif
    3737    %include "Keyboard.asm"
    3838%endif
     
    4141  %ifndef MENU_JUMP_ALIGN
    4242    %define MENU_JUMP_ALIGN 1
    43   %endif               
     43  %endif
    4444    %include "CharOutLineSplitter.asm"
    4545    %include "Menu.asm"
     
    7272  %ifndef STRING_JUMP_ALIGN
    7373    %define STRING_JUMP_ALIGN 1
    74   %endif               
     74  %endif
    7575    %include "Char.asm"
    7676    %ifndef EXCLUDE_FROM_XTIDE_UNIVERSAL_BIOS
     
    8282%ifdef INCLUDE_SERIAL_LIBRARY
    8383    %include "Serial.inc"
    84 %endif     
     84%endif
    8585%ifdef INCLUDE_SERIALSERVER_LIBRARY
    8686    %include "SerialServer.asm"
    8787    %include "SerialServerScan.asm"
    8888    %define INCLUDE_TIME_LIBRARY
    89 %endif     
     89%endif
    9090
    9191%ifdef INCLUDE_TIME_LIBRARY
    9292    %ifndef EXCLUDE_FROM_XTIDE_UNIVERSAL_BIOS
    9393        %include "Delay.asm"
    94         %include "SystemTimer.asm"
     94        %ifndef EXCLUDE_FROM_XTIDECFG
     95            %include "SystemTimer.asm"
     96        %endif
    9597    %endif
    9698    %include "TimerTicks.asm"
     
    100102  %ifndef UTIL_SIZE_JUMP_ALIGN
    101103    %define UTIL_SIZE_JUMP_ALIGN 1
    102   %endif       
     104  %endif
    103105    %ifndef EXCLUDE_FROM_XTIDE_UNIVERSAL_BIOS
    104106        %include "Bit.asm"
  • trunk/Assembly_Library/Src/Display/Display.asm

    r369 r370  
    6868    %define SetCursorShapeFromAX                            DisplayCursor_SetShapeFromAX
    6969    %define SetCursorCoordinatesFromAX                      DisplayCursor_SetCoordinatesFromAX
     70%ifndef EXCLUDE_FROM_XTIDECFG
    7071    %define SetNewPageFromAL                                DisplayPage_SetFromAL
     72%endif
    7173    %define SynchronizeDisplayContextToHardware             DisplayContext_SynchronizeToHardware
    7274
  • trunk/Assembly_Library/Src/Display/DisplayPage.asm

    r369 r370  
    1515;       AX, DX
    1616;--------------------------------------------------------------------
    17 %ifndef EXCLUDE_FROM_XTIDE_UNIVERSAL_BIOS
     17%ifndef EXCLUDE_FROM_XTIDE_UNIVERSAL_BIOS OR EXCLUDE_FROM_XTIDECFG
    1818ALIGN DISPLAY_JUMP_ALIGN
    1919DisplayPage_SetFromAL:
  • trunk/Assembly_Library/Src/Menu/Menu.asm

    r369 r370  
    5050    %define RefreshInformation                              MenuText_RefreshInformation
    5151
     52%ifndef EXCLUDE_FROM_XTIDECFG
    5253    %define StartSelectionTimeoutWithTicksInAX              MenuTime_StartSelectionTimeoutWithTicksInAX
     54%endif
    5355
    5456%ifdef INCLUDE_MENU_DIALOGS
  • trunk/Assembly_Library/Src/Menu/MenuTime.asm

    r369 r370  
    1515;       AX, BX
    1616;--------------------------------------------------------------------
     17%ifndef EXCLUDE_FROM_XTIDECFG
    1718ALIGN MENU_JUMP_ALIGN
    1819MenuTime_StartSelectionTimeoutWithTicksInAX:
     
    2324    pop     ds
    2425    ret
     26%endif
    2527
    2628
  • trunk/Assembly_Library/Src/Time/TimerTicks.asm

    r131 r370  
    2424;--------------------------------------------------------------------
    2525%ifndef EXCLUDE_FROM_XTIDE_UNIVERSAL_BIOS
     26%ifndef EXCLUDE_FROM_XTIDECFG
    2627ALIGN JUMP_ALIGN
    2728TimerTicks_GetHoursToAXfromTicksInDXAX:
     
    2930    div     cx      ; Divide DX:AX by CX, Hours to AX, remainder ticks to DX
    3031    ret
     32%endif ; EXCLUDE_FROM_XTIDECFG
    3133
    3234ALIGN JUMP_ALIGN
     
    3739    div     cx      ; Divide DX:AX by CX, Minutes to AX, remainder ticks to DX
    3840    ret
    39 %endif
     41%endif ; EXCLUDE_FROM_XTIDE_UNIVERSAL_BIOS
    4042
    4143ALIGN JUMP_ALIGN
  • trunk/Assembly_Library/Src/Util/Registers.asm

    r222 r370  
    6969;   Corrupts registers:
    7070;       AX, CX
    71 ; 
    72 ; Inline of NORMALIZE_FAR_POINTER so that we can share the last 2/3 of the 
     71;
     72; Inline of NORMALIZE_FAR_POINTER so that we can share the last 2/3 of the
    7373; routine with Registers_NormalizeFinish.
    74 ; 
     74;
    7575;--------------------------------------------------------------------
    76 %ifndef EXCLUDE_FROM_XTIDE_UNIVERSAL_BIOS
     76%ifndef EXCLUDE_FROM_XTIDE_UNIVERSAL_BIOS OR EXCLUDE_FROM_XTIDECFG
    7777ALIGN JUMP_ALIGN
    7878Registers_NormalizeESSI:
     
    8787;;; fall-through
    8888
    89 ALIGN JUMP_ALIGN       
    90 Registers_NormalizeFinish:     
     89ALIGN JUMP_ALIGN
     90Registers_NormalizeFinish:
    9191    eSHR_IM     cx, 4
    9292    mov         ax, es
Note: See TracChangeset for help on using the changeset viewer.