fixed bug affecting printing of strings that crossed a page boundary

git-svn-id: http://svn.code.sf.net/p/netboot65/code@5 93682198-c243-4bdb-bd91-e943c89aac3b
This commit is contained in:
jonnosan 2009-01-10 12:45:57 +00:00
parent b035d8a091
commit 90aa476625
2 changed files with 9 additions and 7 deletions

View File

@ -62,6 +62,11 @@ bin_file_jmp: .res 3
ldax #$0800
jsr startup_copymem
lda $c08b ;enable language : card read RAM, write RAM, BANK 1
lda $c08b ;this soft switch needs to be read twice
;relocate the CODE segment
ldax #__CODE_LOAD__
stax copy_src
@ -87,9 +92,6 @@ bin_file_jmp: .res 3
ldax #__DATA_SIZE__
jsr startup_copymem
lda $c08b ;enable language : card read RAM, write RAM, BANK 1
lda $c08b ;this soft switch needs to be read twice
jmp init
; copy memory

View File

@ -88,9 +88,9 @@ print:
beq @done_print
jsr print_a
inc pptr
bcc @print_loop
bne @print_loop
inc pptr+1
bcc @print_loop ;if we ever get to $fff, we've probably gone far enough ;-)
bne @print_loop ;if we ever get to $ffff, we've probably gone far enough ;-)
@done_print:
rts