немного изменён подход к нумерации версий BIOS и Bitstream

This commit is contained in:
Anatoliy Belyanskiy 2024-02-24 04:11:05 +10:00
parent 34be680a35
commit 8816322b85
7 changed files with 201 additions and 160 deletions

@ -1 +1 @@
Subproject commit 215d0f3c90865dd2c4c0d92d17e64513a0b0407e Subproject commit 5a5dcf0bd035d2adaaa27d28bb8ed1bd86260d59

View File

@ -19,6 +19,17 @@
INCLUDE 'src/bios/shared/includes.inc' ; Includes INCLUDE 'src/bios/shared/includes.inc' ; Includes
;--------------------------------------- ;---------------------------------------
LUA PASS1
local date, month, year = Get_date_RU(sj.get_define("__DATE__"))
BuildDate = "'" .. date .. "." .. month .. "." .. year .. "'"
sj.insert_define("BUILD_DATE", BuildDate)
ENDLUA
LUA ALLPASS
sj.insert_define("BUILD_DATE", BuildDate)
ENDLUA
IF PACKED_MAIN IF PACKED_MAIN
;------------[MAIN prebuild]------------; ;------------[MAIN prebuild]------------;
LUA PASS1 LUA PASS1
@ -126,8 +137,11 @@
OUTEND OUTEND
;--------------------------------------- ;---------------------------------------
; ;
EXPORT ID_Version ;EXPORT ID_Version
EXPORT FN_CRIPT.cnf
EXPORT ID_SPRINTER.BIOS_ver
EXPORT ID_SPRINTER.bitstream_ver EXPORT ID_SPRINTER.bitstream_ver
EXPORT BIOS_ver_hex
EXPORT bitstream_ver_hex EXPORT bitstream_ver_hex
EXPORT Disk_subsystem_ver_hex EXPORT Disk_subsystem_ver_hex
EXPORT EXP_ID.VER EXPORT EXP_ID.VER

View File

@ -207,25 +207,33 @@ NMI_Point:
; POP DE ; POP DE
; POP HL ; POP HL
; RET ; RET
;======================================= ;=======================================
; BLOCK MEM_MAP.ID_Version-$,0 ;#C0-$,0 ; BLOCK MEM_MAP.ID_Version-$,0 ;#C0-$,0
ID_Version: ID_Version:
dw bitstream_ver_hex ; Version of bitstream hex dw BIOS_ver_hex
ID_SPRINTER_length: ID_SPRINTER_length:
DB ID_SPRINTER.LENGTH DB ID_SPRINTER.LENGTH
ID_SPRINTER: ; § ¯¨áì 1 ID_SPRINTER: ; § ¯¨áì 1
DB 'Hardware v' DB 'Firmware v'
.bitstream_ver: DB bitstream_ver_string,0 .BIOS_ver: DB BIOS_ver_string,', '
IF DEBUG
DB 'BETA release'
ELSE
DB 'release ',BUILD_DATE
ENDIF
DB 0
; § ¯¨áì 2 ; § ¯¨áì 2
DB 'Sprinter',0 DB 'Sprinter',0
; § ¯¨áì 3
.bitstream_ver: DB bitstream_ver_string,0
DB 0 DB 0
; ;
.Records_Num EQU 3 .Records_Num EQU 3
.LENGTH EQU $-ID_SPRINTER .LENGTH EQU $-ID_SPRINTER
; Check for max length of string ; Check for max length of string
ASSERT ID_SPRINTER.LENGTH < #20, 'ERROR! ID String is to long!' ASSERT ID_SPRINTER.LENGTH < #40, 'ERROR! ID String is to long!'
;======================================= ;=======================================

View File

@ -96,6 +96,8 @@ FN_CRIPT:
POP DE POP DE
LD BC,.chip_ID_TXT.RecordSize LD BC,.chip_ID_TXT.RecordSize
LDIR LDIR
.cnf+1: LD DE,bitstream_ver_hex
AND A
RET RET
; ;
.choose_chip: .choose_chip:

View File

@ -410,9 +410,9 @@ INSTALL:
LD HL,memBUFFER.ID LD HL,memBUFFER.ID
LD A,COLORS.CGA.INC.LCYAN LD A,COLORS.CGA.INC.LCYAN
CALL CPRINTZ CALL CPRINTZ
LD HL,BUILD ; LD HL,BUILD
LD A,COLORS.CGA.INC.LCYAN ; LD A,COLORS.CGA.INC.LCYAN
CALL CPRINTZ ; CALL CPRINTZ
LD DE,#0128 ; !HARDCODE LD DE,#0128 ; !HARDCODE
CALL LP_SET_PLACE CALL LP_SET_PLACE
@ -444,8 +444,8 @@ INSTALL:
OUT (SLOT3),A OUT (SLOT3),A
RET RET
BUILD: ;BUILD:
db ', BIOS v', Disk_subsystem_ver_txt,0 ; !FIXIT ¬®¦¥â ¢®âª­ãâì ¢¬¥á⥠á msgStrings ? ; db ', BIOS v', Disk_subsystem_ver_txt,0 ; !FIXIT ¬®¦¥â ¢®âª­ãâì ¢¬¥á⥠á msgStrings ?
RSTID: DB "RESTART",0 RSTID: DB "RESTART",0
.size EQU $-RSTID .size EQU $-RSTID
@ -612,6 +612,11 @@ CHEKOK: ;CALL ScreenPOS.GET_CUR
CALL PIDBOARD CALL PIDBOARD
CALL ScreenPOS.CRLF CALL ScreenPOS.CRLF
LD A,msgStrings.spCNFver
CALL POSTMSG
CALL CNF_VER_PRINT
CALL ScreenPOS.CRLF
LD A,msgStrings.spMemory LD A,msgStrings.spMemory
CALL POSTMSG CALL POSTMSG
CALL EMM.GetMemSize CALL EMM.GetMemSize
@ -1142,6 +1147,16 @@ PIDBOARD:
LD A,E LD A,E
JP PRNHEX JP PRNHEX
CNF_VER_PRINT:
LD HL,memBUFFER.ID
IFN BIOS.FN_VERSION.STR.BitstreamVer = 0
LD BC,BIOS.FN_VERSION.STR.BitstreamVer*256
XOR A
.loop: CPIR
DJNZ .loop
ENDIF
JP PRINTZ
;PIDNUM LD A,#0D ;PIDNUM LD A,#0D
; LD HL,ID_BUFFER ; LD HL,ID_BUFFER
; LD BC,#0030 ; LD BC,#0030

View File

@ -26,15 +26,6 @@
end end
ENDLUA ENDLUA
LUA PASS1
local date, month, year = Get_date_RU(sj.get_define("__DATE__"))
BuildDate = "'" .. date .. "." .. month .. "." .. year .. "'"
sj.insert_define("BUILD_DATE", BuildDate)
ENDLUA
LUA ALLPASS
sj.insert_define("BUILD_DATE", BuildDate)
ENDLUA
;
LUA PASS1 LUA PASS1
SettingsTabsOrder = { SettingsTabsOrder = {
[1]={ [1]={
@ -515,7 +506,7 @@ tmp_Counter DEFL 0
msgStrings: msgStrings:
_mSetStr copyRightPeters, tmp_Counter : DZ 'Copyright (c) 2002 Peters Plus' _mSetStr copyRightPeters, tmp_Counter : DZ 'Copyright (c) 2002 Peters Plus'
_mSetStr copyRightSPTeam, tmp_Counter : DZ 'Copyright (c) 2009-', SPTeam_year, ' Sprinter Team' _mSetStr copyRightSPTeam, tmp_Counter : DZ 'Copyright (c) 2009-', SPTeam_year, ' Sprinter Team'
_mSetStr setupBiosVer, tmp_Counter : DZ 'Sprinter BIOS v', Disk_subsystem_ver_txt _mSetStr setupBiosVer, tmp_Counter : DZ 'Sprinter BIOS v', BIOS_ver_string
_mSetStr setupCopyRight, tmp_Counter : DZ 'Copyright (c) 2002 Peters Plus, (c) 2009-', SPTeam_year, ' Sprinter Team' _mSetStr setupCopyRight, tmp_Counter : DZ 'Copyright (c) 2002 Peters Plus, (c) 2009-', SPTeam_year, ' Sprinter Team'
_mSetStr setupUtilityVer, tmp_Counter : DZ 'SETUP Utility v', SetupVer _mSetStr setupUtilityVer, tmp_Counter : DZ 'SETUP Utility v', SetupVer
_mSetStr setupHelpStr1, tmp_Counter : DZ 'ESC : Quit F10 : Save & Exit Setup' _mSetStr setupHelpStr1, tmp_Counter : DZ 'ESC : Quit F10 : Save & Exit Setup'
@ -535,6 +526,7 @@ msgStrings:
_mSetStr ideSkiped, tmp_Counter : DZ 'Skipped ' _mSetStr ideSkiped, tmp_Counter : DZ 'Skipped '
_mSetStr ideFail, tmp_Counter : DZ 'Fail ' ; !FIXIT strFail _mSetStr ideFail, tmp_Counter : DZ 'Fail ' ; !FIXIT strFail
_mSetStr spModel, tmp_Counter : DZ 'Model name: ' _mSetStr spModel, tmp_Counter : DZ 'Model name: '
_mSetStr spCNFver, tmp_Counter : DZ 'Config. : '
_mSetStr spMemory, tmp_Counter : DZ 'Memory : ' _mSetStr spMemory, tmp_Counter : DZ 'Memory : '
_mSetStr cmosFound, tmp_Counter : DZ 'CMOS : Found' _mSetStr cmosFound, tmp_Counter : DZ 'CMOS : Found'
_mSetStr cmosNone, tmp_Counter : DZ 'CMOS : None' _mSetStr cmosNone, tmp_Counter : DZ 'CMOS : None'
@ -662,134 +654,135 @@ MSG_ENG.size EQU $-MSG_ENG
;================================================================================================================================== ;==================================================================================================================================
tmp_Counter = 0 tmp_Counter = 0
msgRusStrings: msgRusStrings:
_mSetStrRus copyRightPeters, tmp_Counter : DZ 'Copyright (c) 2002 Peters Plus' _mSetStrRus copyRightPeters, tmp_Counter : DZ 'Copyright (c) 2002 Peters Plus'
_mSetStrRus copyRightSPTeam, tmp_Counter : DZ 'Copyright (c) 2009-', SPTeam_year, ' Sprinter Team' _mSetStrRus copyRightSPTeam, tmp_Counter : DZ 'Copyright (c) 2009-', SPTeam_year, ' Sprinter Team'
_mSetStrRus setupBiosVer, tmp_Counter : DZ 'Sprinter BIOS v', Disk_subsystem_ver_txt _mSetStrRus setupBiosVer, tmp_Counter : DZ 'Sprinter BIOS v', BIOS_ver_string
_mSetStrRus setupCopyRight, tmp_Counter : DZ 'Copyright (c) 2002 Peters Plus, (c) 2009-', SPTeam_year, ' Sprinter Team' _mSetStrRus setupCopyRight, tmp_Counter : DZ 'Copyright (c) 2002 Peters Plus, (c) 2009-', SPTeam_year, ' Sprinter Team'
_mSetStrRus setupUtilityVer, tmp_Counter : DZ 'SETUP Utility v', SetupVer _mSetStrRus setupUtilityVer, tmp_Counter : DZ 'SETUP Utility v', SetupVer
_mSetStrRus setupHelpStr1, tmp_Counter : DZ 'ESC : ë©â¨ F10 : ®åà ­¨âì ¨ ¢ë©â¨' _mSetStrRus setupHelpStr1, tmp_Counter : DZ 'ESC : ë©â¨ F10 : ®åà ­¨âì ¨ ¢ë©â¨'
_mSetStrRus setupHelpStr2, tmp_Counter : DZ 'F2 : ®åà ­¨âì §­ ç¥­¨ï ',24,32,25,32,26,32,27,' : ë¡®à ¯ã­ªâ ' _mSetStrRus setupHelpStr2, tmp_Counter : DZ 'F2 : ®åà ­¨âì §­ ç¥­¨ï ',24,32,25,32,26,32,27,' : ë¡®à ¯ã­ªâ '
_mSetStrRus setupHelpStr3, tmp_Counter : DZ 'F5 : â àë¥ §­ ç¥­¨ï PU/PD/+/- : ˆ§¬¥­¥­¨¥' _mSetStrRus setupHelpStr3, tmp_Counter : DZ 'F5 : â àë¥ §­ ç¥­¨ï PU/PD/+/- : ˆ§¬¥­¥­¨¥'
_mSetStrRus setupHelpStr4, tmp_Counter : DZ 'F7 : ­ ç¥­¨ï ¯® 㬮«ç ­¨î F3 : ¢¥â  ' _mSetStrRus setupHelpStr4, tmp_Counter : DZ 'F7 : ­ ç¥­¨ï ¯® 㬮«ç ­¨î F3 : ¢¥â  '
_mSetStrRus toSetupButton, tmp_Counter : DZ '<DEL> ¤«ï ¢å®¤  ¢ SETUP' _mSetStrRus toSetupButton, tmp_Counter : DZ '<DEL> ¤«ï ¢å®¤  ¢ SETUP'
_mSetStrRus forAltBootButton, tmp_Counter : DZ '<ALT> ¤«ï «ìâ¥à­ â¨¢­®© § £à㧪¨' _mSetStrRus forAltBootButton, tmp_Counter : DZ '<ALT> ¤«ï «ìâ¥à­ â¨¢­®© § £à㧪¨'
_mSetStrRus cmosChecksumErr, tmp_Counter : DZ '<EFBFBD>ˆŒ<EFBFBD>ˆ! Ž˜ˆ<EFBFBD>Š ŠŽ<EFBFBD><EFBFBD>Žœ<EFBFBD>Ž ŒŒ CMOS, <EFBFBD>Ž<EFBFBD> <EFBFBD><EFBFBD>ˆŸ <EFBFBD>Ž ŒŽ<EFBFBD>ˆž' _mSetStrRus cmosChecksumErr, tmp_Counter : DZ '<EFBFBD>ˆŒ<EFBFBD>ˆ! Ž˜ˆ<EFBFBD>Š ŠŽ<EFBFBD><EFBFBD>Žœ<EFBFBD>Ž ŒŒ CMOS, <EFBFBD>Ž<EFBFBD> <EFBFBD><EFBFBD>ˆŸ <EFBFBD>Ž ŒŽ<EFBFBD>ˆž'
_mSetStrRus cmosDateTimeErr, tmp_Counter : DZ '<EFBFBD>ˆŒ<EFBFBD>ˆ! Ž˜ˆ<EFBFBD>Š /<EFBFBD>Œ<EFBFBD>ˆ CMOS, <EFBFBD>Ž<EFBFBD> <EFBFBD><EFBFBD>ˆŸ <EFBFBD>Ž ŒŽ<EFBFBD>ˆž' _mSetStrRus cmosDateTimeErr, tmp_Counter : DZ '<EFBFBD>ˆŒ<EFBFBD>ˆ! Ž˜ˆ<EFBFBD>Š /<EFBFBD>Œ<EFBFBD>ˆ CMOS, <EFBFBD>Ž<EFBFBD> <EFBFBD><EFBFBD>ˆŸ <EFBFBD>Ž ŒŽ<EFBFBD>ˆž'
_mSetStrRus detectIdePrMA, tmp_Counter : DZ ' Ž¯à¥¤¥«ï¥¬ <EFBFBD>¥à¢¨ç­ë© IDE Master ... [F4 ¤«ï ¯à®¯ã᪠] ' _mSetStrRus detectIdePrMA, tmp_Counter : DZ ' Ž¯à¥¤¥«ï¥¬ <EFBFBD>¥à¢¨ç­ë© IDE Master ... [F4 ¤«ï ¯à®¯ã᪠] '
_mSetStrRus detectIdePrSL, tmp_Counter : DZ ' Ž¯à¥¤¥«ï¥¬ <EFBFBD>¥à¢¨ç­ë© IDE Slave ... [F4 ¤«ï ¯à®¯ã᪠]' _mSetStrRus detectIdePrSL, tmp_Counter : DZ ' Ž¯à¥¤¥«ï¥¬ <EFBFBD>¥à¢¨ç­ë© IDE Slave ... [F4 ¤«ï ¯à®¯ã᪠]'
_mSetStrRus detectIdeSecMA, tmp_Counter : DZ ' Ž¯à¥¤¥«ï¥¬ â®à¨ç­ë© IDE Master ... [F4 ¤«ï ¯à®¯ã᪠]' _mSetStrRus detectIdeSecMA, tmp_Counter : DZ ' Ž¯à¥¤¥«ï¥¬ â®à¨ç­ë© IDE Master ... [F4 ¤«ï ¯à®¯ã᪠]'
_mSetStrRus detectIdeSecSL, tmp_Counter : DZ ' Ž¯à¥¤¥«ï¥¬ â®à¨ç­ë© IDE Slave ... [F4 ¤«ï ¯à®¯ã᪠]' _mSetStrRus detectIdeSecSL, tmp_Counter : DZ ' Ž¯à¥¤¥«ï¥¬ â®à¨ç­ë© IDE Slave ... [F4 ¤«ï ¯à®¯ã᪠]'
_mSetStrRus ideUnknown, tmp_Counter : DZ '<EFBFBD>¥¨§¢¥áâ­ë© ' _mSetStrRus ideUnknown, tmp_Counter : DZ '<EFBFBD>¥¨§¢¥áâ­ë© '
_mSetStrRus ideNone, tmp_Counter : DZ '<EFBFBD>¥â ' _mSetStrRus ideNone, tmp_Counter : DZ '<EFBFBD>¥â '
_mSetStrRus ideSkiped, tmp_Counter : DZ '<EFBFBD>யã饭 ' _mSetStrRus ideSkiped, tmp_Counter : DZ '<EFBFBD>யã饭 '
_mSetStrRus ideFail, tmp_Counter : DZ '<EFBFBD>¥ ®¯à¥¤¥«ñ­ ' _mSetStrRus ideFail, tmp_Counter : DZ '<EFBFBD>¥ ®¯à¥¤¥«ñ­ '
_mSetStrRus spModel, tmp_Counter : DZ 'Œ®¤¥«ì : ' _mSetStrRus spModel, tmp_Counter : DZ 'Œ®¤¥«ì : '
_mSetStrRus spMemory, tmp_Counter : DZ '<EFBFBD> ¬ïâì : ' _mSetStrRus spCNFver, tmp_Counter : DZ 'Š®­ä¨£. : '
_mSetStrRus cmosFound, tmp_Counter : DZ 'CMOS : <EFBFBD> ©¤¥­' _mSetStrRus spMemory, tmp_Counter : DZ '<EFBFBD> ¬ïâì : '
_mSetStrRus cmosNone, tmp_Counter : DZ 'CMOS : <EFBFBD>¥â' _mSetStrRus cmosFound, tmp_Counter : DZ 'CMOS : <EFBFBD> ©¤¥­'
_mSetStrRus memoryAvailable, tmp_Counter : DZ '®áâ㯭® : ' _mSetStrRus cmosNone, tmp_Counter : DZ 'CMOS : <EFBFBD>¥â'
; _mSetStrRus unknownSTR1, tmp_Counter : DZ '7" _mSetStrRus memoryAvailable, tmp_Counter : DZ '®áâ㯭® : '
; _mSetStrRus unknownSTR2, tmp_Counter : DZ '8" ; _mSetStrRus unknownSTR1, tmp_Counter : DZ '7'
_mSetStrRus boardID, tmp_Counter : DZ 'ID ¯« âë : ' ; _mSetStrRus unknownSTR2, tmp_Counter : DZ '8'
_mSetStrRus bootFdd, tmp_Counter : DZ ' ¯ãáª á ¤¨áª¥âë' _mSetStrRus boardID, tmp_Counter : DZ 'ID ¯« âë : '
_mSetStrRus bootHdd, tmp_Counter : DZ ' ¯ã᪠á HDD ' _mSetStrRus bootFdd, tmp_Counter : DZ ' ¯ãáª á ¤¨áª¥âë'
_mSetStrRus bootCd, tmp_Counter : DZ ' ¯ã᪠á CD-ROM ' _mSetStrRus bootHdd, tmp_Counter : DZ ' ¯ã᪠á HDD '
_mSetStrRus bootRamDrv, tmp_Counter : DZ ' ¯ã᪠á RAM ¤¨áª ' _mSetStrRus bootCd, tmp_Counter : DZ ' ¯ã᪠á CD-ROM '
_mSetStrRus bootRecovery, tmp_Counter : DZ ' ¯ã᪠¢®ááâ ­®¢«¥­¨ï' _mSetStrRus bootRamDrv, tmp_Counter : DZ ' ¯ã᪠á RAM ¤¨áª '
_mSetStrRus bootAltDrv, tmp_Counter : DZ '«ìâ¥à­ â¨¢­ë© ' _mSetStrRus bootRecovery, tmp_Counter : DZ ' ¯ã᪠¢®ááâ ­®¢«¥­¨ï'
_mSetStrRus bootFail, tmp_Counter : DZ ' ­¥¢®§¬®¦¥­' _mSetStrRus bootAltDrv, tmp_Counter : DZ '«ìâ¥à­ â¨¢­ë© '
_mSetStrRus bootOk, tmp_Counter : DZ ' OK' _mSetStrRus bootFail, tmp_Counter : DZ ' ­¥¢®§¬®¦¥­'
_mSetStrRus afterBootFail, tmp_Counter : DZ '<EFBFBD>Œˆ <ENTER> Ÿ <EFBFBD><EFBFBD>ƒ<EFBFBD>Šˆ, <DEL> Ÿ <EFBFBD><EFBFBD>ŽŠ ˆˆ <ESC> Ÿ ZX-MODE . . .' _mSetStrRus bootOk, tmp_Counter : DZ ' OK'
_mSetStrRus afterBootFail, tmp_Counter : DZ '<EFBFBD>Œˆ <ENTER> Ÿ <EFBFBD><EFBFBD>ƒ<EFBFBD>Šˆ, <DEL> Ÿ <EFBFBD><EFBFBD>ŽŠ ˆˆ <ESC> Ÿ ZX-MODE . . .'
; ;
_mSetStrRus parLang, tmp_Counter : DZ 'Ÿ§ëª (Language) : ' _mSetStrRus parLang, tmp_Counter : DZ 'Ÿ§ëª (Language) : '
_mSetStrRus valLangEng, tmp_Counter : DZ 'English ' _mSetStrRus valLangEng, tmp_Counter : DZ 'English '
_mSetStrRus valLangRus, tmp_Counter : DZ '<EFBFBD>ãá᪨© ' _mSetStrRus valLangRus, tmp_Counter : DZ '<EFBFBD>ãá᪨© '
_mSetStrRus parMemTest, tmp_Counter : DZ '¥áâ¨à®¢ ­¨¥ ¯ ¬ï⨠: ' _mSetStrRus parMemTest, tmp_Counter : DZ '¥áâ¨à®¢ ­¨¥ ¯ ¬ï⨠: '
_mSetStrRus valDisabled, tmp_Counter : DZ 'Žâª«î祭®' _mSetStrRus valDisabled, tmp_Counter : DZ 'Žâª«î祭®'
_mSetStrRus valEnabled, tmp_Counter : DZ 'ª«î祭® ' _mSetStrRus valEnabled, tmp_Counter : DZ 'ª«î祭® '
_mSetStrRus parSaveRAMdrvs, tmp_Counter : DZ '®åà ­¥­¨¥ RAM-¤¨áª®¢ : ' _mSetStrRus parSaveRAMdrvs, tmp_Counter : DZ '®åà ­¥­¨¥ RAM-¤¨áª®¢ : '
_mSetStrRus parUpdBios, tmp_Counter : DZ 'Ž¡­®¢«¥­¨¥ BIOS : ' _mSetStrRus parUpdBios, tmp_Counter : DZ 'Ž¡­®¢«¥­¨¥ BIOS : '
_mSetStrRus parStartDelay, tmp_Counter : DZ '<EFBFBD> ç «ì­®¥ ®¦¨¤ ­¨¥ : ' _mSetStrRus parStartDelay, tmp_Counter : DZ '<EFBFBD> ç «ì­®¥ ®¦¨¤ ­¨¥ : '
_mSetStrRus valNormal, tmp_Counter : DZ 'Ž¡ëç­®¥ ' _mSetStrRus valNormal, tmp_Counter : DZ 'Ž¡ëç­®¥ '
_mSetStrRus parTypRate, tmp_Counter : DZ 'ª®à®áâì  ¢â®¯®¢â®à  : ' _mSetStrRus parTypRate, tmp_Counter : DZ 'ª®à®áâì  ¢â®¯®¢â®à  : '
_mSetStrRus val_6, tmp_Counter : DZ '6 ' _mSetStrRus val_6, tmp_Counter : DZ '6 '
_mSetStrRus val_8, tmp_Counter : DZ '8 ' _mSetStrRus val_8, tmp_Counter : DZ '8 '
_mSetStrRus val_10, tmp_Counter : DZ '10' _mSetStrRus val_10, tmp_Counter : DZ '10'
_mSetStrRus val_12, tmp_Counter : DZ '12' _mSetStrRus val_12, tmp_Counter : DZ '12'
_mSetStrRus val_15, tmp_Counter : DZ '15' _mSetStrRus val_15, tmp_Counter : DZ '15'
_mSetStrRus val_20, tmp_Counter : DZ '20' _mSetStrRus val_20, tmp_Counter : DZ '20'
_mSetStrRus val_24, tmp_Counter : DZ '24' _mSetStrRus val_24, tmp_Counter : DZ '24'
_mSetStrRus val_30, tmp_Counter : DZ '30' _mSetStrRus val_30, tmp_Counter : DZ '30'
_mSetStrRus parTypDelay, tmp_Counter : DZ ' ¤¥à¦ª   ¢â®¯®¢â®à  (Œá¥ª): ' _mSetStrRus parTypDelay, tmp_Counter : DZ ' ¤¥à¦ª   ¢â®¯®¢â®à  (Œá¥ª): '
_mSetStrRus val_250, tmp_Counter : DZ '250 ' _mSetStrRus val_250, tmp_Counter : DZ '250 '
_mSetStrRus val_500, tmp_Counter : DZ '500 ' _mSetStrRus val_500, tmp_Counter : DZ '500 '
_mSetStrRus val_750, tmp_Counter : DZ '750 ' _mSetStrRus val_750, tmp_Counter : DZ '750 '
_mSetStrRus val_1000, tmp_Counter : DZ '1000' _mSetStrRus val_1000, tmp_Counter : DZ '1000'
_mSetStrRus parRebootMsg, tmp_Counter : DZ '®®¡é¥­¨¥ ® ¯¥à¥§ £à㧪¥ : ' _mSetStrRus parRebootMsg, tmp_Counter : DZ '®®¡é¥­¨¥ ® ¯¥à¥§ £à㧪¥ : '
_mSetStrRus parSysDsk, tmp_Counter : DZ '¨á⥬­ë© ¤¨áª : ' _mSetStrRus parSysDsk, tmp_Counter : DZ '¨á⥬­ë© ¤¨áª : '
_mSetStrRus val1stFDD, tmp_Counter : DZ '1-ë© FDD' _mSetStrRus val1stFDD, tmp_Counter : DZ '1-ë© FDD'
_mSetStrRus val2ndFDD, tmp_Counter : DZ '2-®© FDD' _mSetStrRus val2ndFDD, tmp_Counter : DZ '2-®© FDD'
_mSetStrRus val1stIDE, tmp_Counter : DZ '1-ë© IDE' _mSetStrRus val1stIDE, tmp_Counter : DZ '1-ë© IDE'
_mSetStrRus val2ndIDE, tmp_Counter : DZ '2-®© IDE' _mSetStrRus val2ndIDE, tmp_Counter : DZ '2-®© IDE'
_mSetStrRus val3rdIDE, tmp_Counter : DZ '3-¨© IDE' _mSetStrRus val3rdIDE, tmp_Counter : DZ '3-¨© IDE'
_mSetStrRus val4thIDE, tmp_Counter : DZ '4-ë© IDE' _mSetStrRus val4thIDE, tmp_Counter : DZ '4-ë© IDE'
_mSetStrRus valRamDsk, tmp_Counter : DZ 'RAM-DISK' _mSetStrRus valRamDsk, tmp_Counter : DZ 'RAM-DISK'
_mSetStrRus valRecovery, tmp_Counter : DZ 'RECOVERY' _mSetStrRus valRecovery, tmp_Counter : DZ 'RECOVERY'
_mSetStrRus parAltSysDsk, tmp_Counter : DZ '«â. ¨á⥬­ë© ¤¨áª : ' _mSetStrRus parAltSysDsk, tmp_Counter : DZ '«â. ¨á⥬­ë© ¤¨áª : '
_mSetStrRus parFddFirst, tmp_Counter : DZ 'FDD ¯¥à¢ë© : ' _mSetStrRus parFddFirst, tmp_Counter : DZ 'FDD ¯¥à¢ë© : '
_mSetStrRus valAuto, tmp_Counter : DZ '¢â® ' _mSetStrRus valAuto, tmp_Counter : DZ '¢â® '
; _mSetStrRus val720, tmp_Counter : DZ '720K ' ; _mSetStrRus val720, tmp_Counter : DZ '720K '
; _mSetStrRus val1440, tmp_Counter : DZ '1.44M ' ; _mSetStrRus val1440, tmp_Counter : DZ '1.44M '
_mSetStrRus valDash6, tmp_Counter : DZ '------' _mSetStrRus valDash6, tmp_Counter : DZ '------'
_mSetStrRus parFddSecond, tmp_Counter : DZ 'FDD ¢â®à®© : ' _mSetStrRus parFddSecond, tmp_Counter : DZ 'FDD ¢â®à®© : '
_mSetStrRus parPriIdeMA, tmp_Counter : DZ 'Primary IDE Master',#FF,' : ' _mSetStrRus parPriIdeMA, tmp_Counter : DZ 'Primary IDE Master',#FF,' : '
_mSetStrRus valSetup, tmp_Counter : DZ 'Setup ' _mSetStrRus valSetup, tmp_Counter : DZ 'Setup '
_mSetStrRus valCdRom, tmp_Counter : DZ 'CD-ROM' _mSetStrRus valCdRom, tmp_Counter : DZ 'CD-ROM'
_mSetStrRus parPriIdeSl, tmp_Counter : DZ 'Primary IDE Slave',#FF,' : ' _mSetStrRus parPriIdeSl, tmp_Counter : DZ 'Primary IDE Slave',#FF,' : '
_mSetStrRus parSecIdeMA, tmp_Counter : DZ 'Secondary IDE Master',#FF,' : ' _mSetStrRus parSecIdeMA, tmp_Counter : DZ 'Secondary IDE Master',#FF,' : '
_mSetStrRus parSecIdeSl, tmp_Counter : DZ 'Secondary IDE Slave',#FF,' : ' _mSetStrRus parSecIdeSl, tmp_Counter : DZ 'Secondary IDE Slave',#FF,' : '
IF HDDwriteProtect IF HDDwriteProtect
_mSetStrRus parHddWrPr, tmp_Counter : DZ ' é¨â  § ¯¨á¨ ­  HDD : ' _mSetStrRus parHddWrPr, tmp_Counter : DZ ' é¨â  § ¯¨á¨ ­  HDD : '
ENDIF ENDIF
_mSetStrRus parScreenY, tmp_Counter : DZ '¤¢¨£ íªà ­  ¯® Y : ' _mSetStrRus parScreenY, tmp_Counter : DZ '¤¢¨£ íªà ­  ¯® Y : '
_mSetStrRus valMinus7, tmp_Counter : DZ '-7' _mSetStrRus valMinus7, tmp_Counter : DZ '-7'
_mSetStrRus valMinus6, tmp_Counter : DZ '-6' _mSetStrRus valMinus6, tmp_Counter : DZ '-6'
_mSetStrRus valMinus5, tmp_Counter : DZ '-5' _mSetStrRus valMinus5, tmp_Counter : DZ '-5'
_mSetStrRus valMinus4, tmp_Counter : DZ '-4' _mSetStrRus valMinus4, tmp_Counter : DZ '-4'
_mSetStrRus valMinus3, tmp_Counter : DZ '-3' _mSetStrRus valMinus3, tmp_Counter : DZ '-3'
_mSetStrRus valMinus2, tmp_Counter : DZ '-2' _mSetStrRus valMinus2, tmp_Counter : DZ '-2'
_mSetStrRus valMinus1, tmp_Counter : DZ '-1' _mSetStrRus valMinus1, tmp_Counter : DZ '-1'
_mSetStrRus val_0, tmp_Counter : DZ ' 0' _mSetStrRus val_0, tmp_Counter : DZ ' 0'
_mSetStrRus valPlus1, tmp_Counter : DZ '+1' _mSetStrRus valPlus1, tmp_Counter : DZ '+1'
_mSetStrRus valPlus2, tmp_Counter : DZ '+2' _mSetStrRus valPlus2, tmp_Counter : DZ '+2'
_mSetStrRus valPlus3, tmp_Counter : DZ '+3' _mSetStrRus valPlus3, tmp_Counter : DZ '+3'
_mSetStrRus valPlus4, tmp_Counter : DZ '+4' _mSetStrRus valPlus4, tmp_Counter : DZ '+4'
_mSetStrRus valPlus5, tmp_Counter : DZ '+5' _mSetStrRus valPlus5, tmp_Counter : DZ '+5'
_mSetStrRus valPlus6, tmp_Counter : DZ '+6' _mSetStrRus valPlus6, tmp_Counter : DZ '+6'
_mSetStrRus valPlus7, tmp_Counter : DZ '+7' _mSetStrRus valPlus7, tmp_Counter : DZ '+7'
_mSetStrRus parScreenX, tmp_Counter : DZ '¤¢¨£ íªà ­  ¯® X : ' _mSetStrRus parScreenX, tmp_Counter : DZ '¤¢¨£ íªà ­  ¯® X : '
_mSetStrRus parFrameInt, tmp_Counter : DZ 'Š ¤à®¢®¥ ¯à¥à뢠­¨¥ : ' _mSetStrRus parFrameInt, tmp_Counter : DZ 'Š ¤à®¢®¥ ¯à¥à뢠­¨¥ : '
_mSetStrRus valDash8, tmp_Counter : DZ '--------' _mSetStrRus valDash8, tmp_Counter : DZ '--------'
_mSetStrRus valScorpion, tmp_Counter : DZ 'ª®à¯¨®­' _mSetStrRus valScorpion, tmp_Counter : DZ 'ª®à¯¨®­'
_mSetStrRus valPentagon, tmp_Counter : DZ '<EFBFBD>¥­â £®­' _mSetStrRus valPentagon, tmp_Counter : DZ '<EFBFBD>¥­â £®­'
_mSetStrRus valSpectrum, tmp_Counter : DZ '¯¥ªâàã¬' _mSetStrRus valSpectrum, tmp_Counter : DZ '¯¥ªâàã¬'
_mSetStrRus parVSync, tmp_Counter : DZ '¥àâ. ᨭåà®­¨§ æ¨ï : ' _mSetStrRus parVSync, tmp_Counter : DZ '¥àâ. ᨭåà®­¨§ æ¨ï : '
_mSetStrRus val312_50, tmp_Counter : DZ '312/50ľ' _mSetStrRus val312_50, tmp_Counter : DZ '312/50ľ'
_mSetStrRus val320_49, tmp_Counter : DZ '320/49ľ' _mSetStrRus val320_49, tmp_Counter : DZ '320/49ľ'
_mSetStrRus parQuickStartROM, tmp_Counter : DZ '<EFBFBD>ëáâàë© § ¯ã᪠<EFBFBD> : ' _mSetStrRus parQuickStartROM, tmp_Counter : DZ '<EFBFBD>ëáâàë© § ¯ã᪠<EFBFBD> : '
_mSetStrRus parTrDosA, tmp_Counter : DZ 'TR DOS A:> : ' _mSetStrRus parTrDosA, tmp_Counter : DZ 'TR DOS A:> : '
_mSetStrRus valDefault, tmp_Counter : DZ '<EFBFBD>® 㬮«ç ­¨î' _mSetStrRus valDefault, tmp_Counter : DZ '<EFBFBD>® 㬮«ç ­¨î'
_mSetStrRus valFDD, tmp_Counter : DZ 'FDD ' _mSetStrRus valFDD, tmp_Counter : DZ 'FDD '
_mSetStrRus valHDD, tmp_Counter : DZ 'HDD ' _mSetStrRus valHDD, tmp_Counter : DZ 'HDD '
_mSetStrRus parTrDosB, tmp_Counter : DZ 'TR DOS B:> : ' _mSetStrRus parTrDosB, tmp_Counter : DZ 'TR DOS B:> : '
_mSetStrRus parTrDosC, tmp_Counter : DZ 'TR DOS C:> : ' _mSetStrRus parTrDosC, tmp_Counter : DZ 'TR DOS C:> : '
_mSetStrRus parTrDosD, tmp_Counter : DZ 'TR DOS D:> : ' _mSetStrRus parTrDosD, tmp_Counter : DZ 'TR DOS D:> : '
IF NEW_FEATURE IF NEW_FEATURE
_mSetStrRus parSetTime, tmp_Counter : DZ ' â  ¨ ¢à¥¬ï : ' _mSetStrRus parSetTime, tmp_Counter : DZ ' â  ¨ ¢à¥¬ï : '
_mSetStrRus valFolder, tmp_Counter : DB 16,'Ž',17,0 _mSetStrRus valFolder, tmp_Counter : DB 16,'Ž',17,0
ENDIF ENDIF
IF DEBUG IF DEBUG
_mSetStrRus testBIOSmsg, tmp_Counter : DZ '¥á⮢ ï ᡮઠ! ',BUILD_DATE,', ',__TIME__ _mSetStrRus testBIOSmsg, tmp_Counter : DZ '¥á⮢ ï ᡮઠ! ',BUILD_DATE,', ',__TIME__
ENDIF ENDIF
; ;
MSG_RUS: MSG_RUS:

View File

@ -1,34 +1,43 @@
;============[For EXP part]============= ;============[For EXP part]=============
;---[Version of bitstream "VER.MOD"]---- ;---[Version of bitstream "VER.MOD"]----
MODULE EXP_ID EXP_ID:
VER EQU 3 ; <EFBFBD>®¬¥à ¢¥àᨨ ¬¥­ïâì âãâ! .VER EQU 3 ; <EFBFBD>®¬¥à ¢¥àᨨ ¬¥­ïâì âãâ!
MOD EQU 05 ; <EFBFBD>®¬¥à ¢¥àᨨ ¬¥­ïâì âãâ! .MOD EQU 05 ; <EFBFBD>®¬¥à ¢¥àᨨ ¬¥­ïâì âãâ!
ENDMODULE BIOS_ver_hex EQU EXP_ID.VER*256+EXP_ID.MOD
bitstream_ver_hex EQU EXP_ID.VER*256+EXP_ID.MOD
DEFINE bitstream_ver_string '0'+EXP_ID.VER, '.', '0'+EXP_ID.MOD/10, '0'+EXP_ID.MOD-(EXP_ID.MOD/10)*10 DEFINE BIOS_ver_string '0'+EXP_ID.VER, '.', '0'+EXP_ID.MOD/10, '0'+EXP_ID.MOD-(EXP_ID.MOD/10)*10
;--------------------------------------- ;---------------------------------------
; DEFINE Sp_MB_Ver '2000' ; DEFINE Sp_MB_Ver '2000'
DEFINE BoardID_start #5283 DEFINE BoardID_start #5283
DEFINE BoardID_end #47E8 DEFINE BoardID_end #47E8
DEFINE MotherBoardID #0000 DEFINE MotherBoardID #0000
;======================================= ;=======================================
;============[For ROM part]============= ;============[For ROM part]=============
;-[Version of disk subsystem "VER.MOD"]- ;-[Version of disk subsystem "VER.MOD"]-
MODULE ROM_ID ROM_ID:
VER EQU 2 ; <EFBFBD>®¬¥à ¢¥àᨨ ¬¥­ïâì âãâ! .VER EQU 2 ; <EFBFBD>®¬¥à ¢¥àᨨ ¬¥­ïâì âãâ!
MOD EQU 55 ; <EFBFBD>®¬¥à ¢¥àᨨ ¬¥­ïâì âãâ! .MOD EQU 55 ; <EFBFBD>®¬¥à ¢¥àᨨ ¬¥­ïâì âãâ!
ENDMODULE Disk_subsystem_ver_hex EQU ROM_ID.VER*256+ROM_ID.MOD
Disk_subsystem_ver_hex EQU ROM_ID.VER*256+ROM_ID.MOD
DEFINE Disk_subsystem_ver_txt '0'+ROM_ID.VER, '.', '0'+ROM_ID.MOD/10, '0'+ROM_ID.MOD-(ROM_ID.MOD/10)*10 DEFINE Disk_subsystem_ver_txt '0'+ROM_ID.VER, '.', '0'+ROM_ID.MOD/10, '0'+ROM_ID.MOD-(ROM_ID.MOD/10)*10
;--------------------------------------- ;---------------------------------------
;============[For CNF part]=============
CNF_ID:
.VER EQU 3 ; <EFBFBD>®¬¥à ¢¥àᨨ ¬¥­ïâì âãâ!
.MOD EQU 05 ; <EFBFBD>®¬¥à ¢¥àᨨ ¬¥­ïâì âãâ!
bitstream_ver_hex EQU CNF_ID.VER*256+CNF_ID.MOD
DEFINE bitstream_ver_string '0'+CNF_ID.VER, '.', '0'+CNF_ID.MOD/10, '0'+CNF_ID.MOD-(CNF_ID.MOD/10)*10
;---------------------------------------
;=======================================
DEFINE SPTeam_year '2024' DEFINE SPTeam_year '2024'
DEFINE SetupVer '1.60' DEFINE SetupVer '1.60'
;======================================= ;---------------------------------------
;