changeset 493:d05e9232c3a2

Basic09 disk now has ReadMe and install scripts
author boisy
date Wed, 09 Oct 2002 15:09:52 +0000
parents 55c11462fb10
children c13f2b782baa
files 3rdparty/packages/basic09/ReadMe 3rdparty/packages/basic09/install6309 3rdparty/packages/basic09/install6809 3rdparty/packages/basic09/makefile
diffstat 4 files changed, 66 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/3rdparty/packages/basic09/ReadMe	Wed Oct 09 15:09:52 2002 +0000
@@ -0,0 +1,12 @@
+INSTALLATION
+============
+The installation scripts assume that /DD/CMDS is the target directory.
+If this is not the case for your system, then edit the scripts accordingly.
+
+To install Basic09 for the 6809, type:
+
+	chd /d0; install6809
+
+For 6309 installation, type:
+
+	chd /d0; install6309
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/3rdparty/packages/basic09/install6309	Wed Oct 09 15:09:52 2002 +0000
@@ -0,0 +1,17 @@
+-x
+* Installs 6309 modules to /DD/CMDS
+*
+* Deleting old objects from /DD/CMDS, if any
+del /DD/CMDS/runb
+del /DD/CMDS/basic09
+del /DD/CMDS/gfx
+del /DD/CMDS/inkey
+del /DD/CMDS/syscall
+* Copying commands to /DD/CMDS
+copy CMDS/basic09_6309 /DD/CMDS/basic09
+copy CMDS/runb_6309 /DD/CMDS/runb
+copy CMDS/gfx /DD/CMDS/gfx
+copy CMDS/inkey /DD/CMDS/inkey
+copy CMDS/syscall_6309 /DD/CMDS/syscall
+* All Done!
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/3rdparty/packages/basic09/install6809	Wed Oct 09 15:09:52 2002 +0000
@@ -0,0 +1,17 @@
+-x
+* Installs 6809 modules to /DD/CMDS
+*
+* Deleting old objects from /DD/CMDS, if any
+del /DD/CMDS/runb
+del /DD/CMDS/basic09
+del /DD/CMDS/gfx
+del /DD/CMDS/inkey
+del /DD/CMDS/syscall
+* Copying commands to /DD/CMDS
+copy CMDS/basic09_6809 /DD/CMDS/basic09
+copy CMDS/runb_6809 /DD/CMDS/runb
+copy CMDS/gfx /DD/CMDS/gfx
+copy CMDS/inkey /DD/CMDS/inkey
+copy CMDS/syscall_6809 /DD/CMDS/syscall
+* All Done!
+
--- a/3rdparty/packages/basic09/makefile	Wed Oct 09 14:49:46 2002 +0000
+++ b/3rdparty/packages/basic09/makefile	Wed Oct 09 15:09:52 2002 +0000
@@ -1,14 +1,22 @@
 include ../../../Makefile.rules
 
+DISK	= basic09.dsk
+
 # NitrOS-9
 H6309		= $(AFLAGS) -aH6309=1
 # Non-NitrOS-9
 M6809		= $(AFLAGS)
 
 DEPENDS		= ./Makefile
-ALLOBJS		= basic09_6809 basic09_6309 runb_6809 runb_6309 gfx inkey syscall_6809 syscall_6309
+
+TXTFILES	= ReadMe install6809 install6309
+OBJS		= gfx inkey
+OBJS6809	= basic09_6809 runb_6809 syscall_6809
+OBJS6309	= basic09_6309 runb_6309 syscall_6309
+ALLOBJS		= $(OBJS) $(OBJS6809) $(OBJS6309)
 
 all:	$(ALLOBJS) $(DEPENDS)
+	$(UNIX2OS9) $(TXTFILES)
 
 basic09_6309: basic09.asm
 	$(AS) $(ASOUT)$@ $< $(H6309)
@@ -28,6 +36,16 @@
 syscall_6309: syscall.asm
 	$(AS) $(ASOUT)$@ $< $(H6309)
 
-clean:
+clean: dskclean
 	$(RM) $(ALLOBJS)
+	$(OS92UNIX) $(TXTFILES)
 
+dsk:	all
+	$(RM) $(DISK)
+	$(OS9FORMAT) $(DISK) -n"Basic09"
+	$(MAKDIR) $(DISK):CMDS
+	$(CP) $(ALLOBJS) $(DISK):CMDS
+	$(CP) $(TXTFILES) $(DISK):.
+
+dskclean:
+	-$(RM) $(DISK)