Homebrew PicoDrive TWL - SEGA Genesis/Mega Drive emulator for Nintendo DS(i)

RocketRobz

Stylish TWiLight Hero
OP
Developer
Joined
Oct 1, 2010
Messages
16,648
Trophies
3
Age
24
XP
21,115
Country
United States
With a bit of knowledge of the SEGA Gen/MD hardware, I decided to improve upon the original source code of PicoDriveDS by Ryan FB, and release it with a new name, PicoDrive TWL!

IMG_20200413_231546_958.jpg

Like with the original PicoDriveDS, PicoDrive TWL is a SEGA Genesis/Mega Drive emulator for Nintendo DS, and now for Nintendo DSi as well!

New Features
  • DSi compatibility!
  • SSF2 mapper emulation for users with a Memory Expansion Pak or a DSi console.
    Makes Super Street Fighter 2 and other ROMs (such as hacks) that uses the mapper, compatible.
  • Screen filtering. The screen now looks less pixelated.
Todo (Unlikely)
  • Sound playback
Download
Requires either nds-hb-menu or TWiLight Menu++

Credits
  • Ryan FB: Original PicoDriveDS source code
  • Me: New features
  • @Pk11: Fixes to make it build in a modern dev environment
  • @maorninja: Creating the GitHub repo
  • devkitPro: Use of devkitArm and libnds, and file browsing code from nds-hb-menu
 
Last edited by RocketRobz,
D

Deleted User

Guest
Wow, it is actually possible to add sound support!?:grog:
 
Last edited by ,

Solid One

Well-Known Member
Newcomer
Joined
Aug 6, 2013
Messages
58
Trophies
1
Age
38
XP
870
Country
Brazil
What about the screen being cut due to screen size differences? Original genesis has resolution of 320x240 and DS lite has 256x192 (or 384 if you count both screens). Previously, I remember I had to press L and R buttons to side-scroll the screen in order to see the other borders. Is that fixed on this improvement?
 

Alexander1970

XP not matters.
Member
Joined
Nov 8, 2018
Messages
14,973
Trophies
3
Location
Austria
XP
2,499
Country
Austria
With a bit of knowledge of the SEGA Gen/MD hardware, I decided to improve upon the original source code of PicoDriveDS by Ryan FB, and release it with a new name, PicoDrive TWL!


Like with the original PicoDriveDS, PicoDrive TWL is a SEGA Genesis/Mega Drive emulator for Nintendo DS, and now for Nintendo DSi as well!

New Features
  • DSi compatibility!
  • SSF2 mapper emulation for users with a Memory Expansion Pak or a DSi console.
    Makes Super Street Fighter 2 and other ROMs (such as hacks) that uses the mapper, compatible.
  • Screen filtering. The screen now looks less pixelated.
Todo
  • Add sound
  • DSi: Move screen drawing to DSP
Download
Requires either nds-hb-menu or TWiLight Menu++

Credits
  • Ryan FB: Original PicoDriveDS source code
  • Me: New features
  • @Pk11: Fixes to make it build in a modern dev environment
  • @maorninja: Creating the GitHub repo
  • devkitPro: Use of devkitArm and libnds, and file browsing code from nds-hb-menu
:yay:

I knew you can do it.:)
I hope it makes also that Fun as with TWiLight Developement.

Great work,my Friend.
Thank you.:)
 

RocketRobz

Stylish TWiLight Hero
OP
Developer
Joined
Oct 1, 2010
Messages
16,648
Trophies
3
Age
24
XP
21,115
Country
United States
Wow, it is actually possible to add sound support!?:grog:
Yup. The source has code for sound, but doesn't work properly for now, and makes emulation slow.
The code would have to be moved to arm7.
What about the screen being cut due to screen size differences? Original genesis has resolution of 320x240 and DS lite has 256x192 (or 384 if you count both screens). Previously, I remember I had to press L and R buttons to side-scroll the screen in order to see the other borders. Is that fixed on this improvement?
If you checked the screenshot, the whole screen is fit into the console.
Amazing job! Finally a mega drive emulator that saves. I have one relevant issue, at least for sonic 3 and knuckes, the frame rate is very low. Note that it isn't slow, just very choppy
That's because the frame drawing code needs to process what to display on the screen, such as the BG/FG, window, and sprites.
 

Solid One

Well-Known Member
Newcomer
Joined
Aug 6, 2013
Messages
58
Trophies
1
Age
38
XP
870
Country
Brazil
If you checked the screenshot, the whole screen is fit into the console.

I've checked the images, and judging by the SF2 screenshot, I can see both life bars, and they aren't too close to the borders. But the screenshots are for DSi, which may be a bit bigger than DS Lite's screen. Will the image be uncut both on DSi and DS Lite?

And yet talking about PicoDrive's performance, will those changes make it slower to run Genesis games on a DS Lite? Or only for some games (such as Sonic 3, as reported by Artmagic3318)?

Anyway, that's a great improvement. I'll test your new PicoDrive version on my DS Lite to see how it performs. Playing Kid Chameleon without having to keep scrolling screen whenever I'm going to one side of the screen to another is much better.
 

Zense

Well-Known Member
Member
Joined
Apr 20, 2008
Messages
1,977
Trophies
2
XP
4,326
Country
Italy
I've checked the images, and judging by the SF2 screenshot, I can see both life bars, and they aren't too close to the borders. But the screenshots are for DSi, which may be a bit bigger than DS Lite's screen. Will the image be uncut both on DSi and DS Lite?

And yet talking about PicoDrive's performance, will those changes make it slower to run Genesis games on a DS Lite? Or only for some games (such as Sonic 3, as reported by Artmagic3318)?

Anyway, that's a great improvement. I'll test your new PicoDrive version on my DS Lite to see how it performs. Playing Kid Chameleon without having to keep scrolling screen whenever I'm going to one side of the screen to another is much better.
The DS and DSi have the same resolution on their screen so you'll have just as much shown on both systems. The difference is that the DSi has a dimensionally larger screen but again the resolution is the same.
 

Solid One

Well-Known Member
Newcomer
Joined
Aug 6, 2013
Messages
58
Trophies
1
Age
38
XP
870
Country
Brazil
Just tried testing PicoDrive TWL on my DS Lite with an AceKard 2i flashcard. It didn't worked. When I try running "PicoDriveTWL.nds", it shows some text messages (possibly error), and then my DS Lite turns off.

It worked fine when I tested it on jEnesisDS. Is this emulator exclusive for Twilight Menu? And if true, is TWL compatible with DS Lite w/ any flashcard combinations?
 

RocketRobz

Stylish TWiLight Hero
OP
Developer
Joined
Oct 1, 2010
Messages
16,648
Trophies
3
Age
24
XP
21,115
Country
United States
Just tried testing PicoDrive TWL on my DS Lite with an AceKard 2i flashcard. It didn't worked. When I try running "PicoDriveTWL.nds", it shows some text messages (possibly error), and then my DS Lite turns off.

It worked fine when I tested it on jEnesisDS. Is this emulator exclusive for Twilight Menu? And if true, is TWL compatible with DS Lite w/ any flashcard combinations?
As stated underneath "Download", you need either nds-hb-menu or TWiLight Menu++.
Also, yes, you can use it on any flashcard.
 

Solid One

Well-Known Member
Newcomer
Joined
Aug 6, 2013
Messages
58
Trophies
1
Age
38
XP
870
Country
Brazil
As stated underneath "Download", you need either nds-hb-menu or TWiLight Menu++.
Also, yes, you can use it on any flashcard.

Thanks for the reply. That being the case, I decided grabbing another old flashcard I had here (a R4i-SDHC), whose firmware worked only if I put the system clock to an older date, and replaced its default firmware to Twilight Menu. Luckily, it worked fine, and I'm impressed about how much better it is, when compared to the older one. Gotta fiddle with it, to see its new features.

After that, I tested PicoDrive TWL. Now it worked, however I'm getting no sound from any games. Besides, the game is performing slower than on jEnesisDS. Is that normal?
 
Last edited by Solid One,

Zense

Well-Known Member
Member
Joined
Apr 20, 2008
Messages
1,977
Trophies
2
XP
4,326
Country
Italy
Thanks for the reply. That being the case, I decided grabbing an old R4i-SDHC, whose firmware worked only if I put the system clock to an older date, and replaced its default firmware to Twilight Menu. Luckily, it worked fine, and I'm impressed about how much better it is, when compared to the older one. Gotta fiddle with it, to see its new features.

After that, I tested PicoDrive TWL. Now it worked, however I'm getting no sound from any games. Besides, the game is performing slower than on jEnesisDS. Is that normal?
Yep, that is how it performs at the moment but hopefully we'll see some improvements in the future :)
 

RocketRobz

Stylish TWiLight Hero
OP
Developer
Joined
Oct 1, 2010
Messages
16,648
Trophies
3
Age
24
XP
21,115
Country
United States
Thanks for the reply. That being the case, I decided grabbing an old R4i-SDHC, whose firmware worked only if I put the system clock to an older date, and replaced its default firmware to Twilight Menu. Luckily, it worked fine, and I'm impressed about how much better it is, when compared to the older one. Gotta fiddle with it, to see its new features.

After that, I tested PicoDrive TWL. Now it worked, however I'm getting no sound from any games. Besides, the game is performing slower than on jEnesisDS. Is that normal?
Yes, that's normal, as the sound emulation makes it run slow.
A workaround will be implemented, but it'll only be for DSi consoles.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • BigOnYa @ BigOnYa:
    Biomutant looks cool tho, may have to try that
  • Quincy @ Quincy:
    Usually when such a big title leaks the Temp will be the first to report about it (going off of historical reports here, Pokemon SV being the latest one I can recall seeing pop up here)
  • K3Nv2 @ K3Nv2:
    I still like how a freaking mp3 file hacks webos all that security defeated by text yet again
  • BigOnYa @ BigOnYa:
    They have simulators for everything nowdays, cray cray. How about a sim that shows you playing the Switch.
  • K3Nv2 @ K3Nv2:
    That's called yuzu
    +1
  • BigOnYa @ BigOnYa:
    I want a 120hz 4k tv but crazy how more expensive the 120hz over the 60hz are. Or even more crazy is the price of 8k's.
  • K3Nv2 @ K3Nv2:
    No real point since movies are 30fps
  • BigOnYa @ BigOnYa:
    Not a big movie buff, more of a gamer tbh. And Series X is 120hz 8k ready, but yea only 120hz 4k games out right now, but thinking of in the future.
  • K3Nv2 @ K3Nv2:
    Mostly why you never see TV manufacturers going post 60hz
  • BigOnYa @ BigOnYa:
    I only watch tv when i goto bed, it puts me to sleep, and I have a nas drive filled w my fav shows so i can watch them in order, commercial free. I usually watch Married w Children, or South Park
  • K3Nv2 @ K3Nv2:
    Stremio ruined my need for nas
  • BigOnYa @ BigOnYa:
    I stream from Nas to firestick, one on every tv, and use Kodi. I'm happy w it, plays everything. (I pirate/torrent shows/movies on pc, and put on nas)
  • K3Nv2 @ K3Nv2:
    Kodi repost are still pretty popular
  • BigOnYa @ BigOnYa:
    What the hell is Kodi reposts? what do you mean, or "Wut?" -xdqwerty
  • K3Nv2 @ K3Nv2:
    Google them basically web crawlers to movie sites
  • BigOnYa @ BigOnYa:
    oh you mean the 3rd party apps on Kodi, yea i know what you mean, yea there are still a few cool ones, in fact watched the new planet of the apes movie other night w wifey thru one, was good pic surprisingly, not a cam
  • BigOnYa @ BigOnYa:
    Damn, only $2.06 and free shipping. Gotta cost more for them to ship than $2.06
  • BigOnYa @ BigOnYa:
    I got my Dad a firestick for Xmas and showed him those 3rd party sites on Kodi, he loves it, all he watches anymore. He said he has got 3 letters from AT&T already about pirating, but he says f them, let them shut my internet off (He wants out of his AT&T contract anyways)
  • K3Nv2 @ K3Nv2:
    That's where stremio comes to play never got a letter about it
  • BigOnYa @ BigOnYa:
    I just use a VPN, even give him my login and password so can use it also, and he refuses, he's funny.
  • BigOnYa @ BigOnYa:
    I had to find and get him an old style flip phone even without text, cause thats what he wanted. No text, no internet, only phone calls. Old, old school.
    K3Nv2 @ K3Nv2: @BigOnYa...