bobbimanners / EightBall

The Eight Bit Algorithmic Language for Apple II, Commodore 64 and VIC20
GNU General Public License v3.0
19 stars 3 forks source link

High performance VM #13

Open bobbimanners opened 6 years ago

bobbimanners commented 6 years ago

The reference implementation of the VM is not optimized for speed and has loads of paranoid checks. Once things stabilize I will attempt an optimized version in 6502 assembly.

bobbimanners commented 6 years ago

I have started down this road: 1) using a jump table for VM instruction dispatch. 2) moving common registers and eval stack to zero page. 3) hand-optimized assembler to shave a few instructions This work is in v0.78.