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

Merge pull request #32 from peterferrie/master

a bit smaller, another attempt at 65c02 VM
This commit is contained in:
David Schmenk 2018-01-30 21:17:13 -08:00 committed by GitHub
commit 7021424990
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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