TIP: Click on subject to list as thread! ANSI
echo: apple
to: comp.os.cpm,comp.sys.apple2
from: Bill Buckels
date: 2009-03-06 05:06:36
subject: Re: Apple CP/M Disk Images with Aztec C Compiler

Now finally and hopefully finished and up for download from the following 
link:

http://www.cpm8680.com/applecpm/a2az80.zip

This latest zip contains everything in the other zip files previously 
mentioned in this thread as well as the additions noted below:

ReadMe.txt for

Manx Aztec C80
Version 1.05f
Developer System
for CP/M-80
Target: Z80 and 8080 Native Code

CP/M-80 native mode development environment for Z80 and compatible 
computers. Pre-configured for the Apple II Softcard.

Note: Especially if you are reading this from the a2work.dsk and you do not 
have the other disk images referenced in here, keep in mind that at a 
minimum you need the the a2work.dsk in drive A: and the b280105.dsk in drive 
B: to use this compiler.

Introduction and Summary
------------------------

In February 2009 I was preparing some compilers to send to Dan Wallace (yet 
another Apple II user:) on REAL floppies and I decided to put together an 
Aztec CP/M 80 compiler work disk set (2 disks) to be used in the A: and B: 
drive of an Apple II.

I included several programs that can be compiled and also a SUB called 
CC.SUB which takes care of the build process. This compiler is quite widely 
distributed so there isn't much special about this except for the tiny 
footprint of this particular configuration.

I used Michael Haardt's cpmtools to build these 2 images (and in fact to 
build all the disk images described herein). These disks are all bootable 
(for the SoftCard) and will run nicely on a real Apple II with Softcard or 
in the AppleWin emulator (and very quickly in AppleWin as well if one 
wishes).

After completing the first 2 disks, I decided to put together a sample 
Overlay Project disk to be used with the Aztec CP/M 80 compiler disk noted 
above. This overlay project is a standard Aztec C example that I slightly 
modified. It is already distributed from the Aztec C Website for several 
compilers (I use overlays extensively on the cross-compiler projects for 
Apple II ProDOS and the C64 as well as the CP/M 80 cross- compiler) but I 
haven't put a complete native build environment together for overlays in 
Apple CP/M until this one.

After completing the 3rd disk, one thing continued to lead to another, and 
in the end I put the entire compiler including source code on Apple II disk 
images in a working state:

a2work.dsk - the work disk (49K free) - place into drive A:
a280105.dsk - the sample work disk - place into drive A:
OV80105.dsk - the sample overlay disk - place into drive A:
b280105.dsk - the compiler disk - place into drive B:

bin80105.dsk - additional binaries
lib80105.dsk - libraries and headers
src801051.dsk - source disk 1
src801052.dsk - source disk 2

To compile anything like the exmpl.c program that is on the sample work disk 
type "SUBMIT CC EXMPL" and press [Return]. To compile the sample overlay 
type "SUBMIT MAKEFILE" and press [Return].

Details
-------

This zip file is actually a cpmtools project. Each subdirectory has a batch 
file which uses cpmtools to create the finished disk images from the files 
also in the same subdirectory. The following are the log files for building 
each of the disk images in their respective subdirectories and list the 
files on those disks.

The text files on each disk should be reviewed for additional information. 
For your convenience I have moved the disk images from their respective 
subdirectories into the root directory of this zip file.


WORKDISK
--------

========================
Log File for MakeWork.bat
06/03/2009 -  4:52:39.54
Contents of a2work.dsk
========================
0:
-rw-rw-rw-      98 Dec 31 1969  cc.sub
-rwxrwxrwx   10752 Dec 31 1969  cpm56.com
-rw-rw-rw-     256 Dec 31 1969  errno.h
-rw-rw-rw-     256 Dec 31 1969  fcntl.h
-rw-rw-rw-    1664 Dec 31 1969  io.h
-rw-rw-rw-    2176 Dec 31 1969  libc.h
-rw-rw-rw-   44032 Dec 31 1969  libc.lib
-rw-rw-rw-    7656 Dec 31 1969  readme.txt
-rw-rw-rw-    1280 Dec 31 1969  stdio.h
-rwxrwxrwx    1280 Dec 31 1969  submit.com
-rwxrwxrwx    2304 Dec 31 1969  xdir.com
========================


COMPILER
--------

========================
Log File for MakeA2.bat
28/02/2009 - 20:02:28.42
Contents of a280105.dsk
========================
0:
-rw-rw-rw-    2076 Dec 31 1969  bhead.c
-rw-rw-rw-      98 Dec 31 1969  cc.sub
-rwxrwxrwx   10752 Dec 31 1969  cpm56.com
-rw-rw-rw-     203 Dec 31 1969  exmpl.c
-rw-rw-rw-     256 Dec 31 1969  fcntl.h
-rw-rw-rw-    1528 Dec 31 1969  lcase.c
-rw-rw-rw-    2176 Dec 31 1969  libc.h
-rw-rw-rw-   44032 Dec 31 1969  libc.lib
-rw-rw-rw-    2008 Dec 31 1969  more.c
-rw-rw-rw-    1022 Dec 31 1969  readme.txt
-rw-rw-rw-    1280 Dec 31 1969  stdio.h
-rwxrwxrwx    1280 Dec 31 1969  submit.com
-rw-rw-rw-    1529 Dec 31 1969  ucase.c
========================
Contents of b280105.dsk
========================
0:
-rwxrwxrwx   25728 Dec 31 1969  as.com
-rwxrwxrwx   41216 Dec 31 1969  cii.com
-rwxrwxrwx   10752 Dec 31 1969  cpm56.com
-rwxrwxrwx   24064 Dec 31 1969  ln.com
-rw-rw-rw-    1022 Dec 31 1969  readme.txt
-rwxrwxrwx    2304 Dec 31 1969  xdir.com
========================


OV
--

========================
Log File for MakeOV.bat
01/03/2009 - 13:53:02.71
Contents of OV80105.dsk
========================
0:
-rwxrwxrwx   10752 Dec 31 1969  cpm56.com
-rw-rw-rw-    2176 Dec 31 1969  libc.h
-rw-rw-rw-   44032 Dec 31 1969  libc.lib
-rw-rw-rw-     328 Dec 31 1969  makefile.sub
-rw-rw-rw-     307 Dec 31 1969  ov.c
-rw-rw-rw-      74 Dec 31 1969  ov1.c
-rw-rw-rw-      74 Dec 31 1969  ov2.c
-rw-rw-rw-     896 Dec 31 1969  ovbgn.asm
-rw-rw-rw-    1280 Dec 31 1969  ovloader.c
-rw-rw-rw-     440 Dec 31 1969  readov.txt
-rwxrwxrwx    1280 Dec 31 1969  submit.com
========================


BIN
---

========================
Log File for MakeDisk.bat
02/03/2009 -  7:34:33.92
Contents of bin80105.dsk
========================
0:
-rwxrwxrwx   10752 Dec 31 1969  cpm56.com
-rwxrwxrwx   40448 Dec 31 1969  czii.com
-rwxrwxrwx   11776 Dec 31 1969  mac.com
-rwxrwxrwx   23680 Dec 31 1969  ovln.com
-rwxrwxrwx    7424 Dec 31 1969  pip.com
-rwxrwxrwx   11520 Dec 31 1969  sidsym.com
-rwxrwxrwx   10240 Dec 31 1969  zsid.com
========================

LIB
---

========================
Log File for MakeDisk.bat
02/03/2009 -  7:38:02.15
Contents of lib80105.dsk
========================
0:
-rwxrwxrwx   10752 Dec 31 1969  cpm56.com
-rw-rw-rw-     256 Dec 31 1969  errno.h
-rw-rw-rw-     256 Dec 31 1969  fcntl.h
-rw-rw-rw-    1664 Dec 31 1969  io.h
-rw-rw-rw-    2176 Dec 31 1969  libc.h
-rw-rw-rw-   42752 Dec 31 1969  libc.lib
-rwxrwxrwx   17152 Dec 31 1969  libutil.com
-rw-rw-rw-     384 Dec 31 1969  math.h
-rw-rw-rw-   18432 Dec 31 1969  math.lib
-rw-rw-rw-    2304 Dec 31 1969  object.h
-rw-rw-rw-    4815 Dec 31 1969  readme.txt
-rw-rw-rw-    1280 Dec 31 1969  stdio.h
========================

SRC
---

========================
Log File for MakeSrc.bat
01/03/2009 - 18:31:55.07
Contents of src801051.dsk
========================
0:
-rwxrwxrwx   10752 Dec 31 1969  cpm56.com
-rw-rw-rw-   88782 Dec 31 1969  src1.zip
-rwxrwxrwx    3328 Dec 31 1969  unzip.com
-rw-rw-rw-     340 Dec 31 1969  unzip.txt
-rw-rw-rw-    4496 Dec 31 1969  wciii.txt
========================
Contents of src801052.dsk
========================
0:
-rwxrwxrwx   10752 Dec 31 1969  cpm56.com
-rw-rw-rw-   92614 Dec 31 1969  src2.zip
-rwxrwxrwx    3328 Dec 31 1969  unzip.com
-rw-rw-rw-     340 Dec 31 1969  unzip.txt
========================

Note: ZIP archives have been used to keep the source disks neat and tidy. 
However, these are uncompressed zip files (type 0) which are the only type 
of zip files that the CP/M unzip.com program provided with these disks can 
handle.

Bill Buckels
March 2009

End of ReadMe
--- SBBSecho 2.12-Win32
* Origin: Derby City Gateway (1:2320/0)
SEEN-BY: 10/1 3 34/999 120/228 123/500 128/2 140/1 222/2 226/0 236/150 249/303
SEEN-BY: 250/306 261/20 38 100 1404 1406 1410 1418 266/1413 280/1027 320/119
SEEN-BY: 393/11 396/45 633/260 267 712/848 800/432 801/161 189 2222/700
SEEN-BY: 2320/100 105 200 2905/0
@PATH: 2320/0 100 261/38 633/260 267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.