mirror of
https://github.com/KarolS/millfork.git
synced 2025-03-23 18:35:58 +00:00
Better scrolling on NES
This commit is contained in:
parent
156c1c0413
commit
af58b16e66
@ -72,7 +72,8 @@ inline asm byte read_ppu_status() {
|
||||
? RTS
|
||||
}
|
||||
|
||||
inline asm void ppu_set_scroll(word a, word x) {
|
||||
inline asm void ppu_set_scroll(byte a, byte x) {
|
||||
BIT ppu_status
|
||||
! STA ppu_scroll
|
||||
! STX ppu_scroll
|
||||
? RTS
|
||||
|
Loading…
x
Reference in New Issue
Block a user