Quote
First, great work Bruce! I know there have been requests for this in the past by people who couldn't use a78sign. Question - is the signature generated by your utility 100% the same as that generated by the original Atari utility & a78sign?
It's a direct translation of the 68000 code into C. The only way in which the signature is different is in the choosing of the "wildcard" byte to find a valid solution. The original utility added together a bunch of assorted numbers to determine its starting point, when it really didn't matter. If one in four solutions work, there could be over sixty valid signatures. I could theoretically make the code take five minutes finding every one of them, and let you choose the most asthetically pleasing combination of hexadecimal numbers, but that would be silly.
Quote
Also, how does your utility determine how much of the bin to use for the signature (for future bankswitched carts)?
It's in the documentation. It looks at $FFF9.
Quote
Regarding the a78 header - I, for one, simply add the required info to the ASM to automatically generate the a78 header.
And although the header & signature may not be required to execute the game via an emulator (or CC2), the signature will be required if/when physical cartridges are manufactured. The a78 header also provides an elegant method to provide meta information about the game to the emulator.
Which doesn't help much at all when using the real hardware all the time. I use a hacked 7800 which ignores the result of the decryption. And I now have a clamp-on LCD screen.
I'm not entirely impressed with emulators anyhow. I just tried my current project with MESS 0.70 (the current Mac OS X version), and it completely duffed the emulation of 320B video mode. There's no way could I have gotten as far as I have by relying on an emulator. :-)
Edited by Bruce Tomlin, Fri Apr 21, 2006 7:23 PM.