EASy68K  
It is currently Mon Dec 18, 2017 3:25 am

All times are UTC




Post new topic Reply to topic  [ 37 posts ]  Go to page Previous  1, 2, 3  Next
Author Message
 Post subject: Re: CP/M 68k
PostPosted: Sun Sep 29, 2013 2:30 pm 
Offline

Joined: Sun Sep 29, 2013 2:22 pm
Posts: 4
[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.


Top
 Profile  
 
 Post subject: Re: CP/M 68k
PostPosted: Sun Nov 24, 2013 8:21 pm 
Offline

Joined: Thu Feb 16, 2012 4:34 pm
Posts: 17
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


Top
 Profile  
 
 Post subject: Re: CP/M 68k
PostPosted: Wed Dec 04, 2013 2:13 pm 
Offline

Joined: Mon Mar 09, 2009 8:57 pm
Posts: 2
Location: USA
is there any hope of any of this to get uploaded somewhere so the masses can look?

Just wondering :lol:


Top
 Profile  
 
 Post subject: Re: CP/M 68k
PostPosted: Tue Dec 10, 2013 6:21 am 
Offline

Joined: Thu Feb 16, 2012 4:34 pm
Posts: 17
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 5596 times ]
Top
 Profile  
 
 Post subject: Re: CP/M 68k
PostPosted: Sun Dec 22, 2013 12:18 pm 
Offline

Joined: Sun Dec 22, 2013 11:27 am
Posts: 1
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.


Top
 Profile  
 
 Post subject: Re: CP/M 68k
PostPosted: Sun Apr 06, 2014 2:29 pm 
Offline

Joined: Sun Sep 29, 2013 2:22 pm
Posts: 4
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 ;-)


Top
 Profile  
 
 Post subject: Re: CP/M 68k
PostPosted: Sat Apr 19, 2014 9:20 pm 
Offline

Joined: Sat Apr 19, 2014 9:13 pm
Posts: 3
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

_________________
---
David Schultz


Top
 Profile  
 
 Post subject: Re: CP/M 68k
PostPosted: Wed Apr 23, 2014 11:55 am 
Offline

Joined: Sun Sep 29, 2013 2:22 pm
Posts: 4
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?)


Top
 Profile  
 
 Post subject: Re: CP/M 68k
PostPosted: Thu Apr 24, 2014 1:03 pm 
Offline

Joined: Sun Sep 29, 2013 2:22 pm
Posts: 4
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]


Last edited by dreadbit on Mon Apr 28, 2014 11:11 am, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: CP/M 68k
PostPosted: Sat Apr 26, 2014 11:48 am 
Offline

Joined: Sat Apr 19, 2014 9:13 pm
Posts: 3
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.

_________________
---
David Schultz


Top
 Profile  
 
 Post subject: Re: CP/M 68k
PostPosted: Tue Jan 10, 2017 5:26 pm 
Offline

Joined: Fri Dec 23, 2016 5:18 pm
Posts: 63
Location: New Mexico, USA
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.


Top
 Profile  
 
 Post subject: Re: CP/M 68k
PostPosted: Sat Aug 12, 2017 8:19 pm 
Offline

Joined: Fri Dec 23, 2016 5:18 pm
Posts: 63
Location: New Mexico, USA
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 1243 times ]


Top
 Profile  
 
 Post subject: Re: CP/M 68k
PostPosted: Sun Aug 13, 2017 1:23 pm 
Offline
User avatar

Joined: Thu Dec 16, 2004 6:42 pm
Posts: 1056
Nice, thanks for the informative post.

_________________
Prof. Kelly


Top
 Profile  
 
 Post subject: Re: CP/M 68k
PostPosted: Fri Oct 27, 2017 8:17 pm 
Offline

Joined: Fri Sep 25, 2015 7:57 am
Posts: 9
Hi good afternoon.
can you please put the program here once.

Thank you.
Greeting


Top
 Profile  
 
 Post subject: Re: CP/M 68k
PostPosted: Sat Oct 28, 2017 3:04 am 
Offline

Joined: Fri Dec 23, 2016 5:18 pm
Posts: 63
Location: New Mexico, USA
Attached are the CPM, BIOS, and disk image I mentioned in my post above (dated 8/12/2017). the forth file, EASyBIOS.X68, is the source file for EASyBIOS.S68


Attachments:
simu-CPM68k.zip [874.13 KiB]
Downloaded 29 times
Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 37 posts ]  Go to page Previous  1, 2, 3  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group