diff --git a/Apps/crossdev/2DRIVE.C b/Apps/Source/2drive.c similarity index 100% rename from Apps/crossdev/2DRIVE.C rename to Apps/Source/2drive.c diff --git a/Apps/crossdev/2MAP.C b/Apps/Source/2map.c similarity index 100% rename from Apps/crossdev/2MAP.C rename to Apps/Source/2map.c diff --git a/Apps/Source/Build.cmd b/Apps/Source/Build.cmd new file mode 100644 index 00000000..210efb62 --- /dev/null +++ b/Apps/Source/Build.cmd @@ -0,0 +1,192 @@ +@echo off + +setlocal + +set PATH=..\..\tools\zx;%PATH% +set ZXBINDIR=../../tools/cpm/bin/ +set ZXLIBDIR=../../tools/cpm/lib/ +set ZXINCDIR=../../tools/cpm/include/ + +set OUTDIR=..\Output\ +set COREAPPS=ACCESS CPMNAME FINDFILE MAP META MULTIFMT REM SETLABEL SYSGEN TERMTYPE VIEW + +echo. +echo Building DWG.REL... +echo. +set TGT=dwg.rel +if exist %TGT% del %TGT% +zx rmac printers +zx rmac memory +zx rmac banner +zx rmac terminal +zx rmac identity +zx rmac hbios +zx lib %TGT%=printers,memory,banner,terminal,identity,hbios +if not exist %TGT% echo *** Failed to build %TGT% *** && pause + +echo. +echo Building DWG.LIB... +echo. +set TGT=dwg.lib +if exist %TGT% del %TGT% +zx as bioscall +zx as bdoscall +zx as diagnose +zx cz --o cmemory.a80 cmemory +zx as cmemory.a80 +zx cz --o cbanner.a80 cbanner +zx as cbanner.a80 +zx cz --o ctermcap.a80 ctermcap +zx as ctermcap.a80 +zx cz --o clogical.a80 clogical +zx as clogical.a80 +zx as asmiface +zx cz --o sectorio.a80 sectorio +zx as sectorio.a80 +zx libutil --o dwg.lib cbanner.o clogical.o ctermcap.o sectorio.o asmiface.o +zx libutil --o dwg.lib dwg.lib bioscall.o bdoscall.o diagnose.o cmemory.o clogical.o +if not exist %TGT% echo *** Failed to build %TGT% *** && pause + +echo. +echo Building ACCESS.COM... +echo. +set TGT=access.com +if exist %TGT% del %TGT% +zx rmac access +zx link access,dwg +if not exist %TGT% echo *** Failed to build %TGT% *** && pause + +echo. +echo Building CPMNAME.COM... +echo. +set TGT=cpmname.com +if exist %TGT% del %TGT% +zx cz --o cpmname.a80 cpmname +zx as cpmname.a80 +zx cz --o cnamept1.a80 cnamept1 +zx as cnamept1.a80 +zx cz --o cnamept2.a80 cnamept2 +zx as cnamept2.a80 +zx cz --o cnamept3.a80 cnamept3 +zx as cnamept3.a80 +zx cz --o cnamept4.a80 cnamept4 +zx as cnamept4.a80 +zx ln cpmname.o cnamept1.o cnamept2.o cnamept3.o cnamept4.o --ldwg --lt --lc +if not exist %TGT% echo *** Failed to build %TGT% *** && pause + +echo. +echo Building FINDFILE.COM... +echo. +set TGT=findfile.com +if exist %TGT% del %TGT% +zx rmac findfile +zx link findfile,dwg +if not exist %TGT% echo *** Failed to build %TGT% *** && pause + +echo. +echo Building MAP.COM... +echo. +set TGT=map.com +if exist %TGT% del %TGT% +zx cz --o map.a80 map +zx as map.a80 +zx ln map.o --ldwg --lt --lc +if not exist %TGT% echo *** Failed to build %TGT% *** && pause + +echo. +echo Building META.COM... +echo. +set TGT=meta.com +if exist %TGT% del %TGT% +zx cz --o meta.a80 meta +zx as meta.a80 +zx ln meta.o --ldwg --lt --lc +if not exist %TGT% echo *** Failed to build %TGT% *** && pause + +echo. +echo Building MULTIFMT.COM... +echo. +set TGT=multifmt.com +if exist %TGT% del %TGT% +zx cz --o multifmt.a80 multifmt +zx as multifmt.a80 +zx ln multifmt.o --ldwg --lt --lc +if not exist %TGT% echo *** Failed to build %TGT% *** && pause + +echo. +echo Building REM.COM... +echo. +set TGT=rem.com +if exist %TGT% del %TGT% +zx rmac rem +zx link rem +if not exist %TGT% echo *** Failed to build %TGT% *** && pause + +echo. +echo Building SETLABEL.COM... +echo. +set TGT=setlabel.com +if exist %TGT% del %TGT% +zx rmac setlabel +zx link setlabel,dwg +if not exist %TGT% echo *** Failed to build %TGT% *** && pause + +echo. +echo Building SYSGEN.COM... +echo. +set TGT=sysgen.com +if exist %TGT% del %TGT% +zx cz --o sysgen.a80 sysgen +zx as sysgen.a80 +zx ln sysgen.o --ldwg --lt --lc +if not exist %TGT% echo *** Failed to build %TGT% *** && pause + +echo. +echo Building TERMTYPE.COM... +echo. +set TGT=termtype.com +if exist %TGT% del %TGT% +zx cz --o termtype.a80 termtype +zx as termtype.a80 +zx ln termtype.o --ldwg --lt --lc +if not exist %TGT% echo *** Failed to build %TGT% *** && pause + +echo. +echo Building VIEW.COM... +echo. +set TGT=view.com +if exist %TGT% del %TGT% +zx cz --o view.a80 view +zx as view.a80 +zx ln view.o --ldwg --lt --lc +if not exist %TGT% echo *** Failed to build %TGT% *** && pause + +echo. +echo Building N8VIDTST.COM / TMSSTAT.COM... +echo. +zx cz --o n8chars.a80 n8chars +zx as n8chars.a80 +zx cz --o tms9918.a80 tms9918 +zx as tms9918.a80 + +set TGT=n8vidtst.com +if exist %TGT% del %TGT% +zx cz --o n8vidtst.a80 n8vidtst +zx as n8vidtst.a80 +zx ln n8vidtst.o n8chars.o tms9918.o --ldwg --lt --lc +if not exist %TGT% echo *** Failed to build %TGT% *** && pause + +set TGT=tmsstat.com +if exist %TGT% del %TGT% +zx cz --o tmsstat.a80 tmsstat +zx as tmsstat.a80 +zx ln tmsstat.o n8chars.o tms9918.o --ldwg --lt --lc +if not exist %TGT% echo *** Failed to build %TGT% *** && pause + +echo. +echo Generating Output... +echo. +if exist %OUTDIR% rd /s /q %OUTDIR% +md %OUTDIR% +for %%f in (%COREAPPS%) do echo %%f... && copy %%f.COM %OUTDIR% +echo DWG-APPS.MAN... && copy DWG-APPS.MAN %OUTDIR% diff --git a/Apps/Source/Clean.cmd b/Apps/Source/Clean.cmd new file mode 100644 index 00000000..3d8cb83d --- /dev/null +++ b/Apps/Source/Clean.cmd @@ -0,0 +1,10 @@ +@echo off +if exist *.bak erase *.bak +if exist *.prn erase *.prn +if exist *.o erase *.o +if exist *.rel erase *.rel +if exist *.cpm erase *.cpm +if exist *.sym erase *.sym +if exist *.com erase *.com +if exist *.a80 erase *.a80 +if exist dwg.lib erase dwg.lib diff --git a/Apps/crossdev/ACCESS.ASM b/Apps/Source/access.asm similarity index 100% rename from Apps/crossdev/ACCESS.ASM rename to Apps/Source/access.asm diff --git a/Apps/crossdev/ANSI.H b/Apps/Source/ansi.h similarity index 100% rename from Apps/crossdev/ANSI.H rename to Apps/Source/ansi.h diff --git a/Apps/crossdev/APPLVERS.H b/Apps/Source/applvers.h similarity index 79% rename from Apps/crossdev/APPLVERS.H rename to Apps/Source/applvers.h index eb27c7c6..f4b3616b 100644 --- a/Apps/crossdev/APPLVERS.H +++ b/Apps/Source/applvers.h @@ -5,10 +5,10 @@ #define A_RMJ 2 #define A_RMN 5 #define A_RUP 0 -#define A_RTP 6 +#define A_RTP 8 -#define A_MONTH 4 -#define A_DAY 11 +#define A_MONTH 5 +#define A_DAY 10 #define A_YEAR 2013 #define A_YR 13 diff --git a/Apps/crossdev/APPLVERS.LIB b/Apps/Source/applvers.lib similarity index 77% rename from Apps/crossdev/APPLVERS.LIB rename to Apps/Source/applvers.lib index 60cfd10d..1b148bc7 100644 --- a/Apps/crossdev/APPLVERS.LIB +++ b/Apps/Source/applvers.lib @@ -3,14 +3,14 @@ A$RMJ equ 2 A$RMN equ 5 A$RUP equ 0 -A$RTP equ 6 +A$RTP equ 8 -A$MONTH equ 4 -A$DAY equ 11 +A$MONTH equ 5 +A$DAY equ 10 A$YEAR equ 2013 date macro -dat db ' 4/11/2013$' +dat db ' 5/10/2013$' endm serial macro diff --git a/Apps/crossdev/ASCII.H b/Apps/Source/ascii.h similarity index 100% rename from Apps/crossdev/ASCII.H rename to Apps/Source/ascii.h diff --git a/Apps/crossdev/ASMIFACE.ASM b/Apps/Source/asmiface.asm similarity index 100% rename from Apps/crossdev/ASMIFACE.ASM rename to Apps/Source/asmiface.asm diff --git a/Apps/crossdev/ASMIFACE.H b/Apps/Source/asmiface.h similarity index 100% rename from Apps/crossdev/ASMIFACE.H rename to Apps/Source/asmiface.h diff --git a/Apps/crossdev/BANKER.C b/Apps/Source/banker.c similarity index 100% rename from Apps/crossdev/BANKER.C rename to Apps/Source/banker.c diff --git a/Apps/crossdev/BANNER.ASM b/Apps/Source/banner.asm similarity index 100% rename from Apps/crossdev/BANNER.ASM rename to Apps/Source/banner.asm diff --git a/Apps/crossdev/BANNER.H b/Apps/Source/banner.h similarity index 100% rename from Apps/crossdev/BANNER.H rename to Apps/Source/banner.h diff --git a/Apps/crossdev/BANNER.LIB b/Apps/Source/banner.lib similarity index 100% rename from Apps/crossdev/BANNER.LIB rename to Apps/Source/banner.lib diff --git a/Apps/crossdev/BDOSCALL.ASM b/Apps/Source/bdoscall.asm similarity index 100% rename from Apps/crossdev/BDOSCALL.ASM rename to Apps/Source/bdoscall.asm diff --git a/Apps/crossdev/BDOSCALL.H b/Apps/Source/bdoscall.h similarity index 100% rename from Apps/crossdev/BDOSCALL.H rename to Apps/Source/bdoscall.h diff --git a/Apps/crossdev/BIOSCALL.ASM b/Apps/Source/bioscall.asm similarity index 100% rename from Apps/crossdev/BIOSCALL.ASM rename to Apps/Source/bioscall.asm diff --git a/Apps/crossdev/BIOSCALL.H b/Apps/Source/bioscall.h similarity index 100% rename from Apps/crossdev/BIOSCALL.H rename to Apps/Source/bioscall.h diff --git a/Apps/crossdev/BIOSHDR.LIB b/Apps/Source/bioshdr.lib similarity index 100% rename from Apps/crossdev/BIOSHDR.LIB rename to Apps/Source/bioshdr.lib diff --git a/Apps/crossdev/CBANNER.C b/Apps/Source/cbanner.c similarity index 100% rename from Apps/crossdev/CBANNER.C rename to Apps/Source/cbanner.c diff --git a/Apps/crossdev/CBANNER.H b/Apps/Source/cbanner.h similarity index 100% rename from Apps/crossdev/CBANNER.H rename to Apps/Source/cbanner.h diff --git a/Apps/crossdev/CHARS.C b/Apps/Source/chars.c similarity index 100% rename from Apps/crossdev/CHARS.C rename to Apps/Source/chars.c diff --git a/Apps/crossdev/CLEAR.C b/Apps/Source/clear.c similarity index 100% rename from Apps/crossdev/CLEAR.C rename to Apps/Source/clear.c diff --git a/Apps/crossdev/CLOGICAL.C b/Apps/Source/clogical.c similarity index 100% rename from Apps/crossdev/CLOGICAL.C rename to Apps/Source/clogical.c diff --git a/Apps/crossdev/CLOGICAL.H b/Apps/Source/clogical.h similarity index 100% rename from Apps/crossdev/CLOGICAL.H rename to Apps/Source/clogical.h diff --git a/Apps/crossdev/CLS.C b/Apps/Source/cls.c similarity index 100% rename from Apps/crossdev/CLS.C rename to Apps/Source/cls.c diff --git a/Apps/crossdev/CMEMORY.C b/Apps/Source/cmemory.c similarity index 100% rename from Apps/crossdev/CMEMORY.C rename to Apps/Source/cmemory.c diff --git a/Apps/crossdev/CMETADAT.C b/Apps/Source/cmetadat.c similarity index 100% rename from Apps/crossdev/CMETADAT.C rename to Apps/Source/cmetadat.c diff --git a/Apps/crossdev/CNAMEPT1.C b/Apps/Source/cnamept1.c similarity index 100% rename from Apps/crossdev/CNAMEPT1.C rename to Apps/Source/cnamept1.c diff --git a/Apps/crossdev/CNAMEPT2.C b/Apps/Source/cnamept2.c similarity index 100% rename from Apps/crossdev/CNAMEPT2.C rename to Apps/Source/cnamept2.c diff --git a/Apps/crossdev/CNAMEPT3.C b/Apps/Source/cnamept3.c similarity index 100% rename from Apps/crossdev/CNAMEPT3.C rename to Apps/Source/cnamept3.c diff --git a/Apps/crossdev/CNAMEPT4.C b/Apps/Source/cnamept4.c similarity index 100% rename from Apps/crossdev/CNAMEPT4.C rename to Apps/Source/cnamept4.c diff --git a/Apps/crossdev/CNFGDATA.H b/Apps/Source/cnfgdata.h similarity index 100% rename from Apps/crossdev/CNFGDATA.H rename to Apps/Source/cnfgdata.h diff --git a/Apps/crossdev/CNFGDATA.LIB b/Apps/Source/cnfgdata.lib similarity index 100% rename from Apps/crossdev/CNFGDATA.LIB rename to Apps/Source/cnfgdata.lib diff --git a/Apps/crossdev/CONVERT.C b/Apps/Source/convert.c similarity index 100% rename from Apps/crossdev/CONVERT.C rename to Apps/Source/convert.c diff --git a/Apps/crossdev/CPM80.H b/Apps/Source/cpm80.h similarity index 100% rename from Apps/crossdev/CPM80.H rename to Apps/Source/cpm80.h diff --git a/Apps/crossdev/CPMAPPL.H b/Apps/Source/cpmappl.h similarity index 100% rename from Apps/crossdev/CPMAPPL.H rename to Apps/Source/cpmappl.h diff --git a/Apps/crossdev/CPMAPPL.LIB b/Apps/Source/cpmappl.lib similarity index 100% rename from Apps/crossdev/CPMAPPL.LIB rename to Apps/Source/cpmappl.lib diff --git a/Apps/crossdev/CPMBDOS.H b/Apps/Source/cpmbdos.h similarity index 100% rename from Apps/crossdev/CPMBDOS.H rename to Apps/Source/cpmbdos.h diff --git a/Apps/crossdev/CPMBDOS.LIB b/Apps/Source/cpmbdos.lib similarity index 100% rename from Apps/crossdev/CPMBDOS.LIB rename to Apps/Source/cpmbdos.lib diff --git a/Apps/crossdev/CPMBIND.H b/Apps/Source/cpmbind.h similarity index 100% rename from Apps/crossdev/CPMBIND.H rename to Apps/Source/cpmbind.h diff --git a/Apps/crossdev/CPMBIOS.H b/Apps/Source/cpmbios.h similarity index 100% rename from Apps/crossdev/CPMBIOS.H rename to Apps/Source/cpmbios.h diff --git a/Apps/crossdev/CPMBIOS.LIB b/Apps/Source/cpmbios.lib similarity index 100% rename from Apps/crossdev/CPMBIOS.LIB rename to Apps/Source/cpmbios.lib diff --git a/Apps/crossdev/CPMNAME.C b/Apps/Source/cpmname.c similarity index 100% rename from Apps/crossdev/CPMNAME.C rename to Apps/Source/cpmname.c diff --git a/Apps/crossdev/CTERMCAP.C b/Apps/Source/ctermcap.c similarity index 100% rename from Apps/crossdev/CTERMCAP.C rename to Apps/Source/ctermcap.c diff --git a/Apps/crossdev/CTERMCAP.H b/Apps/Source/ctermcap.h similarity index 100% rename from Apps/crossdev/CTERMCAP.H rename to Apps/Source/ctermcap.h diff --git a/Apps/crossdev/CVT2H.C b/Apps/Source/cvt2h.c similarity index 100% rename from Apps/crossdev/CVT2H.C rename to Apps/Source/cvt2h.c diff --git a/Apps/crossdev/CVT2H.H b/Apps/Source/cvt2h.h similarity index 100% rename from Apps/crossdev/CVT2H.H rename to Apps/Source/cvt2h.h diff --git a/Apps/crossdev/CVT2INC.H b/Apps/Source/cvt2inc.h similarity index 100% rename from Apps/crossdev/CVT2INC.H rename to Apps/Source/cvt2inc.h diff --git a/Apps/crossdev/DIAGNOSE.ASM b/Apps/Source/diagnose.asm similarity index 100% rename from Apps/crossdev/DIAGNOSE.ASM rename to Apps/Source/diagnose.asm diff --git a/Apps/crossdev/DIAGNOSE.H b/Apps/Source/diagnose.h similarity index 100% rename from Apps/crossdev/DIAGNOSE.H rename to Apps/Source/diagnose.h diff --git a/Apps/crossdev/DISKCOPY.C b/Apps/Source/diskcopy.c similarity index 100% rename from Apps/crossdev/DISKCOPY.C rename to Apps/Source/diskcopy.c diff --git a/Apps/crossdev/DOIT.C b/Apps/Source/doit.c similarity index 100% rename from Apps/crossdev/DOIT.C rename to Apps/Source/doit.c diff --git a/Apps/crossdev/DPHDPB.H b/Apps/Source/dphdpb.h similarity index 100% rename from Apps/crossdev/DPHDPB.H rename to Apps/Source/dphdpb.h diff --git a/Apps/crossdev/DPHMAP.H b/Apps/Source/dphmap.h similarity index 100% rename from Apps/crossdev/DPHMAP.H rename to Apps/Source/dphmap.h diff --git a/Apps/crossdev/DUMP.C b/Apps/Source/dump.c similarity index 100% rename from Apps/crossdev/DUMP.C rename to Apps/Source/dump.c diff --git a/Apps/crossdev/DUMPCOM.H b/Apps/Source/dumpcom.h similarity index 100% rename from Apps/crossdev/DUMPCOM.H rename to Apps/Source/dumpcom.h diff --git a/Apps/crossdev/DUMPMAC.ASM b/Apps/Source/dumpmac.asm similarity index 100% rename from Apps/crossdev/DUMPMAC.ASM rename to Apps/Source/dumpmac.asm diff --git a/Apps/doc/dwg-apps.man b/Apps/Source/dwg-apps.man similarity index 100% rename from Apps/doc/dwg-apps.man rename to Apps/Source/dwg-apps.man diff --git a/Apps/crossdev/EDITOR.C b/Apps/Source/editor.c similarity index 100% rename from Apps/crossdev/EDITOR.C rename to Apps/Source/editor.c diff --git a/Apps/crossdev/FFGETLU.LIB b/Apps/Source/ffgetlu.lib similarity index 100% rename from Apps/crossdev/FFGETLU.LIB rename to Apps/Source/ffgetlu.lib diff --git a/Apps/crossdev/FFHASLU.LIB b/Apps/Source/ffhaslu.lib similarity index 100% rename from Apps/crossdev/FFHASLU.LIB rename to Apps/Source/ffhaslu.lib diff --git a/Apps/crossdev/FFNUMLU.LIB b/Apps/Source/ffnumlu.lib similarity index 100% rename from Apps/crossdev/FFNUMLU.LIB rename to Apps/Source/ffnumlu.lib diff --git a/Apps/crossdev/FFSETLU.LIB b/Apps/Source/ffsetlu.lib similarity index 100% rename from Apps/crossdev/FFSETLU.LIB rename to Apps/Source/ffsetlu.lib diff --git a/Apps/crossdev/FINDFILE.ASM b/Apps/Source/findfile.asm similarity index 100% rename from Apps/crossdev/FINDFILE.ASM rename to Apps/Source/findfile.asm diff --git a/Apps/crossdev/FLIP.C b/Apps/Source/flip.c similarity index 100% rename from Apps/crossdev/FLIP.C rename to Apps/Source/flip.c diff --git a/Apps/crossdev/FORM.C b/Apps/Source/form.c similarity index 100% rename from Apps/crossdev/FORM.C rename to Apps/Source/form.c diff --git a/Apps/crossdev/FORMFEED.C b/Apps/Source/formfeed.c similarity index 100% rename from Apps/crossdev/FORMFEED.C rename to Apps/Source/formfeed.c diff --git a/Apps/crossdev/GETCFG.C b/Apps/Source/getcfg.c similarity index 100% rename from Apps/crossdev/GETCFG.C rename to Apps/Source/getcfg.c diff --git a/Apps/crossdev/GLOBALS.H b/Apps/Source/globals.h similarity index 100% rename from Apps/crossdev/GLOBALS.H rename to Apps/Source/globals.h diff --git a/Apps/crossdev/GLOBALS.LIB b/Apps/Source/globals.lib similarity index 100% rename from Apps/crossdev/GLOBALS.LIB rename to Apps/Source/globals.lib diff --git a/Apps/crossdev/HARDWARE.LIB b/Apps/Source/hardware.lib similarity index 100% rename from Apps/crossdev/HARDWARE.LIB rename to Apps/Source/hardware.lib diff --git a/Apps/crossdev/HBIOS.ASM b/Apps/Source/hbios.asm similarity index 100% rename from Apps/crossdev/HBIOS.ASM rename to Apps/Source/hbios.asm diff --git a/Apps/crossdev/HBIOS.H b/Apps/Source/hbios.h similarity index 100% rename from Apps/crossdev/HBIOS.H rename to Apps/Source/hbios.h diff --git a/Apps/crossdev/HBIOS.LIB b/Apps/Source/hbios.lib similarity index 100% rename from Apps/crossdev/HBIOS.LIB rename to Apps/Source/hbios.lib diff --git a/Apps/crossdev/HELLO.C b/Apps/Source/hello.c similarity index 100% rename from Apps/crossdev/HELLO.C rename to Apps/Source/hello.c diff --git a/Apps/crossdev/HELP.C b/Apps/Source/help.c similarity index 100% rename from Apps/crossdev/HELP.C rename to Apps/Source/help.c diff --git a/Apps/crossdev/IDENT.ASM b/Apps/Source/ident.asm similarity index 100% rename from Apps/crossdev/IDENT.ASM rename to Apps/Source/ident.asm diff --git a/Apps/crossdev/IDENTITY.ASM b/Apps/Source/identity.asm similarity index 100% rename from Apps/crossdev/IDENTITY.ASM rename to Apps/Source/identity.asm diff --git a/Apps/crossdev/IDENTITY.LIB b/Apps/Source/identity.lib similarity index 100% rename from Apps/crossdev/IDENTITY.LIB rename to Apps/Source/identity.lib diff --git a/Apps/crossdev/INFOLIST.H b/Apps/Source/infolist.h similarity index 100% rename from Apps/crossdev/INFOLIST.H rename to Apps/Source/infolist.h diff --git a/Apps/crossdev/LABEL.C b/Apps/Source/label.c similarity index 100% rename from Apps/crossdev/LABEL.C rename to Apps/Source/label.c diff --git a/Apps/crossdev/LABELIB.ASM b/Apps/Source/labelib.asm similarity index 100% rename from Apps/crossdev/LABELIB.ASM rename to Apps/Source/labelib.asm diff --git a/Apps/crossdev/LABELIB.LIB b/Apps/Source/labelib.lib similarity index 100% rename from Apps/crossdev/LABELIB.LIB rename to Apps/Source/labelib.lib diff --git a/Apps/crossdev/LOOKN8.ASM b/Apps/Source/lookn8.asm similarity index 100% rename from Apps/crossdev/LOOKN8.ASM rename to Apps/Source/lookn8.asm diff --git a/Apps/crossdev/MAP.C b/Apps/Source/map.c similarity index 100% rename from Apps/crossdev/MAP.C rename to Apps/Source/map.c diff --git a/Apps/crossdev/MEMORY.ASM b/Apps/Source/memory.asm similarity index 100% rename from Apps/crossdev/MEMORY.ASM rename to Apps/Source/memory.asm diff --git a/Apps/crossdev/MEMORY.H b/Apps/Source/memory.h similarity index 100% rename from Apps/crossdev/MEMORY.H rename to Apps/Source/memory.h diff --git a/Apps/crossdev/MEMORY.LIB b/Apps/Source/memory.lib similarity index 100% rename from Apps/crossdev/MEMORY.LIB rename to Apps/Source/memory.lib diff --git a/Apps/crossdev/MENU.C b/Apps/Source/menu.c similarity index 100% rename from Apps/crossdev/MENU.C rename to Apps/Source/menu.c diff --git a/Apps/crossdev/MENU1.C b/Apps/Source/menu1.c similarity index 100% rename from Apps/crossdev/MENU1.C rename to Apps/Source/menu1.c diff --git a/Apps/crossdev/MENUCOL.C b/Apps/Source/menucol.c similarity index 100% rename from Apps/crossdev/MENUCOL.C rename to Apps/Source/menucol.c diff --git a/Apps/crossdev/META.C b/Apps/Source/meta.c similarity index 100% rename from Apps/crossdev/META.C rename to Apps/Source/meta.c diff --git a/Apps/crossdev/METADATA.ASM b/Apps/Source/metadata.asm similarity index 100% rename from Apps/crossdev/METADATA.ASM rename to Apps/Source/metadata.asm diff --git a/Apps/crossdev/METADATA.H b/Apps/Source/metadata.h similarity index 100% rename from Apps/crossdev/METADATA.H rename to Apps/Source/metadata.h diff --git a/Apps/crossdev/METADATA.LIB b/Apps/Source/metadata.lib similarity index 100% rename from Apps/crossdev/METADATA.LIB rename to Apps/Source/metadata.lib diff --git a/Apps/crossdev/MKRASM80.C b/Apps/Source/mkrasm80.c similarity index 100% rename from Apps/crossdev/MKRASM80.C rename to Apps/Source/mkrasm80.c diff --git a/Apps/crossdev/MONITOR.C b/Apps/Source/monitor.c similarity index 100% rename from Apps/crossdev/MONITOR.C rename to Apps/Source/monitor.c diff --git a/Apps/crossdev/MULTIFMT.C b/Apps/Source/multifmt.c similarity index 100% rename from Apps/crossdev/MULTIFMT.C rename to Apps/Source/multifmt.c diff --git a/Apps/crossdev/MYDUMP.ASM b/Apps/Source/mydump.asm similarity index 100% rename from Apps/crossdev/MYDUMP.ASM rename to Apps/Source/mydump.asm diff --git a/Apps/crossdev/N8CHARS.C b/Apps/Source/n8chars.c similarity index 100% rename from Apps/crossdev/N8CHARS.C rename to Apps/Source/n8chars.c diff --git a/Apps/crossdev/N8CHARS.H b/Apps/Source/n8chars.h similarity index 100% rename from Apps/crossdev/N8CHARS.H rename to Apps/Source/n8chars.h diff --git a/Apps/crossdev/N8VEM.ASM b/Apps/Source/n8vem.asm similarity index 100% rename from Apps/crossdev/N8VEM.ASM rename to Apps/Source/n8vem.asm diff --git a/Apps/crossdev/N8VIDEO.ASM b/Apps/Source/n8video.asm similarity index 100% rename from Apps/crossdev/N8VIDEO.ASM rename to Apps/Source/n8video.asm diff --git a/Apps/crossdev/N8VIDTST.C b/Apps/Source/n8vidtst.c similarity index 100% rename from Apps/crossdev/N8VIDTST.C rename to Apps/Source/n8vidtst.c diff --git a/Apps/crossdev/N8VTEST.ASM b/Apps/Source/n8vtest.asm similarity index 100% rename from Apps/crossdev/N8VTEST.ASM rename to Apps/Source/n8vtest.asm diff --git a/Apps/crossdev/NOACCESS.ASM b/Apps/Source/noaccess.asm similarity index 100% rename from Apps/crossdev/NOACCESS.ASM rename to Apps/Source/noaccess.asm diff --git a/Apps/crossdev/PLIDIO.ASM b/Apps/Source/plidio.asm similarity index 100% rename from Apps/crossdev/PLIDIO.ASM rename to Apps/Source/plidio.asm diff --git a/Apps/crossdev/PORTAB.H b/Apps/Source/portab.h similarity index 100% rename from Apps/crossdev/PORTAB.H rename to Apps/Source/portab.h diff --git a/Apps/crossdev/PORTAB.LIB b/Apps/Source/portab.lib similarity index 100% rename from Apps/crossdev/PORTAB.LIB rename to Apps/Source/portab.lib diff --git a/Apps/crossdev/PORTIO.C b/Apps/Source/portio.c similarity index 100% rename from Apps/crossdev/PORTIO.C rename to Apps/Source/portio.c diff --git a/Apps/crossdev/PRINTERS.ASM b/Apps/Source/printers.asm similarity index 100% rename from Apps/crossdev/PRINTERS.ASM rename to Apps/Source/printers.asm diff --git a/Apps/crossdev/PRINTERS.LIB b/Apps/Source/printers.lib similarity index 100% rename from Apps/crossdev/PRINTERS.LIB rename to Apps/Source/printers.lib diff --git a/Apps/crossdev/PSECIO.C b/Apps/Source/psecio.c similarity index 100% rename from Apps/crossdev/PSECIO.C rename to Apps/Source/psecio.c diff --git a/Apps/crossdev/PUTC.C b/Apps/Source/putc.c similarity index 100% rename from Apps/crossdev/PUTC.C rename to Apps/Source/putc.c diff --git a/Apps/crossdev/RASM80.H b/Apps/Source/rasm80.h similarity index 100% rename from Apps/crossdev/RASM80.H rename to Apps/Source/rasm80.h diff --git a/Apps/crossdev/RECONV.C b/Apps/Source/reconv.c similarity index 100% rename from Apps/crossdev/RECONV.C rename to Apps/Source/reconv.c diff --git a/Apps/crossdev/REM.ASM b/Apps/Source/rem.asm similarity index 100% rename from Apps/crossdev/REM.ASM rename to Apps/Source/rem.asm diff --git a/Apps/crossdev/REMOTE.C b/Apps/Source/remote.c similarity index 100% rename from Apps/crossdev/REMOTE.C rename to Apps/Source/remote.c diff --git a/Apps/crossdev/REQ1PARM.ASM b/Apps/Source/req1parm.asm similarity index 100% rename from Apps/crossdev/REQ1PARM.ASM rename to Apps/Source/req1parm.asm diff --git a/Apps/crossdev/SECTORIO.C b/Apps/Source/sectorio.c similarity index 100% rename from Apps/crossdev/SECTORIO.C rename to Apps/Source/sectorio.c diff --git a/Apps/crossdev/SECTORIO.H b/Apps/Source/sectorio.h similarity index 100% rename from Apps/crossdev/SECTORIO.H rename to Apps/Source/sectorio.h diff --git a/Apps/crossdev/SETLABEL.ASM b/Apps/Source/setlabel.asm similarity index 100% rename from Apps/crossdev/SETLABEL.ASM rename to Apps/Source/setlabel.asm diff --git a/Apps/crossdev/STAT9918.C b/Apps/Source/stat9918.c similarity index 100% rename from Apps/crossdev/STAT9918.C rename to Apps/Source/stat9918.c diff --git a/Apps/crossdev/STD.ASM b/Apps/Source/std.asm similarity index 100% rename from Apps/crossdev/STD.ASM rename to Apps/Source/std.asm diff --git a/Apps/crossdev/STD.H b/Apps/Source/std.h similarity index 100% rename from Apps/crossdev/STD.H rename to Apps/Source/std.h diff --git a/Apps/crossdev/STD.LIB b/Apps/Source/std.lib similarity index 100% rename from Apps/crossdev/STD.LIB rename to Apps/Source/std.lib diff --git a/Apps/crossdev/STD21.H b/Apps/Source/std21.h similarity index 100% rename from Apps/crossdev/STD21.H rename to Apps/Source/std21.h diff --git a/Apps/crossdev/STDLIB.H b/Apps/Source/stdlib.h similarity index 100% rename from Apps/crossdev/STDLIB.H rename to Apps/Source/stdlib.h diff --git a/Apps/crossdev/STDLIB.LIB b/Apps/Source/stdlib.lib similarity index 100% rename from Apps/crossdev/STDLIB.LIB rename to Apps/Source/stdlib.lib diff --git a/Apps/crossdev/STOP.ASM b/Apps/Source/stop.asm similarity index 100% rename from Apps/crossdev/STOP.ASM rename to Apps/Source/stop.asm diff --git a/Apps/crossdev/SYSCFG.H b/Apps/Source/syscfg.h similarity index 100% rename from Apps/crossdev/SYSCFG.H rename to Apps/Source/syscfg.h diff --git a/Apps/crossdev/SYSGEN.C b/Apps/Source/sysgen.c similarity index 100% rename from Apps/crossdev/SYSGEN.C rename to Apps/Source/sysgen.c diff --git a/Apps/crossdev/TERMINAL.ASM b/Apps/Source/terminal.asm similarity index 100% rename from Apps/crossdev/TERMINAL.ASM rename to Apps/Source/terminal.asm diff --git a/Apps/crossdev/TERMINAL.LIB b/Apps/Source/terminal.lib similarity index 100% rename from Apps/crossdev/TERMINAL.LIB rename to Apps/Source/terminal.lib diff --git a/Apps/crossdev/TERMTYPE.C b/Apps/Source/termtype.c similarity index 100% rename from Apps/crossdev/TERMTYPE.C rename to Apps/Source/termtype.c diff --git a/Apps/crossdev/TEST.C b/Apps/Source/test.c similarity index 100% rename from Apps/crossdev/TEST.C rename to Apps/Source/test.c diff --git a/Apps/crossdev/TESTER.C b/Apps/Source/tester.c similarity index 100% rename from Apps/crossdev/TESTER.C rename to Apps/Source/tester.c diff --git a/Apps/crossdev/TESTN8.C b/Apps/Source/testn8.c similarity index 100% rename from Apps/crossdev/TESTN8.C rename to Apps/Source/testn8.c diff --git a/Apps/crossdev/TESTV5.C b/Apps/Source/testv5.c similarity index 100% rename from Apps/crossdev/TESTV5.C rename to Apps/Source/testv5.c diff --git a/Apps/crossdev/TESTV6.C b/Apps/Source/testv6.c similarity index 100% rename from Apps/crossdev/TESTV6.C rename to Apps/Source/testv6.c diff --git a/Apps/crossdev/TMS9918.C b/Apps/Source/tms9918.c similarity index 100% rename from Apps/crossdev/TMS9918.C rename to Apps/Source/tms9918.c diff --git a/Apps/crossdev/TMS9918.H b/Apps/Source/tms9918.h similarity index 100% rename from Apps/crossdev/TMS9918.H rename to Apps/Source/tms9918.h diff --git a/Apps/crossdev/TMS9918X.C b/Apps/Source/tms9918x.c similarity index 100% rename from Apps/crossdev/TMS9918X.C rename to Apps/Source/tms9918x.c diff --git a/Apps/crossdev/TMSBIND.C b/Apps/Source/tmsbind.c similarity index 100% rename from Apps/crossdev/TMSBIND.C rename to Apps/Source/tmsbind.c diff --git a/Apps/crossdev/TMSSTAT.C b/Apps/Source/tmsstat.c similarity index 100% rename from Apps/crossdev/TMSSTAT.C rename to Apps/Source/tmsstat.c diff --git a/Apps/crossdev/TRACKIO.C b/Apps/Source/trackio.c similarity index 100% rename from Apps/crossdev/TRACKIO.C rename to Apps/Source/trackio.c diff --git a/Apps/crossdev/TRACKIO.H b/Apps/Source/trackio.h similarity index 100% rename from Apps/crossdev/TRACKIO.H rename to Apps/Source/trackio.h diff --git a/Apps/crossdev/TWODRIVE.ASM b/Apps/Source/twodrive.asm similarity index 100% rename from Apps/crossdev/TWODRIVE.ASM rename to Apps/Source/twodrive.asm diff --git a/Apps/crossdev/VERIFY.ASM b/Apps/Source/verify.asm similarity index 100% rename from Apps/crossdev/VERIFY.ASM rename to Apps/Source/verify.asm diff --git a/Apps/crossdev/VERSION.LIB b/Apps/Source/version.lib similarity index 100% rename from Apps/crossdev/VERSION.LIB rename to Apps/Source/version.lib diff --git a/Apps/crossdev/VIDEO.C b/Apps/Source/video.c similarity index 100% rename from Apps/crossdev/VIDEO.C rename to Apps/Source/video.c diff --git a/Apps/crossdev/VIEW.C b/Apps/Source/view.c similarity index 100% rename from Apps/crossdev/VIEW.C rename to Apps/Source/view.c diff --git a/Apps/crossdev/VISIBLE.H b/Apps/Source/visible.h similarity index 100% rename from Apps/crossdev/VISIBLE.H rename to Apps/Source/visible.h diff --git a/Apps/crossdev/Z80.LIB b/Apps/Source/z80.lib similarity index 100% rename from Apps/crossdev/Z80.LIB rename to Apps/Source/z80.lib diff --git a/Apps/apps-bins/comfiles.lbr b/Apps/apps-bins/comfiles.lbr deleted file mode 100644 index f5ab52bf..00000000 Binary files a/Apps/apps-bins/comfiles.lbr and /dev/null differ diff --git a/Apps/apps-bins/readme.txt b/Apps/apps-bins/readme.txt deleted file mode 100644 index 89232839..00000000 --- a/Apps/apps-bins/readme.txt +++ /dev/null @@ -1 +0,0 @@ -The library in this folder is not current. The best of everything is in the crossdev folder. diff --git a/Apps/apps-srcs/sources.lbr b/Apps/apps-srcs/sources.lbr deleted file mode 100644 index b6d3fc6d..00000000 Binary files a/Apps/apps-srcs/sources.lbr and /dev/null differ diff --git a/Apps/crossdev/ACCESS.BAT b/Apps/crossdev/ACCESS.BAT deleted file mode 100644 index c233bcdb..00000000 --- a/Apps/crossdev/ACCESS.BAT +++ /dev/null @@ -1,18 +0,0 @@ -rem access.sub 9/5/2012 dwg - build access from sources - -if not exist access.rel erase access.cpm -if not exist access.rel z80mu rmac access - -if not exist printers.rel erase access.cpm -if not exist printers.rel z80mu rmac printers - -if not exist memory.rel erase access.cpm -if not exist memory.rel z80mu rmac memory - -if not exist banner.rel erase access.cpm -if not exist banner.rel z80mu rmac banner - -if not exist access.cpm z80mu link access,memory,banner,printers -if not exist access.cpm rename access.com access.cpm - -dir access.cpm diff --git a/Apps/crossdev/ACCESS.SUB b/Apps/crossdev/ACCESS.SUB deleted file mode 100644 index 66ec69d7..00000000 --- a/Apps/crossdev/ACCESS.SUB +++ /dev/null @@ -1,7 +0,0 @@ -e:rem access.sub 9/5/2012 dwg - build access from sources -rasm80 access -rasm80 printers -rasm80 memory -rasm80 banner -link80 access,memory,banner,printers - \ No newline at end of file diff --git a/Apps/crossdev/AUTOEXEC.Z80 b/Apps/crossdev/AUTOEXEC.Z80 deleted file mode 100644 index f60431fa..00000000 --- a/Apps/crossdev/AUTOEXEC.Z80 +++ /dev/null @@ -1,18 +0,0 @@ -; -; This is a sample AUTOEXEC.Z80 file. Tailor it to your own preferences, -; or delete it entirely. -; -set_bdos min -set_cpmecho off -set_cpmlist lpt1 -set_cpmpun com1 -set_cpmrdr com1 -set_cpu z80 -set_fake on -set_illop fault -set_iobase 400 -set_mask on -set_source z80 -set_term h19 -set_vars on -coldboot diff --git a/Apps/crossdev/BIN/AS80.EXE b/Apps/crossdev/BIN/AS80.EXE deleted file mode 100644 index 66dd9ba0..00000000 Binary files a/Apps/crossdev/BIN/AS80.EXE and /dev/null differ diff --git a/Apps/crossdev/BIN/CCZ.EXE b/Apps/crossdev/BIN/CCZ.EXE deleted file mode 100644 index 4fdb418e..00000000 Binary files a/Apps/crossdev/BIN/CCZ.EXE and /dev/null differ diff --git a/Apps/crossdev/BIN/HEX80.EXE b/Apps/crossdev/BIN/HEX80.EXE deleted file mode 100644 index f1c2bf1a..00000000 Binary files a/Apps/crossdev/BIN/HEX80.EXE and /dev/null differ diff --git a/Apps/crossdev/BIN/LIBUTIL.EXE b/Apps/crossdev/BIN/LIBUTIL.EXE deleted file mode 100644 index 57db8a9d..00000000 Binary files a/Apps/crossdev/BIN/LIBUTIL.EXE and /dev/null differ diff --git a/Apps/crossdev/BIN/LN80.EXE b/Apps/crossdev/BIN/LN80.EXE deleted file mode 100644 index 2213e719..00000000 Binary files a/Apps/crossdev/BIN/LN80.EXE and /dev/null differ diff --git a/Apps/crossdev/BIN/MAKE.EXE b/Apps/crossdev/BIN/MAKE.EXE deleted file mode 100644 index a541a8b3..00000000 Binary files a/Apps/crossdev/BIN/MAKE.EXE and /dev/null differ diff --git a/Apps/crossdev/BLDCORE.BAT b/Apps/crossdev/BLDCORE.BAT deleted file mode 100644 index 725770ce..00000000 --- a/Apps/crossdev/BLDCORE.BAT +++ /dev/null @@ -1,74 +0,0 @@ -@echo off - -rem coreapps.bat 2/15/2013 dwg - build all core apps using batch files - -echo. -echo Building access.com... -if not exist access.cpm call access.bat -if not exist access.cpm echo WARNING ACCESS DIDN'T BUILD -if not exist access.cpm pause - -echo. -echo Building cpmname.com... -if not exist cpmname.cpm call cpmname.bat -if not exist cpmname.cpm echo WARNING CPMNAME DIDN'T BUILD -if not exist cpmname.cpm pause - -echo. -echo Building findfile.com... -if not exist findfile.cpm call findfile.bat -if not exist findfile.cpm echo WARNING FINDFILE DIDN'T BUILD -if not exist findfile.cpm pause - -echo. -echo Building map.com... -if not exist map.cpm call map.bat -if not exist map.cpm echo WARNING MAP DIDN'T BUILD -if not exist map.cpm pause - -echo. -echo Building meta.com... -if not exist meta.cpm call meta.bat -if not exist meta.cpm echo WARNING META DIDN'T BUILD -if not exist meta.cpm pause - -echo. -echo Building multifmt.com... -if not exist multifmt.cpm call multifmt.bat -if not exist multifmt.cpm echo WARNING MULTIFMT DIDN'T BUILD -if not exist multifmt.cpm pause - -echo. -echo Building rem.com... -if not exist rem.cpm call makerem.bat -if not exist rem.cpm echo WARNING REM DIDN'T BUILD -if not exist rem.cpm pause - -echo. -echo Building setlabel.com... -if not exist setlabel.cpm call setlabel.bat -if not exist setlabel.cpm echo WARNING SETLABEL DIDN'T BUILD -if not exist setlabel.cpm pause - -echo. -echo Building sysgen.com... -if not exist sysgen.cpm call sysgen.bat -if not exist sysgen.cpm echo WARNING SYSGEN DIDN'T BUILD -if not exist sysgen.cpm pause - -echo. -echo Building termtype.com... -if not exist termtype.cpm call termtype.bat -if not exist termtype.cpm echo WARNING TERMTYPE DIDN'T BUILD -if not exist termtype.cpm pause - -echo. -echo Building view.com... -if not exist view.cpm call view.bat -if not exist view.cpm echo WARNING VIEW DIDN'T BUILD -if not exist view.cpm pause - -echo. -echo Build Core Apps complete: -echo. -dir *.CPM \ No newline at end of file diff --git a/Apps/crossdev/CC.TMP b/Apps/crossdev/CC.TMP deleted file mode 100644 index 24a91743..00000000 --- a/Apps/crossdev/CC.TMP +++ /dev/null @@ -1,333 +0,0 @@ - extrn .begin,.chl,.swt - extrn zsave,zret - global termtype_,1 - DSEG - public wy50row_ -wy50row_: - DB 32 - DB 33 - DB 34 - DB 35 - DB 36 - DB 37 - DB 38 - DB 39 - DB 40 - DB 41 - DB 42 - DB 43 - DB 44 - DB 45 - DB 46 - DB 47 - DB 48 - DB 49 - DB 50 - DB 51 - DB 52 - DB 53 - DB 54 - DB 55 - CSEG - DSEG - public wy50col_ -wy50col_: - DB 32 - DB 33 - DB 34 - DB 35 - DB 36 - DB 37 - DB 38 - DB 39 - DB 40 - DB 41 - DB 42 - DB 43 - DB 44 - DB 45 - DB 46 - DB 47 - DB 48 - DB 49 - DB 50 - DB 51 - DB 52 - DB 53 - DB 54 - DB 55 - DB 56 - DB 57 - DB 58 - DB 59 - DB 60 - DB 61 - DB 62 - DB 63 - DB 64 - DB 65 - DB 66 - DB 67 - DB 68 - DB 69 - DB 70 - DB 71 - DB 72 - DB 73 - DB 74 - DB 75 - DB 76 - DB 77 - DB 78 - DB 79 - DB 80 - DB 81 - DB 82 - DB 83 - DB 84 - DB 85 - DB 86 - DB 87 - DB 88 - DB 89 - DB 90 - DB 91 - DB 92 - DB 93 - DB 94 - DB 95 - DB 96 - DB 97 - DB 98 - DB 99 - DB 100 - DB 101 - DB 102 - DB 103 - DB 104 - DB 105 - DB 106 - DB 107 - DB 108 - DB 109 - DB 110 - DB 111 - CSEG - PUBLIC crtinit_ -crtinit_: lxi d,.2 - call zsave - LXI H,12-.2 - DAD SP - MOV E,M - XCHG - MOV A,L - STA termtype_ - RET -.2 EQU 0 - PUBLIC crtclr_ -crtclr_: lxi d,.3 - call zsave - LDA termtype_ - MOV L,A - MVI H,0 - JMP .4 -.6: - LXI H,0 - XCHG - LXI H,6-.3 - DAD SP - MOV M,E - INX H - MOV M,D - JMP .8 -.7: - LXI H,6-.3 - DAD SP - PUSH H - MOV A,M - INX H - MOV H,M - MOV L,A - INX H - XCHG - POP H - MOV M,E - INX H - MOV M,D -.8: - LXI H,6-.3 - DAD SP - MOV E,M - INX H - MOV D,M - LXI H,43 - CALL .lt - JZ .9 - LXI H,10 - PUSH H - LXI H,13 - PUSH H - LXI H,.1+0 - PUSH H - CALL printf_ - POP D - POP D - POP D - JMP .7 -.9: - JMP .5 -.10: - LXI H,27 - PUSH H - LXI H,.1+5 - PUSH H - CALL printf_ - POP D - POP D - JMP .5 -.11: - LXI H,27 - PUSH H - LXI H,.1+11 - PUSH H - CALL printf_ - POP D - POP D - JMP .5 -.12: - LXI H,27 - PUSH H - LXI H,27 - PUSH H - LXI H,.1+15 - PUSH H - CALL printf_ - POP D - POP D - POP D - JMP .5 -.4: - CALL .swt - DW 4 - DW 0,.6 - DW 1,.10 - DW 2,.11 - DW 3,.12 - DW .5 -.5: - RET -.3 EQU -2 -.1: - DB 37,99,37,99,0,37,99,91,50,74,0,37,99,43,0 - DB 37,99,74,37,99,72,0 - PUBLIC crtlc_ -crtlc_: lxi d,.14 - call zsave - LDA termtype_ - MOV L,A - MVI H,0 - JMP .15 -.17: - JMP .16 -.18: - LXI H,102 - PUSH H - LXI H,16-.14 - DAD SP - MOV E,M - INX H - MOV D,M - PUSH D - LXI H,16-.14 - DAD SP - MOV E,M - INX H - MOV D,M - PUSH D - LXI H,27 - PUSH H - LXI H,.13+0 - PUSH H - CALL printf_ - XCHG - LXI H,10 - DAD SP - SPHL - JMP .16 -.19: - LXI H,14-.14 - DAD SP - MOV E,M - INX H - MOV D,M - LXI H,wy50col_ - DAD D - DCX H - MOV E,M - MVI D,0 - PUSH D - LXI H,14-.14 - DAD SP - MOV E,M - INX H - MOV D,M - LXI H,wy50row_ - DAD D - DCX H - MOV E,M - MVI D,0 - PUSH D - LXI H,27 - PUSH H - LXI H,.13+11 - PUSH H - CALL printf_ - XCHG - LXI H,8 - DAD SP - SPHL - JMP .16 -.20: - LXI H,14-.14 - DAD SP - MOV E,M - INX H - MOV D,M - LXI H,32 - DAD D - PUSH H - LXI H,14-.14 - DAD SP - MOV E,M - INX H - MOV D,M - LXI H,32 - DAD D - PUSH H - LXI H,27 - PUSH H - LXI H,.13+19 - PUSH H - CALL printf_ - XCHG - LXI H,8 - DAD SP - SPHL - JMP .16 -.15: - CALL .swt - DW 4 - DW 0,.17 - DW 1,.18 - DW 2,.19 - DW 3,.20 - DW .16 -.16: - RET -.14 EQU -2 -.13: - DB 37,99,91,37,100,59,37,100,37,99,0,37,99,61,37 - DB 99,37,99,0,37,99,89,37,99,37,99,0 - extrn printf_ - extrn .lt - END diff --git a/Apps/crossdev/CHARS.SUB b/Apps/crossdev/CHARS.SUB deleted file mode 100644 index 3a21c6d9..00000000 --- a/Apps/crossdev/CHARS.SUB +++ /dev/null @@ -1,18 +0,0 @@ -e:rem chars.sub 7/22/2012 dwg - build chars from source -cc chars -as chars -as bdoscall -as bioscall -as diagnose -cc cbanner -as cbanner -cc ctermcap -as ctermcap -ln chars.o bdoscall.o bioscall.o cbanner.o diagnose.o ctermcap.o c.lib -era chars.o -era bdoscall.o -era bioscall.o -era diagose.o -era cbanner.o -era ctermcap.o - \ No newline at end of file diff --git a/Apps/crossdev/CHECK.SUB b/Apps/crossdev/CHECK.SUB deleted file mode 100644 index bc711968..00000000 --- a/Apps/crossdev/CHECK.SUB +++ /dev/null @@ -1,12 +0,0 @@ -e:access access.com -e:access cpmname.com -e:access findfile.com -e:access map.com -e:access meta.com -e:access multifmt.com -e:access rem.com -e:access setlabel.com -e:access sysgen.com -e:access termtype.com -e:access view.com - \ No newline at end of file diff --git a/Apps/crossdev/CLEAN.BAT b/Apps/crossdev/CLEAN.BAT deleted file mode 100644 index e8965b14..00000000 --- a/Apps/crossdev/CLEAN.BAT +++ /dev/null @@ -1,63 +0,0 @@ -@echo off -if exist *.bak erase *.bak -if exist *.prn erase *.prn -if exist *.o erase *.o -if exist *.rel erase *.rel -if exist *.cpm erase *.cpm -if exist *.sym erase *.sym -if exist 2drive.asm erase 2drive.asm -if exist 2map.asm erase 2map.asm -if exist banker.asm erase banker.asm -if exist cbanner.asm erase cbanner.asm -if exist chars.asm erase chars.asm -if exist clear.asm erase clear.asm -if exist clogical.asm erase clogical.asm -if exist cls.asm erase cls.asm -if exist cmemory.asm erase cmemory.asm -if exist cnamept*.asm erase cnamept*.asm -if exist convert.asm erase convert.asm -if exist cpmname.asm erase cpmname.asm -if exist ctermcap.asm erase ctermcap.asm -if exist cvt2h.asm erase cvt2h.asm -if exist diskcopy.asm erase diskcopy.asm -if exist doit.asm erase doit.asm -if exist dump.asm erase dump.asm -if exist editor.asm erase editor.asm -if exist flip.asm erase flip.asm -if exist form.asm erase form.asm -if exist formfeed.asm erase formfeed.asm -if exist getcfg.asm erase getcfg.asm -if exist hello.asm erase hello.asm -if exist help.asm erase help.asm -if exist label.asm erase label.asm -if exist map.asm erase map.asm -if exist menu.asm erase menu.asm -if exist menu1.asm erase menu1.asm -if exist menucol.asm erase menucol.asm -if exist meta.asm erase meta.asm -if exist mkrasm80.asm erase mkrasm80.asm -if exist monitor.asm erase monitor.asm -if exist multifmt.asm erase multifmt.asm -if exist n8chars.asm erase n8chars.asm -if exist n8vidtst.asm erase n8vidtst.asm -if exist portio.asm erase portio.asm -if exist psecio.asm erase psecio.asm -if exist putc.asm erase putc.asm -if exist reconv.asm erase reconv.asm -if exist remote.asm erase remote.asm -if exist sectorio.asm erase sectorio.asm -if exist stat9918.asm erase stat9918.asm -if exist sysgen.asm erase sysgen.asm -if exist termtype.asm erase termtype.asm -if exist test.asm erase test.asm -if exist tester.asm erase tester.asm -if exist testn8.asm erase testn8.asm -if exist testv5.asm erase testv5.asm -if exist testv6.asm erase testv6.asm -if exist tms9918.asm erase tms9918.asm -if exist tms9918x.asm erase tms9918x.asm -if exist tmsbind.asm erase tmsbind.asm -if exist tmsstat.asm erase tmsstat.asm -if exist trackio.asm erase trackio.asm -if exist video.asm erase video.asm -if exist view.asm erase view.asm \ No newline at end of file diff --git a/Apps/crossdev/CLEAN.SUB b/Apps/crossdev/CLEAN.SUB deleted file mode 100644 index 46363e2d..00000000 --- a/Apps/crossdev/CLEAN.SUB +++ /dev/null @@ -1,27 +0,0 @@ -era *.bak -era *.prn -era *.rel -era *.sym -era *.lst -era *.o -era sect0*.h -era sect1*.h -era sect2*.h -era sect3*.h -era sect4*.h -era sect5*.h -era sect6*.h -era sect7*.h -era sect8*.h -era sect9*.h -era sect0*.inc -era sect1*.inc -era sect2*.inc -era sect3*.inc -era sect4*.inc -era sect5*.inc -era sect6*.inc -era sect7*.inc -era sect8*.inc -era sect9*.inc - \ No newline at end of file diff --git a/Apps/crossdev/CLEAR.SUB b/Apps/crossdev/CLEAR.SUB deleted file mode 100644 index 5a9b9907..00000000 --- a/Apps/crossdev/CLEAR.SUB +++ /dev/null @@ -1,10 +0,0 @@ -e:rem clear.sub 7/22/2012 dwg - build clear from sources -cc clear -as clear -as bdoscall -as bioscall -cc ctermcap -as ctermcap -as diagnose -ln clear.o diagnose.o bioscall.o bdoscall.o ctermcap.o c.lib - \ No newline at end of file diff --git a/Apps/crossdev/COPYCORE.BAT b/Apps/crossdev/COPYCORE.BAT deleted file mode 100644 index 93c37de9..00000000 --- a/Apps/crossdev/COPYCORE.BAT +++ /dev/null @@ -1,20 +0,0 @@ -@echo off - -echo. -echo Regenerate Core directory... -echo. - -if exist ..\core\*.* del /q ..\core\*.* - -copy ACCESS.CPM ..\core\*.COM -copy CPMNAME.CPM ..\core\*.COM -copy FINDFILE.CPM ..\core\*.COM -copy MAP.CPM ..\core\*.COM -copy META.CPM ..\core\*.COM -copy MULTIFMT.CPM ..\core\*.COM -copy REM.CPM ..\core\*.COM -copy SETLABEL.CPM ..\core\*.COM -copy SYSGEN.CPM ..\core\*.COM -copy TERMTYPE.CPM ..\core\*.COM -copy VIEW.CPM ..\core\*.COM -copy ..\doc\DWG-APPS.MAN ..\core\DWG-APPS.MAN \ No newline at end of file diff --git a/Apps/crossdev/COREAPPS.SUB b/Apps/crossdev/COREAPPS.SUB deleted file mode 100644 index e6681ac7..00000000 --- a/Apps/crossdev/COREAPPS.SUB +++ /dev/null @@ -1,71 +0,0 @@ -e:rmac access -e:rmac banner -e:rmac findfile -e:rmac hbios -e:rmac identity -e:rmac labelib -e:rmac memory -e:rmac metadata -e:rmac printers -e:rmac rem -e:rmac setlabel -e:rmac terminal -as asmiface -as bdoscall -as bioscall -cc cbanner -as cbanner -cc clogical -as clogical -cc cmemory -as cmemory -cc cnamept1 -as cnamept1 -cc cnamept2 -as cnamept2 -cc cnamept3 -as cnamept3 -cc cnamept4 -as cnamept4 -cc cpmname -as cpmname -cc ctermcap -as ctermcap -as diagnose -cc map -as map -cc meta -as meta -cc multifmt -as multifmt -cc sectorio -as sectorio -cc sysgen -as sysgen -cc termtype -as termtype -cc view -as view -e:link access,memory,banner,printers -ln cpmname.o ctermcap.o cnamept1.o cnamept2.o cnamept3.o cnamept4.o cmemory.o diagnose.o bioscall.o bdoscall.o c.lib -e:link findfile,hbios,identity,banner,memory,printers,terminal -ln map.o asmiface.o bioscall.o bdoscall.o clogical.o diagnose.o ctermcap.o c.lib -ln meta.o asmiface.o bioscall.o bdoscall.o cbanner.o clogical.o diagnose.o ctermcap.o sectorio.o c.lib -ln multifmt.o asmiface.o bioscall.o bdoscall.o clogical.o cmemory.o sectorio.o diagnose.o ctermcap.o c.lib -e:link rem -e:link setlabel,labelib,identity,printers,banner,metadata,memory -ln sysgen.o sectorio.o ctermcap.o diagnose.o bdoscall.o bioscall.o c.lib -ln termtype.o asmiface.o ctermcap.o diagnose.o c.lib -ln view.o ctermcap.o diagnose.o bdoscall.o bioscall.o c.lib -e:access access.com -e:access cpmname.com -e:access findfile.com -e:access map.com -e:access meta.com -e:access multifmt.com -e:access rem.com -e:access setlabel.com -e:access sysgen.com -e:access termtype.com -e:access view.com - \ No newline at end of file diff --git a/Apps/crossdev/CPM86/AME86.EXE b/Apps/crossdev/CPM86/AME86.EXE deleted file mode 100644 index 663b7bd5..00000000 Binary files a/Apps/crossdev/CPM86/AME86.EXE and /dev/null differ diff --git a/Apps/crossdev/CPM86/AME86DOS.EXE b/Apps/crossdev/CPM86/AME86DOS.EXE deleted file mode 100644 index 99b32591..00000000 Binary files a/Apps/crossdev/CPM86/AME86DOS.EXE and /dev/null differ diff --git a/Apps/crossdev/CPM86/ARCV.COM b/Apps/crossdev/CPM86/ARCV.COM deleted file mode 100644 index 2dccca48..00000000 Binary files a/Apps/crossdev/CPM86/ARCV.COM and /dev/null differ diff --git a/Apps/crossdev/CPM86/AS.EXE b/Apps/crossdev/CPM86/AS.EXE deleted file mode 100644 index 40e27101..00000000 Binary files a/Apps/crossdev/CPM86/AS.EXE and /dev/null differ diff --git a/Apps/crossdev/CPM86/ASSERT.H b/Apps/crossdev/CPM86/ASSERT.H deleted file mode 100644 index a03a1015..00000000 --- a/Apps/crossdev/CPM86/ASSERT.H +++ /dev/null @@ -1,8 +0,0 @@ -#ifndef NDEBUG -#ifndef stderr -#include -#endif -#define assert(x) if (!(x)) {fprintf(stderr,"Assertion failed: x, file %s, line %d\n",__FILE__,__LINE__); exit(1);} -#else -#define assert(x) -#endif diff --git a/Apps/crossdev/CPM86/C.LIB b/Apps/crossdev/CPM86/C.LIB deleted file mode 100644 index 5337a8b3..00000000 Binary files a/Apps/crossdev/CPM86/C.LIB and /dev/null differ diff --git a/Apps/crossdev/CPM86/CC.EXE b/Apps/crossdev/CPM86/CC.EXE deleted file mode 100644 index b78e091b..00000000 Binary files a/Apps/crossdev/CPM86/CC.EXE and /dev/null differ diff --git a/Apps/crossdev/CPM86/CCB.EXE b/Apps/crossdev/CPM86/CCB.EXE deleted file mode 100644 index 8f0b5a25..00000000 Binary files a/Apps/crossdev/CPM86/CCB.EXE and /dev/null differ diff --git a/Apps/crossdev/CPM86/CNM.EXE b/Apps/crossdev/CPM86/CNM.EXE deleted file mode 100644 index 2bf71d82..00000000 Binary files a/Apps/crossdev/CPM86/CNM.EXE and /dev/null differ diff --git a/Apps/crossdev/CPM86/CPM.EXE b/Apps/crossdev/CPM86/CPM.EXE deleted file mode 100644 index df873a9f..00000000 Binary files a/Apps/crossdev/CPM86/CPM.EXE and /dev/null differ diff --git a/Apps/crossdev/CPM86/CRC.EXE b/Apps/crossdev/CPM86/CRC.EXE deleted file mode 100644 index f010c3e2..00000000 Binary files a/Apps/crossdev/CPM86/CRC.EXE and /dev/null differ diff --git a/Apps/crossdev/CPM86/D11.LIB b/Apps/crossdev/CPM86/D11.LIB deleted file mode 100644 index a4e2fac7..00000000 Binary files a/Apps/crossdev/CPM86/D11.LIB and /dev/null differ diff --git a/Apps/crossdev/CPM86/D20.LIB b/Apps/crossdev/CPM86/D20.LIB deleted file mode 100644 index bc64a01d..00000000 Binary files a/Apps/crossdev/CPM86/D20.LIB and /dev/null differ diff --git a/Apps/crossdev/CPM86/DIFF.EXE b/Apps/crossdev/CPM86/DIFF.EXE deleted file mode 100644 index f25fb626..00000000 Binary files a/Apps/crossdev/CPM86/DIFF.EXE and /dev/null differ diff --git a/Apps/crossdev/CPM86/DIOCTL.H b/Apps/crossdev/CPM86/DIOCTL.H deleted file mode 100644 index 092740d1..00000000 --- a/Apps/crossdev/CPM86/DIOCTL.H +++ /dev/null @@ -1,26 +0,0 @@ -/* Copyright (C) 1983 by Manx Software Systems */ - -#define TIOCGETP 0 /* read contents of tty control structure */ -#define TIOCSETP 1 /* set contents of tty control structure */ -#define TIOCSETN 1 /* ditto only don't wait for output to flush */ - -/* special codes for MSDOS 2.x only */ -#define TIOCREAD 2 /* read control info from device */ -#define TIOCWRITE 3 /* write control info to device */ -#define TIOCDREAD 4 /* same as 2 but for drives */ -#define TIOCDWRITE 5 /* same as 3 but for drives */ -#define GETISTATUS 6 /* get input status */ -#define GETOSTATUS 7 /* get output status */ - -struct sgttyb { - short sg_flags; /* control flags */ - char sg_erase; /* ignored */ - char sg_kill; /* ignored */ -}; - -/* settings for flags */ -#define RAW 0x20 /* no echo or mapping of input/output BDOS(6) */ - -/* Refer to the MSDOS technical reference for detailed information on - * the remaining flags. - */ diff --git a/Apps/crossdev/CPM86/ERRNO.H b/Apps/crossdev/CPM86/ERRNO.H deleted file mode 100644 index 2ab0591c..00000000 --- a/Apps/crossdev/CPM86/ERRNO.H +++ /dev/null @@ -1,29 +0,0 @@ -extern int errno; -extern char *sys_errlist[]; -extern int sys_nerr; - -/* MsDos return codes */ -#define EINVAL 1 -#define ENOENT 2 -#define ENOTDIR 3 -#define EMFILE 4 -#define EACCES 5 -#define EBADF 6 -#define EARENA 7 -#define ENOMEM 8 -#define EFAULT 9 -#define EINVENV 10 -#define EBADFMT 11 -#define EINVACC 12 -#define EINVDAT 13 -#define ENODEV 15 -#define ERMCD 16 -#define EXDEV 17 -#define ENOMORE 18 - -/* additional codes used by Aztec C */ -#define EEXIST 19 -#define ENOTTY 20 -/* used by the math library */ -#define ERANGE 21 -#define EDOM 22 diff --git a/Apps/crossdev/CPM86/FCNTL.H b/Apps/crossdev/CPM86/FCNTL.H deleted file mode 100644 index e9d60acb..00000000 --- a/Apps/crossdev/CPM86/FCNTL.H +++ /dev/null @@ -1,7 +0,0 @@ -#define O_RDONLY 0 -#define O_WRONLY 1 -#define O_RDWR 2 -#define O_CREAT 0x0100 -#define O_TRUNC 0x0200 -#define O_EXCL 0x0400 -#define O_APPEND 0x0800 diff --git a/Apps/crossdev/CPM86/G.LIB b/Apps/crossdev/CPM86/G.LIB deleted file mode 100644 index 6c5fe3e0..00000000 Binary files a/Apps/crossdev/CPM86/G.LIB and /dev/null differ diff --git a/Apps/crossdev/CPM86/GRAPH.C b/Apps/crossdev/CPM86/GRAPH.C deleted file mode 100644 index 3f80a80e..00000000 --- a/Apps/crossdev/CPM86/GRAPH.C +++ /dev/null @@ -1,16 +0,0 @@ -main() -{ - char buffer[100]; - - /* set to 25 row x 80 column monochrome mode 6 (HIRES) */ - mode('H'); - printf("Please enter your name: "); - gets(buffer); - /* set to 25 row x 40 column 4-color mode 4 (MEDRES) */ - mode('M'); - printf("Hello %s!\nWelcome to the growing family of\nAZTEC C users...\n", - buffer); - getchar(); - /* set to 25 row x 80 column color text mode 3 (LOWRES) */ - mode('L'); -} diff --git a/Apps/crossdev/CPM86/GRAPH.EXE b/Apps/crossdev/CPM86/GRAPH.EXE deleted file mode 100644 index eee18462..00000000 Binary files a/Apps/crossdev/CPM86/GRAPH.EXE and /dev/null differ diff --git a/Apps/crossdev/CPM86/GRAPH.O b/Apps/crossdev/CPM86/GRAPH.O deleted file mode 100644 index a247de10..00000000 Binary files a/Apps/crossdev/CPM86/GRAPH.O and /dev/null differ diff --git a/Apps/crossdev/CPM86/HELLO.C b/Apps/crossdev/CPM86/HELLO.C deleted file mode 100644 index daab2005..00000000 --- a/Apps/crossdev/CPM86/HELLO.C +++ /dev/null @@ -1,4 +0,0 @@ -main() -{ - printf("Hello Woprd!!"); -} diff --git a/Apps/crossdev/CPM86/HELLO.CMD b/Apps/crossdev/CPM86/HELLO.CMD deleted file mode 100644 index 4444d964..00000000 Binary files a/Apps/crossdev/CPM86/HELLO.CMD and /dev/null differ diff --git a/Apps/crossdev/CPM86/HELLO.EXE b/Apps/crossdev/CPM86/HELLO.EXE deleted file mode 100644 index 58027d8f..00000000 Binary files a/Apps/crossdev/CPM86/HELLO.EXE and /dev/null differ diff --git a/Apps/crossdev/CPM86/HELLO.O b/Apps/crossdev/CPM86/HELLO.O deleted file mode 100644 index 7529c4ec..00000000 Binary files a/Apps/crossdev/CPM86/HELLO.O and /dev/null differ diff --git a/Apps/crossdev/CPM86/HEX86.EXE b/Apps/crossdev/CPM86/HEX86.EXE deleted file mode 100644 index 84b75110..00000000 Binary files a/Apps/crossdev/CPM86/HEX86.EXE and /dev/null differ diff --git a/Apps/crossdev/CPM86/LMACROS.H b/Apps/crossdev/CPM86/LMACROS.H deleted file mode 100644 index c3686de2..00000000 --- a/Apps/crossdev/CPM86/LMACROS.H +++ /dev/null @@ -1,210 +0,0 @@ - nlist -; Copyright (C) 1985 by Manx Software Systems, Inc. -; :ts=8 - ifndef MODEL -MODEL equ 0 - endif - if MODEL and 1 - largecode -FARPROC equ 1 -FPTRSIZE equ 4 - else -FPTRSIZE equ 2 - endif - if MODEL and 2 -LONGPTR equ 1 - endif - -;this macro to be used on returning -;restores bp and registers -pret macro -if havbp - pop bp -endif - ret - endm - -internal macro pname - public pname -pname proc - endm - -intrdef macro pname - public pname -ifdef FARPROC - pname label far -else - pname label near -endif - endm - -procdef macro pname, args - public pname&_ -ifdef FARPROC - _arg = 6 - pname&_ proc far -else - _arg = 4 - pname&_ proc near -endif -ifnb - push bp - mov bp,sp - havbp = 1 - decll -else - havbp = 0 -endif - endm - -entrdef macro pname, args - public pname&_ -ifdef FARPROC - _arg = 6 - pname&_: -else - _arg = 4 - pname&_: -endif -ifnb -if havbp - push bp - mov bp,sp -else - error must declare main proc with args, if entry has args -endif - decll -endif - endm - -;this macro equates 'aname' to arg on stack -decl macro aname, type -;;'byte' or anything else -havtyp = 0 -ifidn , - aname equ byte ptr _arg[bp] - _arg = _arg + 2 - havtyp = 1 -endif -ifidn , - aname equ dword ptr _arg[bp] - _arg = _arg + 4 - havtyp = 1 -endif -ifidn , - aname equ qword ptr _arg[bp] - _arg = _arg + 8 - havtyp = 1 -endif -ifidn , - ifdef LONGPTR - aname equ dword ptr _arg[bp] - _arg = _arg + 4 - else - aname equ word ptr _arg[bp] - _arg = _arg + 2 - endif - havtyp = 1 -endif -ifidn , - ifdef FARPROC - aname equ dword ptr _arg[bp] - _arg = _arg + 4 - else - aname equ word ptr _arg[bp] - _arg = _arg + 2 - endif - havtyp = 1 -endif -ifidn , - aname equ word ptr _arg[bp] - _arg = _arg + 2 - havtyp = 1 -endif -ife havtyp - error -- type is unknown. -endif - endm - -;this macro loads an arg pointer into DEST, with optional SEGment -ldptr macro dest, argname, seg -ifdef LONGPTR - ifnb ;;get segment if specified - ifidn , - les dest,argname - else - ifidn , - lds dest,argname - else - mov dest, word ptr argname - mov seg, word ptr argname[2] - endif - endif - else - ifidn , ;;si gets seg in ds - lds si, argname - else - ifidn , ;;or, es:di - les di, argname - else - garbage error: no seg for long pointer - endif - endif - endif -else - mov dest, word ptr argname ;;get the pointer -ENDIF - ENDM - -decll macro list - IRP i, - decl i - ENDM - ENDM - -pend macro pname -pname&_ endp - endm - -retptrm macro src,seg -mov ax, word ptr src -ifdef LONGPTR - mov dx, word ptr src+2 -endif - endm - -retptrr macro src,seg -mov ax,src -ifdef LONGPTR - ifnb - mov dx, seg - endif -endif - endm - -retnull macro -ifdef LONGPTR - sub dx,dx -endif - sub ax,ax - endm - -pushds macro - ifdef LONGPTR - push ds - endif - endm - -popds macro - ifdef LONGPTR - pop ds - endif - endm - -finish macro -codeseg ends - endm - - list -codeseg segment byte public 'code' - assume cs:codeseg diff --git a/Apps/crossdev/CPM86/LN.EXE b/Apps/crossdev/CPM86/LN.EXE deleted file mode 100644 index a8a38c53..00000000 Binary files a/Apps/crossdev/CPM86/LN.EXE and /dev/null differ diff --git a/Apps/crossdev/CPM86/M.LIB b/Apps/crossdev/CPM86/M.LIB deleted file mode 100644 index 776dafa6..00000000 Binary files a/Apps/crossdev/CPM86/M.LIB and /dev/null differ diff --git a/Apps/crossdev/CPM86/M87.LIB b/Apps/crossdev/CPM86/M87.LIB deleted file mode 100644 index 73c30bca..00000000 Binary files a/Apps/crossdev/CPM86/M87.LIB and /dev/null differ diff --git a/Apps/crossdev/CPM86/M87S.LIB b/Apps/crossdev/CPM86/M87S.LIB deleted file mode 100644 index edb56309..00000000 Binary files a/Apps/crossdev/CPM86/M87S.LIB and /dev/null differ diff --git a/Apps/crossdev/CPM86/MAKE.EXE b/Apps/crossdev/CPM86/MAKE.EXE deleted file mode 100644 index de7a09a5..00000000 Binary files a/Apps/crossdev/CPM86/MAKE.EXE and /dev/null differ diff --git a/Apps/crossdev/CPM86/MAKEFILE b/Apps/crossdev/CPM86/MAKEFILE deleted file mode 100644 index 18140338..00000000 --- a/Apps/crossdev/CPM86/MAKEFILE +++ /dev/null @@ -1,8 +0,0 @@ - - -hello.cmd: hello.c - cc hello - ln -o hello.cmd hello.o -lc - -clean: - erase hello.cmd diff --git a/Apps/crossdev/CPM86/MAP.BAT b/Apps/crossdev/CPM86/MAP.BAT deleted file mode 100644 index 9b2a2117..00000000 --- a/Apps/crossdev/CPM86/MAP.BAT +++ /dev/null @@ -1 +0,0 @@ -z:mount i /Users/doug/Downloads/azcpm32d diff --git a/Apps/crossdev/CPM86/MATH.H b/Apps/crossdev/CPM86/MATH.H deleted file mode 100644 index bc2ebd77..00000000 --- a/Apps/crossdev/CPM86/MATH.H +++ /dev/null @@ -1,11 +0,0 @@ -double sin(), cos(), tan(), cotan(); -double asin(), acos(), atan(), atan2(); -double ldexp(), frexp(), modf(); -double floor(), ceil(), fabs(); -double log(), log10(), exp(), sqrt(), pow(); -double sinh(), cosh(), tanh(); - -#define HUGE_VAL 1.79e+308 -#define LOGHUGE 709.778 -#define TINY_VAL 2.2e-308 -#define LOGTINY -708.396 diff --git a/Apps/crossdev/CPM86/MEMORY.H b/Apps/crossdev/CPM86/MEMORY.H deleted file mode 100644 index 85cc4c88..00000000 --- a/Apps/crossdev/CPM86/MEMORY.H +++ /dev/null @@ -1,2 +0,0 @@ -extern char *memcpy(), *memchr(), *memcpy(), memset(); -extern int memcmp(); diff --git a/Apps/crossdev/CPM86/OBD.EXE b/Apps/crossdev/CPM86/OBD.EXE deleted file mode 100644 index 95006b9d..00000000 Binary files a/Apps/crossdev/CPM86/OBD.EXE and /dev/null differ diff --git a/Apps/crossdev/CPM86/ORD.EXE b/Apps/crossdev/CPM86/ORD.EXE deleted file mode 100644 index 939b095a..00000000 Binary files a/Apps/crossdev/CPM86/ORD.EXE and /dev/null differ diff --git a/Apps/crossdev/CPM86/REGS.H b/Apps/crossdev/CPM86/REGS.H deleted file mode 100644 index f7395c80..00000000 --- a/Apps/crossdev/CPM86/REGS.H +++ /dev/null @@ -1,55 +0,0 @@ -/* regs.h for aztec.c (C) Copyright Bill Buckels 2008. All rights reserved. */ - -#ifndef REGS_DEFINED - -/* word registers */ -/* different than M$oft so don't mix the two */ -struct WORDREGS { - unsigned int ax; - unsigned int bx; - unsigned int cx; - unsigned int dx; - unsigned int si; - unsigned int di; - unsigned int ds; - unsigned int es; - }; - -/* byte registers */ -/* I made these the same as M$oft since - the first 6 word regs are the same between the two */ -struct BYTEREGS { - unsigned char al, ah; - unsigned char bl, bh; - unsigned char cl, ch; - unsigned char dl, dh; - }; - -/* general purpose registers union - - * overlays the corresponding word and byte registers. - */ - -union REGS { - struct WORDREGS x; - struct BYTEREGS h; - }; - - -/* segment registers */ -/* different than M$oft so don't mix the two */ -struct SREGS { - unsigned int cs; - unsigned int ss; - unsigned int ds; - unsigned int es; - }; - - -/* the following makes it a little easier - to port code from M$soft and Turbo C - over to Aztec C unless you want to be - an Aztec C purist */ -#define int86(x,y,z) sysint(x,y,z) - -#define REGS_DEFINED 1 -#endif \ No newline at end of file diff --git a/Apps/crossdev/CPM86/S.LIB b/Apps/crossdev/CPM86/S.LIB deleted file mode 100644 index 36906898..00000000 Binary files a/Apps/crossdev/CPM86/S.LIB and /dev/null differ diff --git a/Apps/crossdev/CPM86/SEARCH.H b/Apps/crossdev/CPM86/SEARCH.H deleted file mode 100644 index a32fdf35..00000000 --- a/Apps/crossdev/CPM86/SEARCH.H +++ /dev/null @@ -1,5 +0,0 @@ -typedef int VISIT; -#define preorder 1 -#define postorder 2 -#define endorder 3 -#define leaf 4 diff --git a/Apps/crossdev/CPM86/SIGNAL.H b/Apps/crossdev/CPM86/SIGNAL.H deleted file mode 100644 index 2bea52f2..00000000 --- a/Apps/crossdev/CPM86/SIGNAL.H +++ /dev/null @@ -1,15 +0,0 @@ -/* Copyright (C) 1985 by Manx Software Systems, Inc. */ - -#define SIG_DFL ((void (*)())0) -#define SIG_IGN ((void (*)())1) -#define SIG_ERR ((void (*)())-1) - -#define SIGINT 1 -#define SIGTERM 2 -#define SIGABRT 3 -#define SIGFPE 4 -#define SIGILL 5 -#define SIGSEGV 6 - -#define _NUMSIG 6 -#define _FSTSIG 1 diff --git a/Apps/crossdev/CPM86/SQZ.EXE b/Apps/crossdev/CPM86/SQZ.EXE deleted file mode 100644 index b4a27ffe..00000000 Binary files a/Apps/crossdev/CPM86/SQZ.EXE and /dev/null differ diff --git a/Apps/crossdev/CPM86/STAT.H b/Apps/crossdev/CPM86/STAT.H deleted file mode 100644 index 5e10dbaf..00000000 --- a/Apps/crossdev/CPM86/STAT.H +++ /dev/null @@ -1,29 +0,0 @@ -/* Copyright (C) 1984 by Manx Software Systems */ - -struct stat { - char st_attr; - long st_mtime; - long st_size; -}; - -/* settings of the st_attr field */ -#define ST_RDONLY 0x01 /* read only file */ -#define ST_HIDDEN 0x02 /* hidden file */ -#define ST_SYSTEM 0x04 /* system file */ -#define ST_VLABEL 0x08 /* volume label */ -#define ST_DIRECT 0x10 /* file is a sub-directory */ -#define ST_ARCHIV 0x20 /* set when file has been written and closed */ - -/* the format of the st_mtime field is: - < year > < month> < day > < hours > < minutes > < sec/2 > - 3 3 2 2 2 2 2 2 2 2 2 2 1 1 1 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0 0 0 - 1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0 - -where: - year is from 0-119 for 1980-2099 - month is 1-12 - day is 1-31 - hours is 0-23 - minutes is 0-59 - sec/2 is 0-29 -*/ diff --git a/Apps/crossdev/CPM86/STDIO.H b/Apps/crossdev/CPM86/STDIO.H deleted file mode 100644 index aa5bec1e..00000000 --- a/Apps/crossdev/CPM86/STDIO.H +++ /dev/null @@ -1,45 +0,0 @@ -/* Copyright (C) 1982, 1984 by Manx Software Systems */ -#define fgetc getc -#define fputc putc -#define NULL (void *)0 -#define EOF -1 - - -#define BUFSIZ 1024 -#define MAXSTREAM 20 - -#define _BUSY 0x01 -#define _ALLBUF 0x02 -#define _DIRTY 0x04 -#define _EOF 0x08 -#define _IOERR 0x10 -#define _TEMP 0x20 /* temporary file (delete on close) */ - -typedef struct { - char *_bp; /* current position in buffer */ - char *_bend; /* last character in buffer + 1 */ - char *_buff; /* address of buffer */ - char _flags; /* open mode, etc. */ - char _unit; /* token returned by open */ - char _bytbuf; /* single byte buffer for unbuffer streams */ - int _buflen; /* length of buffer */ - char *_tmpname; /* name of file for temporaries */ -} FILE; - -extern FILE Cbuffs[]; -FILE *fopen(); -long ftell(); - -#define stdin (&Cbuffs[0]) -#define stdout (&Cbuffs[1]) -#define stderr (&Cbuffs[2]) -#define getchar() agetc(stdin) -#define putchar(c) aputc(c, stdout) -#define feof(fp) (((fp)->_flags&_EOF)!=0) -#define ferror(fp) (((fp)->_flags&_IOERR)!=0) -#define clearerr(fp) ((fp)->_flags &= ~(_IOERR|_EOF)) -#define fileno(fp) ((fp)->_unit) -#define fflush(fp) flsh_(fp,-1) - -#define P_tmpdir "" -#define L_tmpnam 40 diff --git a/Apps/crossdev/CPM86/TIME.H b/Apps/crossdev/CPM86/TIME.H deleted file mode 100644 index 07c73a42..00000000 --- a/Apps/crossdev/CPM86/TIME.H +++ /dev/null @@ -1,22 +0,0 @@ -/* Copyright (C) 1984, 1985 by Manx Software Systems */ - -#define CLK_TCK 100 -typedef long time_t; -typedef long clock_t; - -struct tm { - short tm_sec; - short tm_min; - short tm_hour; - short tm_mday; - short tm_mon; - short tm_year; - short tm_wday; - short tm_yday; - short tm_isdst; - short tm_hsec; -}; - -struct tm *gmtime(), *localtime(); -char *asctime(), *ctime(); -time_t time(); diff --git a/Apps/crossdev/CPMNAME.BAT b/Apps/crossdev/CPMNAME.BAT deleted file mode 100644 index 33a14847..00000000 --- a/Apps/crossdev/CPMNAME.BAT +++ /dev/null @@ -1,57 +0,0 @@ -rem cpmname.sub 9/5/2012 dwg - build cpmname from sources - -if not exist cpmname.asm erase cpmname.cpm -if not exist cpmname.asm erase cpmname.o -if not exist cpmname.asm z80mu cc cpmname -if not exist cpmname.o erase cpmname.cpm -if not exist cpmname.o z80mu as cpmname - -if not exist cnamept1.asm erase cpmname.cpm -if not exist cnamept1.asm erase cnamept1.o -if not exist cnamept1.asm z80mu cc cnamept1 -if not exist cnamept1.o erase cpmname.cpm -if not exist cnamept1.o z80mu as cnamept1 - -if not exist cnamept2.asm erase cpmname.cpm -if not exist cnamept2.asm erase cnamept2.o -if not exist cnamept2.asm z80mu cc cnamept2 -if not exist cnamept2.o erase cpmname.cpm -if not exist cnamept2.o z80mu as cnamept2 - -if not exist cnamept3.asm erase cpmname.cpm -if not exist cnamept3.asm erase cnamept3.o -if not exist cnamept3.asm z80mu cc cnamept3 -if not exist cnamept3.o erase cpmname.cpm -if not exist cnamept3.o z80mu as cnamept3 - -if not exist cnamept4.asm erase cpmname.cpm -if not exist cnamept4.asm erase cnamept4.o -if not exist cnamept4.asm z80mu cc cnamept4 -if not exist cnamept4.o erase cpmname.cpm -if not exist cnamept4.o z80mu as cnamept4 - -if not exist bdoscall.o erase cpmname.cpm -if not exist bdoscall.o z80mu as bdoscall - -if not exist bioscall.o erase cpmname.cpm -if not exist bioscall.o z80mu as bioscall - -if not exist cmemory.asm erase cpmname.cpm -if not exist cmemory.asm erase cmemory.o -if not exist cmemory.asm z80mu cc cmemory -if not exist cmemory.o erase cpmname.cpm -if not exist cmemory.o z80mu as cmemory - -if not exist ctermcap.asm erase cpmname.cpm -if not exist ctermcap.asm erase ctermcap.o -if not exist ctermcap.asm z80mu cc ctermcap -if not exist ctermcap.o erase cpmname.cpm -if not exist ctermcap.o z80mu as ctermcap - -if not exist diagnose.o erase cpmname.cpm -if not exist diagnose.o z80mu as diagnose - -if not exist cpmname.cpm z80mu ln cpmname.o ctermcap.o cnamept1.o cnamept2.o cnamept3.o cnamept4.o cmemory.o diagnose.o bioscall.o bdoscall.o c.lib -if not exist cpmanme.cpm rename cpmname.com cpmname.cpm - -dir cpmname.cpm diff --git a/Apps/crossdev/CPMNAME.SUB b/Apps/crossdev/CPMNAME.SUB deleted file mode 100644 index adba240b..00000000 --- a/Apps/crossdev/CPMNAME.SUB +++ /dev/null @@ -1,20 +0,0 @@ -e:rem cpmname.sub 9/5/2012 dwg - build cpmname from sources -cc cpmname -as cpmname -cc cnamept1 -as cnamept1 -cc cnamept2 -as cnamept2 -cc cnamept3 -as cnamept3 -cc cnamept4 -as cnamept4 -as bdoscall -as bioscall -cc cmemory -as cmemory -cc ctermcap -as ctermcap -as diagnose -ln cpmname.o ctermcap.o cnamept1.o cnamept2.o cnamept3.o cnamept4.o cmemory.o diagnose.o bioscall.o bdoscall.o c.lib - \ No newline at end of file diff --git a/Apps/crossdev/EDITOR.EXE b/Apps/crossdev/EDITOR.EXE deleted file mode 100644 index ee7637fe..00000000 Binary files a/Apps/crossdev/EDITOR.EXE and /dev/null differ diff --git a/Apps/crossdev/EDITOR.SUB b/Apps/crossdev/EDITOR.SUB deleted file mode 100644 index 9b86c7f7..00000000 --- a/Apps/crossdev/EDITOR.SUB +++ /dev/null @@ -1,6 +0,0 @@ -cc editor -as editor -as bdoscall -as diagnose -ln editor.o bdoscall.o diagnose.o -lc - \ No newline at end of file diff --git a/Apps/crossdev/EXTRACT.SUB b/Apps/crossdev/EXTRACT.SUB deleted file mode 100644 index f069ac44..00000000 --- a/Apps/crossdev/EXTRACT.SUB +++ /dev/null @@ -1 +0,0 @@ -nulu submits.lbr -e $1.sub -x \ No newline at end of file diff --git a/Apps/crossdev/FAST.SUB b/Apps/crossdev/FAST.SUB deleted file mode 100644 index bc12d4ed..00000000 --- a/Apps/crossdev/FAST.SUB +++ /dev/null @@ -1,4 +0,0 @@ -cc remote -as remote -ln remote.o bdoscall.o ctermcap.o n8chars.o tms9918.o diagnose.o -lc - \ No newline at end of file diff --git a/Apps/crossdev/FINDFILE.BAT b/Apps/crossdev/FINDFILE.BAT deleted file mode 100644 index a8fda54e..00000000 --- a/Apps/crossdev/FINDFILE.BAT +++ /dev/null @@ -1,12 +0,0 @@ -rem findfile.sub 9/5/2012 dwg - make findfile.com from sources -if not exist findfile.rel z80mu rmac findfile -if not exist printers.rel z80mu rmac printers -if not exist terminal.rel z80mu rmac terminal -if not exist memory.rel z80mu rmac memory -if not exist banner.rel z80mu rmac banner -if not exist identity.rel z80mu rmac identity -if not exist hbios.rel z80mu rmac hbios -if not exist findfile.cpm z80mu link findfile,hbios,identity,banner,memory,printers,terminal -if not exist findfile.cpm rename findfile.com findfile.cpm -dir findfile.cpm - diff --git a/Apps/crossdev/FINDFILE.SUB b/Apps/crossdev/FINDFILE.SUB deleted file mode 100644 index f5e8e754..00000000 --- a/Apps/crossdev/FINDFILE.SUB +++ /dev/null @@ -1,13 +0,0 @@ -e:rem findfile.sub 9/5/2012 dwg - make findfile.com from sources -era *.bak -era *.prn -rasm80 findfile -rasm80 printers -rasm80 terminal -rasm80 memory -rasm80 banner -rasm80 identity -rasm80 hbios -link80 findfile,hbios,identity,banner,memory,printers,terminal - - \ No newline at end of file diff --git a/Apps/crossdev/FLIP.SUB b/Apps/crossdev/FLIP.SUB deleted file mode 100644 index ab25bd36..00000000 --- a/Apps/crossdev/FLIP.SUB +++ /dev/null @@ -1,5 +0,0 @@ -cc flip -as flip -as diagnose -ln flip.o diagnose.o -lc - \ No newline at end of file diff --git a/Apps/crossdev/FORMFEED.SUB b/Apps/crossdev/FORMFEED.SUB deleted file mode 100644 index 67b4bbec..00000000 --- a/Apps/crossdev/FORMFEED.SUB +++ /dev/null @@ -1,4 +0,0 @@ -cc formfeed -as formfeed -ln formfeed.o -lc - \ No newline at end of file diff --git a/Apps/crossdev/LABEL.DWG b/Apps/crossdev/LABEL.DWG deleted file mode 100644 index cbf30794..00000000 --- a/Apps/crossdev/LABEL.DWG +++ /dev/null @@ -1,3 +0,0 @@ -RomWBW/branches/dwg/Apps/crossdev -1234567890123456789012345678901234 - 1 2 3 \ No newline at end of file diff --git a/Apps/crossdev/MAKE.BAT b/Apps/crossdev/MAKE.BAT deleted file mode 100644 index 171311dc..00000000 --- a/Apps/crossdev/MAKE.BAT +++ /dev/null @@ -1,4 +0,0 @@ -set tmppath=%path% -set path=\bin -bin\make %1 -set path=%tmppath% diff --git a/Apps/crossdev/MAKEFILE b/Apps/crossdev/MAKEFILE deleted file mode 100644 index df23fc28..00000000 --- a/Apps/crossdev/MAKEFILE +++ /dev/null @@ -1,119 +0,0 @@ -# makefile 6/13/2012 dwg - build Apps using Aztec C Cross Compiler for Z80 - -MODE = debug -#MODE = release - -CC = bin\ccz -D$(MODE) -FLAGS = -o $@ -AS = bin\as80 -LN = bin\ln80 -LNFLAGS = -o $@ - -CHARS = $(MODE)\chars.o -CPMNAME = $(MODE)\cpmname.o $(MODE)\cnamept1.o $(MODE)\cnamept2.o $(MODE)\cnamept3.o $(MODE)\cnamept4.o -LABEL = $(MODE)\label.o -MAP = $(MODE)\map.o -META = $(MODE)\meta.o -SYSGEN = $(MODE)\sysgen.o -TESTER = $(MODE)\tester.o -VIEW = $(MODE)\view.o -GENOBJS = $(MODE)\asmiface.o $(MODE)\cbanner.o $(MODE)\bdoscall.o $(MODE)\bioscall.o $(MODE)\clogical.o $(MODE)\cmemory.o $(MODE)\diagnose.o $(MODE)\sectorio.o $(MODE)\ctermcap.o c.lib - -.c.o: - $(CC) $(FLAGS) $< - -.asm.o: - $(AS) $(FLAGS) $< - -all: $(MODE)\tester.com $(MODE)\cpmname.com $(MODE)\chars.com \ - $(MODE)\sysgen.com $(MODE)\label.com $(MODE)\map.com \ - $(MODE)\meta.com $(MODE)\view.com - -$(MODE)\chars.com: $(CHARS) $(GENOBJS) - $(LN) $(LNFLAGS) -F &&! -$(CHARS) $(GENOBJS) -! - -$(MODE)\cpmname.com: $(CPMNAME) $(GENOBJS) - $(LN) $(LNFLAGS) -F &&! -$(CPMNAME) $(GENOBJS) -! - -$(MODE)\sysgen.com: $(SYSGEN) $(GENOBJS) - $(LN) $(LNFLAGS) -F &&! -$(SYSGEN) $(GENOBJS) -! - -$(MODE)\label.com: $(LABEL) $(GENOBJS) - $(LN) $(LNFLAGS) -F &&! -$(LABEL) $(GENOBJS) -! - -$(MODE)\map.com: $(MAP) $(GENOBJS) - $(LN) $(LNFLAGS) -F &&! -$(MAP) $(GENOBJS) -! - -$(MODE)\meta.com: $(META) $(GENOBJS) - $(LN) $(LNFLAGS) -F &&! -$(META) $(GENOBJS) -! - -$(MODE)\tester.com: $(TESTER) $(GENOBJS) - $(LN) $(LNFLAGS) -F &&! -$(TESTER) $(GENOBJS) -! - -$(MODE)\view.com: $(VIEW) $(GENOBJS) - $(LN) $(LNFLAGS) -F &&! -$(VIEW) $(GENOBJS) -! - -$(MODE)\asmiface.o: asmiface.asm - -$(MODE)\cbanner.o: cbanner.c - -$(MODE)\chars.o: chars.c - -$(MODE)\clogical.o: clogical.c - -$(MODE)\cmemory.o: cmemory.c - -$(MODE)\cpmname.o: cpmname.c - -$(MODE)\cnamept1.o: cnamept1.c - -$(MODE)\cnamept2.o: cnamept2.c - -$(MODE)\cnamept3.o: cnamept3.c - -$(MODE)\cnamept4.o: cnamept4.c - -$(MODE)\ctermcap.o: ctermcap.c - -$(MODE)\bdoscall.o: bdoscall.asm - -$(MODE)\bioscall.o: bioscall.asm - -$(MODE)\diagnose.o: diagnose.asm - -$(MODE)\label.o: label.c - -$(MODE)\map.o: map.c - -$(MODE)\meta.o: meta.c - -$(MODE)\sectorio.o: sectorio.c - -$(MODE)\sysgen.o: sysgen.c - -$(MODE)\tester.o: tester.c - -$(MODE)\view.o: view.c - -clean: - if exist cpmname.com erase cpmname.com - if exist *.bak erase *.bak - if exist *.o erase *.o - if exist debug\*.* erase debug\*.* - if exist release\*.* erase release\*.* diff --git a/Apps/crossdev/MAKEREM.BAT b/Apps/crossdev/MAKEREM.BAT deleted file mode 100644 index fca26c2d..00000000 --- a/Apps/crossdev/MAKEREM.BAT +++ /dev/null @@ -1,9 +0,0 @@ -rem rem.sub 7/22/2012 dwg - build rem from sources - -if not exist rem.rel erase rem.cpm -if not exist rem.rel erase rem.com -if not exist rem.rel z80mu rmac rem -if not exist rem.cpm z80mu link rem -if not exist rem.cpm rename rem.com rem.cpm -dir rem.cpm - diff --git a/Apps/crossdev/MAP.BAT b/Apps/crossdev/MAP.BAT deleted file mode 100644 index 1863cbcc..00000000 --- a/Apps/crossdev/MAP.BAT +++ /dev/null @@ -1,14 +0,0 @@ -rem map.bat 7/22/2012 dwg - build map from sources -if not exist map.asm z80mu cc map -if not exist map.o z80mu as map -if not exist asmiface.o z80mu as asmiface -if not exist bdoscall.o z80mu as bdoscall -if not exist bioscall.o z80mu as bioscall -if not exist clogical.asm z80mu cc clogical -if not exist clogical.o z80mu as clogical -if not exist ctermcap.asm z80mu cc ctermcap -if not exist ctermcap.o z80mu as ctermcap -if not exist diagnose.o z80mu as diagnose -if not exist map.cpm z80mu ln map.o asmiface.o bioscall.o bdoscall.o clogical.o diagnose.o ctermcap.o c.lib -if not exist map.cpm rename map.com map.cpm -dir map.cpm diff --git a/Apps/crossdev/MAP.SUB b/Apps/crossdev/MAP.SUB deleted file mode 100644 index 299696f3..00000000 --- a/Apps/crossdev/MAP.SUB +++ /dev/null @@ -1,20 +0,0 @@ -e:rem map.sub 7/22/2012 dwg - build map from sources -cc map -as map -as asmiface -as bdoscall -as bioscall -cc clogical -as clogical -cc ctermcap -as ctermcap -as diagnose -ln map.o asmiface.o bioscall.o bdoscall.o clogical.o diagnose.o ctermcap.o c.lib -era map.o -era asmiface.o -era bdoscall.o -era bioscall.o -era clogical.o -era ctermcap.o -era diagnose.o - \ No newline at end of file diff --git a/Apps/crossdev/META.BAT b/Apps/crossdev/META.BAT deleted file mode 100644 index 135cad02..00000000 --- a/Apps/crossdev/META.BAT +++ /dev/null @@ -1,62 +0,0 @@ -rem meta.bat 2/14/2013 dwg - build meta.cpm using native tools via z80mu - -if not exist asmiface.o erase meta.cpm -if not exist asmiface.o z80mu as asmiface -rem dir asmiface.* -rem pause - -if not exist bdoscall.o erase meta.cpm -if not exist bdoscall.o z80mu as bdoscall -rem dir bdoscall.* -rem pause - -if not exist bioscall.o erase meta.cpm -if not exist bioscall.o z80mu as bioscall -rem dir bioscall* -rem pause - -if not exist cbanner.asm erase meta.cpm -if not exist cbanner.asm erase cbanner.o -if not exist cbanner.asm z80mu cc cbanner -if not exist cbanner.o erase meta.cpm -if not exist cbanner.o z80mu as cbanner -rem dir cbanner.* -rem pause - -if not exist clogical.asm erase meta.cpm -if not exist clogical.asm erase clogical.o -if not exist clogical.asm z80mu cc clogical -if not exist clogical.o erase meta.cpm -if not exist clogical.o z80mu as clogical -rem dir clogical.* -rem pause -if not exist ctermcap.asm erase meta.cpm -if not exist ctermcap.asm erase ctermcap.o -if not exist ctermcap.asm z80mu cc ctermcap -if not exist ctermcap.o erase meta.cpm -if not exist ctermcap.o z80mu as ctermcap -rem dir ctermcap.* -rem pause -if not exist diagnose.o erase meta.cpm -if not exist diagnose.o z80mu as diagnose -rem dir diagnose.* -rem pause -if not exist sectorio.asm erase meta.cpm -if not exist sectorio.asm erase sectorio.o -if not exist sectorio.asm z80mu cc sectorio -if not exist sectorio.o erase meta.cpm -if not exist sectorio.o z80mu as sectorio -rem dir sectorio.* -rem pause - -if not exist meta.asm erase meta.cpm -if not exist meta.asm erase meta.o -if not exist meta.asm z80mu cc meta -if not exist meta.o erase meta.cpm -if not exist meta.o z80mu as meta -rem dir meta.* -rem pause -if not exist meta.cpm z80mu ln meta.o asmiface.o bioscall.o bdoscall.o cbanner.o clogical.o diagnose.o ctermcap.o sectorio.o c.lib -if not exist meta.cpm rename meta.com meta.cpm -rem dir meta.* -dir meta.cpm diff --git a/Apps/crossdev/META.SUB b/Apps/crossdev/META.SUB deleted file mode 100644 index 7a2d211d..00000000 --- a/Apps/crossdev/META.SUB +++ /dev/null @@ -1,19 +0,0 @@ -e:rem meta.sub 7/22/2012 dwg - build meta from sources -era *.bak -era *.prn -cc meta -as meta -as asmiface -as bioscall -as bdoscall -cc cbanner -as cbanner -cc clogical -as clogical -cc ctermcap -as ctermcap -as diagnose -cc sectorio -as sectorio -ln meta.o asmiface.o bioscall.o bdoscall.o cbanner.o clogical.o diagnose.o ctermcap.o sectorio.o c.lib - \ No newline at end of file diff --git a/Apps/crossdev/MULTIFMT.BAT b/Apps/crossdev/MULTIFMT.BAT deleted file mode 100644 index 45b2c3eb..00000000 --- a/Apps/crossdev/MULTIFMT.BAT +++ /dev/null @@ -1,42 +0,0 @@ -rem multifmt.bat 2/14/2013 dwg - build multifmt.cpm using native tools -@echo off -@if not exist asmiface.o erase multifmt.cpm -@if not exist asmiface.o z80mu as asmiface - -@if not exist clogical.asm erase multifmt.cpm -@if not exist clogical.asm erase clogical.o -@if not exist clogical.asm z80mu cc clogical -@if not exist clogical.o erase multifmt.cpm -@if not exist clogical.o z80mu as clogical - -@if not exist cmemory.asm erase multifmt.cpm -@if not exist cmemory.asm erase cmemory.o -@if not exist cmemory.asm z80mu cc cmemory -@if not exist cmemory.o erase multifmt.cpm -@if not exist cmemory.o z80mu as cmemory - -@if not exist ctermcap.asm erase multifmt.cpm -@if not exist ctermcap.asm erase ctermcap.o -@if not exist ctermcap.asm z80mu cc ctermcap -@if not exist ctermcap.o erase multifmt.cpm -@if not exist ctermcap.o z80mu as ctermcap - -@if not exist diagnose.o erase multifmt.cpm -@if not exist diagnose.o z80mu as diagnose - -@if not exist multifmt.asm erase multifmt.cpm -@if not exist multifmt.asm erase multifmt.o -@if not exist multifmt.asm z80mu cc multifmt -@if not exist multifmt.o erase multifmt.cpm -@if not exist multifmt.o z80mu as multifmt - -@if not exist sectorio.asm erase multifmt.cpm -@if not exist sectorio.asm erase sectorio.o -@if not exist sectorio.asm z80mu cc sectorio -@if not exist sectorio.o erase multifmt.cpm -@if not exist sectorio.o z80mu as sectorio - -@if not exist multifmt.cpm z80mu ln multifmt.o asmiface.o bioscall.o bdoscall.o clogical.o cmemory.o sectorio.o diagnose.o ctermcap.o c.lib -@if not exist multifmt.cpm rename multifmt.com multifmt.cpm - -dir multifmt.cpm diff --git a/Apps/crossdev/MULTIFMT.SUB b/Apps/crossdev/MULTIFMT.SUB deleted file mode 100644 index 718c92d7..00000000 --- a/Apps/crossdev/MULTIFMT.SUB +++ /dev/null @@ -1,16 +0,0 @@ -cc multifmt -as multifmt -as asmiface -as bdoscall -as bioscall -cc clogical -as clogical -as diagnose -cc cmemory -as cmemory -cc ctermcap -as ctermcap -cc sectorio -as sectorio -ln multifmt.o asmiface.o bioscall.o bdoscall.o clogical.o cmemory.o sectorio.o diagnose.o ctermcap.o c.lib - \ No newline at end of file diff --git a/Apps/crossdev/N8VIDTST.BAT b/Apps/crossdev/N8VIDTST.BAT deleted file mode 100644 index 368fe809..00000000 --- a/Apps/crossdev/N8VIDTST.BAT +++ /dev/null @@ -1,9 +0,0 @@ -if not exist n8vidtst.asm z80mu cc n8vidtst -if not exist n8vidtst.o z80mu as n8vidtst -if not exist n8chars.asm z80mu cc n8chars -if not exist n8chars.o z80mu as n8chars -if not exist tms9918.asm z80mu cc tms9918 -if not exist tms9918.o z80mu as tms9918 -if not exist n8vidtst.cpm z80mu ln n8vidtst.o n8chars.o tms9918.o -lc -if not exist n8vidtst.cpm rename n8vidtst.com n8vidtst.cpm -dir n8vidtst.cpm diff --git a/Apps/crossdev/N8VIDTST.SUB b/Apps/crossdev/N8VIDTST.SUB deleted file mode 100644 index c30896a7..00000000 --- a/Apps/crossdev/N8VIDTST.SUB +++ /dev/null @@ -1,8 +0,0 @@ -cc n8vidtst -as n8vidtst -cc n8chars -as n8chars -cc tms9918 -as tms9918 -ln n8vidtst.o n8chars.o tms9918.o -lc - \ No newline at end of file diff --git a/Apps/crossdev/PUTC.SUB b/Apps/crossdev/PUTC.SUB deleted file mode 100644 index e415af08..00000000 --- a/Apps/crossdev/PUTC.SUB +++ /dev/null @@ -1,7 +0,0 @@ -cc putc -as putc -cc n8chars -as n8chars -as diagnose -ln putc.o n8chars.o diagnose.o -lc - \ No newline at end of file diff --git a/Apps/crossdev/README.TXT b/Apps/crossdev/README.TXT deleted file mode 100644 index 5a108ae9..00000000 --- a/Apps/crossdev/README.TXT +++ /dev/null @@ -1,14 +0,0 @@ -There are two diverse build methods that can be used here. - -One was the Makefile which called a DOS cross assembler to -build the target files. - -The newer method installed today is batch file driven instead. - -This is not ideal because time stamps aren't part of the picture, -and I may go back to that later, but for now I was focusing on -DOSBox specific Z80MU enabled native tool usage. - -To build the core apps, the "coreapps.bat" file will do the job. - - diff --git a/Apps/crossdev/REM.SUB b/Apps/crossdev/REM.SUB deleted file mode 100644 index 74a243f1..00000000 --- a/Apps/crossdev/REM.SUB +++ /dev/null @@ -1,4 +0,0 @@ -e:rem rem.sub 7/22/2012 dwg - build rem from sources -rasm80 rem -link80 rem - \ No newline at end of file diff --git a/Apps/crossdev/REMOTE.SUB b/Apps/crossdev/REMOTE.SUB deleted file mode 100644 index 0ab52911..00000000 --- a/Apps/crossdev/REMOTE.SUB +++ /dev/null @@ -1,14 +0,0 @@ -cc remote -as remote -as diagnose -cc n8chars -as n8chars -cc tms9918 -as tms9918 -cc ctermcap -as ctermcap -as bdoscall -as asmiface -as bioscall -ln remote.o asmiface.o bioscall.o bdoscall.o ctermcap.o n8chars.o tms9918.o diagnose.o -lc - \ No newline at end of file diff --git a/Apps/crossdev/SETLABEL.BAT b/Apps/crossdev/SETLABEL.BAT deleted file mode 100644 index 519fba90..00000000 --- a/Apps/crossdev/SETLABEL.BAT +++ /dev/null @@ -1,26 +0,0 @@ -rem setlabel.bat 2/15/2013 dwg - build setlabel.cpm using native tools - -if not exist banner.rel erase setlabel.cpm -if not exist banner.rel z80mu rmac banner - -if not exist identity.rel erase setlabel.cpm -if not exist identity.rel z80mu rmac identity - -if not exist labelib.rel erase setlabel.cpm -if not exist labelib.rel z80mu rmac labelib - -if not exist memory.rel erase setlabel.cpm -if not exist memory.rel z80mu rmac memory - -if not exist metadata.rel erase setlabel.cpm -if not exist metadata.rel z80mu rmac metadata - -if not exist printers.rel erase setlabel.cpm -if not exist printers.rel z80mu rmac printers - -if not exist setlabel.rel erase setlabel.cpm -if not exist setlabel.rel z80mu rmac setlabel -if not exist setlabel.cpm z80mu link setlabel,labelib,identity,printers,banner,metadata,memory -if not exist setlabel.cpm rename setlabel.com setlabel.cpm - -dir setlabel.cpm diff --git a/Apps/crossdev/SETLABEL.SUB b/Apps/crossdev/SETLABEL.SUB deleted file mode 100644 index c8310620..00000000 --- a/Apps/crossdev/SETLABEL.SUB +++ /dev/null @@ -1,12 +0,0 @@ -e:rem setlabel.sub 7/22/2012 dwg - build setlabel from sources -era *.bak -era *.prn -rasm80 setlabel -rasm80 printers -rasm80 banner -rasm80 metadata -rasm80 memory -rasm80 identity -rasm80 labelib -link80 setlabel,labelib,identity,printers,banner,metadata,memory - \ No newline at end of file diff --git a/Apps/crossdev/SOURCES.SUB b/Apps/crossdev/SOURCES.SUB deleted file mode 100644 index cc8a9023..00000000 --- a/Apps/crossdev/SOURCES.SUB +++ /dev/null @@ -1,9 +0,0 @@ -era *.bak -era *.prn -era *.rel -era *.sym -era sect0*.h -era sect1*.h -era sect2*.h -nulu sources.lbr -T *.asm -T *.lib -T *.c -T *.h -T *.sub -D 2drive.* -D twodrive.* -D $$$$$$.SUB -X - \ No newline at end of file diff --git a/Apps/crossdev/SYSGEN.BAT b/Apps/crossdev/SYSGEN.BAT deleted file mode 100644 index ffe74a86..00000000 --- a/Apps/crossdev/SYSGEN.BAT +++ /dev/null @@ -1,34 +0,0 @@ -rem sysgen.bat 2/14/2013 dwg - build sysgen.cpm using native tools via z80mu -rem this is working very well now, very much like a makefile :-) - -if not exist bdoscall.o erase sysgen.cpm -if not exist bdoscall.o z80mu as bdoscall - -if not exist bioscall.o erase sysgen.cpm -if not exist bioscall.o z80mu as bioscall - -if not exist ctermcap.asm erase sysgen.cpm -if not exist ctermcap.asm erase ctermcap.o -if not exist ctermcap.asm z80mu cc ctermcap -if not exist ctermcap.o erase sysgen.cpm -if not exist ctermcap.o z80mu as ctermcap - -if not exist diagnose.o erase sysgen.cpm -if not exist diagnose.o z80mu as diagnose - -if not exist sectorio.asm erase sysgen.cpm -if not exist sectorio.asm erase sectorio.o -if not exist sectorio.asm z80mu cc sectorio -if not exist sectorio.o erase sysgen.cpm -if not exist sectorio.o z80mu as sectorio - -if not exist sysgen.asm erase sysgen.cpm -if not exist sysgen.asm erase sysgen.o -if not exist sysgen.asm z80mu cc sysgen -if not exist sysgen.o erase sysgen.cpm -if not exist sysgen.o z80mu as sysgen - -if not exist sysgen.cpm z80mu ln sysgen.o sectorio.o ctermcap.o diagnose.o bdoscall.o bioscall.o c.lib -if not exist sysgen.cpm rename sysgen.com sysgen.cpm - -dir sysgen.cpm diff --git a/Apps/crossdev/SYSGEN.SUB b/Apps/crossdev/SYSGEN.SUB deleted file mode 100644 index f8a2170b..00000000 --- a/Apps/crossdev/SYSGEN.SUB +++ /dev/null @@ -1,14 +0,0 @@ -e:rem sysgen.sub 7/22/2012 dwg - build sysgen from sources -era *.bak -era *.prn -cc sysgen -as sysgen -as bdoscall -as bioscall -cc ctermcap -as ctermcap -as diagnose -cc sectorio -as sectorio -ln sysgen.o sectorio.o ctermcap.o diagnose.o bdoscall.o bioscall.o c.lib - \ No newline at end of file diff --git a/Apps/crossdev/TASM301.EXE b/Apps/crossdev/TASM301.EXE deleted file mode 100644 index 4e1f77c3..00000000 Binary files a/Apps/crossdev/TASM301.EXE and /dev/null differ diff --git a/Apps/crossdev/TERMTYPE.BAT b/Apps/crossdev/TERMTYPE.BAT deleted file mode 100644 index 18454758..00000000 --- a/Apps/crossdev/TERMTYPE.BAT +++ /dev/null @@ -1,25 +0,0 @@ -rem termtype.sub 7/22/2012 dwg - build termtype from sources - -if not exist termtype.asm erase termtype.cpm -if not exist termtype.asm erase termtype.o -if not exist termtype.asm z80mu cc termtype -if not exist termtype.o erase termtype.cpm -if not exist termtype.o z80mu as termtype - -if not exist asmiface.o erase termtype.cpm -if not exist asmiface.o z80mu as asmiface - -if not exist ctermcap.asm erase termtype.cpm -if not exist ctermcap.asm erase termtype.o -if not exist ctermcap.asm z80mu cc ctermcap -if not exist ctermcap.o erase termtype.cpm -if not exist ctermcap.o z80mu as ctermcap - -if not exist diagnose.o erase termtype.cpm -if not exist diagnose.o z80mu as diagnose - -if not exist termtype.cpm z80mu ln termtype.o asmiface.o ctermcap.o diagnose.o c.lib -if not exist termtype.cpm rename termtype.com termtype.cpm - -dir termtype.cpm - diff --git a/Apps/crossdev/TERMTYPE.SUB b/Apps/crossdev/TERMTYPE.SUB deleted file mode 100644 index 81371e82..00000000 --- a/Apps/crossdev/TERMTYPE.SUB +++ /dev/null @@ -1,13 +0,0 @@ -e:rem termtype.sub 7/22/2012 dwg - build termtype from sources -cc termtype -as termtype -as asmiface -cc ctermcap -as ctermcap -as diagnose -ln termtype.o asmiface.o ctermcap.o diagnose.o c.lib -era termtype.o -era asmiface.o -era ctermcap.o -era diagnose.o - \ No newline at end of file diff --git a/Apps/crossdev/TMSSTAT.BAT b/Apps/crossdev/TMSSTAT.BAT deleted file mode 100644 index b29f4eec..00000000 --- a/Apps/crossdev/TMSSTAT.BAT +++ /dev/null @@ -1,10 +0,0 @@ -rem tmsstat.bat 2/15/2013 dwg - build tmsstat.cpm using native tools - -if not exist tmsstat.asm z80mu cc tmsstat -if not exist tmsstat.o z80mu as tmsstat -if not exist n8chars.asm z80mu cc n8chars -if not exist n8chars.o z80mu as n8chars -if not exist tms9918.asm z80mu cc tms9918 -if not exist tms9918.o z80mu as tms9918 -if not exist tmsstat.cpm z80mu ln tmsstat.o n8chars.o tms9918.o -lc -if not exist tmsstat.cpm rename tmsstat.com tmsstat.cpm diff --git a/Apps/crossdev/TMSSTAT.SUB b/Apps/crossdev/TMSSTAT.SUB deleted file mode 100644 index 2d2726be..00000000 --- a/Apps/crossdev/TMSSTAT.SUB +++ /dev/null @@ -1,8 +0,0 @@ -cc tmsstat -as tmsstat -cc n8chars -as n8chars -cc tms9918 -as tms9918 -ln tmsstat.o n8chars.o tms9918.o -lc - \ No newline at end of file diff --git a/Apps/crossdev/VIEW.BAT b/Apps/crossdev/VIEW.BAT deleted file mode 100644 index 35be28dd..00000000 --- a/Apps/crossdev/VIEW.BAT +++ /dev/null @@ -1,19 +0,0 @@ -rem build view.cpm(.com) using native 8-bit tools -if not exist bdoscall.o erase view.cpm -if not exist bdoscall.o z80mu as bdoscall -if not exist bioscall.o erase view.cpm -if not exist bioscall.o z80mu as bioscall -if not exist ctermcap.asm erase view.cpm -if not exist ctermcap.asm z80mu cc ctermcap -if not exist ctermcap.o erase view.cpm -if not exist ctermcap.o z80mu as ctermcap -if not exist diagnose.o erase view.cpm -if not exist diagnose.o z80mu as diagnose -if not exist view.asm erase view.cpm -if not exist view.asm z80mu cc view -if not exist view.o erase view.cpm -if not exist view.o z80mu as view -if not exist view.cpm z80mu ln view.o ctermcap.o diagnose.o bdoscall.o bioscall.o c.lib -if not exist view.cpm rename view.com view.cpm -dir view.cpm - diff --git a/Apps/crossdev/VIEW.SUB b/Apps/crossdev/VIEW.SUB deleted file mode 100644 index e309cb2a..00000000 --- a/Apps/crossdev/VIEW.SUB +++ /dev/null @@ -1,11 +0,0 @@ -e:rem view.sub 7/22/2012 dwg - build view from source -cc view -as view -as bdoscall -as bioscall -cc ctermcap -as ctermcap -as diagnose -ln view.o ctermcap.o diagnose.o bdoscall.o bioscall.o c.lib -era diagnose.o - \ No newline at end of file diff --git a/Apps/crossdev/XTRAAPPS.BAT b/Apps/crossdev/XTRAAPPS.BAT deleted file mode 100644 index fce4b32d..00000000 --- a/Apps/crossdev/XTRAAPPS.BAT +++ /dev/null @@ -1,4 +0,0 @@ -rem xtraapps.bat 2/16/2013 dwg - build extra applicastions - -if not exist n8vidtst.cpm call n8vidtst.bat -if not exist tmsstat.cpm call tmsstat.bat diff --git a/Apps/crossdev/Z80MU.EXE b/Apps/crossdev/Z80MU.EXE deleted file mode 100644 index c8067d74..00000000 Binary files a/Apps/crossdev/Z80MU.EXE and /dev/null differ diff --git a/Apps/dougs-devo/allfiles.lbr b/Apps/dougs-devo/allfiles.lbr deleted file mode 100644 index 17151ca2..00000000 Binary files a/Apps/dougs-devo/allfiles.lbr and /dev/null differ diff --git a/Apps/dougs-devo/readme.txt b/Apps/dougs-devo/readme.txt deleted file mode 100644 index c37df299..00000000 --- a/Apps/dougs-devo/readme.txt +++ /dev/null @@ -1,19 +0,0 @@ - -Note: This file is down-level. The best source is in -crossdev. - - - - -This file, "allfiles.lbr" is the complete contents of my A: drive, -on which I develop all my apps and utilities. Once you have your -system running with storage (ppide,ide,sd,...), configure to use -DM_PPIDE or similar so the mass storage is on A: B: C: & D:. - -Unpack this file onto A: and you will be all set to build the apps. - -You will also have enough to get you going writing your own. - -Good luck, - -Douglas Goodall diff --git a/Clean.cmd b/Clean.cmd index 66e5d9eb..57a69d70 100644 --- a/Clean.cmd +++ b/Clean.cmd @@ -6,17 +6,13 @@ pushd Source call Clean.cmd popd -echo Cleaning Apps\core... -pushd Apps\core -del /q *.* -popd - -echo Cleaning Apps\crossdev... -pushd Apps\crossdev -call Clean.bat +echo Cleaning Apps... +pushd Apps\Source +call Clean.cmd popd -choice /m "Clean Output directory?" +choice /m "Clean Output directories?" if errorlevel 2 goto :eof echo Cleaning Output... -if exist Output\*.* del Output\*.* /Q \ No newline at end of file +if exist Output\*.* del Output\*.* /Q +if exist Apps\Output\*.* del Apps\Output\*.* /Q \ No newline at end of file diff --git a/ReadMe.txt b/ReadMe.txt index e6b3d546..35cd16c6 100644 --- a/ReadMe.txt +++ b/ReadMe.txt @@ -8,8 +8,8 @@ Builders: Wayne Warthen (wwarthen@gmail.com) Douglas Goodall (douglas_goodall@mac.com) David Giles (vk5dg@internode.on.net) -Updated: 2013-04-28 -Version: 2.5 Beta 7 +Updated: 2013-05-10 +Version: 2.5 Beta 8 This is an adaptation of CP/M-80 2.2 and ZSDOS/ZCPR targeting ROMs for all N8VEM Z80 hardware variations diff --git a/Source/Build.ps1 b/Source/Build.ps1 index ccfd7a7d..0f782d59 100644 --- a/Source/Build.ps1 +++ b/Source/Build.ps1 @@ -146,7 +146,7 @@ Concat 'bootapp.bin','syscfg.bin','loader.bin','hbios.bin','dbgmon.bin','os.bin' Copy-Item $BlankFile $RomDiskFile cpmcp -f $RomFmt $RomDiskFile ../RomDsk/${SYS}_${RomSize}KB/*.* 0: cpmcp -f $RomFmt $RomDiskFile ../RomDsk/cfg_${Platform}_${Config}/*.* 0: -cpmcp -f $RomFmt $RomDiskFile ../Apps/core/*.* 0: +cpmcp -f $RomFmt $RomDiskFile ../Apps/Output/*.* 0: cpmcp -f $RomFmt $RomDiskFile ../Output/${RomName}.sys 0:${SYS}.sys Concat 'rom0.bin','rom1.bin',$RomDiskFile $RomFile diff --git a/Source/ver.inc b/Source/ver.inc index 44e3da18..9c183f31 100644 --- a/Source/ver.inc +++ b/Source/ver.inc @@ -1,6 +1,6 @@ #DEFINE RMJ 2 #DEFINE RMN 5 #DEFINE RUP 0 -#DEFINE RTP 7 -#DEFINE BIOSVER "2.5 - Beta 7" +#DEFINE RTP 8 +#DEFINE BIOSVER "2.5 - Beta 8" #DEFINE REVISION 412 diff --git a/Tools/cpm/bin/ARCV.COM b/Tools/cpm/bin/ARCV.COM new file mode 100644 index 00000000..e23062c0 Binary files /dev/null and b/Tools/cpm/bin/ARCV.COM differ diff --git a/Apps/crossdev/AS.COM b/Tools/cpm/bin/AS.COM similarity index 99% rename from Apps/crossdev/AS.COM rename to Tools/cpm/bin/AS.COM index c8c41b79..5b1825fc 100644 Binary files a/Apps/crossdev/AS.COM and b/Tools/cpm/bin/AS.COM differ diff --git a/Apps/crossdev/CC.COM b/Tools/cpm/bin/CC.COM similarity index 100% rename from Apps/crossdev/CC.COM rename to Tools/cpm/bin/CC.COM diff --git a/Tools/cpm/bin/CNM.COM b/Tools/cpm/bin/CNM.COM new file mode 100644 index 00000000..ee73f709 Binary files /dev/null and b/Tools/cpm/bin/CNM.COM differ diff --git a/Tools/cpm/bin/CRC.COM b/Tools/cpm/bin/CRC.COM new file mode 100644 index 00000000..5c5bb355 Binary files /dev/null and b/Tools/cpm/bin/CRC.COM differ diff --git a/Tools/cpm/bin/CZ.COM b/Tools/cpm/bin/CZ.COM new file mode 100644 index 00000000..1ab00ae6 Binary files /dev/null and b/Tools/cpm/bin/CZ.COM differ diff --git a/Tools/cpm/bin/HEX80.COM b/Tools/cpm/bin/HEX80.COM new file mode 100644 index 00000000..a9eed9b5 Binary files /dev/null and b/Tools/cpm/bin/HEX80.COM differ diff --git a/Tools/cpm/bin/LIB.COM b/Tools/cpm/bin/LIB.COM new file mode 100644 index 00000000..45d7fb21 Binary files /dev/null and b/Tools/cpm/bin/LIB.COM differ diff --git a/Tools/cpm/bin/LIBUTIL.COM b/Tools/cpm/bin/LIBUTIL.COM new file mode 100644 index 00000000..8dfc0ad4 Binary files /dev/null and b/Tools/cpm/bin/LIBUTIL.COM differ diff --git a/Apps/crossdev/LINK.COM b/Tools/cpm/bin/LINK.COM similarity index 100% rename from Apps/crossdev/LINK.COM rename to Tools/cpm/bin/LINK.COM diff --git a/Apps/crossdev/LN.COM b/Tools/cpm/bin/LN.COM similarity index 100% rename from Apps/crossdev/LN.COM rename to Tools/cpm/bin/LN.COM diff --git a/Tools/cpm/bin/MAC.COM b/Tools/cpm/bin/MAC.COM new file mode 100644 index 00000000..f49e835a Binary files /dev/null and b/Tools/cpm/bin/MAC.COM differ diff --git a/Apps/crossdev/RMAC.COM b/Tools/cpm/bin/RMAC.COM similarity index 100% rename from Apps/crossdev/RMAC.COM rename to Tools/cpm/bin/RMAC.COM diff --git a/Tools/cpm/bin/SIDSYM.COM b/Tools/cpm/bin/SIDSYM.COM new file mode 100644 index 00000000..3a2b3081 Binary files /dev/null and b/Tools/cpm/bin/SIDSYM.COM differ diff --git a/Tools/cpm/bin/SQZ.COM b/Tools/cpm/bin/SQZ.COM new file mode 100644 index 00000000..60315cc6 Binary files /dev/null and b/Tools/cpm/bin/SQZ.COM differ diff --git a/Apps/crossdev/CPM86/CTYPE.H b/Tools/cpm/include/CTYPE.H similarity index 96% rename from Apps/crossdev/CPM86/CTYPE.H rename to Tools/cpm/include/CTYPE.H index 390ffb31..c32d720f 100644 --- a/Apps/crossdev/CPM86/CTYPE.H +++ b/Tools/cpm/include/CTYPE.H @@ -18,3 +18,4 @@ extern char ctp_[]; #define toascii(x) ((x)&127) #define _tolower(x) ((x)|0x20) #define _toupper(x) ((x)&0x5f) + \ No newline at end of file diff --git a/Tools/cpm/include/ERRNO.H b/Tools/cpm/include/ERRNO.H new file mode 100644 index 00000000..0ec6b042 --- /dev/null +++ b/Tools/cpm/include/ERRNO.H @@ -0,0 +1,15 @@ +extern int errno; +#define ENOENT -1 +#define E2BIG -2 +#define EBADF -3 +#define ENOMEM -4 +#define EEXIST -5 +#define EINVAL -6 +#define ENFILE -7 +#define EMFILE -8 +#define ENOTTY -9 +#define EACCES -10 + +#define ERANGE -20 +#define EDOM -21 + \ No newline at end of file diff --git a/Apps/crossdev/FCNTL.H b/Tools/cpm/include/FCNTL.H similarity index 100% rename from Apps/crossdev/FCNTL.H rename to Tools/cpm/include/FCNTL.H diff --git a/Apps/crossdev/CPM86/IO.H b/Tools/cpm/include/IO.H similarity index 90% rename from Apps/crossdev/CPM86/IO.H rename to Tools/cpm/include/IO.H index d78d6a3c..5da6f270 100644 --- a/Apps/crossdev/CPM86/IO.H +++ b/Tools/cpm/include/IO.H @@ -80,3 +80,4 @@ struct fcbtab { #define SETREC 36 #define Wrkbuf ((char *)0x80) + \ No newline at end of file diff --git a/Apps/crossdev/CPM86/LIBC.H b/Tools/cpm/include/LIBC.H similarity index 87% rename from Apps/crossdev/CPM86/LIBC.H rename to Tools/cpm/include/LIBC.H index 1251d336..476ca25c 100644 --- a/Apps/crossdev/CPM86/LIBC.H +++ b/Tools/cpm/include/LIBC.H @@ -13,7 +13,6 @@ extern int (*Sysvec[])(); #define _DIRTY 0x04 #define _EOF 0x08 #define _IOERR 0x10 -#define _TEMP 0x20 /* temporary file (delete on close) */ typedef struct { char *_bp; /* current position in buffer */ @@ -23,7 +22,6 @@ typedef struct { char _unit; /* token returned by open */ char _bytbuf; /* single byte buffer for unbuffer streams */ int _buflen; /* length of buffer */ - char *_tmpname; /* name of file for temporaries */ } FILE; extern FILE Cbuffs[]; @@ -39,3 +37,4 @@ long ftell(); #define ferror(fp) (((fp)->_flags&_IOERR)!=0) #define clearerr(fp) ((fp)->_flags &= ~(_IOERR|_EOF)) #define fileno(fp) ((fp)->_unit) + \ No newline at end of file diff --git a/Tools/cpm/include/MATH.H b/Tools/cpm/include/MATH.H new file mode 100644 index 00000000..03869826 --- /dev/null +++ b/Tools/cpm/include/MATH.H @@ -0,0 +1,12 @@ +double sin(), cos(), tan(), cotan(); +double asin(), acos(), atan(), atan2(); +double ldexp(), frexp(), modf(); +double floor(), ceil(); +double log(), log10(), exp(), sqrt(), pow(); +double sinh(), cosh(), tanh(), fabs(); + +#define HUGE 5.2e+151 +#define LOGHUGE 349.3 +#define TINY 7.5e-155 +#define LOGTINY -354.8 + \ No newline at end of file diff --git a/Apps/crossdev/CPM86/SETJMP.H b/Tools/cpm/include/SETJMP.H similarity index 64% rename from Apps/crossdev/CPM86/SETJMP.H rename to Tools/cpm/include/SETJMP.H index 0205583d..4a742332 100644 --- a/Apps/crossdev/CPM86/SETJMP.H +++ b/Tools/cpm/include/SETJMP.H @@ -1,4 +1,5 @@ /* Copyright (C) 1983 by Manx Software Systems */ -#define JBUFSIZE (6*sizeof(int)) +#define JBUFSIZE (5*sizeof(int)) typedef char jmp_buf[JBUFSIZE]; + \ No newline at end of file diff --git a/Apps/crossdev/CPM86/SGTTY.H b/Tools/cpm/include/SGTTY.H similarity index 89% rename from Apps/crossdev/CPM86/SGTTY.H rename to Tools/cpm/include/SGTTY.H index a2a5cad3..bff94784 100644 --- a/Apps/crossdev/CPM86/SGTTY.H +++ b/Tools/cpm/include/SGTTY.H @@ -17,3 +17,4 @@ struct sgttyb { #define ECHO 0x08 /* ignored unless CBREAK is set */ #define CBREAK 0x02 /* input using BDOS(1), unless echo off then */ /* same as RAW */ + \ No newline at end of file diff --git a/Apps/crossdev/STDIO.H b/Tools/cpm/include/STDIO.H similarity index 100% rename from Apps/crossdev/STDIO.H rename to Tools/cpm/include/STDIO.H diff --git a/Apps/crossdev/C.LIB b/Tools/cpm/lib/C.LIB similarity index 100% rename from Apps/crossdev/C.LIB rename to Tools/cpm/lib/C.LIB diff --git a/Tools/cpm/lib/M.LIB b/Tools/cpm/lib/M.LIB new file mode 100644 index 00000000..97778c30 Binary files /dev/null and b/Tools/cpm/lib/M.LIB differ diff --git a/Tools/cpm/lib/ROM.LIB b/Tools/cpm/lib/ROM.LIB new file mode 100644 index 00000000..7cebad01 Binary files /dev/null and b/Tools/cpm/lib/ROM.LIB differ diff --git a/Tools/cpm/lib/T.LIB b/Tools/cpm/lib/T.LIB new file mode 100644 index 00000000..b749a4f8 Binary files /dev/null and b/Tools/cpm/lib/T.LIB differ diff --git a/Tools/zx/bios.bin b/Tools/zx/bios.bin new file mode 100644 index 00000000..922a98ca Binary files /dev/null and b/Tools/zx/bios.bin differ diff --git a/Tools/zx/zx.exe b/Tools/zx/zx.exe new file mode 100644 index 00000000..3ac829ea Binary files /dev/null and b/Tools/zx/zx.exe differ diff --git a/Tools/zx/zx.html b/Tools/zx/zx.html new file mode 100644 index 00000000..e7658b8e --- /dev/null +++ b/Tools/zx/zx.html @@ -0,0 +1,200 @@ +zx v0.5.2 + +

zx v0.5.2

+ +

zx is a wrapper for the Hi-Tech C CP/M compiler, allowing it to +be used as a cross-compiler under UNIX. Version 0.5.0 also works with the build +tools necessary to assemble CP/M 3 (MAC, RMAC, LINK, GENCOM). + +

New in this version: +

    +
  • Compiles on boxes where sync() does not return int (reported by multiple +users). +
  • BDOS function 10 takes a pointer to unsigned char, thus allowing input +buffers longer than 128 bytes (Andy Parkins) +
+ +

Setting up

+ +

Firstly, build the compiler. It should not be necessary to rebuild bios.bin; +but if you have to, it assembles using the z80asm assembler (part of +the z80pack emulation package which can be found on the Walnut Creek +CP/M CDROM) or the +ZMAC assembler +(downloadable from <http://www.nenie.org/cpcip/index.html#zmac>). +

Previous versions of ZX could be compiled under DOS using +DJGPP; this may still be possible, but has not been tested since the build +system was changed to use the GNU autotools. + +

This version of zx contains copies of the CPMIO and CPMREDIR libraries, +so you won't need to obtain them separately. + +

You will need the tools you want to use; either the Hi-Tech C compiler for +CP/M <http://www.hitech.com.au> + +or Digital Research's tools at + +<http://www.cpm.z80.de> + +Once you have obtained the tools, documentation and possibly the library +source, you need to decide where to put the files. zx uses +three directories: + +

    +
  • BINDIR80 (by default, /usr/local/lib/cpm/bin80) + holds the compiler itself. You should copy the compiler .com files + (or MAC, RMAC etc.) and bios.bin to this directory. +
  • LIBDIR80 (by default, /usr/local/lib/cpm/lib80) + holds the C libraries libc.lib, libf.lib, crtcpm.obj and rrtcpm.obj. +
  • INCDIR80 (by default, /usr/local/lib/cpm/include80) + holds the compiler .h files. +
+ +

The locations of these directories are normally set by the configure +script; you can override them by editing zx.h and uncommenting the lines +that redefine them. + +

Once you have installed zx and the build tools, try +building Hello World: + +

+#include <stdio.h>
+void main()
+{
+ printf("Hello World\n");
+}
+
+ +or for RMAC: + +
+ CSEG
+
+ LXI D,HELLO
+ MVI C,9
+ CALL 5
+ RST 0
+
+HELLO: DB 'Hello World',13,10,'$' + +
+ +

To compile the first example, type

zxc hello.c
; if +all goes well, you should end up with a file called hello.com. You can +test the resulting file by typing
zx hello.com
. + +

To assemble the second example, type +

+ zx rmac.com hello
+ zx link.com hello +
+and run it as above. NOTE: RMAC requires that lines be terminated with CR/LF. +You may need to put a unix2dos command in your makefile before you invoke RMAC. + +

Using zx

+ +

For detailed instructions, see the documentation for Hi-Tech C or +the CP/M tools. zx behaves in the same way, but note the +following points: + +

Program names

+ +

The names of the programs have been changed between CP/M and UNIX; for +example, you would type

zxc hello.c
instead of +
c hello.c
. The programs to use are: + +
+
zxc
The equivalent of C.COM. +
zxas
The equivalent of ZAS.COM. +
zxlink
The equivalent of LINK.COM. +
zxlibr
The equivalent of LIBR.COM. +
+ +

All these programs work by converting their arguments to a form suitable +for zx, and then invoking zx. + +

There are no front-end programs for the CP/M build tools; you will have to +enter arguments to these in the zx format given below. + +

Filenames

+ +

Where the documentation allows you to enter a CP/M filename, you should +instead enter a UNIX one. The filename itself (as opposed to any directories in +its path) must obey CP/M 8.3 naming conventions and be all lowercase. +

Where the documentation requires a CP/M driveletter / user number +

-I2:C:
you should enter a path complete with + trailing slash:
-I/usr/src/linux-80/include/
+ +

Technical

+ +

zx emulates a subset of CP/M 3; hopefully enough to run the +Hi-Tech C compiler. It can be used as a limited general-purpose CP/M 3 +emulator provided the emulated program only uses a restricted subset of +system calls. +

zx behaves like the emulator com, allowing CP/M +programs to be used transparently from a UNIX prompt. However com: +

    +
  • Emulates all of CP/M 2, rather than a subset of CP/M 3; +
  • Is designed for general use, not tailored to Hi-Tech C; +
  • Is written partly in assembly language and will only run on 68000-based +computers; +
  • Cannot map UNIX directories to CP/M drives; +
  • Contains some bugs connected with command parsing and file I/O. +
+ +

Syntax for zx is: + +

+ zx comfile.com arg1 arg2 ... +
+ +

The comfile is the program to run; zx searches the current +directory and BINDIR80 for it. +

The arguments are parsed in this way: + +

    +
  • Any argument starting with a - sign is passed to the CP/M program as-is, + minus the leading - sign. +
  • Any argument starting with a + sign is parsed as a filename (see below) + and then concatenated to the previous argument. +
  • Any argument starting "+-" is concatenated without being parsed. +
  • All other arguments are parsed as filenames. The UNIX pathname is + converted to a CP/M driveletter. +
+

For example: +

+ zx foo.com --Q -A /dev/null --I +/dev/zero +-, +/foo/bar +
+would pass these arguments to foo.com: +
+ -Q A d:null -Id:zero,e:bar +
+ +

The other programs are merely wrappers that convert their command lines +into the form required by zx. + +

Errors

+ +

Any errors raised by the zx runtime system will be prefixed +with zx:. Some errors you may encounter are: + +

+
Unsupported BDOS call +
Part of CP/M 3 that the program uses has not been emulated. Add the +required functionality to zxbdos.c and recompile. +
Z80 encountered invalid trap +
The CP/M program being run attempted to call the zx runtime +system with an unknown call number. This will happen if the program was +written for my emulator "Joyce". +
+

Acknowledgements

+ +
    +
  • Hi-Tech C was written by Hi-Tech Software. +
  • The Z80 emulation engine was written by Ian Collier. +
  • Thanks to Jacob Nevins, Andy Parkins and others for bug fix suggestions. +
+
+
John Elliott, 28 March 2003
+ +