View Single Post
Old 16 February 2018, 17:59   #14
Gorf
Registered User
 
Gorf's Avatar
 
Join Date: May 2017
Location: Munich/Bavaria
Posts: 2,294
Quote:
Originally Posted by drHirudo View Post
Thanks for the links. I used Pascal only on 8-bits, but can try to compile it on Amiga. I hope HiSoft Pascal would do the job.

If CP/M is ported naively to Amiga, it would mean all 68K CP/M software shall work without the need of recompilation or adaptation.

The "deluxe" implementation would be a API-wrapper like Wine for CP/M to AmigaOS....

Here is an other highly portable emulator: It provides nice disk-tools to create images and compiles on 68K machines.
https://github.com/jhallen/cpm

The Z80 emulation is encapsulated and could probably be removed:
"This code has been designed so that the z80 emulator proper should be thread-safe and runs independently of CP/M."

Also a wrapper-like use-case is somewhat mentioned:

"The CP/M layer may be built so that the fake BIOS is turned into real Z80 code with all I/O occurring through fake devices using either INPUT/OUTPUT or the memory-mapped I/O hooks. Conversely, it's also possible to turn then entire BDOS/CCP into C code much as the BIOS is currently coded with magic hooks that trigger the appropriate actions."

Last edited by Gorf; 16 February 2018 at 19:35.
Gorf is offline  
 
Page generated in 0.58353 seconds with 11 queries