fix float casts

This commit is contained in:
Irmen de Jong 2020-11-09 01:18:22 +01:00
parent 4cd74daf53
commit 225295a7d8
6 changed files with 2 additions and 14 deletions

View File

@ -96,8 +96,8 @@ stack_uw2float .proc
.pend
stack_float2w .proc ; also used for float2b
jsr MOVFM
stx P8ZP_SCRATCH_REG
jsr pop_float_fac1
jsr AYINT
ldx P8ZP_SCRATCH_REG
lda $64
@ -109,8 +109,8 @@ stack_float2w .proc ; also used for float2b
.pend
stack_float2uw .proc ; also used for float2ub
jsr MOVFM
stx P8ZP_SCRATCH_REG
jsr pop_float_fac1
jsr GETADR
ldx P8ZP_SCRATCH_REG
sta P8ESTACK_HI,x

View File

@ -4,10 +4,6 @@
; Note: this program is compatible with C64 and CX16.
; TODO why has the prg become bigger since register args?
; TODO doesn't work properly anymore
main {
; vertices

View File

@ -3,9 +3,6 @@
; Note: this program is compatible with C64 and CX16.
; TODO why has the prg become bigger since register args?
main {
; vertices

View File

@ -2,8 +2,6 @@
%import syslib
%import textio
; TODO why has the prg become bigger since register args?
main {
; vertices

View File

@ -5,7 +5,6 @@
; Note: this program is compatible with C64 and CX16.
; TODO why has the prg become bigger since register args?
; TODO doesn't work properly anymore
main {

View File

@ -3,8 +3,6 @@
%import graphics
%zeropage floatsafe
; TODO doesn't work anymore
main {
sub start() {