Changeset 624 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS


Ignore:
Timestamp:
Oct 2, 2022, 7:30:02 PM (2 years ago)
Author:
Krister Nordvall
Message:

Changes:

  • The BIOS version string has been changed to show the repository revision number instead of the useless "v2.0.0 beta 3+" string. In other words, the seemingly never ending beta is finally over! The version string is now updated by TortoiseSVN client side hook scripts (residing in \Tools) to be used when committing changes to the repository. It should also be possible to use these scripts with other subversion clients under Windows since they are essentially just regular batch (cmd) files!
  • The eSEG_STR macro has been changed to always disable interrupts. The workaround used for the buggy, early revisions of the 8088/8086 CPUs apparently does not work. Many thanks to Jim Leonard (Trixter) for reporting this problem!
  • Minor optimizations to the eBSF and eBSR macros.
Location:
trunk/XTIDE_Universal_BIOS
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/XTIDE_Universal_BIOS/Inc/RomVars.inc

    r614 r624  
    142142    .rgbSign            resb    6   ; Signature for XTIDE Configurator Program (must be even length)
    143143    .szTitle            resb    31  ; BIOS title string
    144     .szVersion          resb    25  ; BIOS version string
     144    .szVersion          resb    19  ; BIOS version string (supports up to r9999)
    145145
    146146    .wFlags             resb    2   ; Word for ROM flags
     
    154154    .bIdleTimeout       resb    1   ; Standby timer value
    155155
     156                        alignb  2   ; WORD align the IDEVARS structures
    156157    .ideVarsBegin:
    157158    .ideVars0           resb    IDEVARS_size
  • trunk/XTIDE_Universal_BIOS/Inc/Version.inc

    r614 r624  
    1 ; /*
    21; Project name  :   XTIDE Universal BIOS
    32; Description   :   Version information.
     
    2019
    2120; Flash signature revisions:
     21; XUB209    Shortened the BIOS version string (ROMVARS.szVersion) and WORD aligned the IDEVARS structures
    2222; XUB208    Added option to skip slave drive detection
    2323; XTIDE207  Added device type DEVICE_8BIT_XTIDE_REV2_OLIVETTI
     
    2727;
    2828
    29 ;--------------------------------------------------------------------------------
    30 ;
    31 ; Assembler Version
    32 ;
    33 
    3429%ifndef VERSION_INC
    3530%define VERSION_INC
    3631
    3732
    38 %define TITLE_STRING_START  "-=XTIDE Universal BIOS "
     33%define TITLE_STRING_START      "-=XTIDE Universal BIOS "
    3934%ifdef USE_AT
    4035    %ifdef USE_386
    41         %define TITLE_STRING_END    "(386)=-",NULL
     36        %define TITLE_STRING_END    "(386)=-"
    4237    %else
    43         %define TITLE_STRING_END    "(AT)=-",NULL
     38        %define TITLE_STRING_END    "(AT)=-"
    4439    %endif
    4540%elifdef USE_186
    46     %define TITLE_STRING_END    "(XT+)=-",NULL
     41    %define TITLE_STRING_END    "(XT+)=-"
    4742%else
    48     %define TITLE_STRING_END    "(XT)=-",NULL
     43    %define TITLE_STRING_END    "(XT)=-"
    4944%endif
    5045
    51 %define TITLE_STRING            TITLE_STRING_START, TITLE_STRING_END
    52 %define ROM_VERSION_STRING      "v2.0.0",BETA,"3+ (",__DATE__,")",NULL
    53 %define FLASH_SIGNATURE         "XUB208"    ; Do not terminate with NULL
     46%define TITLE_STRING            TITLE_STRING_START,TITLE_STRING_END,NULL
     47%define ROM_VERSION_STRING      incbin "Revision.inc"   ; This file must include a trailing space
     48; Note!
     49; NASM will throw weird errors when using ROM_VERSION_STRING if it's not a single statement on its own line.
     50; This is likely due to the "unusual" way it is defined above. Make sure to not have any additional strings
     51; on the same line, either before or after. In fact, do not even put a preceding label on the same line!
     52%define BUILD_DATE_STRING       "(",__DATE__,")"
     53%define FLASH_SIGNATURE         "XUB209"    ; Do not terminate with NULL
    5454
    5555
    5656%endif ; VERSION_INC
    57 
    58 %if 0           ; equivalent of a NASM comment block
    59 ;*/
    60 
    61 //--------------------------------------------------------------------------------
    62 //
    63 // C/C++ Version
    64 //
    65 
    66 #define BETA " Beta "
    67 
    68 #define ROM_VERSION_STRING      "v2.0.0" BETA "3 (" __DATE__ ")"
    69 
    70 /*
    71 %endif
    72 ;*/
  • trunk/XTIDE_Universal_BIOS/Src/Main.asm

    r621 r624  
    7171    at  ROMVARS.rgbSign,    db  FLASH_SIGNATURE
    7272    at  ROMVARS.szTitle,    db  TITLE_STRING
    73     at  ROMVARS.szVersion,  db  ROM_VERSION_STRING
     73    at  ROMVARS.szVersion,  db  "r"
     74                            db  ROM_VERSION_STRING
     75                            db  BUILD_DATE_STRING,NULL
    7476
    7577;---------------------------;
Note: See TracChangeset for help on using the changeset viewer.