PocketHeaven Sponsors:
| View previous topic :: View next topic |
| Author |
Message |
FluBBa Moderator

Joined: 14 Feb 2004 Posts: 2048 Location: GBG
|
Posted: Thu Feb 16, 2006 7:43 pm Post subject: Hudson <3 PocketNES |
|
|
Hudson Best Collection
I don't know why I didn't check this one before
It appears they have changed the "fetch" macro to be slower, I don't know if that's supposed to obfuscate the code or something.
Jaleco, Atlus & now Hudson. _________________ 0x5AB07A6E |
|
| Back to top |
|
 |
Dwedit Administrator

Joined: 26 Feb 2004 Posts: 2218 Location: Chicago!
|
Posted: Thu Feb 16, 2006 10:07 pm Post subject: |
|
|
What changes did they make? _________________ Here come the fortune cookies! Here come the fortune cookies!
They're wearing paper hats! |
|
| Back to top |
|
 |
FluBBa Moderator

Joined: 14 Feb 2004 Posts: 2048 Location: GBG
|
Posted: Thu Feb 16, 2006 10:42 pm Post subject: |
|
|
About the fetch macro?
Instead of:
| Code: |
subs cycles,cycles,#$count*CYCLE
ldrplb r0,[z80_pc],#1
ldrpl pc,[z80_optbl,r0,lsl#2]
ldr pc,nexttimeout
|
They did:
| Code: |
subs cycles,cycles,#$count*CYCLE
ldrmi pc,nexttimeout
ldrb r0,[z80_pc],#1
ldr pc,[z80_optbl,r0,lsl#2]
|
Otherwise thay didn't change anything in the cpu core that I found, ofcourse they changed the menu in the emu and added a nicer frontend to it. _________________ 0x5AB07A6E |
|
| Back to top |
|
 |
Titney Administrator

Joined: 05 Feb 2004 Posts: 4026 Location: Earth
|
|
| Back to top |
|
 |
kennyk Member

Joined: 22 Feb 2004 Posts: 245 Location: Keelhaul Key
|
Posted: Fri Feb 17, 2006 12:35 am Post subject: |
|
|
| It would be nice if they would credit the real developers. |
|
| Back to top |
|
 |
Covarr Member

Joined: 07 Jan 2006 Posts: 736
|
Posted: Fri Feb 17, 2006 12:41 am Post subject: |
|
|
| Did they keep features such as the Select button combos and Scaled/unscaled? |
|
| Back to top |
|
 |
Dwedit Administrator

Joined: 26 Feb 2004 Posts: 2218 Location: Chicago!
|
Posted: Fri Feb 17, 2006 1:04 am Post subject: |
|
|
All the companies removed the shortcut key features, scaling, savestates, SRAM support, MiniLZO, and even sleep mode.
Atlus and Jaleco left the font in. It only appears in the pattern table viewer. They even left the font palette in there.
Hudson took the font out.
Jaleco made the GUI hotkey L+R, while Atlus and Hudson changed the button to show the GUI to just R.
Atlus even left the in the Fade from white at the beginning, Jaleco and Hudson took that out.
For some weird reason, Jaleco's version has transparent sprites in places.
Nobody bothered to fix the crappiness of the sound. I think they should have just licenced ACNES for that reason. _________________ Here come the fortune cookies! Here come the fortune cookies!
They're wearing paper hats! |
|
| Back to top |
|
 |
Titney Administrator

Joined: 05 Feb 2004 Posts: 4026 Location: Earth
|
Posted: Fri Feb 17, 2006 1:17 am Post subject: |
|
|
| kennyk wrote: | | It would be nice if they would credit the real developers. |
There might be potential legal issues with that... or at least I could see the company lawyers *thinking* there might be legal issues. Or maybe they just don't want to bring attention tot he fact that people could download the emu for free instead of buying it on a cart from them.
But that's what's neat about the kind of "do whatever-the-hell-you-want" kind of "license" that pocketnes is under. It can be used in ways that something that's under the GPL wouldn't. _________________ releases.pocketheaven.com
wiki.pocketheaven.com |
|
| Back to top |
|
 |
tepples Big Bird

Joined: 11 Jul 2004 Posts: 3015 Location: NE Indiana, USA
|
Posted: Fri Feb 17, 2006 2:47 am Post subject: |
|
|
| Dwedit wrote: | | All the companies removed the shortcut key features, scaling, savestates, SRAM support, MiniLZO, and even sleep mode. |
Removal of PocketNES save was to be expected because it relies on LZO software, which is copylefted under the GNU General Public License. Markus FXJ Oberhumer, the author of LZO software, offers proprietary licenses for a fee, but the publishers likely thought that supporting save states (which isn't in any other official compilation either) wasn't worth the money.
| Quote: | | Atlus even left the in the Fade from white at the beginning, Jaleco and Hudson took that out. |
Don't know why; even WarioWare Inc Mega Microgame$ has the fade from white.
| Quote: | | For some weird reason, Jaleco's version has transparent sprites in places. |
Accurate emulation perhaps? Perhaps the original NES games just zeroed out the sprite's tile instead of moving it down to y=240 (which is the recommended practice on at least nesdev forums).
| Quote: | | Nobody bothered to fix the crappiness of the sound. I think they should have just licenced ACNES for that reason. |
Does acNES support all mappers? Specifically, do any Famicom Mini or Animal Crossing games use MMC3 or any of the publisher-specific Famicom mappers?
And are you sure the new fetch macro is slower? Have you profiled how often the subs results in pl or mi flags? _________________ -- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick. |
|
| Back to top |
|
 |
Dwedit Administrator

Joined: 26 Feb 2004 Posts: 2218 Location: Chicago!
|
Posted: Fri Feb 17, 2006 3:36 am Post subject: |
|
|
It's a cycle count down thingy. At the start of each scanline, it's allocated 341 cycles (or 320 for pal mode). Each instruction ticks that number down by 2,3,4,6,7 or however many cycles it takes.
When the counter goes negative, it's done for the scanline, and should jump to scanlinehook, which is the code that increments the scanline, possibly triggers an interrupt or whatever, or even possibly a new frame.
Don't need to do any profiling. By definition, the normal pocketnes code is faster, since it's much more frequent that it will stay inside the scanline than advance to the next.
Yeah, it does look like Jaleco really needed pocketnes, while most of their games were mapper 0, one was mapper 87, and another was 66. Seems like every major company invented their own strange mappers in Japan.
And the "transparent sprites" line was intended to mean 50% transparent, like see-thru. But now that I think about it, it was probably a blinking sprite and VBA's motion blur was responsible. (*whacks self with baka hammer*) _________________ Here come the fortune cookies! Here come the fortune cookies!
They're wearing paper hats! |
|
| 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
|