]> cloudbase.mooo.com Git - avrcpm.git/blobdiff - cpm/Makefile
SVN --> GIT
[avrcpm.git] / cpm / Makefile
index e12e618cd1fea192ee346134f47937832794c890..e60ea576df6c95d137a2bc40ac0de17d40b47c3e 100644 (file)
@@ -37,6 +37,14 @@ CPM.BIN: IPL.BIN BIOS.BIN $(CPMSYS)
        dd conv=sync bs=128  count=7 if=BIOS.BIN >> tmpCPM.BIN &&\
        mv tmpCPM.BIN CPM.BIN
 
+zsdossys: IPL.BIN CCP.BIN ZSDOS.BIN BIOS.BIN
+       dd conv=sync bs=118 count=1  if=IPL.BIN    > tmpCPM.BIN  &&\
+               echo -n "<CPM_Disk>"              >> tmpCPM.BIN  &&\
+       dd conv=sync bs=128 count=16 if=CCP.BIN   >> tmpCPM.BIN  &&\
+       dd conv=sync bs=128 count=28 if=ZSDOS.BIN >> tmpCPM.BIN  &&\
+       dd conv=sync bs=128 count=7  if=BIOS.BIN  >> tmpCPM.BIN  &&\
+       mv tmpCPM.BIN zsdossys
+
 
 BIOS.PRN BIOS.REL : AVRCPM.LIB CFGACPM.LIB
 IPL.PRN IPL.REL : CFGACPM.LIB
@@ -94,6 +102,7 @@ help:
        @echo -e "The following make targets are supported:\n"\
        "    diskimage   - Build a complete CP/M image. (default)\n"\
        "    CPM.BIN     - Build CP/M system (IPL+CCP+BDOS+BIOS).\n"\
+       "    zsdossys    - Build ZSDOS system (IPL+CCP+ZSDOS+BIOS).\n"\
        "\n"\
        "    BIOS.PRN    - Make a listing file from bios.asm\n"\
        "    IPL.PRN     - Dito for ipl\n"\
@@ -106,3 +115,4 @@ help:
        "\n"\
        "    clean       - Remove intermediate and output files.\n"\
        "    help        - Print this message and exit.\n"
+