0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

CPMで文字列表示

0
Posted at

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, '$'
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?