Hacking BAG's MoarNes Port

BassAceGold

Testicles
OP
Member
Joined
Aug 14, 2006
Messages
496
Trophies
1
XP
441
Country
Canada
While taking a break from studying for finals, I decided that I would try to find the easiest emulator possible to port and get running on the DSTwo. In a little under an hour I have successfully got a NES emulator running on the DSTwo (with no sound)!

2011-12-10_201338.jpg


The original source code that was ported can be found here: http://forums.libsdl...227c7acbdb1614a
This emulator is by no means finished or optimized, in fact if you click the above link to the topic, you'll see its actually a help post for a crash in the emulator (regarding SDL). This is simply a straight over port just for the fun of it and nothing else. You have been warned!

The controls:
NES - DS
A - B
B - Y
Start - Start
Select - Select

Screenshots can be taken with the L button and will be saved to the root of your card.

To play a game:
-copy a nes rom to the root of your sd card
-rename it "test.nes" with no quotes of course
-run the plugin!

Please note that I do not have current plans for future updates and improvements. Also I cannot release the ported source because it uses code from and unreleased version of my library I am working on and thus is not currently possible to compile outside of my environment. However the original source code is posted above and is easy enough to port to the DSTwo sdk that if you want to continue the development of such emulator, it wouldn't be hard to catch up to this state of development.

Download here: http://www.mediafire...34xv1dkn6onzz3s
 
  • Like
Reactions: 1 person

BassAceGold

Testicles
OP
Member
Joined
Aug 14, 2006
Messages
496
Trophies
1
XP
441
Country
Canada
Have the same issues that NesDS on DSXL? (burn screens)

It shouldn't, everything is handled in software. Then again it has its own issues such as being ridiculously slow. I imagine this is probably the software timing keeping everything in sync as increasing the CPU speed doesn't improve performance at all.
 

Kitanode

Well-Known Member
Newcomer
Joined
Nov 30, 2009
Messages
55
Trophies
0
Age
48
Location
Irvine, Scotland
Website
Visit site
XP
220
Country
Have the same issues that NesDS on DSXL? (burn screens)

If you play wit the brightness up high then you should try turning it down to '2'
I've been using nesDS on my DSiXL since the console's release and i have never encountered any screen burn-in.
The only reason i can think of is that i usually play with the brightness at this level, and maybe also not playing it for prolonged periods without turning it off briefly now and then.
 
D

Deleted-236924

Guest
If this ends up becoming better than what nesDS already is, then I will consider using this emulator instead.
 

jimmyemunoz

Well-Known Member
Member
Joined
Feb 23, 2009
Messages
1,958
Trophies
0
Location
Louisiana
XP
487
Country
United States
**snip this too** As I am censored whenever I spread the truth regarding a gbatemp user with a high post count. Whatever you do my posts will still be read and they don't change the facts. So why don't you delete this too.
 

jurassicplayer

Completionist Themer
Member
Joined
Mar 7, 2009
Messages
4,484
Trophies
1
Location
Pantsuland
Website
www.youtube.com
XP
2,904
Country
United States
If this ends up becoming better than what nesDS already is, then I will consider using this emulator instead.
BassAce, first of all BagPlug is #1 and thank you for making it and #2, are you planning to keep updating this emulator? I'm wondering is the motive, nothing more.

Please note that I do not have current plans for future updates and improvements.

-_-" Is anybody reading the post?
 
  • Like
Reactions: 1 person

SifJar

Not a pirate
Member
Joined
Apr 4, 2009
Messages
6,022
Trophies
0
Website
Visit site
XP
1,175
Country
There's no need to be rude just because he pointed out you were wrong. JurassicPlayer was correct in his post, and Pingouin7 was defending him. You on the other hand are insulting JurassicPlayer for pointing out the truth and then being rude to Pingouin7 for backing him up. EDIT: And I'm sure I'm probably next, but I don't care. You are being quite arrogant and rude, and that needs to pointed out IMO.
Was anyone speaking to you? I wasn't. Is this comment your business? It's rather immature that you feel compelled to restate another persons comments as if it will have a decided outcome. Move on SifJar.
Oh look, I was right. It is not in the slightest immature to back up people who are correct and combat rudeness and arrogance. I think you need to look up immature in the dictionary.
 
  • Like
Reactions: 1 person

miker00lz

New Member
Newbie
Joined
Feb 15, 2012
Messages
1
Trophies
0
XP
2
Country
United States
hey, BassAceGold. i found this thread via google, and thought it was neat that you did a DS port. i wrote MoarNES. the code you ported from is ridiculously old though. there is a completely new code base now. everything has been rewritten from scratch, CPU and all. if you wanted to give it another shot you might want to have a look at the current code. the emulator is light years beyond the one you used before! :)

http://rubbermallet....lpha-source.zip

in addition to the source code, there's a compiled win32 binary MoarNES.exe in the "Release" folder. there's an actual GUI of sorts now with drop-down menus. you'll also notice the sound is pretty close to the real NES now i think, except i don't have the APU sweeps working. the code is also much, much cleaner and organized.
 
  • Like
Reactions: 1 person

Another World

Emulate the Planet!
Former Staff
Joined
Jan 3, 2008
Messages
10,579
Trophies
2
Age
48
Location
From Where???
Website
wiki.gbatemp.net
XP
5,535
Country
Colombia
Have the same issues that NesDS on DSXL? (burn screens)

the guy that claimed this happened later admitted that he left a game on pause for more than a day. its a bit annoying that people are still spreading this around as though everyone who uses nesDS and an XL will experience screen burn or ghosting.

i'm sorry i quoted such an old post but it bugs me when people spread information around without the facts or without having run tests of their own. the last thing we need is a few thousand people finding this one post and assuming its a fact.

-another world
 
  • Like
Reactions: 1 person

BassAceGold

Testicles
OP
Member
Joined
Aug 14, 2006
Messages
496
Trophies
1
XP
441
Country
Canada
hey, BassAceGold. i found this thread via google, and thought it was neat that you did a DS port. i wrote MoarNES. the code you ported from is ridiculously old though. there is a completely new code base now. everything has been rewritten from scratch, CPU and all. if you wanted to give it another shot you might want to have a look at the current code. the emulator is light years beyond the one you used before! :)

http://rubbermallet....lpha-source.zip

in addition to the source code, there's a compiled win32 binary MoarNES.exe in the "Release" folder. there's an actual GUI of sorts now with drop-down menus. you'll also notice the sound is pretty close to the real NES now i think, except i don't have the APU sweeps working. the code is also much, much cleaner and organized.
Cool, I'll be sure to check it out when I have the time, although that doesn't mean no one else can attempt to try this in the mean time. :)
 

BassAceGold

Testicles
OP
Member
Joined
Aug 14, 2006
Messages
496
Trophies
1
XP
441
Country
Canada
Alright, just reporting back that I have successfully ported over miker00lz newer version in which he posted here. This port is pretty much same performance wise to the original port, maybe a little better overall. I have removed all dependencies of libBAG and have uploaded the ported code to github here. Everything should compile with the standard Supercard SDK, so if anyone wants to take a stab at optimizing it, it's all good to go now.
 
  • Like
Reactions: 1 person

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    OctoAori20 @ OctoAori20: Nice nice-