Quote:
Originally Posted by drHirudo
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."