Fixed bug where println wasn't recognized.

This commit is contained in:
Martin Haye 2014-07-25 18:33:44 -05:00
parent d66d6acf97
commit c7c969d2d0
2 changed files with 3 additions and 5 deletions

View File

@ -1171,6 +1171,7 @@ class PackPartitions
switch (blk.@type)
{
case 'text_print':
case 'text_println':
packTextPrint(blk); break
case 'controls_if':
packIfStmt(blk); break

View File

@ -377,9 +377,9 @@ end
; Display a string using the font engine
asm displayStr ; (str)
bit setROM
txa
pha
bit setROM
lda evalStkL,x
sta pTmp
lda evalStkH,x
@ -394,7 +394,6 @@ asm displayStr ; (str)
-- tax
ldy #0
- lda (pTmp),y
cmp #$20
bcc +
cmp #$80
@ -402,9 +401,7 @@ asm displayStr ; (str)
+ lda #$C4
jsr $fded
brk
++
dex
++ dex
cmp #$20
beq +
sta $281,y