Homebrew [SNEmulDS] Rebirth the project and update it for the last DKP

Yepi69

Jill-sandwiched
Member
Joined
Nov 29, 2010
Messages
2,862
Trophies
2
Age
28
Location
Behind you
XP
1,776
Country
Portugal
It would be great to have a good SNES emulator for the DS where the sprites wouldn't be messed up, I can't play my favorite SNES games properly, EarthBound, Super mario all stars, etc...
 
  • Like
Reactions: Margen67

jerbear64

Well-Known Member
Member
Joined
Dec 10, 2011
Messages
304
Trophies
1
Age
24
XP
381
Country
United States
Question bout Snemul. Whats the ROM size limit? I wanna play some rom hacks but because theyre larger files, I was wondering if I could trim em or something to make em work.
There is no limit. It uses a pager system to call in parts of the ROM to the memory.
 
  • Like
Reactions: Margen67

Rydian

Resident Furvert™
Member
Joined
Feb 4, 2010
Messages
27,880
Trophies
0
Age
36
Location
Cave Entrance, Watching Cyan Write Letters
Website
rydian.net
XP
9,111
Country
United States
lol what's a "timestamp"???
It's that thing at the very bottom of a post that lets you know when it was posted. Using this information you can, with a little know-how of math and dates, figure out which event happened first when you have two to compare.

For example, this thread was posted September of 2011.
CATSFC's revival, on the other hand, was started December 2012, over a year later.

url.png
 
  • Like
Reactions: Margen67

the_randomizer

The Temp's official fox whisperer
Member
Joined
Apr 29, 2011
Messages
31,284
Trophies
2
Age
38
Location
Dr. Wahwee's castle
XP
18,967
Country
United States
It's that thing at the very bottom of a post that lets you know when it was posted. Using this information you can, with a little know-how of math and dates, figure out which event happened first when you have two to compare.

For example, this thread was posted September of 2011.
CATSFC's revival, on the other hand, was started December 2012, over a year later.

url.png



no+shit+sherlock+2.jpg
 

2ndApex

Well-Known Member
Member
Joined
Jul 12, 2012
Messages
677
Trophies
0
XP
419
Country
United States
Seriously, why is this thread even open? The work Nebuleon did on CATSFC is way better than SnemulDS could ever hope to be.


Because people still want support and there's still a ghost of a chance that someone will try to make a better SNES emulator (hey, happened to GBC emulation after 5 years!).

CATSFC is lightyears away in terms of quality, but SNEmulDS runs at a higher frame rate so I still use it exclusively for Street Fighter: Hyper Fighting and the All-Stars versions of SMB1 if I ever feel like playing them.
 
  • Like
Reactions: Margen67 and SLiV3R

the_randomizer

The Temp's official fox whisperer
Member
Joined
Apr 29, 2011
Messages
31,284
Trophies
2
Age
38
Location
Dr. Wahwee's castle
XP
18,967
Country
United States
Because people still want support and there's still a ghost of a chance that someone will try to make a better SNES emulator (hey, happened to GBC emulation after 5 years!).

CATSFC is lightyears away in terms of quality, but SNEmulDS runs at a higher frame rate so I still use it exclusively for Street Fighter: Hyper Fighting and the All-Stars versions of SMB1 if I ever feel like playing them.

It's essentially the Zsnes of DS emulators, it may continue but not likely.
 

Coto

-
Member
Joined
Jun 4, 2010
Messages
2,979
Trophies
2
XP
2,564
Country
Chile
well I could optimize a few stuff on the snemulds project:

Fixed the linking and compiler warnings, source code for ARM9 does not look like a DOS port anymore

Replaced some arm7 code so it uses DMA for sound transfers.

Also ARM9 a bit on opcodes, and relocated more code to both ITCM & DTCM

cleaner code (except ppu that is mostly the same)

does not use the old libfat it came bundled with (.a lib) , it uses <current> libnds libfat instead (directly from your devkitpro version)

i have embedded a posix fread that stream reads from memory if offset is in the cache, otherwise refills block. (not implemented in the emu but available in the source code), but I suspect it could work (works already on my gbaemu) for big roms (over 4MB), and prevent paging.


so here is the source code:
<check newer post with proper source code>

well super mario world runs with sound (snemulds did already that), cycle hacks must be activated to do so, same for street fighter II , if you want decent speed
 

Coto

-
Member
Joined
Jun 4, 2010
Messages
2,979
Trophies
2
XP
2,564
Country
Chile
The fact that you managed to get it compiling with today's DevKitARM code and the current libfat is amazing. Keep up the great work!


Many thanks there.

-

Here is an updated version of the source code (SNEmulDS 0.6), I cleaned up some leftovers from the last source code posted. Runs nice in my opinion

<check newer post with proper source code>

SDL and other 2D (be it using the 3d or 2d engine of the render hardware of NDS) are definitely required from now on as the bottleneck is when rendering pixel-by-pixel directly to VRAM blocks.

I tried SDL (ported OK) but SNEmulDS memory layout breaks SDL support (freezes), so I suspect it has to do with the current RAM setup (and a portion of wram shared with arm7)
 
Last edited by Coto,

VinsCool

Persona Secretiva Felineus
Global Moderator
Joined
Jan 7, 2014
Messages
14,600
Trophies
4
Location
Another World
Website
www.gbatemp.net
XP
25,204
Country
Canada
I get an error when I try to compile:

EDIT: I found the problem, I needed to add GL2D library to libnds :)

Edit2: What does:
WTF1
WTF2
WTF3
at startup mean?
Editt3: Very slow :/
 

Nathan Drake

Obligations fulfilled, now I depart.
Member
Joined
Jan 2, 2011
Messages
6,192
Trophies
0
XP
2,707
Country
I'm legitimately amazed to see that any significant updates have been made to this emulator. I always found it to be more proof of concept than anything else, impressive for what it could do on such a weak handheld, but not expected to be entirely capable. Granted, I know it is still far, far, far from being anything more than proof of concept, but it's neat to see that even if it's only intermittently, people are still taking turns at improving it.
 
  • Like
Reactions: DanTheManMS

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Flame @ Flame: Ancientboi at it again. +1