Changeset 596 in xtideuniversalbios for trunk/Assembly_Library


Ignore:
Timestamp:
Jul 10, 2018, 1:20:11 AM (6 years ago)
Author:
krille_n_
Message:

Changes:

  • Made changes to HotkeyBar.asm to give the Boot Menu and Hotkey Bar a more consistent look. It will probably seem a bit strange at first to people used to the classic theme.
  • Added the missing parts of USE_NEC_V that should have been committed with the rest in r593.
  • Removed DEFINES_ALL_FEATURES from the BIOS makefile. It didn't work anymore and never really made sense anyway. Added all the official builds to 'make unused' instead which actually uncovered some unused code in the Tiny build.
  • XTIDECFG will no longer load color themes from unrecognized versions of the BIOS.
  • Other fixes in comments and some minor optimizations.
Location:
trunk/Assembly_Library
Files:
13 edited

Legend:

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

    r593 r596  
    99%include "BiosData.inc"
    1010%include "BiosFunctions.inc"
     11%include "CgaSnow.inc"
    1112%include "CMOS.inc"
    12 %include "CgaSnow.inc"
    1313%include "Debug.inc"
    1414%include "Delay.inc"
    1515%include "DosFunctions.inc"
    16 %include "CMOS.inc"
    1716%include "File.inc"
    1817%include "Math.inc"
     
    2726    %define INCLUDE_KEYBOARD_LIBRARY
    2827    %define INCLUDE_TIME_LIBRARY
    29    
     28
    3029    %ifdef INCLUDE_MENU_DIALOGS
    3130        %include "Dialog.inc"
  • trunk/Assembly_Library/Inc/BiosFunctions.inc

    r593 r596  
    6666
    6767; BIOS PCI 2.0+ functions
    68 PCI_INSTALLATION_CHECK              EQU     0B101h
     68PCI_INSTALLATION_CHECK          EQU     0B101h
    6969
    7070
  • trunk/Assembly_Library/Inc/Emulate.inc

    r592 r596  
    1818;%define USE_386                ; Define to use 386 instructions
    1919;%define USE_AT                 ; Define for AT class machine
     20
     21%ifdef USE_NEC_V                ; This will run on NEC V20/V30 processors only
     22    %define USE_186             ; Define to use 18x/V20/V30 instructions
     23    %ifdef USE_UNDOC_INTEL OR USE_286 OR USE_386
     24        %fatal "Conflicting processor define used together with USE_NEC_V!"
     25    %endif
     26%endif
    2027
    2128%ifdef USE_386
     
    8794    %endif
    8895%endmacro
     96
     97
     98%ifdef USE_NEC_V
     99    %include "NEC_V.inc"
     100%endif
    89101
    90102
  • trunk/Assembly_Library/Inc/Macros.inc

    r593 r596  
    125125
    126126;--------------------------------------------------------------------
    127 ; Small delay between I/O port accessess if needed.
     127; Small delay between I/O port accesses if needed.
    128128;
    129129; IO_DELAY
  • trunk/Assembly_Library/Src/Menu/Dialog/DialogDrive.asm

    r526 r596  
    2929;       Nothing
    3030;   Corrupts registers:
    31 ;       AX, BX, CX, DX, SI, DI
     31;       AX, BX, CX, DX, DI
    3232;--------------------------------------------------------------------
    3333ALIGN JUMP_ALIGN
  • trunk/Assembly_Library/Src/Menu/Dialog/DialogFile.asm

    r593 r596  
    4949    pop     dx
    5050    cmp     BYTE [si+FILE_DIALOG_IO.bUserCancellation], TRUE
    51     je      Drive_SetDefaultFromDL
     51    jne     SHORT .UserDidNotCancel
     52    jmp     Drive_SetDefaultFromDL
     53
     54.UserDidNotCancel:
    5255    ret
    5356
  • trunk/Assembly_Library/Src/Menu/Dialog/DialogMessage.asm

    r526 r596  
    3030;       Nothing
    3131;   Corrupts registers:
    32 ;       AX, BX, CX, DX, SI, DI
     32;       AX, BX, CX, DX, DI
    3333;--------------------------------------------------------------------
    3434ALIGN JUMP_ALIGN
  • trunk/Assembly_Library/Src/Menu/Dialog/DialogProgress.asm

    r526 r596  
    3030;       Nothing
    3131;   Corrupts registers:
    32 ;       AX, BX, CX, DX, SI, DI
     32;       AX, BX, CX, DX, DI
    3333;--------------------------------------------------------------------
    3434ALIGN JUMP_ALIGN
  • trunk/Assembly_Library/Src/Menu/Dialog/DialogSelection.asm

    r526 r596  
    3030;       Nothing
    3131;   Corrupts registers:
    32 ;       AX, BX, CX, DX, SI, DI
     32;       AX, BX, CX, DX, DI
    3333;--------------------------------------------------------------------
    3434ALIGN JUMP_ALIGN
  • trunk/Assembly_Library/Src/Menu/Dialog/DialogString.asm

    r568 r596  
    2929;       Nothing
    3030;   Corrupts registers:
    31 ;       AX, BX, CX, DX, SI, DI
     31;       AX, BX, CX, DX, DI
    3232;--------------------------------------------------------------------
    3333ALIGN JUMP_ALIGN
  • trunk/Assembly_Library/Src/Menu/Dialog/DialogWord.asm

    r568 r596  
    3030;       Nothing
    3131;   Corrupts registers:
    32 ;       AX, BX, CX, DX, SI, DI
     32;       AX, BX, CX, DX, DI
    3333;--------------------------------------------------------------------
    3434ALIGN JUMP_ALIGN
     
    9393;       Nothing (User input stored to WORD_DIALOG_IO)
    9494;   Corrupts registers:
    95 ;       AX, BX, CX, DX, SI, DI
     95;       AX, BX, CX, DX, SI, DI, DS
    9696;--------------------------------------------------------------------
    9797ALIGN JUMP_ALIGN
  • trunk/Assembly_Library/Src/Util/Registers.asm

    r592 r596  
    2121SECTION .text
    2222
     23%ifdef EXCLUDE_FROM_XUB
     24    %ifndef MODULE_EBIOS
     25        %define EXCLUDE
     26    %endif
     27%endif
    2328;--------------------------------------------------------------------
    2429; Registers_ExchangeDSSIwithESDI
     
    3035;       Nothing
    3136;--------------------------------------------------------------------
     37%ifndef EXCLUDE
    3238ALIGN JUMP_ALIGN
    3339Registers_ExchangeDSSIwithESDI:
     
    3844    xchg    si, di
    3945    ret
     46%endif
     47%undef EXCLUDE
    4048
    4149
     
    4856;       Nothing
    4957;   Returns:
    50 ;       Copies farm pointer to different segment/pointer register pair
     58;       Copies far pointer to different segment/pointer register pair
    5159;   Corrupts registers:
    5260;       Nothing
  • trunk/Assembly_Library/Src/Util/Size.asm

    r592 r596  
    159159ALIGN UTIL_SIZE_JUMP_ALIGN
    160160Size_ConvertSectorCountInBXDXAXtoKiB:   ; unused entrypoint ok
    161 Size_DivideBXDXAXbyTwo:
     161Size_DivideBXDXAXbyTwo:                 ; unused entrypoint ok
    162162    shr     bx, 1                   ; Divide sector count by 2...
    163163    rcr     dx, 1                   ; ...to get disk size in...
Note: See TracChangeset for help on using the changeset viewer.