1
0
mirror of https://github.com/KarolS/millfork.git synced 2024-07-04 16:29:52 +00:00

Better scrolling on NES

This commit is contained in:
Karol Stasiak 2019-07-12 13:31:10 +02:00
parent 156c1c0413
commit af58b16e66

View File

@ -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