gr_viewer: update

This commit is contained in:
Vince Weaver 2020-01-13 01:52:15 -05:00
parent 049b559520
commit 113779b8f2
3 changed files with 6 additions and 3 deletions

View File

@ -9,7 +9,8 @@ all: gr_viewer.dsk
gr_viewer.dsk: HELLO LOADER
$(DOS33) -y gr_viewer.dsk SAVE A HELLO
$(DOS33) -y gr_viewer.dsk BSAVE -a 0x1000 LOADER
# $(DOS33) -y gr_viewer.dsk BSAVE -a 0x800 F02.GR
# $(DOS33) -y gr_viewer.dsk BSAVE -a 0x800 F05.GR
###
@ -28,4 +29,4 @@ loader.o: loader.s
clean:
rm -f *~ *.o LOADER HELLO
rm -f *~ *.o LOADER HELLO *.lst

Binary file not shown.

View File

@ -122,6 +122,8 @@ loop_forever:
; wait until keypressed
bit KEYRESET
wait_until_keypress:
lda KEYPRESS ; check if keypressed
bpl wait_until_keypress ; if not, loop
@ -129,7 +131,7 @@ wait_until_keypress:
inc WHICH
lda WHICH
cmp #4
cmp #8
bne no_new
lda #1
sta WHICH