Kernel 0.94

This commit is contained in:
Rémy GIBERT 2020-02-23 21:46:25 +01:00
parent 4badc58f2d
commit 7a919c958a
9 changed files with 21 additions and 13 deletions

Binary file not shown.

View File

@ -329,13 +329,20 @@ EXP.OP.SUB ldx #0 ARG-ACC->ACC
lda #E.VAL.TOO.BIG
sec
rts
.8 clc
rts
*---------------------------------------
EXP.OP.MUL
EXP.OP.MUL >PUSHL L.SRC.ARG
>PUSHL L.SRC.ACC
>FPU MUL32
>PULLL L.SRC.ACC
rts
*---------------------------------------
EXP.OP.DIV
clc
EXP.OP.DIV >PUSHL L.SRC.ARG
>PUSHL L.SRC.ACC
>FPU DIV32
>PULLL L.SRC.ACC
rts
*---------------------------------------
EXP.SetAccA sta SRC.ACC

View File

@ -25,8 +25,8 @@ OUT.Reset ldx #4
rts
*---------------------------------------
OUT.PrintLineOn
clc
rts
* clc
* rts
>LDA.G ASM.LI.ON
bpl .9
>LDA.G ASM.MA.ON MACRO Mode ?

View File

@ -137,6 +137,8 @@ L.ASM.6502 .DA ASM.6502
L.ASM.CPU.FILE .DA ASM.CPU.FILE
L.FIO.Stat .DA FIO.Stat
L.SRC.ACC.F .DA SRC.ACC.F
L.SRC.ACC .DA SRC.ACC
L.SRC.ARG .DA SRC.ARG
L.T.DIRECTIVES .DA T.DIRECTIVES
J.DIRECTIVES .DA DIR.AC
.DA DIR.AS

View File

@ -3,7 +3,7 @@ NEW
.LIST OFF
.OP 65C02
.OR $2000
.TF BIN/CP
.TF bin/cp
*--------------------------------------
.INB INC/MACROS.I
.INB INC/A2OSX.I

View File

@ -3,7 +3,7 @@ NEW
.LIST OFF
.OP 65C02
.OR $2000
.TF BIN/MV
.TF bin/mv
*--------------------------------------
.INB INC/MACROS.I
.INB INC/A2OSX.I

View File

@ -3,7 +3,7 @@ NEW
.LIST OFF
.OP 65C02
.OR $2000
.TF BIN/RM
.TF bin/rm
*--------------------------------------
.INB INC/MACROS.I
.INB INC/A2OSX.I

View File

@ -526,8 +526,8 @@ CMD.REN lda (ZPArgVBufPtr)
lda ZPTmpW+1
sta ZPTmpW
>PUSHW ZPPtr1
>PUSHW ZPPtr2
>LDYA ZPPtr1
>SYSCALL Rename
.90 php

View File

@ -470,13 +470,12 @@ CS.RUN.CR >PUSHW L.MSG.CRLF
*--------------------------------------
.DO X.COPY.TO.DEST=1
.DO X.DELETE.SOURCE=1
CS.RUN.Rename ldy #hDstFullPath
CS.RUN.Rename ldy #hSrcFullPath
jsr CS.RUN.GetPathY
>PUSHYA
ldy #hSrcFullPath
ldy #hDstFullPath
jsr CS.RUN.GetPathY
>PUSHYA
>SYSCALL Rename
bcs .9
jsr CS.RUN.IncCount