(Link to AcmlmWiki) Offline: thank ||bass
Register | Login
Views: 13,040,846
Main | Memberlist | Active users | Calendar | Chat | Online users
Ranks | FAQ | ACS | Stats | Color Chart | Search | Photo album
06-01-24 05:14 AM
0 users currently in General Gaming.
Acmlm's Board - I3 Archive - General Gaming - Tips on NDS homebrew
  
User name:
Password:
Reply:
 
Options: - -
Quik-Attach:
Preview for more options

Max size 1.00 MB, types: png, gif, jpg, txt, zip, rar, tar, gz, 7z, ace, mp3, ogg, mid, ips, bz2, lzh, psd

UserPost
MathOnNapkins
Posts: 608/1106
Yeah that's what I was talking about. Really gave me a headache when I tried to analyze Secret of Mana graphics a few months ago. How some parts of a BG can be on top of a BG it's supposed to be underneath.
HyperHacker
Posts: 2371/5072
The tiles on SNES can override layer priority. That is, layer X is above layer Y, but select tiles of layer Y can still show up above layer X. No other console I know of can do this, and a lot of games use it, even simple ones like Super Mario World (for the scorebar).
I'm not sure if the DS has colour add/subtract or transparency. Worst-case scenario, I suppose you could draw each tile as a 3D quad.
MathOnNapkins
Posts: 607/1106
The idea would be to convert the music to a more DS friendly format. As for handling graphics, you can always do it manually, even if it means buffering it somehow and using bitmaps. Running code natively will mean you will have more time to fix the output with some kind of generalized handler. What exactly does the SNES do that the DS is incapable of? The only things I can think of at the moment would be color add/subtract, transparency and windowing... and I'm pretty sure it has windowing and transparency. Perhaps the various BG and pixel priority modes would be hard to deal with.
HyperHacker
Posts: 2363/5072
I think it's been said that if the core were optimized enough, SNESDS could emulate the DSP-1, but SuperFX is unlikely. AFAIK the ARM9 already has its hands full doing 65816 emulation, and ARM7 is busy with SPC700 emulation and other things. That's without even software rendering - right now it feeds the graphics data to the DS's graphics hardware directly, which has some accuracy problems since SNES's GPU could do things DS's can't.
MathOnNapkins
Posts: 606/1106
Still working through that... many things can only be done on the ARM7 side... like reading the buttons and the touch screen. And the 3D graphics engine might be on the ARM9 side... so I have to look into it a bit more.

edit: wtf... how could I forget that the ARM9 and the ARM7 have a whole different set of registers... gah. So yeah perhaps SuperFX could be done natively with command conversions. So that leaves... music as the largest potential gap. But the DS handles music much differently than the SNES... it doesn't have a seperate subprocessor from what I can tell.
interdpth
Posts: 200/362
Would it be possible for the ARM9 to handle the SNES's process and the ARM7 to handle SuperFX's? Or just make a switch function if it detects a different processor?
MathOnNapkins
Posts: 604/1106
Heh... well obviously some parts are useless like things that relate to the PPU and the APU. But I think some degree of recompilation is possible and probably preferable for accuracy's sake. I really hate projects like Super Metroid Classic that try to recreate a game just by looking at it and playing it. I'm pretty positive that emulating the SNES AND another processor like the SuperFX would be too much for the DS. Hence you'd have to convert a lot of commands to a native format. The ARM has a lot of multi purpose registers and I suppose I could map the SNES registers to those fairly easily. Then just find a way to do the SuperFX commands natively (without using registers?)
FreeDOS +
Posts: 565/1312
Originally posted by MathOnNapkins
Hoping to recompile some SNES games to work on DS. Maybe the ones that are pretty much unemulatable via SNESDS. Handheld Starfox would be <3.

As much as that sounds cool, you're way better off rewriting your favorite SNES games from scratch.
MathOnNapkins
Posts: 603/1106
Well I just got my G6 and Passkey3 yesterday on the same day. It works beautifully. Going to have look into doing some work in assembler... b/c all the tutorials are in C or C++ right now. Currently reverse engineering the demo1.nds rom (PD) I found on a tutorial site that was written in C. Hoping to recompile some SNES games to work on DS. Maybe the ones that are pretty much unemulatable via SNESDS. Handheld Starfox would be <3.
FreeDOS +
Posts: 560/1312
Thing is, you keep saying that NoPass is PassMe3, which it isn't. PassMe exploits bugs in the BIOS or firmware to accomplish what it does. Instead, NoPass has encrypted code just like officially published games (thanks to the encryption being cracked); it makes the DS think it's officially signed. Unlike PassMe1/2, it will be pretty much impossible to block NoPass. The most Nintendo could do is scan for bits of code or checksums, but that is different with all the different NoPass cards coming.

In effect, NoPass should be a permanent solution to the homebrew problem. This is contrary to things like PassMe which is fixed by fixing the bugs it exploits.
DJ Bouche
Posts: 84/111
Originally posted by HyperMackerel
There's major differences between NoPass and PassMe2, though I'm not sure which a SuperPass2 is.


SuperPass2 = PassMe2 variant. And I'm well aware of the differences between NoPass/PassMe3 and PassMe2.
DarkSlaya
Posts: 708/936
I have an useless DS over here, should I try what HH said?
PrincessPeach
Posts: 173/381
I could send you my allready flashed DS ^^. Then I could by me a Lite.
MathOnNapkins
Posts: 597/1106
I'm willing to do it if someone is nice enough to send me $130.00 first
HyperHacker
Posts: 2308/5072
Originally posted by PrincessPeach
Originally posted by FreeDOS +
(...) Or maybe you want to keep it if you ever decide to uninstall FlashMe.



Or a FlashMe updates comes along.

You can use FlashMe to install new versions.

FYI, flashing the original DS is a piece of cake. If you find the right size screw it literally threads right into the hole, so all you need to do is hold the battery in and tighten it until it starts flashing. People have been having trouble with Lite, but apparently a coathanger wrapped in electrical tape with just the very end exposed does the job.
FreeDOS +
Posts: 555/1312
It only requires you to short SL1, the only purpose of which is to prevent the lower blocks of firmware being written to when it has a connection (it was probably there for developers/testers to flash different firmware versions onto the units)
MathOnNapkins
Posts: 593/1106
Well I read over it and it doesn't seem like an option I'd like to go with. But thanks for the info anyways. I'd like to keep the firmware intact until I get a new one. I might buy an old used DS though just to mess with it that way. I really don't like opening up hardware and messing with it, and the moment it mentioned shorting something out I lost interest.
PrincessPeach
Posts: 172/381
Originally posted by FreeDOS +
(...) Or maybe you want to keep it if you ever decide to uninstall FlashMe.



Or a FlashMe updates comes along.
FreeDOS +
Posts: 554/1312
See FlashMe on the PHWiki. In short, FlashMe allows you to run Nintendo DS code from SLOT-2 without needing any sort of pass-through/NoPass device, protects you from bricking the DS (sort of, a brick program will write to the parts of firmware that is writable, FlashMe stores code in the protected area so you don't need to do any hardware hacking to unbrick the DS), allows WifiMe to work (on newer DSes, this is good), and removes the annoying health-and-safety screen that normally appears every time you boot the DS.

If FlashMe sounds good to you, you should go after the absolute cheapest way to boot homebrew code, which is currently the Max Media Launcher. You won't be needing the device after you flash the firmware. You could sell it, or pass it onto a friend or family member that might want it. Or maybe you want to keep it if you ever decide to uninstall FlashMe.
MathOnNapkins
Posts: 591/1106
I just went ahead and bought them. Passkey 3 seems to be an extremely new device. The stores I looked at added it only a week ago. Hopefully I'll turn out to be a guinea pig that doesn't lose $34. At this time it seems like the cleanest 2 slot option. Though Bouche, what exactly does Flashing (Flashme) allow you to do? Does it allow you to run code off of a cart directly from the DS slot? B/c that would be cool, but I'd be worried I'd ruin my DS. only have one at the moment. Will be buying a Lite as soon as I can afford it. I want one to test on and one to play on.
This is a long thread. Click here to view it.
Acmlm's Board - I3 Archive - General Gaming - Tips on NDS homebrew


ABII

Acmlmboard 1.92.999, 9/17/2006
©2000-2006 Acmlm, Emuz, Blades, Xkeeper

Page rendered in 0.007 seconds; used 366.65 kB (max 426.98 kB)