1
0
mirror of https://github.com/dschmenk/PLASMA.git synced 2024-08-21 06:29:07 +00:00

a bit smaller, another attempt at 65c02 VM

This commit is contained in:
Peter Ferrie 2018-01-30 16:27:18 -08:00
parent 88471f94f0
commit 3c36438333
3 changed files with 1485 additions and 5 deletions

View File

@ -808,7 +808,7 @@ asm reloc(modfix, modofst, bytecode, rld)#3
PLA
AND #$10 ; EXTERN REF - EXIT
BNE RLDEX
LDY #$00 ; FIXUP=*ADDR+MODOFST
TAY ; FIXUP=*ADDR+MODOFST
LDA (DST),Y
INY
CLC

View File

@ -698,15 +698,13 @@ LNOT LDA ESTKL,X
ORA ESTKH,X
BNE +
LDA #$FF
STA ESTKL,X
STA ESTKH,X
JMP NEXTOP
BNE ++
;*
;* CONSTANT
;*
ZERO DEX
+ LDA #$00
STA ESTKL,X
++ STA ESTKL,X
STA ESTKH,X
JMP NEXTOP
CFFB LDA #$FF

1482
src/vmsrc/plvmc02.s Normal file

File diff suppressed because it is too large Load Diff