#7をセ

Nintendo Entertainment System Documentation v0.53 (japanese)

Nintendo's profile picture
Published in 
 · 4 years ago
... -+-------+----------+--------------------------------------------+ マッパレジスタに初めて書く前に、各アドレスへのデータがそれ自体を並べると書 く前に、各アドレス範囲ベース($8000、$A000、$C000と$E000)の中でビット#7をセることによりそれをリセットする必要がある。 一度これを行ったならば、適 切なアドレス範囲に値を少しずつ書くことができる。 例えば、次のコードはレジス タ3に$0Cを書き込む: lda #%10000000 sta $8000 ; Resetting range #0 sta $A000 ; Resetting range #1 sta $C000 ; Resetting range #2 sta $E000 ; Resetting range #3 lda #$0C ; This is our value sta $EFD9 ; Writing bit 0 lsr a ; Shifting sta $EFD9 ; Writing bit 1 lsr a ; Shifting sta $EFD9 ; Writing bit 2 lsr a ; Shifting sta $EFD9 ; Writing bit 3 lsr a ; Shifting sta $EFD9 ; Writing bit 4 「512K」カートリッジ(Dragon Warrior 3のような)では、レジスタ#0のビッ ...
loading
Neperos cookies
This website uses cookies to store your preferences and improve the service. Cookies authorization will allow me and / or my partners to process personal data such as browsing behaviour.

By pressing OK you agree to the Terms of Service and acknowledge the Privacy Policy

By pressing REJECT you will be able to continue to use Neperos (like read articles or write comments) but some important cookies will not be set. This may affect certain features and functions of the platform.
OK
REJECT