PocketHeaven Sponsors:
| View previous topic :: View next topic |
| Author |
Message |
thac0nfus3done Member
Joined: 29 Sep 2005 Posts: 103
|
Posted: Mon Oct 23, 2006 11:01 pm Post subject: PD demos, help with Development? |
|
|
I was looking through my roms the other day, getting the proper ones and I was deciding whether or not to keep the PD demos (Public Domain i think) Most of them are just demos created by the various homebrew organizations back in the day. The groups would challenge other groups by developing demos that would push the systems to more extreme limits.
This got me to thinking, since these roms are small easy to sort through, and use a variety of different techniques to do things on roms, could we use them to easily find slowdowns/bugs in the SnezziDS code? I'm hoping yes. If anyone would like a rar of the PD roms, I will gladly upload them.
PS. PD roms are not illegal to distribute as they have no copyright status and were never meant to cost money. |
|
| Back to top |
|
 |
tepples Big Bird

Joined: 11 Jul 2004 Posts: 3015 Location: NE Indiana, USA
|
Posted: Tue Oct 24, 2006 12:02 am Post subject: |
|
|
Not all the "PD" roms are public domain. Many are copyrighted yet still freeware, just like any DS or GBA homebrew rom.
A lot of freeware roms were tested only on emulators during development and thus don't work properly on flash cards. This was a big problem in the first few years of the NES homebrew scene, when if a .nes file ran in Nesticle, it was deemed worthy of release, even if its content was completely incompatible with the NES hardware. The point is that ideally, we want to test the behavior of freeware roms on emulators against their behavior on a Super NES, not against their behavior on other emulators. So which roms have been tested on a Super NES game copier and which haven't? _________________ -- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick. |
|
| Back to top |
|
 |
thac0nfus3done Member
Joined: 29 Sep 2005 Posts: 103
|
Posted: Tue Oct 24, 2006 12:47 am Post subject: |
|
|
What does PD stand for then sir Tepples . |
|
| Back to top |
|
 |
Dwedit Administrator

Joined: 26 Feb 2004 Posts: 2218 Location: Chicago!
|
Posted: Tue Oct 24, 2006 1:20 am Post subject: |
|
|
It's a misname, the stuff isn't public domain, but the ignorant folks who name the roms think they are.
And I think the many of the SNES demos predate emulators, and were intended to run on copiers. _________________ Here come the fortune cookies! Here come the fortune cookies!
They're wearing paper hats! |
|
| Back to top |
|
 |
tepples Big Bird

Joined: 11 Jul 2004 Posts: 3015 Location: NE Indiana, USA
|
Posted: Tue Oct 24, 2006 1:30 am Post subject: |
|
|
Background: In the 1980s, some bulletin board systems had warez and others didn't. Some BBSs allowed only "public domain" software due to copyright concerns, and this caused little problem because any work first published in the United States without a copyright notice entered the public domain under the laws in effect at that time. In 1989, the US Congress amended the copyright statutes to grant an automatic copyright for any work first published in the United States, so some software authors just licensed the copyrights in their programs to allow free redistribution ("freeware") or even free modification and redistribution ("free software"). The boards that had once held only PD software began to fill up with copyrighted freeware, and users began to misunderstand what "PD" means.
So the (PD) in GoodCodes appears to stands for nothing in the same way that the (8) stands for nothing. Perhaps "permitted distribution" would be the backronym. _________________ -- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick. |
|
| Back to top |
|
 |
bubble2k Member
Joined: 30 May 2006 Posts: 272
|
Posted: Tue Oct 24, 2006 2:26 am Post subject: |
|
|
Back to the original question, using any form of ROMs to discover slowdown or bugs in SnezziDS is possible, that's what we are already doing actually. The only difference is that we use production games.
But why freely distributable (that's what I assume you meant) ROMs in particular? Because they are small, it's likely that the instructions and operations they execute is likely to be much less exhaustive, if not used differently, than full-blown games.
Actually the best way is to write a test SNES ROM in assembly to test all running instructions in all forms of boundary cases that one can think of. Compare its output to something that is known to be fairly accurate. I used to run this test ROM in the early days of Snezziboy and compared it with the debugger output from Snes9x line-for-line, instruction-for-instruction to see that they match. If they don't match, then some CPU opcode emulation must be buggy and I correct the problem. These days I use it less and less, because there are less bugs now occurring on the CPU core, and more on timings, interrrupt handlings, graphics, etc. But if I hadn't had this help from the output of Snes9x, Snezzi would still probably extremely buggy from the emulation side of things.
A test ROM to test CPU core is not as difficult as it is tedious. But what is difficult to test with a test ROM are the finer intricacies of the hardware like timings issues, handling of DMA, and hardware bugs (yes!), that if not properly emulated can cause many games to run into problems. Byuu (author of bsnes) has written a set of test ROMs that tests some of these intricacies; they run correctly on hardware, and they are meant to test if the emulator can run them correctly. But these test ROMs may not be sufficiently exhaustive, at least to ensure all games will run properly.
So the best way, at least I feel, is to test it with full games. Unless some kind soul was willing to write an exhaustive test SNES ROM to test all fallable scenarios. |
|
| Back to top |
|
 |
thac0nfus3done Member
Joined: 29 Sep 2005 Posts: 103
|
Posted: Tue Oct 24, 2006 2:49 am Post subject: |
|
|
| Excelent, that now set aside, I'll delete most of these PD roms. That draws this topic to a close. Back to testing all the english roms I can. |
|
| Back to top |
|
 |
tepples Big Bird

Joined: 11 Jul 2004 Posts: 3015 Location: NE Indiana, USA
|
Posted: Tue Oct 24, 2006 4:17 am Post subject: |
|
|
| bubble2k wrote: | | A test ROM to test CPU core is not as difficult as it is tedious. But what is difficult to test with a test ROM are the finer intricacies of the hardware like timings issues, handling of DMA, and hardware bugs (yes!), that if not properly emulated can cause many games to run into problems. Byuu (author of bsnes) has written a set of test ROMs that tests some of these intricacies; they run correctly on hardware, and they are meant to test if the emulator can run them correctly. |
Is it anything like Blargg's growing NES test suite?
| Quote: | | But these test ROMs may not be sufficiently exhaustive, at least to ensure all games will run properly. |
For each game that doesn't run correctly, make a reduced test case and document exactly what it does differently. It's lawful to distribute unit tests but not to distribute the games themselves. _________________ -- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick. |
|
| Back to top |
|
 |
bubble2k Member
Joined: 30 May 2006 Posts: 272
|
Posted: Tue Oct 24, 2006 5:09 am Post subject: |
|
|
| Quote: | | Is it anything like Blargg's growing NES test suite? |
To some extent yes I think so. But I'm not sure if he has a repository of these ROMs. I have only seen them being distributed on separate threads on ZSNES (or was it Snes9x) forums.
| Quote: | | For each game that doesn't run correctly, make a reduced test case and document exactly what it does differently. It's lawful to distribute unit tests but not to distribute the games themselves. |
That would be the way to go. |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|