Better MegaCD manual scans from "Sphere, INC"
Moderator: Mask of Destiny
Better MegaCD manual scans from "Sphere, INC"
Everyone here is probably familiar with the "Rex Sabio" scans of the official MegaCD programming manuals:
http://nemesis.hacking-cult.org/MegaDri ... Manual.zip
Does anyone know about some rescanned pages from "Sphere, INC" though? Check them out here:
http://nemesis.hacking-cult.org/MegaDri ... ereINC.zip
While crawling the web for documentation, I came across these files on ElBarto's webspace. I've asked him, and he doesn't know where he got them. Has anyone else ever seen these files? Does anyone know where they came from?
I'm very interested in the original source for these scans, as the MegaCD manual from Rex Sabio isn't exactly great. The original document was obviously sent over fax, and some parts of it, particularly the shaded sections of various tables, can be very hard or impossible to read. Page 4 of the hardware manual is also completely missing. The Sphere INC version of this manual seems to be much better, with the scans being of an original, non-faxed version. Despite having the same date and version number at the bottom of the page, the Rex Sabio version also seems to be an earlier version of the manual, possibly a pre-publication version, with some hand-made corrections visible on the Rex Sabio version, with the correct information being part of the original printout on the Sphere INC version. The Sphere INC version also includes additional hand-made corrections for errors which weren't picked up in the Rex Sabio version. See pages 22, 24, and 25 for some examples of this.
I'm interested if there are any more pages which have been scanned from this better copy of the manual, and if not, I'm interested in getting in touch with the owner of this manual and seeing if we can get some high quality (preferrably png) scans of the entire manual. I'm also very interested in getting a scan of the missing page 4 if possible. Does anyone know who might be in possession of this document, and where it first surfaced?
http://nemesis.hacking-cult.org/MegaDri ... Manual.zip
Does anyone know about some rescanned pages from "Sphere, INC" though? Check them out here:
http://nemesis.hacking-cult.org/MegaDri ... ereINC.zip
While crawling the web for documentation, I came across these files on ElBarto's webspace. I've asked him, and he doesn't know where he got them. Has anyone else ever seen these files? Does anyone know where they came from?
I'm very interested in the original source for these scans, as the MegaCD manual from Rex Sabio isn't exactly great. The original document was obviously sent over fax, and some parts of it, particularly the shaded sections of various tables, can be very hard or impossible to read. Page 4 of the hardware manual is also completely missing. The Sphere INC version of this manual seems to be much better, with the scans being of an original, non-faxed version. Despite having the same date and version number at the bottom of the page, the Rex Sabio version also seems to be an earlier version of the manual, possibly a pre-publication version, with some hand-made corrections visible on the Rex Sabio version, with the correct information being part of the original printout on the Sphere INC version. The Sphere INC version also includes additional hand-made corrections for errors which weren't picked up in the Rex Sabio version. See pages 22, 24, and 25 for some examples of this.
I'm interested if there are any more pages which have been scanned from this better copy of the manual, and if not, I'm interested in getting in touch with the owner of this manual and seeing if we can get some high quality (preferrably png) scans of the entire manual. I'm also very interested in getting a scan of the missing page 4 if possible. Does anyone know who might be in possession of this document, and where it first surfaced?
-
- Very interested
- Posts: 2984
- Joined: Fri Aug 17, 2007 9:33 pm
Sphere, Inc. is almost certainly the company owned by UK media baron Robert Maxwell, who bought Nexa and Spectrum HoloByte in 1991. They did some Master System and Genesis games, so they'd certainly have had the manuals. No idea beyond that... probably this came from someone buying "stuff" auctioned from Nexa or Spectrum HoloByte, with the name indicating the time being after the two were bought and merged.
Those are all the files that ElBarto had. Here's where I found those files originally:
http://www.megadrive.org/~elbarto/md/Do ... are%20New/
It looks like someone re-scanned some pages which were especially bad from the Sphere INC version, just as a suppliment to the existing Rex Sabio version.
http://www.megadrive.org/~elbarto/md/Do ... are%20New/
It looks like someone re-scanned some pages which were especially bad from the Sphere INC version, just as a suppliment to the existing Rex Sabio version.
While analyzing the available manuals (not the re-scanned one since that part is specifically missing) I noted that there was some contradiction on how main CPU can write protect sub CPU PRG-RAM ($A12002 register):
- Hardware Manual (p.58 ) states that each 512-bytes sections in $00000-$1FFFF range can be write-protected.
- Software Development Manual (p.33) states that each 256-bytes sections in $00000-$0FFFF range can be write-protected.
Does anyone know which one is right ?
- Hardware Manual (p.58 ) states that each 512-bytes sections in $00000-$1FFFF range can be write-protected.
- Software Development Manual (p.33) states that each 256-bytes sections in $00000-$0FFFF range can be write-protected.
Does anyone know which one is right ?
-
- Very interested
- Posts: 745
- Joined: Sat Dec 15, 2007 7:49 am
- Location: Kazakhstan, Pavlodar
As always, there's the one at Eidolon's: scd_100_us.zip. It's a memory snapshot that includes the sub bios (the first 22KB), the bios SP and its PCM module.
If you're looking for a particular version, it should be easy enough to extract.
If you're looking for a particular version, it should be easy enough to extract.
Oh yes, indeed, I forgot about that one, thanks. I also noticed I had scd_110.bin in my folders.
I have a semi off-topic question about BIOS disassembly: are the interrupt callbacks routines copied by the SUB-CPU BIOS during its initialization or is the MAIN CPU BOOT ROM decompressing them later ? I can't figure when there are being copied, yet the SUB_CPU BIOS is expecting CDD interrupt to trigger some flags on startup...
I have a semi off-topic question about BIOS disassembly: are the interrupt callbacks routines copied by the SUB-CPU BIOS during its initialization or is the MAIN CPU BOOT ROM decompressing them later ? I can't figure when there are being copied, yet the SUB_CPU BIOS is expecting CDD interrupt to trigger some flags on startup...
You'll probably find the answer in here : http://www.megadrive.org/~elbarto/md/Me ... -15398.asm
It isn't the last version of my disasm but it might helps you.
It isn't the last version of my disasm but it might helps you.
Thanks, I did not have analyzed the Main CPU BOOT ROM yet but this might become handy.
Actually, the scd_110.bin file I had is actually the same BIOS as scd_100 from Eidolon, but with interrupt handlers properly copied this time.
There is also PROGRAM.OUT from Bart Trzynadlowski which is actually SUB-CPU BIOS v2.00 (for SegaCD II) and also have interrupt handler code (except GFX an Timer interrupts).
Actually, the scd_110.bin file I had is actually the same BIOS as scd_100 from Eidolon, but with interrupt handlers properly copied this time.
There is also PROGRAM.OUT from Bart Trzynadlowski which is actually SUB-CPU BIOS v2.00 (for SegaCD II) and also have interrupt handler code (except GFX an Timer interrupts).
You'll find how to get the raw data from this thread.
I was able to extract main/sub/z80 driver/z80 data & pcm data myself, using tsdc I think.
I also made a special version of M.IDA for CD (memory model, cdc mode ...) but never found the time to finish it....
I was able to extract main/sub/z80 driver/z80 data & pcm data myself, using tsdc I think.
I also made a special version of M.IDA for CD (memory model, cdc mode ...) but never found the time to finish it....
I can give you an easy way to find and decompress the sub-cpu bios files from any MegaCD bios file, without knowing where the compressed data is. There are two "standard" compression formats used by Sega for the Mega Drive, which were no doubt provided as libraries for developers to use in their own code. They were both cracked and compressors/decompressors written for them as part of the efforts in the Sonic hacking scene, since both these compression schemes were heavily used in the Sonic games. The two formats are generally known as follows:
1. Kozinski compression. An LZ77 based algorithm, used for many types of data.
2. Nemesis compression. A shannon-fano based algorithm, specifically intended for achieving high compression of VDP pattern data.
You'll find these two compression methods, especially Nemesis compression, used in hundreds of games for the Mega Drive, as well as the official bios files for the MegaCD, and the Genesis TMSS bios. Kozinski compression is used to compress the sub-cpu bios, as well as the sub-cpu boot program.
Back in the day when I was heavily involved in the Sonic hacking community, I wrote some nifty algorithms to scan through any given file, and locate all potential archives within those files that were compressed using either Kozinski or Nemesis compression. The tools work quite well. They will locate all valid archives with 100% accuracy, however, the Kozinski search tool may locate "bogus" archives with very small sizes (eg, 10 bytes), which happen to appear as real archives out of random data.
You can download the tools from here:
http://info.sonicretro.org/Nemesis_MD_Programs
Within the archive, you'll find kozsrch.exe, which you can use to locate and decompress the sub-cpu bios from the main MegaCD bios rom. Run that on the bios, and it'll automatically locate and decompress all the archives into a subdirectory.
1. Kozinski compression. An LZ77 based algorithm, used for many types of data.
2. Nemesis compression. A shannon-fano based algorithm, specifically intended for achieving high compression of VDP pattern data.
You'll find these two compression methods, especially Nemesis compression, used in hundreds of games for the Mega Drive, as well as the official bios files for the MegaCD, and the Genesis TMSS bios. Kozinski compression is used to compress the sub-cpu bios, as well as the sub-cpu boot program.
Back in the day when I was heavily involved in the Sonic hacking community, I wrote some nifty algorithms to scan through any given file, and locate all potential archives within those files that were compressed using either Kozinski or Nemesis compression. The tools work quite well. They will locate all valid archives with 100% accuracy, however, the Kozinski search tool may locate "bogus" archives with very small sizes (eg, 10 bytes), which happen to appear as real archives out of random data.
You can download the tools from here:
http://info.sonicretro.org/Nemesis_MD_Programs
Within the archive, you'll find kozsrch.exe, which you can use to locate and decompress the sub-cpu bios from the main MegaCD bios rom. Run that on the bios, and it'll automatically locate and decompress all the archives into a subdirectory.