CP/MのエミュレータRunCPMは以下から導入
CPM/80の環境構築
コンパイル
test@test-fujitsu:~/RunCPM/RunCPM/A/0$ z80asm -o HELLO.COM HELLO.ASM
RunCPMを実行
test@test-fujitsu:~/RunCPM/RunCPM$ ./RunCPM
RunCPM内でHELLO.COMを実行
CP/M Emulator v6.9 by Marcelo Dantas
Built Sep 16 2026 - 20:47:15
----------------------------------------
CPU is Model 1
290034012 T-states in 152 ms
Estimated Z80 clock speed: 1908 MHz
BIOS at 0xfe00 - BDOS at 0xfd00
BIOS/BDOS using interrupt handoff method
CCP CCP-INTERNAL v3.3 at 0xfd00
FILEBASE is ./
RunCPM Version 6.9 (CCP-INTERNAL v3.3) - CP/M 2.2
A0>dir
A: HELLO ASM | HELLO COM
A0>HELLO.COM
Hello, CP/M!
A0>
HELLO.ASM
org 100h
ld de, msg
ld c, 9
call 5
ret
msg: db 'Hello, CP/M!', 13, 10, '$'