Compare commits
No commits in common. "main" and "sec" have entirely different histories.
1 changed files with 7 additions and 9 deletions
16
mandel.s
16
mandel.s
|
@ -1253,15 +1253,11 @@ loop:
|
||||||
txa
|
txa
|
||||||
tay
|
tay
|
||||||
lda (strptr),y
|
lda (strptr),y
|
||||||
pha ; save the char for terminator check
|
bmi padding
|
||||||
and #$7f ; strip the high bit (terminator)
|
|
||||||
tay
|
tay
|
||||||
lda char_map,y
|
lda char_map,y
|
||||||
sta textbuffer + col,x
|
sta textbuffer + col,x
|
||||||
inx
|
inx
|
||||||
|
|
||||||
pla
|
|
||||||
bmi padding
|
|
||||||
jmp loop
|
jmp loop
|
||||||
|
|
||||||
padding:
|
padding:
|
||||||
|
@ -1753,10 +1749,12 @@ update_status:
|
||||||
jsr FLD1R
|
jsr FLD1R
|
||||||
jsr FMUL
|
jsr FMUL
|
||||||
|
|
||||||
; round (down) to integer
|
; @fixme
|
||||||
jsr FPI
|
; round to integer
|
||||||
clc
|
; for some reason this gives bad results?
|
||||||
jsr IFP
|
;clc
|
||||||
|
;jsr FPI
|
||||||
|
;jsr IFP
|
||||||
|
|
||||||
; convert to ASCII in INBUFF
|
; convert to ASCII in INBUFF
|
||||||
jsr FASC
|
jsr FASC
|
||||||
|
|
Loading…
Reference in a new issue