changeset 2629:65b1b5c80fec

Added bootfiles folder
author Boisy Pitre <boisy.pitre@nuance.com>
date Sun, 26 Feb 2012 07:35:52 -0600
parents 3160f7080691
children e310e8613606
files level1/atari/bootfiles/makefile level1/atari/bootroms/liber809.asm level1/atari/bootroms/makefile level1/atari/makefile level1/atari/modules/dw3.asm level1/atari/modules/dwread.asm level1/atari/modules/dwwrite.asm
diffstat 7 files changed, 74 insertions(+), 285 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/level1/atari/bootfiles/makefile	Sun Feb 26 07:35:52 2012 -0600
@@ -0,0 +1,39 @@
+PORT = atari
+include $(NITROS9DIR)/rules.mak
+
+# Module directory
+MD		= ../modules
+# Commands directory
+CD		= ../cmds
+
+DEPENDS		= ./makefile
+
+BOOTFILE_P1 = $(MD)/krnp2 $(MD)/init \
+		$(MD)/ioman $(MD)/scf.mn $(MD)/vtio.dr $(MD)/term.dt \
+		$(MD)/sysgo \
+		$(MD)/clock_60hz $(MD)/clock2_soft \
+		$(MD)/krn
+
+BOOTFILE_P2 = $(MD)/rbf.mn $(MD)/rbdw3.dr \
+		$(MD)/x0.dd $(MD)/dw3.sb \
+		$(MD)/scdwp.dr $(MD)/p_scdwp.dd \
+		$(CD)/shell_21 $(CD)/dir \
+		$(CD)/mdir $(CD)/dump
+
+BOOTFILES	= bootfile
+
+ALLOBJS		= $(BOOTFILES)
+
+all:	$(ALLOBJS)
+
+bootfile: $(BOOTFILE_P1) $(BOOTFILE_P2) $(DEPENDS)
+	$(MERGE) $(BOOTFILE_P1)>$@_p1
+	$(MERGE) $(BOOTFILE_P2)>$@_p2
+	$(PADROM) -b 10240 $@_p1
+	$(PADROM) -b 12288 $@_p1
+	$(MERGE) $@_p2 $@_p1>$@
+	$(RM) $@_p2 $@_p1
+
+clean:
+	$(RM) $(ALLOBJS)
+
--- a/level1/atari/bootroms/liber809.asm	Sat Feb 25 18:58:20 2012 -0600
+++ b/level1/atari/bootroms/liber809.asm	Sun Feb 26 07:35:52 2012 -0600
@@ -1,6 +1,6 @@
 *****************************************************
 *
-* Boot ROM for the 6809-based Atari XL/XE
+* Liber809 Boot ROM for the 6809-based Atari XL/XE
 * Currently DriveWire based
 *
 * (C) 2012 Boisy G. Pitre
@@ -85,21 +85,21 @@
           pshs a
           leax ,s
           ldy  #$0005
-          lbsr Write
+          lbsr DWWrite
           leas 5,s
 
 * Get Sector Data
           ldy  #$100
           ldx  ,s
           clra
-          lbsr Read
+          lbsr DWRead
           bcs  readerr
           
 * Send CRC
           pshs y
           leax ,s
           ldy  #$0002
-          lbsr Write
+          lbsr DWWrite
           leas 2,s
           
 * Get Error Code
@@ -107,7 +107,7 @@
           leax ,s
           ldy  #$0001
           clra
-          lbsr Read          
+          lbsr DWRead          
           puls a,x,y
           bcs  readerr
           tsta
@@ -172,16 +172,18 @@
      	rts
 
 
-SetupSerial                     
-          ldd       #$1000    initialize POKEY to ~38.4K
-*          ldd       #$2800    initialize POKEY to ~19.2K
-          std       AUDF3
+SetupSerial 
+BAUD19200	EQU		$2800
+BAUD38400	EQU		$1000
 
-          lda	#$23
-          sta	SKCTL
+          ldd		#BAUD38400	get POKEY baud rate
+          std		AUDF3		and store it in HW reg
 
-          lda  #$28	     clock ch. 3 with 1.79 MHz, ch. 4 with ch. 3
-          sta  AUDCTL	set audio control
+          lda		#$23
+          sta		SKCTL
+
+          lda 		#$28	     clock ch. 3 with 1.79 MHz, ch. 4 with ch. 3
+          sta		AUDCTL	set audio control
           rts
           
 * setup ANTIC here
@@ -191,7 +193,8 @@
      	rts
 
 
-* DriveWire read/write routines
+
+* DriveWire read/write routines for SIO are here
           use  dwread.asm
           
           use  dwwrite.asm
--- a/level1/atari/bootroms/makefile	Sat Feb 25 18:58:20 2012 -0600
+++ b/level1/atari/bootroms/makefile	Sun Feb 26 07:35:52 2012 -0600
@@ -8,20 +8,7 @@
 
 DEPENDS		= ./makefile
 
-BOOTFILE_ROM_P1	= $(MD)/krnp2 $(MD)/init \
-				$(MD)/ioman $(MD)/scf.mn $(MD)/vtio.dr $(MD)/term.dt \
-				$(MD)/sysgo \
-				$(MD)/clock_60hz $(MD)/clock2_soft \
-				$(MD)/krn
-
-BOOTFILE_ROM_P2	= $(MD)/rbf.mn $(MD)/rbdw3.dr \
-                    $(MD)/x0.dd $(MD)/dw3.sb \
-                    $(MD)/scdwp.dr $(MD)/p_scdwp.dd \
-                    $(CD)/shell_21 $(CD)/dir \
-                    $(CD)/mdir $(CD)/dump
-                    
-
-BOOTROMS	= nos96809l1.rom liber809.rom
+BOOTROMS	= liber809.rom
 
 ALLROMS		= $(BOOTROMS)
 
@@ -31,15 +18,5 @@
 liber809.rom: liber809.asm
 	$(AS) $(AFLAGS) -mr -I../modules $< $(ASOUT)$@
 
-nos96809l1.rom: $(BOOTFILE_ROM) $(DEPENDS)
-	$(MERGE) $(BOOTFILE_ROM_P1)>$@_p1
-	$(MERGE) $(BOOTFILE_ROM_P2)>$@_p2
-	$(PADROM) -b 10240 $@_p1
-	$(PADROM) -b 12288 $@_p1
-	$(MERGE) $@_p2 $@_p1>$@
-	$(PADROM) -b 32768 $@
-	$(CP) $@ nos96809l1.dsk
-	$(RM) $@_p2 $@_p1
-	
 clean:
 	$(RM) $(ALLROMS)
--- a/level1/atari/makefile	Sat Feb 25 18:58:20 2012 -0600
+++ b/level1/atari/makefile	Sun Feb 26 07:35:52 2012 -0600
@@ -11,60 +11,26 @@
 DISTRO		= $(CPU)L$(LEVEL)
 DISTRONAME	= nos9$(CPU)l$(LEVEL)
 DISTROVER	= $(DISTRONAME)$(NITROS9VER)$(PORT)
-BOOTFILE_COVDG	= bootfiles/bootfile_covdg
-BOOTFILE_COHR	= bootfiles/bootfile_cohr
-BOOTFILE_COVDG_DS80	= bootfiles/bootfile_covdg_ds80
-BOOTFILE_HEADLESS_DW3_COCO1	= bootfiles/bootfile_headless_dw3_coco1
-BOOTFILE_HEADLESS_DW3_COCO2	= bootfiles/bootfile_headless_dw3_coco2
-BOOTFILE_COVDG_DW3_COCO1	= bootfiles/bootfile_covdg_dw3_coco1
-BOOTFILE_COVDG_DW3_COCO2	= bootfiles/bootfile_covdg_dw3_coco2
-BOOTFILE_COHR_DS80	= bootfiles/bootfile_cohr_ds80
-BOOTFILE_COHR_DW3_COCO1	= bootfiles/bootfile_cohr_dw3_coco1
-BOOTFILE_COHR_DW3_COCO2	= bootfiles/bootfile_cohr_dw3_coco2
-KERNELFILE	= bootfiles/kernel_1773
-KERNELFILE_DW3_COCO1	= bootfiles/kernel_dw3_coco1
-KERNELFILE_DW3_COCO2	= bootfiles/kernel_dw3_coco2
-DIRS		= cmds modules defs sys bootroms
+BOOTFILE	= bootfiles/bootfile
+DIRS		= cmds modules defs sys bootfiles bootroms
 
 
-CMDS		= $(shell $(CD) cmds; make --no-print-directory showobjs)
-CMDS_D2		= $(shell $(CD) cmds; make --no-print-directory showobjs_d2)
-CMDS_DW		= $(shell $(CD) cmds; make --no-print-directory showobjs_dw)
-BOOTTRACK	= $(shell $(CD) modules; make --no-print-directory showboottrack)
-KERNEL		= $(shell $(CD) modules; make --no-print-directory showkernel)
-SYSMODS		= $(shell $(CD) modules; make --no-print-directory showsysmods)
-CLOCKS		= $(shell $(CD) modules; make --no-print-directory showclocks)
-RBF		= $(shell $(CD) modules; make --no-print-directory showrbf)
-SCF		= $(shell $(CD) modules; make --no-print-directory showscf)
-PIPE		= $(shell $(CD) modules; make --no-print-directory showpipe)
-MODULECMDS	= $(WHICHSHELL) del echo format makdir merge os9gen prompt tmode
-
+CMDS		= $(shell $(CD) cmds; make --no-print-directory showobjs_dw)
 SYS		= $(shell $(CD) sys; make --no-print-directory showobjs)
 DEFS		= $(shell $(CD) defs; make --no-print-directory showobjs)
 STARTUP		= startup
-STARTUP_DW	= startup.dw
 
 PACKAGENAME	= $(DISTROVER).zip
-DSKDW3COCO1     = $(DISTROVER)1_dw3.dsk
-LDSKDW3COCO1    = $(DISTRONAME)coco1_dw3.dsk
-DSKDW3COCO2     = $(DISTROVER)2_dw3.dsk
-LDSKDW3COCO2    = $(DISTRONAME)coco2_dw3.dsk
-DSK360K_1       = $(DISTROVER)_40d_1.dsk
-LDSK360K_1      = $(DISTRONAME)_40d_1.dsk
-DSK360K_2       = $(DISTROVER)_40d_2.dsk
-LDSK360K_2      = $(DISTRONAME)_40d_2.dsk
-DSK720K         = $(DISTROVER)_80d.dsk
-LDSK720K        = $(DISTRONAME)_80d.dsk
+DSK		     = $(DISTROVER).dsk
 
 
-DSKS		= $(DSKDW3COCO1) $(DSKDW3COCO2) $(DSK360K_1) $(DSK360K_2) $(DSK720K)
-LDSKS		= $(LDSKDW3COCO1) $(LDSKDW3COCO2) $(LDSK360K_1) $(LDSK360K_2) $(LDSK720K)
+DSKS		= $(DSK)
 
 # Make all components
 all:
 	@$(ECHO) "**************************************************"
 	@$(ECHO) "*                                                *"
-	@$(ECHO) "*         NitrOS-9/$(CPU) Level 1 CoCo Port        *"
+	@$(ECHO) "*        NitrOS-9/$(CPU) Level 1 Atari Port        *"
 	@$(ECHO) "*                                                *"
 	@$(ECHO) "**************************************************"
 	$(foreach dir, $(DIRS), ($(CD) $(dir); make);)
@@ -74,7 +40,7 @@
 	$(foreach dir, $(DIRS), ($(CD) $(dir); make clean);)
 
 dskclean:
-	-$(RM) $(PACKAGENAME) $(DSKS) $(LDSKS)
+	-$(RM) $(PACKAGENAME) $(DSKS)
 
 dsk: all $(PACKAGENAME)
 
@@ -87,10 +53,12 @@
 $(PACKAGENAME): $(DSKS) ../../ReadMe ../../ChangeLog
 	$(ARCHIVE) $@ $^
 
-$(DSKDW3COCO1):
+$(DSK):
 	$(RM) $@
 	$(OS9FORMAT_DW3) -q $@ -n"NitrOS-9/$(CPU) Level 1"
-	$(OS9GEN) $@ -b=$(BOOTFILE_COVDG_DW3_COCO1) -t=$(KERNELFILE_DW3_COCO1)
+
+XX:
+	$(OS9GEN) $@ -b=$(BOOTFILE)	
 	$(MAKDIR) $@,CMDS
 	$(MAKDIR) $@,SYS
 	$(MAKDIR) $@,DEFS
@@ -105,208 +73,8 @@
 	$(foreach file, $(DEFS), $(OS9ATTR_TEXT) $@,DEFS/$(file);)
 	$(CPL) $(STARTUP_DW) $@,startup
 	$(OS9ATTR_TEXT) $@,startup
-	$(MAKDIR) $@,NITROS9
-	$(MAKDIR) $@,NITROS9/6809L1
-	$(MAKDIR) $@,NITROS9/6809L1/CMDS
-	$(CD) cmds; $(CP) $(MODULECMDS) ../$@,NITROS9/6809L1/CMDS
-	$(foreach file, $(MODULECMDS), $(OS9ATTR_EXEC) $@,NITROS9/6809L1/CMDS/$(file);)
-	$(OS9RENAME) $@,NITROS9/6809L1/CMDS/$(WHICHSHELL) shell
-	$(MAKDIR) $@,NITROS9/6809L1/MODULES
-	$(MAKDIR) $@,NITROS9/6809L1/MODULES/BOOTTRACK
-	$(CD) modules; $(CP) $(BOOTTRACK) ../$@,NITROS9/6809L1/MODULES/BOOTTRACK
-	$(foreach file, $(BOOTTRACK), $(OS9ATTR_EXEC) $@,NITROS9/6809L1/MODULES/BOOTTRACK/$(file);)
-	$(MAKDIR) $@,NITROS9/6809L1/MODULES/KERNEL
-	$(CD) modules; $(CP) $(KERNEL) ../$@,NITROS9/6809L1/MODULES/KERNEL
-	$(foreach file, $(KERNEL), $(OS9ATTR_EXEC) $@,NITROS9/6809L1/MODULES/KERNEL/$(file);)
-	$(MAKDIR) $@,NITROS9/6809L1/MODULES/SYSMODS
-	$(CD) modules; $(CP) $(SYSMODS) ../$@,NITROS9/6809L1/MODULES/SYSMODS
-	$(foreach file, $(SYSMODS), $(OS9ATTR_EXEC) $@,NITROS9/6809L1/MODULES/SYSMODS/$(file);)
-	$(MAKDIR) $@,NITROS9/6809L1/MODULES/CLOCKS
-	$(CD) modules; $(CP) $(CLOCKS) ../$@,NITROS9/6809L1/MODULES/CLOCKS
-	$(foreach file, $(CLOCKS), $(OS9ATTR_EXEC) $@,NITROS9/6809L1/MODULES/CLOCKS/$(file);)
-	$(MAKDIR) $@,NITROS9/6809L1/MODULES/RBF
-	$(CD) modules; $(CP) $(RBF) ../$@,NITROS9/6809L1/MODULES/RBF
-	$(foreach file, $(RBF), $(OS9ATTR_EXEC) $@,NITROS9/6809L1/MODULES/RBF/$(file);)
-	$(MAKDIR) $@,NITROS9/6809L1/MODULES/SCF
-	$(CD) modules; $(CP) $(SCF) ../$@,NITROS9/6809L1/MODULES/SCF
-	$(foreach file, $(SCF), $(OS9ATTR_EXEC) $@,NITROS9/6809L1/MODULES/SCF/$(file);)
-	$(MAKDIR) $@,NITROS9/6809L1/MODULES/PIPE
-	$(CD) modules; $(CP) $(PIPE) ../$@,NITROS9/6809L1/MODULES/PIPE
-	$(foreach file, $(PIPE), $(OS9ATTR_EXEC) $@,NITROS9/6809L1/MODULES/PIPE/$(file);)
-	$(MAKDIR) $@,NITROS9/6809L1/BOOTLISTS
-	$(CD) bootlists; $(CPL) *.bl ../$@,NITROS9/6809L1/BOOTLISTS
-	$(MAKDIR) $@,NITROS9/6809L1/SCRIPTS
-	$(CD) scripts; $(CPL) mb* ../$@,NITROS9/6809L1/SCRIPTS
-	$(RM) $(LDSKDW3COCO1)
-	$(SOFTLINK) $@ $(LDSKDW3COCO1)
-
-$(DSKDW3COCO2):
-	$(RM) $@
-	$(OS9FORMAT_DW3) -q $@ -n"NitrOS-9/6809 Level 1"
-	$(OS9GEN) $@ -b=$(BOOTFILE_COVDG_DW3_COCO2) -t=$(KERNELFILE_DW3_COCO2)
-	$(MAKDIR) $@,CMDS
-	$(MAKDIR) $@,SYS
-	$(MAKDIR) $@,DEFS
-	$(CD) cmds; $(CP) $(CMDS_DW) ../$@,CMDS
-	$(foreach file, $(CMDS_DW), $(OS9ATTR_EXEC) $@,CMDS/$(file);)
-	$(CD) cmds; $(CP) $(CMDS_D2) ../$@,CMDS
-	$(foreach file, $(CMDS_D2), $(OS9ATTR_EXEC) $@,CMDS/$(file);)
-	$(OS9RENAME) $@,CMDS/$(WHICHSHELL) shell
-	$(CD) sys; $(CPL) $(SYS) ../$@,SYS
-	$(foreach file, $(SYS), $(OS9ATTR_TEXT) $@,SYS/$(file);)
-	$(CD) defs; $(CPL) $(DEFS) ../$@,DEFS
-	$(foreach file, $(DEFS), $(OS9ATTR_TEXT) $@,DEFS/$(file);)
-	$(CPL) $(STARTUP_DW) $@,startup
-	$(OS9ATTR_TEXT) $@,startup
-	$(MAKDIR) $@,NITROS9
-	$(MAKDIR) $@,NITROS9/6809L1
-	$(MAKDIR) $@,NITROS9/6809L1/CMDS
-	$(CD) cmds; $(CP) $(MODULECMDS) ../$@,NITROS9/6809L1/CMDS
-	$(foreach file, $(MODULECMDS), $(OS9ATTR_EXEC) $@,NITROS9/6809L1/CMDS/$(file);)
-	$(OS9RENAME) $@,NITROS9/6809L1/CMDS/$(WHICHSHELL) shell
-	$(MAKDIR) $@,NITROS9/6809L1/MODULES
-	$(MAKDIR) $@,NITROS9/6809L1/MODULES/BOOTTRACK
-	$(CD) modules; $(CP) $(BOOTTRACK) ../$@,NITROS9/6809L1/MODULES/BOOTTRACK
-	$(foreach file, $(BOOTTRACK), $(OS9ATTR_EXEC) $@,NITROS9/6809L1/MODULES/BOOTTRACK/$(file);)
-	$(MAKDIR) $@,NITROS9/6809L1/MODULES/KERNEL
-	$(CD) modules; $(CP) $(KERNEL) ../$@,NITROS9/6809L1/MODULES/KERNEL
-	$(foreach file, $(KERNEL), $(OS9ATTR_EXEC) $@,NITROS9/6809L1/MODULES/KERNEL/$(file);)
-	$(MAKDIR) $@,NITROS9/6809L1/MODULES/SYSMODS
-	$(CD) modules; $(CP) $(SYSMODS) ../$@,NITROS9/6809L1/MODULES/SYSMODS
-	$(foreach file, $(SYSMODS), $(OS9ATTR_EXEC) $@,NITROS9/6809L1/MODULES/SYSMODS/$(file);)
-	$(MAKDIR) $@,NITROS9/6809L1/MODULES/CLOCKS
-	$(CD) modules; $(CP) $(CLOCKS) ../$@,NITROS9/6809L1/MODULES/CLOCKS
-	$(foreach file, $(CLOCKS), $(OS9ATTR_EXEC) $@,NITROS9/6809L1/MODULES/CLOCKS/$(file);)
-	$(MAKDIR) $@,NITROS9/6809L1/MODULES/RBF
-	$(CD) modules; $(CP) $(RBF) ../$@,NITROS9/6809L1/MODULES/RBF
-	$(foreach file, $(RBF), $(OS9ATTR_EXEC) $@,NITROS9/6809L1/MODULES/RBF/$(file);)
-	$(MAKDIR) $@,NITROS9/6809L1/MODULES/SCF
-	$(CD) modules; $(CP) $(SCF) ../$@,NITROS9/6809L1/MODULES/SCF
-	$(foreach file, $(SCF), $(OS9ATTR_EXEC) $@,NITROS9/6809L1/MODULES/SCF/$(file);)
-	$(MAKDIR) $@,NITROS9/6809L1/MODULES/PIPE
-	$(CD) modules; $(CP) $(PIPE) ../$@,NITROS9/6809L1/MODULES/PIPE
-	$(foreach file, $(PIPE), $(OS9ATTR_EXEC) $@,NITROS9/6809L1/MODULES/PIPE/$(file);)
-	$(MAKDIR) $@,NITROS9/6809L1/BOOTLISTS
-	$(CD) bootlists; $(CPL) *.bl ../$@,NITROS9/6809L1/BOOTLISTS
-	$(MAKDIR) $@,NITROS9/6809L1/SCRIPTS
-	$(CD) scripts; $(CPL) mb* ../$@,NITROS9/6809L1/SCRIPTS
-	$(RM) $(LDSKDW3COCO2)
-	$(SOFTLINK) $@ $(LDSKDW3COCO2)
-
-$(DSK360K_1):
-	$(RM) $@
-	$(OS9FORMAT_DS40) -q $@ -n"NitrOS-9/6809 Level 1 Disk 1"
-	$(OS9GEN) $@ -b=$(BOOTFILE_COVDG) -t=$(KERNELFILE)
-	$(MAKDIR) $@,CMDS
-	$(MAKDIR) $@,SYS
-	$(CD) cmds; $(CP) $(CMDS) ../$@,CMDS
-	$(foreach file, $(CMDS), $(OS9ATTR_EXEC) $@,CMDS/$(file);)
-	$(OS9RENAME) $@,CMDS/$(WHICHSHELL) shell
-	$(CD) sys; $(CPL) $(SYS) ../$@,SYS
-	$(foreach file, $(SYS), $(OS9ATTR_TEXT) $@,SYS/$(file);)
-	$(MAKDIR) $@,DEFS
-	$(CD) defs; $(CPL) $(DEFS) ../$@,DEFS
-	$(foreach file, $(DEFS), $(OS9ATTR_TEXT) $@,DEFS/$(file);)
-	$(CPL) $(STARTUP) $@,startup
-	$(OS9ATTR_TEXT) $@,startup
-	$(RM) $(LDSK360K_1)
-	$(SOFTLINK) $@ $(LDSK360K_1)
-
-$(DSK360K_2):
-	$(RM) $@
-	$(OS9FORMAT_DS40) -q $@ -n"NitrOS-9/6809 Level 1 Disk 2"
-	$(MAKDIR) $@,CMDS
-	$(CD) cmds; $(CP) $(CMDS_D2) ../$@,CMDS
-	$(foreach file, $(CMDS_D2), $(OS9ATTR_EXEC) $@,CMDS/$(file);)
-	$(MAKDIR) $@,NITROS9
-	$(MAKDIR) $@,NITROS9/6809L1
-	$(MAKDIR) $@,NITROS9/6809L1/CMDS
-	$(CD) cmds; $(CP) $(MODULECMDS) ../$@,NITROS9/6809L1/CMDS
-	$(foreach file, $(MODULECMDS), $(OS9ATTR_EXEC) $@,NITROS9/6809L1/CMDS/$(file);)
-	$(OS9RENAME) $@,NITROS9/6809L1/CMDS//$(WHICHSHELL) shell
-	$(MAKDIR) $@,NITROS9/6809L1/MODULES
-	$(MAKDIR) $@,NITROS9/6809L1/MODULES/BOOTTRACK
-	$(CD) modules; $(CP) $(BOOTTRACK) ../$@,NITROS9/6809L1/MODULES/BOOTTRACK
-	$(foreach file, $(BOOTTRACK), $(OS9ATTR_EXEC) $@,NITROS9/6809L1/MODULES/BOOTTRACK/$(file);)
-	$(MAKDIR) $@,NITROS9/6809L1/MODULES/KERNEL
-	$(CD) modules; $(CP) $(KERNEL) ../$@,NITROS9/6809L1/MODULES/KERNEL
-	$(foreach file, $(KERNEL), $(OS9ATTR_EXEC) $@,NITROS9/6809L1/MODULES/KERNEL/$(file);)
-	$(MAKDIR) $@,NITROS9/6809L1/MODULES/SYSMODS
-	$(CD) modules; $(CP) $(SYSMODS) ../$@,NITROS9/6809L1/MODULES/SYSMODS
-	$(foreach file, $(SYSMODS), $(OS9ATTR_EXEC) $@,NITROS9/6809L1/MODULES/SYSMODS/$(file);)
-	$(MAKDIR) $@,NITROS9/6809L1/MODULES/CLOCKS
-	$(CD) modules; $(CP) $(CLOCKS) ../$@,NITROS9/6809L1/MODULES/CLOCKS
-	$(foreach file, $(CLOCKS), $(OS9ATTR_EXEC) $@,NITROS9/6809L1/MODULES/CLOCKS/$(file);)
-	$(MAKDIR) $@,NITROS9/6809L1/MODULES/RBF
-	$(CD) modules; $(CP) $(RBF) ../$@,NITROS9/6809L1/MODULES/RBF
-	$(foreach file, $(RBF), $(OS9ATTR_EXEC) $@,NITROS9/6809L1/MODULES/RBF/$(file);)
-	$(MAKDIR) $@,NITROS9/6809L1/MODULES/SCF
-	$(CD) modules; $(CP) $(SCF) ../$@,NITROS9/6809L1/MODULES/SCF
-	$(foreach file, $(SCF), $(OS9ATTR_EXEC) $@,NITROS9/6809L1/MODULES/SCF/$(file);)
-	$(MAKDIR) $@,NITROS9/6809L1/MODULES/PIPE
-	$(CD) modules; $(CP) $(PIPE) ../$@,NITROS9/6809L1/MODULES/PIPE
-	$(foreach file, $(PIPE), $(OS9ATTR_EXEC) $@,NITROS9/6809L1/MODULES/PIPE/$(file);)
-	$(MAKDIR) $@,NITROS9/6809L1/BOOTLISTS
-	$(CD) bootlists; $(CPL) *.bl ../$@,NITROS9/6809L1/BOOTLISTS
-	$(MAKDIR) $@,NITROS9/6809L1/SCRIPTS
-	$(CD) scripts; $(CPL) mb* ../$@,NITROS9/6809L1/SCRIPTS
-	$(RM) $(LDSK360K_2)
-	$(SOFTLINK) $@ $(LDSK360K_2)
-
-$(DSK720K):
-	$(RM) $@
-	$(OS9FORMAT_DS80) -q $@ -n"NitrOS-9/6809 Level 1"
-	$(OS9GEN) $@ -b=$(BOOTFILE_COVDG_DS80) -t=$(KERNELFILE)
-	$(MAKDIR) $@,CMDS
-	$(MAKDIR) $@,SYS
-	$(MAKDIR) $@,DEFS
-	$(CD) cmds; $(CP) $(CMDS) ../$@,CMDS
-	$(foreach file, $(CMDS), $(OS9ATTR_EXEC) $@,CMDS/$(file);)
-	$(CD) cmds; $(CP) $(CMDS_D2) ../$@,CMDS
-	$(foreach file, $(CMDS_D2), $(OS9ATTR_EXEC) $@,CMDS/$(file);)
-	$(OS9RENAME) $@,CMDS/$(WHICHSHELL) shell
-	$(CD) sys; $(CPL) $(SYS) ../$@,SYS
-	$(foreach file, $(SYS), $(OS9ATTR_TEXT) $@,SYS/$(file);)
-	$(CD) defs; $(CPL) $(DEFS) ../$@,DEFS
-	$(foreach file, $(DEFS), $(OS9ATTR_TEXT) $@,DEFS/$(file);)
-	$(CPL) $(STARTUP) $@,startup
-	$(OS9ATTR_TEXT) $@,startup
-	$(MAKDIR) $@,NITROS9
-	$(MAKDIR) $@,NITROS9/6809L1
-	$(MAKDIR) $@,NITROS9/6809L1/CMDS
-	$(CD) cmds; $(CP) $(MODULECMDS) ../$@,NITROS9/6809L1/CMDS
-	$(foreach file, $(MODULECMDS), $(OS9ATTR_EXEC) $@,NITROS9/6809L1/CMDS/$(file);)
-	$(OS9RENAME) $@,NITROS9/6809L1/CMDS/$(WHICHSHELL) shell
-	$(MAKDIR) $@,NITROS9/6809L1/MODULES
-	$(MAKDIR) $@,NITROS9/6809L1/MODULES/BOOTTRACK
-	$(CD) modules; $(CP) $(BOOTTRACK) ../$@,NITROS9/6809L1/MODULES/BOOTTRACK
-	$(foreach file, $(BOOTTRACK), $(OS9ATTR_EXEC) $@,NITROS9/6809L1/MODULES/BOOTTRACK/$(file);)
-	$(MAKDIR) $@,NITROS9/6809L1/MODULES/KERNEL
-	$(CD) modules; $(CP) $(KERNEL) ../$@,NITROS9/6809L1/MODULES/KERNEL
-	$(foreach file, $(KERNEL), $(OS9ATTR_EXEC) $@,NITROS9/6809L1/MODULES/KERNEL/$(file);)
-	$(MAKDIR) $@,NITROS9/6809L1/MODULES/SYSMODS
-	$(CD) modules; $(CP) $(SYSMODS) ../$@,NITROS9/6809L1/MODULES/SYSMODS
-	$(foreach file, $(SYSMODS), $(OS9ATTR_EXEC) $@,NITROS9/6809L1/MODULES/SYSMODS/$(file);)
-	$(MAKDIR) $@,NITROS9/6809L1/MODULES/CLOCKS
-	$(CD) modules; $(CP) $(CLOCKS) ../$@,NITROS9/6809L1/MODULES/CLOCKS
-	$(foreach file, $(CLOCKS), $(OS9ATTR_EXEC) $@,NITROS9/6809L1/MODULES/CLOCKS/$(file);)
-	$(MAKDIR) $@,NITROS9/6809L1/MODULES/RBF
-	$(CD) modules; $(CP) $(RBF) ../$@,NITROS9/6809L1/MODULES/RBF
-	$(foreach file, $(RBF), $(OS9ATTR_EXEC) $@,NITROS9/6809L1/MODULES/RBF/$(file);)
-	$(MAKDIR) $@,NITROS9/6809L1/MODULES/SCF
-	$(CD) modules; $(CP) $(SCF) ../$@,NITROS9/6809L1/MODULES/SCF
-	$(foreach file, $(SCF), $(OS9ATTR_EXEC) $@,NITROS9/6809L1/MODULES/SCF/$(file);)
-	$(MAKDIR) $@,NITROS9/6809L1/MODULES/PIPE
-	$(CD) modules; $(CP) $(PIPE) ../$@,NITROS9/6809L1/MODULES/PIPE
-	$(foreach file, $(PIPE), $(OS9ATTR_EXEC) $@,NITROS9/6809L1/MODULES/PIPE/$(file);)
-	$(MAKDIR) $@,NITROS9/6809L1/BOOTLISTS
-	$(CD) bootlists; $(CPL) *.bl ../$@,NITROS9/6809L1/BOOTLISTS
-	$(MAKDIR) $@,NITROS9/6809L1/SCRIPTS
-	$(CD) scripts; $(CPL) mb* ../$@,NITROS9/6809L1/SCRIPTS
-	$(RM) $(LDSK720K)
-	$(SOFTLINK) $@ $(LDSK720K)
 
 info:
-	@echo "*** NitrOS-9/6809 Level 1 for the Tandy Color Computer ***" 
+	@echo "*** NitrOS-9/6809 Level 1 for the Atari XL/XE ***" 
 	@$(foreach dsk, $(DSKS), $(ECHO) $(dsk);)
 	
--- a/level1/atari/modules/dw3.asm	Sat Feb 25 18:58:20 2012 -0600
+++ b/level1/atari/modules/dw3.asm	Sun Feb 26 07:35:52 2012 -0600
@@ -67,8 +67,10 @@
                clrb                          clear Carry
                rts       
 
+Read
                use       dwread.asm
                
+Write
                use       dwwrite.asm
                
 
--- a/level1/atari/modules/dwread.asm	Sat Feb 25 18:58:20 2012 -0600
+++ b/level1/atari/modules/dwread.asm	Sun Feb 26 07:35:52 2012 -0600
@@ -13,7 +13,7 @@
 *    Y  = checksum
 *    U is preserved.  All accumulators are clobbered
 *
-Read                    
+DWRead                    
           clrb                     clear carry
           pshs      cc,a,x,y,u
           tfr       x,u
--- a/level1/atari/modules/dwwrite.asm	Sat Feb 25 18:58:20 2012 -0600
+++ b/level1/atari/modules/dwwrite.asm	Sun Feb 26 07:35:52 2012 -0600
@@ -13,7 +13,7 @@
 *
 SKSEND    equ   $23
 MSKSEND   equ   %00010000
-Write        
+DWWrite        
           pshs      d,cc
           orcc      #$50
 *          lda	    #SKSEND
@@ -45,4 +45,4 @@
           leax      -1,x
           bne       wait@
           puls      x,pc
-          
\ No newline at end of file
+