More actions
I'm working on porting z26 to 3ds and someone asked me to test it.
So here it is, attached you find the 3dsx version.
This is'n a simple port from SDL to 3DS IO functions, like the other two projects I posted. I'm modifying part of the code of the original emulator to make it run faster on o3ds.
In the version posted, after a first try using sf2dlib to draw frames (which resulted in about 1/4 of the needed fps, I changed the code to write pixels directly on the framebuffer. Now it works at about half speed on o3ds and I think I can gain some more speed using 16bpp instead of 32.
I'm also working on the opcode interpreter to find other possible optimization.
To test it, make a folder in the root of the SD named Atari2600 and copy some 2600 roms in it. You can also use subdirectorys to organize roms if you want.
In the menu use Up-Down to navigate, Left-Right moves page Down-Up. A selects a menu item and B is to exit from a menu page.
During game DPad and A emulate the Joystic 1 (no joy 2, there is an option to swap ports, but I did not tested it) X-Y select the difficulty, Select is the select key and Start is the reset Key.
Pressing L and R pauses the game and opens the menu (no return to your game, if you exit ther menu the loaded rom is resetted).
Warning: If you swap too many roms the emulator crashes (the original code don't let you load a new rom, so I have to check if some allocated memory isn't released)
On N3ds the emulator should run faster, but there isn't any FPS limiter, so it could run faster than normal.
As soon as I have a faster version I'll make an official release with menu options cleaned (some doesn't make anything).
Here are some screenshot (not from this version).
z26_1.png z26_2.png
EDIT: updated sources are on my Github