CPM-65 for the Apple II

7 posts / 0 new
Last post
Offline
Last seen: 3 days 9 hours ago
Joined: Jul 12 2023 - 09:45
Posts: 4
CPM-65 for the Apple II

Hi there,

 

I recently ported my CPM-65, a CP/M-80 analogue operating system for 6502 based microcomputers to the Apple II. So if you feel adventurous, here is an option...

 

System Requirements

--------------------------

Apple II 80 Column card in Slot 3

min 1 Floppy drive

My system is a vanilla Apple II clone

Emulation

--------------------

AppleWin emulator, APPLE IIe emulation due to the 80 col card

 System Structure

--------------------

CPM-65 consists of 3 layers:

- BIOS Basic I/O system - Drives can be A-D non consecutive.

- BDOS Basic disc operating system - this is the CPM-65 kernel. Size 2 kB

- CCP Console command program - a simple console which only allows to invoke CPM-65 programs. No resident commands.

          Size 1 kB

 

In track 0, sector 0 resides a 256 bytes BOOT program, which loads CPM-65 to memory and starts the CCP.

The system can boot from Slot# 6 or 5 (Drives A: or C:)  

 

File & Disc Format

----------------------

Filenames are CP/M-style d:filename.ext with d <Drive A-H> Programs must have .COM as extension and are loaded to $0800 and started there.

The directory structure is nearly CP/M-compatible.

Disk images can be read with appropriate tools like CPMTOOLS or CpmtoolsGUI. A disdefs file is in the IMAGES section.

Please use an actual version as parameter 'extentsize 4096' is needed. 

The Disc format is 35 tracks/ 16 sectors/ 256 byte/sector. It is defined in the BIOS. The BDOS operates on sector numbers.

 

Sources and bootable disc images are found on GitHub: https://github.com/Dietrich-L/CPM-65-for-Apple-II/tree/main

Enjoy

Dietrich

 

 

 

 

Offline
Last seen: 3 days 9 hours ago
Joined: Jul 12 2023 - 09:45
Posts: 4
Correction

Drives are only A: - D:

 

Dietrich

Offline
Last seen: 3 days 9 hours ago
Joined: Jul 12 2023 - 09:45
Posts: 4
Update BDOS V2.5

Now updated with BDOS 2.5 which offers an improved line editor (BDOS function $0A)

Sources and images under https://github.com/Dietrich-L/CPM-65-for-Apple-II as usual

Enjoy

Dietrich

 

Online
Last seen: 10 min 45 sec ago
Joined: Jul 5 2018 - 09:44
Posts: 2802
Dietrich-L wrote:Now updated
Dietrich-L wrote:

Now updated with BDOS 2.5 which offers an improved line editor (BDOS function $0A)

Sources and images under https://github.com/Dietrich-L/CPM-65-for-Apple-II as usual

Enjoy

Dietrich

 

I played with it a little bit a while back.  Very interesting project.  I was never a CP/M guy back in the day but there were a lot of people who were into it and I think if CPM-65 had come out in the early 1980s it would have been a major thing.

 

Online
Last seen: 10 min 45 sec ago
Joined: Jul 5 2018 - 09:44
Posts: 2802
Something that would make it

Something that would make it super capable is if you had a driver to support ProDOS block devices like the FloppyEmu in SmartPort mode, Dan ][, Booti, etc.

 

Offline
Last seen: 3 days 9 hours ago
Joined: Jul 12 2023 - 09:45
Posts: 4
ProDos block devices

I am not familiar with these devices. Could anyone point me to some literature on how to address these devices and do block-R/W operations. CPM-65 can handle up to 8 MBytes per drive.

Dietrich

Online
Last seen: 10 min 45 sec ago
Joined: Jul 5 2018 - 09:44
Posts: 2802
There are several active

There are several active threads about SmartPort and ProDOS block devices inclding FujiNet and Dan ][ on AppleFritter.  If you put those into the search at the top right you should get some results.

 

Log in or register to post comments