mirror of
https://github.com/irmen/prog8.git
synced 2024-12-24 01:29:28 +00:00
fix float casts
This commit is contained in:
parent
4cd74daf53
commit
225295a7d8
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -2,8 +2,6 @@
|
||||
%import syslib
|
||||
%import textio
|
||||
|
||||
; TODO why has the prg become bigger since register args?
|
||||
|
||||
main {
|
||||
|
||||
; vertices
|
||||
|
@ -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 {
|
||||
|
||||
|
@ -3,8 +3,6 @@
|
||||
%import graphics
|
||||
%zeropage floatsafe
|
||||
|
||||
; TODO doesn't work anymore
|
||||
|
||||
main {
|
||||
|
||||
sub start() {
|
||||
|
Loading…
Reference in New Issue
Block a user