mirror of
https://github.com/mist64/msbasic.git
synced 2025-01-18 09:30:14 +00:00
Removed dependency on force_range feature
Changed code so that force_range feature doesn't have to be enabled for more recent versions of CC65
This commit is contained in:
parent
c15c84741a
commit
f8e2b524f9
6
float.s
6
float.s
@ -774,7 +774,7 @@ FDIVT:
|
|||||||
jsr ADD_EXPONENTS
|
jsr ADD_EXPONENTS
|
||||||
inc FAC
|
inc FAC
|
||||||
beq JOV
|
beq JOV
|
||||||
ldx #-MANTISSA_BYTES
|
ldx #<-MANTISSA_BYTES
|
||||||
lda #$01
|
lda #$01
|
||||||
L39A1:
|
L39A1:
|
||||||
ldy ARG+1
|
ldy ARG+1
|
||||||
@ -1452,9 +1452,9 @@ L3C8C:
|
|||||||
ldy #>CON_BILLION
|
ldy #>CON_BILLION
|
||||||
jsr FMULT
|
jsr FMULT
|
||||||
.ifdef CONFIG_SMALL
|
.ifdef CONFIG_SMALL
|
||||||
lda #-6 ; exponent adjustment
|
lda #<-6 ; exponent adjustment
|
||||||
.else
|
.else
|
||||||
lda #-9
|
lda #<-9
|
||||||
.endif
|
.endif
|
||||||
L3C95:
|
L3C95:
|
||||||
sta INDX
|
sta INDX
|
||||||
|
4
inline.s
4
inline.s
@ -38,8 +38,8 @@ INLIN1:
|
|||||||
L0C32:
|
L0C32:
|
||||||
lda #$00
|
lda #$00
|
||||||
sta INPUTBUFFER,x
|
sta INPUTBUFFER,x
|
||||||
ldx #<INPUTBUFFER-1
|
ldx #<(INPUTBUFFER-1)
|
||||||
ldy #>INPUTBUFFER-1
|
ldy #>(INPUTBUFFER-1)
|
||||||
rts
|
rts
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
2
memory.s
2
memory.s
@ -136,7 +136,7 @@ L2300:
|
|||||||
dex
|
dex
|
||||||
bpl L2300
|
bpl L2300
|
||||||
jsr GARBAG
|
jsr GARBAG
|
||||||
ldx #TEMP1-FAC+1
|
ldx #<(TEMP1-FAC+1)
|
||||||
L230B:
|
L230B:
|
||||||
pla
|
pla
|
||||||
sta FAC,x
|
sta FAC,x
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
.feature force_range
|
|
||||||
.debuginfo +
|
.debuginfo +
|
||||||
|
|
||||||
.setcpu "6502"
|
.setcpu "6502"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user