Skip to content

Commit

Permalink
move boot msg to INITDATA, re-add lDOS repo string
Browse files Browse the repository at this point in the history
  • Loading branch information
boeckmann committed Aug 24, 2024
1 parent e3648e7 commit e09bc11
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 14 deletions.
4 changes: 2 additions & 2 deletions drbio/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,9 @@ bin/drbio.bin : bin/drbio.exe
bin/drbio.exe : $(objs) drbio.lnk
$(WLINK) @drbio.lnk

bin/biosmsgs.obj: biosmsgs.asm version.inc
bin/biosmsgs.obj: biosmsgs.asm

bin/init.obj: init.asm drmacros.equ ibmros.equ msdos.equ request.equ bpb.equ udsc.equ driver.equ keys.equ biosmsgs.def
bin/init.obj: init.asm drmacros.equ ibmros.equ msdos.equ request.equ bpb.equ udsc.equ driver.equ keys.equ biosmsgs.def version.inc

bin/clock.obj: clock.asm drmacros.equ ibmros.equ request.equ driver.equ

Expand Down
8 changes: 0 additions & 8 deletions drbio/biosmsgs.asm
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
include version.inc

NUL equ 0
BS equ 8
TAB equ 9
Expand All @@ -26,12 +24,6 @@ _disk_msgB db ": and", CR, LF, " strike any key when ready", CR, LF, LF, NUL
div_by_zero_msg label byte
_div_by_zero_msg db CR, LF, "Divide Error", CR, LF, NUL

public kernel_ver_msg
kernel_ver_msg db KERNEL_VER_STR, 0

public repository_msg
repository_msg db REPOSITORY_STR, 0

RCODE ends


Expand Down
2 changes: 0 additions & 2 deletions drbio/biosmsgs.def
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,3 @@
extrn disk_msgB : byte
extrn _div_by_zero_msg : byte
extrn div_by_zero_msg : byte
extrn kernel_ver_msg : byte
extern repository_msg : byte
5 changes: 4 additions & 1 deletion drbio/init.asm
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
include udsc.equ
include driver.equ
include keys.equ ; common key definitions

include version.inc

ENDCODE segment public byte 'ENDCODE'
ENDCODE ends
Expand Down Expand Up @@ -1162,6 +1162,9 @@ IFDEF EMBEDDED
endif
dw 0

kernel_ver_msg db KERNEL_VER_STR, 0
repository_msg db REPOSITORY_STR, 0

INITDATA ends

CODE segment
Expand Down
6 changes: 5 additions & 1 deletion version.inc
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,12 @@ else
COMMIT textequ GIT_REV
endif

KERNEL_VER_STR textequ <13, 10, "Enhanced DR-DOS kernel >, VERSION, < (git rev >, COMMIT, <) [built >, @date, < >, @time , <]", 13, 10>
KERNEL_VER_STR textequ <13, 10, "Enhanced DR-DOS kernel >, VERSION, < (rev >, COMMIT, <) [built >, @date, < >, @time , <]", 13, 10>
ifdef LDOS
REPOSITORY_STR textequ <"source and licensing conditions available at https://hg.pushbx.org/ecm/edrdos", 13, 10>
else
REPOSITORY_STR textequ <"source and licensing conditions available at https://github.com/SvarDOS/edrdos", 13, 10>
endif

; used by command.com
SYSNAME_STR textequ <'Enhanced DR-DOS based on Caldera OpenDOS 7.01'>
Expand Down

0 comments on commit e09bc11

Please sign in to comment.