lewisakura / 6502-rbx

I am literally going insane.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

6502-rbx

A functional (I think) 6502 CPU emulator, ported from 6502Net. No I/O just yet.

Try it?

Why? Here you go I guess...

Prep

Download the place from the above game, then run rojo serve. You can now develop on the emulator.

Assembling code

Write your code in 6502 Assembly, then use as65 to assemble your code. Afterwards, run node ./a65ToLua.js ./output.bin ./output.lua to convert it into a program you can load into 6502-rbx. Put this Lua file into the src/6502/Programs. Configure your memoryOffset and programCounterStart to whatever your program requires.

Running code

If you want to run code with all the fancy bells and whistles that the example provides, edit src/TestScript.server.lua and adjust the 10th line to whatever your program name is.

About

I am literally going insane.

License:MIT License


Languages

Language:Lua 99.6%Language:JavaScript 0.4%