jdah / jdh-8

An 8-bit minicomputer with a fully custom architecture

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Read/write attempt for non-present bank 0x0001

Nemesis300 opened this issue · comments

I compile by running ./bin/asm programs/pong.asm and it gives me a out.bin file. I emulate it by running ./bin/emu out.bin and then typing >RUN. But it keeps saying Read/write attempt for non-present bank 0x0001 infinitely

commented

You need to run it with the modules screen and kb. You can do this either by using the MOD command in the emulator or by running the emulator with --mod screen --mod kb.

You need to run it with the modules screen and kb. You can do this either by using the MOD command in the emulator or by running the emulator with --mod screen --mod kb.

It starts but very slow. Which is the recommended speed I should input?

commented

You can input your own argument to RUN <hz> as the number of hz you would like it to run at. IIRC it runs at 1 MHz in the video, but try out different speeds and see what works (could be different on your machine).