1. Robz8

    OP Robz8 Coolest of TWL
    Developer

    Joined:
    Oct 1, 2010
    Messages:
    13,225
    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
    • Sound playback (WIP)
    • 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
     
    Last edited by Robz8, Apr 18, 2020
  2. Men

    Men Newbie
    Newcomer

    Joined:
    Apr 14, 2020
    Messages:
    1
    Country:
    United States
  3. Lenks

    Lenks Advanced Member
    Newcomer

    Joined:
    Mar 8, 2020
    Messages:
    65
    Country:
    Bulgaria
    WOW great, is SegaCD compatible? Specifically asking for popful mail :D
     
  4. Robz8

    OP Robz8 Coolest of TWL
    Developer

    Joined:
    Oct 1, 2010
    Messages:
    13,225
    Country:
    United States
    SegaCD is not yet compatible.
     
    Zense and alexander1970 like this.
  5. Dodain47

    Dodain47 GBAtemp Psycho!
    Member

    Joined:
    Jan 1, 2017
    Messages:
    3,045
    Country:
    Austria
    Wow, it is actually possible to add sound support!?:grog:
     
    Last edited by Dodain47, Apr 14, 2020
  6. Solid One

    Solid One Member
    Newcomer

    Joined:
    Aug 6, 2013
    Messages:
    48
    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?
     
  7. Artmagic3318

    Artmagic3318 Newbie
    Newcomer

    Joined:
    Mar 18, 2020
    Messages:
    4
    Country:
    Brazil
    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
     
    Robz8 and banjo2 like this.
  8. alexander1970

    alexander1970 I'm totally a bot!
    Member

    Joined:
    Nov 8, 2018
    Messages:
    9,986
    Country:
    Austria
    :yay:

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

    Great work,my Friend.
    Thank you.:)
     
    Robz8 and banjo2 like this.
  9. Robz8

    OP Robz8 Coolest of TWL
    Developer

    Joined:
    Oct 1, 2010
    Messages:
    13,225
    Country:
    United States
    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.
    If you checked the screenshot, the whole screen is fit into the console.
    That's because the frame drawing code needs to process what to display on the screen, such as the BG/FG, window, and sprites.
     
  10. alexander1970

    alexander1970 I'm totally a bot!
    Member

    Joined:
    Nov 8, 2018
    Messages:
    9,986
    Country:
    Austria
    Full Screen !!! :yay::bow:
    I can not believe it.

    I replaced the Emulator in TWiLight with it and it works too.:yaynds:

    The Speed is also great.
    (I think it runs in DSi Mode.:rofl2:).

    Thank you.:)

    Edit: It runs also great on the DS Lite with the Memory Pack.:)
     
    Last edited by alexander1970, Apr 14, 2020
    Indy13, banjo2 and Robz8 like this.
  11. jonothan.stevens

    Newcomer

    Joined:
    Jan 28, 2012
    Messages:
    37
    Country:
    United States
    Awesome to see more development happening for the DSi. :D
     
    Indy13, alexander1970, banjo2 and 2 others like this.
  12. Zense

    Zense GBAtemp Advanced Maniac
    Member

    Joined:
    Apr 20, 2008
    Messages:
    1,637
    Country:
    Italy
    Wow :blink:
     
    Last edited by Zense, Apr 14, 2020
    alexander1970 likes this.
  13. Solid One

    Solid One Member
    Newcomer

    Joined:
    Aug 6, 2013
    Messages:
    48
    Country:
    Brazil
    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.
     
    banjo2 and Robz8 like this.
  14. Zense

    Zense GBAtemp Advanced Maniac
    Member

    Joined:
    Apr 20, 2008
    Messages:
    1,637
    Country:
    Italy
    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.
     
    alexander1970, banjo2 and Robz8 like this.
  15. cloudstr

    cloudstr Newbie
    Newcomer

    Joined:
    Apr 11, 2019
    Messages:
    8
    Country:
    Lithuania
    I just wish the source code of jEnesisDS were available so we could improve it further, but that is sadly not possible .. :sad:
     
    Last edited by cloudstr, Apr 16, 2020
  16. Solid One

    Solid One Member
    Newcomer

    Joined:
    Aug 6, 2013
    Messages:
    48
    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?
     
  17. Robz8

    OP Robz8 Coolest of TWL
    Developer

    Joined:
    Oct 1, 2010
    Messages:
    13,225
    Country:
    United States
    As stated underneath "Download", you need either nds-hb-menu or TWiLight Menu++.
    Also, yes, you can use it on any flashcard.
     
    Zense and alexander1970 like this.
  18. Solid One

    Solid One Member
    Newcomer

    Joined:
    Aug 6, 2013
    Messages:
    48
    Country:
    Brazil
    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, Apr 20, 2020
    alexander1970 and Zense like this.
  19. Zense

    Zense GBAtemp Advanced Maniac
    Member

    Joined:
    Apr 20, 2008
    Messages:
    1,637
    Country:
    Italy
    Yep, that is how it performs at the moment but hopefully we'll see some improvements in the future :)
     
    banjo2, alexander1970 and Robz8 like this.
  20. Robz8

    OP Robz8 Coolest of TWL
    Developer

    Joined:
    Oct 1, 2010
    Messages:
    13,225
    Country:
    United States
    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.
     
    maorninja, Dodain47, banjo2 and 2 others like this.
Draft saved Draft deleted
Loading...

Hide similar threads Similar threads with keywords - PicoDrive, emulator, Nintendo