EASy68K
http://easy68k.com/EASy68Kforum/

CP/M 68k
http://easy68k.com/EASy68Kforum/viewtopic.php?f=10&t=460
Page 2 of 2

Author:  dreadbit [ Sun Sep 29, 2013 2:30 pm ]
Post subject:  Re: CP/M 68k

[quote="Lynton"]
Ultimately I plan on building a 68008 board with enough ROM and RAM to allow me to play with CP/M on some real hardware as well.
/quote]
So do I. I have done the same thing with Z80 (+SIO+SD+CP/M with BIOS) and very interested in what are you doing currently on this project. Well, 68008 and 68681 are next chips I want to touch with a solderer.

Author:  hancock [ Sun Nov 24, 2013 8:21 pm ]
Post subject:  Re: CP/M 68k

Hi,

I had CP/M up and running in Easy68k but got stuck on the floppy images. I could not find out how to set the disk parameters correctly. I gave up back in the end of last year and am just retrying again now amongst other projects I have left unfinished.

Will post the status here, once it's set up again.

Cheers

Author:  neozeed [ Wed Dec 04, 2013 2:13 pm ]
Post subject:  Re: CP/M 68k

is there any hope of any of this to get uploaded somewhere so the masses can look?

Just wondering :lol:

Author:  hancock [ Tue Dec 10, 2013 6:21 am ]
Post subject:  Re: CP/M 68k

Just quickly searched for the project (from a year ago) and started it up...

Attachments:
File comment: Screenshot of CPM/68k run from Easy68k
10-12-2013 06-50-36.png
10-12-2013 06-50-36.png [ 35.52 KiB | Viewed 5073 times ]

Author:  dan76 [ Sun Dec 22, 2013 12:18 pm ]
Post subject:  Re: CP/M 68k

I have been down this path too & had CP/M-68K V1.3 running with support for a 400k dimension 68k floppy & generic 8mb hdd images. The BIOS is ugly hack of the original "CP/M-68K(tm) BIOS for the EXORMACS". Initially at 0x15000 then I relocated it to 0xF5000. This was just a tester as the intended target is a 68008 board that I am very slowly building, seems to be the in thing to do! :D

Would be nice if someone had time to put together something distributable. Last time I checked there were no emulators to run this.

Author:  dreadbit [ Sun Apr 06, 2014 2:29 pm ]
Post subject:  Re: CP/M 68k

I'm running CP/M 68K from Srecords on newly-build SBC too. The BIOS is a dirt-hack of the one described in System Manual. It works from SD card (but still unable to boot from there). What's interesting is that the system is ROM-less - it boots from Atmega8.

You can see the SBC itself at http://xepb.org/dtz/68kavr.html

But what's really bad is that is a few software for CP/M 68! I cannot find even an text editor [except CP/M ed]! Nor I can compile at least edlin from FreeDOS because I have to edit it's sources on CP/M 68 itself, and I have no text editor ;-)

Author:  UhClem [ Sat Apr 19, 2014 9:20 pm ]
Post subject:  Re: CP/M 68k

dreadbit wrote:
But what's really bad is that is a few software for CP/M 68! I cannot find even an text editor [except CP/M ed]! Nor I can compile at least edlin from FreeDOS because I have to edit it's sources on CP/M 68 itself, and I have no text editor ;-)


It isn't EASy68K but I just put up the simulator I have been working on the last week or two. It includes two working versions of micro-emacs. They are configured to emit ANSI escape codes and work nicely within a xterm.

http://home.earthlink.net/~schultdw/cpm ... lator.html

Author:  dreadbit [ Wed Apr 23, 2014 11:55 am ]
Post subject:  Re: CP/M 68k

UhClem wrote:
It isn't EASy68K but I just put up the simulator I have been working on the last week or two. It includes two working versions of micro-emacs. They are configured to emit ANSI escape codes and work nicely within a xterm.

And it smells like a working simulator. And it looks like a working simulator. Goood!

What's the correct way to write/read files to diskc.cpm.fs? Is there some cpmtools diskdefs? (or there is an another method of doing it?)

Author:  dreadbit [ Thu Apr 24, 2014 1:03 pm ]
Post subject:  Re: CP/M 68k

dreadbit wrote:
UhClem wrote:
It isn't EASy68K but I just put up the simulator I have been working on the last week or two.

What's the correct way to write/read files to diskc.cpm.fs? Is there some cpmtools diskdefs? (or there is an another method of doing it?)

Looks like I guessed it:

diskdef em68k
seclen 128
tracks 512
sectrk 256
blocksize 2048
maxdir 4096
skew 0
boottrk 1
os 2.2
end

I am not sure that this is right defines (I always get lost in those DPB tables calulations), but at least I can read files from your's disk image.

[UPD: Looks like this entry is wrong. While it copies files to CP/M disk fine, it not always writes it there correctly]

Author:  UhClem [ Sat Apr 26, 2014 11:48 am ]
Post subject:  Re: CP/M 68k

dreadbit wrote:
What's the correct way to write/read files to diskc.cpm.fs? Is there some cpmtools diskdefs? (or there is an another method of doing it?)


I move files around via the default cpmtools diskdef which is for a 8" SSSD floppy. Copy to that and then move to the disk C file system using the simulated system. I never bothered to create a diskdef entry for it.

Author:  Plasmo [ Tue Jan 10, 2017 5:26 pm ]
Post subject:  Re: CP/M 68k

I am working a re-purposed 68302 SBC that has 3 banks of flash memories ( viewtopic.php?f=10&t=1570 ). The first bank is for booting and the 2nd bank is for my applications as well as the backup boot in case I corrupted the first bank. This leave me with an extra bank of 1 megabyte 5-volt programmable flash that can serve as a small file system. I have no experience with file system. Since the flash memory has 8 independently erasable 128k-byte sectors, my first thought was to store up to 8 files there; format the sector so it can be written once; directory information in the first 1K of each sector; and sector erase and re-write when file content changed. This is crude & inefficient, but should be enough to interface with EASy68K's file I/O trap services. However, I'm interested in a simple file handling software so I can use the flash memory more efficiently.

Author:  Plasmo [ Sat Aug 12, 2017 8:19 pm ]
Post subject:  Re: CP/M 68k

I'm new to CPM, it took me a long while to figure out how to port CPM68k (version 1.3) to EASy68K:
1. Modify the BIOS described in the Appendix B of CP/M-68K System Guide so console I/O (constat, conin, conout) are mapped to corresponding EASy68k trap #15 services.
2. Modify the BIOS read & BIOS write to read & write of a disk image in memory, another word, treat the disks as RAM drives.
3. Create the BIOS to run with CPM15000 (_ccp at $150BC, _init at $1B000)
4. rename CPM15000.sr (from CPM v1.3 distribution disk) to CPM15000.s68
5. Use cpmtools to create a CPM disk image and copy files into the image. Convert the resulting image to S Record at the same location that BIOS expects for RAM drive.
6. Run SIM68K, under the 'File' menu, select 'Open Data...'' enter three S record, BIOS, CPM15000.s68, and s-record of the disk image
7. Enter '15000' in the "PC=" field. This is the starting address of CP/M68K. click 'Run' (or F9). You should have the 'A>' prompt. 'dir' will produce this (the disk image contains the first 8 disks of CPM68k v1.3 distribution files)
Attachment:
cpm_in_sim68k.jpg
cpm_in_sim68k.jpg [ 104.27 KiB | Viewed 720 times ]

Author:  profkelly [ Sun Aug 13, 2017 1:23 pm ]
Post subject:  Re: CP/M 68k

Nice, thanks for the informative post.

Page 2 of 2 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/