mirror of
https://github.com/cc65/cc65.git
synced 2024-06-08 15:29:37 +00:00
Fix makefile
This commit is contained in:
parent
22d5dc6e32
commit
8d38d68b77
|
@ -82,7 +82,7 @@ kimLife.hex: kimLife.bin
|
|||
kimTest.hex: kimTest.bin
|
||||
srec_cat kimTest.bin -binary -offset 0x2000 -o kimTest.hex -Intel -address-length=2
|
||||
|
||||
kimGFX.hex: kimGFX.bin ramfont.c
|
||||
kimGFX.hex: kimGFX.bin ramfont.o
|
||||
srec_cat kimGFX.bin -binary -offset 0x2000 -o kimGFX.hex -Intel -address-length=2
|
||||
|
||||
# To build a paper tape file for uploading to the KIM-1 via terminal
|
||||
|
|
Binary file not shown.
|
@ -244,7 +244,31 @@ _ScrollScreen:
|
|||
ldx #PAGES_TO_MOVE
|
||||
@outerLoop:
|
||||
ldy #0
|
||||
@innerLoop:
|
||||
@innerLoop: ;
|
||||
; I could do this faster in self-modifying code (avoiding the zero page overhead) but then it
|
||||
; couldn't go into ROM
|
||||
|
||||
lda (scroll_src),y ; I've unwound the loop to do 8 bytes at a time. Since we're doing full pages
|
||||
sta (scroll_dest),y ; as long as we unwind the loop to do 8 bytes at a time, we know we'll still
|
||||
iny ; do the final increment on a page boundary.
|
||||
lda (scroll_src),y
|
||||
sta (scroll_dest),y
|
||||
iny
|
||||
lda (scroll_src),y
|
||||
sta (scroll_dest),y
|
||||
iny
|
||||
lda (scroll_src),y
|
||||
sta (scroll_dest),y
|
||||
iny
|
||||
lda (scroll_src),y
|
||||
sta (scroll_dest),y
|
||||
iny
|
||||
lda (scroll_src),y
|
||||
sta (scroll_dest),y
|
||||
iny
|
||||
lda (scroll_src),y
|
||||
sta (scroll_dest),y
|
||||
iny
|
||||
lda (scroll_src),y
|
||||
sta (scroll_dest),y
|
||||
iny
|
||||
|
|
Loading…
Reference in New Issue
Block a user