mirror of
https://github.com/KarolS/millfork.git
synced 2025-08-08 18:25:03 +00:00
Better scrolling on NES
This commit is contained in:
@@ -72,7 +72,8 @@ inline asm byte read_ppu_status() {
|
|||||||
? RTS
|
? 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
|
! STA ppu_scroll
|
||||||
! STX ppu_scroll
|
! STX ppu_scroll
|
||||||
? RTS
|
? RTS
|
||||||
|
Reference in New Issue
Block a user