mirror of
https://github.com/mist64/msbasic.git
synced 2026-10-22 00:02:16 +00:00
Removed dependency on force_range feature (#3)
Changed code so that force_range feature doesn't have to be enabled for more recent versions of CC65 Co-authored-by: Dawid Buchwald <dawid.buchwald@cgi.com>
This commit is contained in:
1 parent
ef822f46cd
commit
fa02d1b90b
5 files changed
+7
-8
No files matched your search
@@ -774,7 +774,7 @@ FDIVT:
|
||||
jsr ADD_EXPONENTS
|
||||
inc FAC
|
||||
beq JOV
|
||||
ldx #-MANTISSA_BYTES
|
||||
ldx #<-MANTISSA_BYTES
|
||||
lda #$01
|
||||
L39A1:
|
||||
ldy ARG+1
|
||||
@@ -1452,9 +1452,9 @@ L3C8C:
|
||||
ldy #>CON_BILLION
|
||||
jsr FMULT
|
||||
.ifdef CONFIG_SMALL
|
||||
lda #-6 ; exponent adjustment
|
||||
lda #<-6 ; exponent adjustment
|
||||
.else
|
||||
lda #-9
|
||||
lda #<-9
|
||||
.endif
|
||||
L3C95:
|
||||
sta INDX
|
||||
|
||||
@@ -38,8 +38,8 @@ INLIN1:
|
||||
L0C32:
|
||||
lda #$00
|
||||
sta INPUTBUFFER,x
|
||||
ldx #<INPUTBUFFER-1
|
||||
ldy #>INPUTBUFFER-1
|
||||
ldx #<(INPUTBUFFER-1)
|
||||
ldy #>(INPUTBUFFER-1)
|
||||
rts
|
||||
.endif
|
||||
|
||||
|
||||
@@ -136,7 +136,7 @@ L2300:
|
||||
dex
|
||||
bpl L2300
|
||||
jsr GARBAG
|
||||
ldx #TEMP1-FAC+1
|
||||
ldx #<(TEMP1-FAC+1)
|
||||
L230B:
|
||||
pla
|
||||
sta FAC,x
|
||||
|
||||
Reference in new issue
Block a user