scrcap.asm
; z88dk / PC-8001 mon
; z80asm -b -l scrcap.asm
org $b000
start:
ld de, buf
ld hl, $c000
di
out ($5c), a
ld a, (hl)
ld (de), a
inc de
out ($5d), a
ld a, (hl)
ld (de), a
inc de
out ($5e), a
ld a, (hl)
ld (de), a
out ($5f), a
ei
halt
buf: defs 3
アセンブルしたバイナリファイルをテープイメージにします。(手入力でも可)
PC-88のV1~V2モードでグラフィックを描きます。
ディスクイメージが入っていれば取り出し、Nモードで起動します。
mon
*L
*GB000
のようにするとhaltで停止しますのでリセットします。