Skip to content

Commit

Permalink
add si_ver.mac
Browse files Browse the repository at this point in the history
  • Loading branch information
kg68k committed Mar 19, 2022
1 parent 9f5a217 commit a985e0a
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 9 deletions.
4 changes: 3 additions & 1 deletion src/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ $(SI_ZIP): $(SRC_ZIP) $(SI_TXT) $(SI_R)
rm -f $@
zip -9 $@ $^

$(SRC_ZIP): Makefile si.mac $(SRCS)
$(SRC_ZIP): Makefile si.mac si_ver.mac $(SRCS)
rm -f $@
zip -9 $@ $^

Expand All @@ -41,6 +41,8 @@ $(SI_R): $(OBJS)
$(SI_X): $(OBJS)
$(LD) $(LDFLAGS) -o $@ $(OBJS)

si.o: si.s si_ver.mac

%.o: %.s si.mac
$(AS) $(ASFLAGS) $<

Expand Down
13 changes: 5 additions & 8 deletions src/si.s
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
.title X680x0 System Information Extended Edition


VERSION: .reg '4.00'
DATE: .reg '2022-03-12'


* Include File -------------------------------- *

.include fefunc.mac
Expand All @@ -13,6 +9,7 @@ DATE: .reg '2022-03-12'
.include scsicall.mac

.include si.mac
.include si_ver.mac


* Global Symbol ------------------------------- *
Expand Down Expand Up @@ -697,8 +694,8 @@ print_si_version:
rts


si_ver_mes: .dc.b 'System Information : Extended Edition version ',VERSION
.dc.b ' (',DATE,')'
si_ver_mes: .dc.b 'System Information : Extended Edition version ',SIEE_VERSION
.dc.b ' (',SIEE_DATE,')'
.dc.b LF,0
.even

Expand Down Expand Up @@ -5282,7 +5279,7 @@ long_opt_table2:
license_mes:
.dc.b LF
.dc.b ' System Information (Si)',LF
.dc.b ' Modified Version ',VERSION,LF
.dc.b ' Modified Version ',SIEE_VERSION,LF
.dc.b LF
.dc.b 'Copyright (C)1992-1993 Misao.Satake',LF
.dc.b 'Copyright (C)1993-1997 Tatsuya.Tsuyuzaki',LF
Expand All @@ -5295,7 +5292,7 @@ title_mes:
.dc.b LF
.dc.b 'X680x0 '
version_mes:
.dc.b 'System Information Extended Edition version ',VERSION
.dc.b 'System Information Extended Edition version ',SIEE_VERSION
.dc.b LF,0

usage_mes:
Expand Down
2 changes: 2 additions & 0 deletions src/si_ver.mac
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
SIEE_VERSION: .reg '4.01'
SIEE_DATE: .reg '2022-03-20'

0 comments on commit a985e0a

Please sign in to comment.