6
4

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

[PC-6001] カートリッジから起動する

Last updated at Posted at 2015-08-14

概要

  • エントリーアドレスは$4000。
  • 先頭の2バイト($4000~$4001)をABにしておくと、その次の2バイト($4002~$4003)に書かれたアドレスにジャンプする。
  • ジャンプするタイミングはHow Many Pages?が表示される直前。
  • 普通にretすればHow Many Pages?に戻る。

使用例

        org     $4000
        db      'AB'
        dw      entry

entry:
        ld    a,'@'
        ld    ($821F),a
        ret

起動時、画面の右上に@を表示する。

P6VW001.png

6
4
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
6
4

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?