1
0
mirror of https://github.com/cc65/cc65.git synced 2024-06-08 15:29:37 +00:00

Fix makefile

This commit is contained in:
Dave Plummer 2023-10-13 10:41:21 -07:00
parent 22d5dc6e32
commit 8d38d68b77
4 changed files with 26 additions and 2 deletions

View File

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

View File

View File

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