- http://offgao.no-ip.org/fc/
- mapper 0 に charcter RAM のものは実在しない
- fds, nsf など OS 経由を想定しているのか、各種レジスタをちゃんと初期化していない
- powerpak は OS 経由だから動くかも
- なにか挙動が安定しない
- PPU area ram に書き込むタイミングを合わせてないか、レジスタを初期化してないので、表示が全体的におかしい
というわけで TNROM 用に hack してみたが、もう根本的な直しがいるよ!
org $ffcd reset: cld sei ldx #$ff txs inx stx $2000 ldy #6 sty $8000 stx $8001 iny sty $8000 inx stx $8001 lda #0 sta $a000 sta $a001 wait0: lda $2002 bpl wait0 ;wait1: ;ベクタに食い込むのでなくした ; lda $2002 ; bpl wait1 jmp $e000 org $fffc adr reset