Z26 3DS: Difference between revisions

From GameBrew
(Created page with "{{Infobox 3DS homebrew | title = Z26 3DS | image = https://dlhb.gamebrew.org/3dshomebrew/Z26-3DS.png|250px | type = Console | version = | licence = Mixed | author = nop90 | w...")
 
No edit summary
Line 12: Line 12:
<youtube>FiRPNQ2g8Lc</youtube>
<youtube>FiRPNQ2g8Lc</youtube>


<blockquote>I'm working on porting z26 to 3ds and someone asked me to test it.<br />
=Z26 3DS=
 
I'm working on porting z26 to 3ds and someone asked me to test it.<br />
<br />
<br />
So here it is, attached you find the 3dsx version.<br />
So here it is, attached you find the 3dsx version.<br />
Line 37: Line 39:
<br />
<br />
Here are some screenshot (not from this version).<br />
Here are some screenshot (not from this version).<br />
<br />
<br />
[[File:https://gbatemp.net/attachments/z26_1-png.25635/|class=bbCodeImage LbImage|z26_1.png]] [[File:https://gbatemp.net/attachments/z26_2-png.25636/|class=bbCodeImage LbImage|z26_2.png]]<br />
<br />
EDIT: updated sources are on my Github
<div class="messageTextEndMarker">
</div></blockquote>

Revision as of 03:46, 27 April 2020

Template:Infobox 3DS homebrew

Z26 3DS

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).

Advertising: