module main // must be named same as the file!
import src/cpu
import src/renderer
import src/renderers/js
import bytearray
def main(): Unit = {
// Using the JS backend
def r = JSRenderer::makeRenderer
def test(rom: ByteArray) = {
cpu::run(rom) {r}
}
r.init(test)
()
}