Hello,
in stead off rewrting my emulator I will first make a port of my ZX Spectrum / ZX81 game SHOGUN boardgame to the Videopac to get reaquainted with the Videopac.
So I got myself a compiler (ASW) and a setup to compile my first .BIN
I will code it autostart (no SELECT GAME) since it will be the boardgame only.
I recently rewrote the entire game to make it run on a 1K ZX81. This reduced the use of RAM to a mere 128 bytes extra RAM and a stack of 72 bytes.
I am expecting the following problems when converting the game:
1) The game uses recursion for the best computermove and finding valid endfields. It stack parameters on the stack, I will need to "simulate"a stack for the paramaters.
2) The game uses selfmodifying code. This will need checks in RAM-memory
3) Speed: no idea how quick the AI wil be on the Videopac.
This is the old version on the ZX81
http://minigamecompo.weebly.com/2k-page.html If you like I would keep up the progress in this topic.