Skip to content

linuxha/cpmsim

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

cpmsim

Originally referenced as http://home.earthlink.net/~schultdw/cpm68/simulator.html (now 404)

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!

Required files to run cpmsim

  • 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.

Command line options

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
;

Notes

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

CP/M Tools

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.

About

A Motorola 68K simulator based on Musashi-master 68K simulator.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages