Support and General Use > Plugins/Viewers
NES plugin - a proposal
LambdaCalculus:
Llorean, you get first dibs at playing the NES plugin! ;D Thanks!
ComposerDude:
Indeed, Llorean.
From the movie Happy Feet:
--- Quote ---Ramón(Llorean): I right now take a moment for myself. Bow down, bow down.
[All Amigos bow to him]
Raul(Us): You the man, you the man.
--- End quote ---
ttfn,
ComposerDude
ComposerDude:
FCEU might be a dammed encyclopedia, but it's commented relatively well. I think that if we spend our time reading our code books and reading the source of both TuxNES and FCEU, we will find exactly what we're looking for.
More specifically, we'll want to get rid of anything that is:
1. Not easily portable (I'll contact FCEU devs again)
2. Excess Features (Cheats, extra palettes, etc.)
3. Non-rockbox compatible (assembler, you know...)
Another thing to look into: can we use dynamic-recompile, or must we use interpretive? D-C is alot faster than interpret. How similar are most of rockboxes target cpu's? This would ease porting a D-C method if they were mostly alike.
'God bless us, every one!' - Tiny Tim, Dickens' A Christmas Carol
ComposerDude
Multimedia Mike:
A huge caveat with dynamic recompilation: It falls over when it hits self-modifying code. Even The Legend of Zelda used this. That's why TuxNES had to include at least a minimal interpretive engine in addition to the dynrec core.
You might suspect it would be tricky to run self-modifying code when the program lives in ROM. But some programmers were apparently so keen on the technique that they would copy data down to the work RAM and branch execution there.
ComposerDude:
Okay, this may or may not sound uneducated. But why couldn't an emulator simply be written to represent the original hardware to the rom, and pipeline output for whatever the rom calls, while doing the same for input, etc. etc. and so forth.
My understanding is that, yes, hardware would still be emulated like anything else, so to speak, but that instead of handling everything itself, it would pas things along to the host system.
Somebody correct me if I'm wrong. Why hasn't this been done?
Peace out,
ComposerDude
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version