Originally referenced as http://home.earthlink.net/~schultdw/cpm68/simulator.html (now 404)
but a copy is available at archive.org under the url
https://web.archive.org/web/20200324101538/http://home.earthlink.net/~schultdw/cpm68/simulator.html
This simple CP/M-68K simulator, is built around the famous Musashi MC68000 simulator core. So it’s a little more well debugged than the SIMH CP/M-68k. Namely that COM works!
- cpmsim
- cpm400.bin
- simbios.bin
I'm assuming that it is in the immediate directory where it is run. I may fix that up later.
sta:b:c:d:e:f:g:h:i:j:k:l:n:o:p:
-s
-t
-a thru -p (CPM drives) <filename> # Where filename is the CPM disk and -n is the drive letter <n> (a thru p)
diskc.cpm.fs is drive C but contains files in User 0 - 15
# Start cpmsim with diskc.cpm.fs as drive C: (0-15 User dirs)
./cpmsim -c diskc.cpm.fs -s
;
; To exit back to Linux, type bbye
;
This cpmsim has the the following added to cpmsim.c (line before m68k_pulse_reset();)
m68k_init()
m68k_set_cpu_type(M68K_CPU_TYPE_68000)
So this version no longer fails with SIGSEGV.
- cpm400.bin is CP/M 1.2
cpmls -Df em68k diskc.cpm.fs
I've include the diskdefs file with additions for cpmsim and 68K-MBC sbc CPM Disks (DSON00.DSK). Trying to access the 68K-MBC disks from inside cpmsim didn't seem to work correctly.