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

RocketRobz

Stylish TWiLight Hero
OP
Developer
Joined
Oct 1, 2010
Messages
17,014
Trophies
3
Age
25
XP
22,016
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
59
Trophies
1
Age
38
XP
952
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,971
Trophies
4
Location
Austria
XP
2,849
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
17,014
Trophies
3
Age
25
XP
22,016
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
59
Trophies
1
Age
38
XP
952
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,975
Trophies
3
XP
4,575
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
59
Trophies
1
Age
38
XP
952
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
17,014
Trophies
3
Age
25
XP
22,016
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
59
Trophies
1
Age
38
XP
952
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,975
Trophies
3
XP
4,575
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
17,014
Trophies
3
Age
25
XP
22,016
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
  • K3Nv2 @ K3Nv2:
    https://a.co/d/jc0KUK6 Sir I smell alcohol
  • Veho @ Veho:
    Oh shit fr? Let's get wasted.
    +2
  • Sicklyboy @ Sicklyboy:
    The one problem I have with a lot of beard balms like that is that they smell so intensely that it's like the only thing I can smell for an hour
  • Veho @ Veho:
    Question, what does a beard balm/wax actually do? Is it just a hair oil product, or does it act as a gel and shapes it or what?
  • Sicklyboy @ Sicklyboy:
    Yeah it's a hair oil, kind of like a leave-in conditioner, but it also helps to keep your skin under the beard moisturized a bit, and since it is oily it does help a tiny bit with helping it hold its shape or lay flatter especially after brushing it
    +1
  • Sicklyboy @ Sicklyboy:
    I rarely ever use it, really only if I'm going out and trying to look/smell a tiny bit nicer. Kind of like how I treat cologne lol
    +1
  • Sicklyboy @ Sicklyboy:
    The one I have right now that I use every once in a while is tobacco + vanilla scented. It smells -fantastic- IMO, but same issue, for like the first hour or two it is just an ever present scent that I smell on every single inhale.
    +1
  • K3Nv2 @ K3Nv2:
    Whatever happened to girls dropping their pants over just smelling like old spice
  • Veho @ Veho:
    Whatever happened to Eminem's salsa making all the pretty girls want to dance and take off their underpants?
    +1
  • K3Nv2 @ K3Nv2:
    1000 pound sisters
  • Veho @ Veho:
    Seat warmer.
  • K3Nv2 @ K3Nv2:
    Honey let me lay down the blanket first
  • Veho @ Veho:
    SWAMP ASS
  • K3Nv2 @ K3Nv2:
    I still got this one little loose stich in my gums driving me nuts
  • K3Nv2 @ K3Nv2:
    Xfinity™
  • K3Nv2 @ K3Nv2:
    Don't know why I'll sleep normal at night one night then be up for like 24 hours the next 😩
  • Psionic Roshambo @ Psionic Roshambo:
    Lol Veho
  • Psionic Roshambo @ Psionic Roshambo:
    The North Korean space program!
  • K3Nv2 @ K3Nv2:
    SpaceUn
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Ass blasters are real!
  • K3Nv2 @ K3Nv2:
    Kim can finally visit Trump in the white house
    K3Nv2 @ K3Nv2: Kim can finally visit Trump in the white house