1
0

More than 5 years have passed since last update.

PC-88 画面キャプチャのサンプル

Last updated at Posted at 2018-07-31
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モードでグラフィックを描きます。
scrcap1.png

ディスクイメージが入っていれば取り出し、Nモードで起動します。
mon
*L
*GB000
のようにするとhaltで停止しますのでリセットします。
scrcap2.png

1
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
1
0