- Joined
- Nov 12, 2002
- Posts
- 4,665
Hi,
I am going to add crc32 checksum support for games P Roms but am not sure of the best way to do this for several reasons.
The main concern I have is the fact that it is not possible to detect the P rom setup in the cart. Because of this my main worry is carts holding the same game but having different P rom ammounts (2x512k or 1x1mb for example).
Keeping this in mind how should I actually do the crc check, some posibilities are;
<ol type="1">[*]Use P rom sizes used in MAME and check actual P rom crc32. The drawback is this won't be accurate for games using a different ammount of P roms than mame and the P rom reported bad could in cases be wrong. Also some games may report a different crc than mame while still being correct because of custom ports in the high ROM bank space (0x2ffff0 and up).
[*]crc32 the actual neogeo ROM and ROM bank space for the ammount the game uses according to mame. This way more allows for a inbuilt table of what crc32 should be for games. The drawback is it won't always be be apparent what P rom holds the error if there is one.
[/list=a]
Anyone have any other ideas how it could be done, personally I feel the second approach is better?
Raz
[ December 11, 2002: Message edited by: Razoola ]</p>
I am going to add crc32 checksum support for games P Roms but am not sure of the best way to do this for several reasons.
The main concern I have is the fact that it is not possible to detect the P rom setup in the cart. Because of this my main worry is carts holding the same game but having different P rom ammounts (2x512k or 1x1mb for example).
Keeping this in mind how should I actually do the crc check, some posibilities are;
<ol type="1">[*]Use P rom sizes used in MAME and check actual P rom crc32. The drawback is this won't be accurate for games using a different ammount of P roms than mame and the P rom reported bad could in cases be wrong. Also some games may report a different crc than mame while still being correct because of custom ports in the high ROM bank space (0x2ffff0 and up).
[*]crc32 the actual neogeo ROM and ROM bank space for the ammount the game uses according to mame. This way more allows for a inbuilt table of what crc32 should be for games. The drawback is it won't always be be apparent what P rom holds the error if there is one.
[/list=a]
Anyone have any other ideas how it could be done, personally I feel the second approach is better?
Raz
[ December 11, 2002: Message edited by: Razoola ]</p>
