Forums

Sega Master System / Mark III / Game Gear
SG-1000 / SC-3000 / SF-7000 / OMV
Home - Forums - Games - Scans - Maps - Cheats - Credits
Music - Videos - Development - Hacks - Translations - Homebrew

View topic - SMS Check 0.21 (command-line header reader)

Reply to topic
Author Message
  • Site Admin
  • Joined: 08 Jul 2001
  • Posts: 8730
  • Location: Paris, France
Reply with quote
SMS Check 0.21 (command-line header reader)
Post Posted: Sat Apr 15, 2006 2:40 pm
Heya,

I've just updated an old command-line tool of mine. It shows information related to standard SMS/GG header, as well as attempt to detect mapper and print a full sum of the ROM data. May be a bit redundant with Maxim's Header Reader for the header reading part, but it's sometimes practical to have something running as command-line (you can provide it with a filemask), and I guess non-Windows users can compile it as well.

Version 0.21     
Added heuristic mapper detection code (from MEKA).
Added full range sum printing (to compare with marking on EPROM).
Renamed to "SMS Check" not to confuse with Maxim's tool.

The "full range sum" (addition of all bytes of the file) is useful to compare with EPROM marking. Some EPROM have a 16-bits sum marked on them. Thus you can easily compare a known dump to the EPROM content.

E:\Roms\SMS>smscheck monopoly.sms
SMS Checker 0.21 - by Omar Cornut (Bock), Apr 15 2006
http://www.smspower.org/dev
--
[./monopoly.sms]
Size ...... 131072
Header .... 54 4D 52 20 53 45 47 41 20 20 4B C0 6D 6D 41 4C
System .... SMS Export (4)
Size ...... 32k
CheckSum .. C04B, Ok
FullSum ... B000B0
Mapper .... 00/163 -> Normal

Notice that the full sum, B000B0, if taking the lower 16-bits (4 digits), matches what's written on the EPROM on the left.

Mapper detection is taken from MEKA. It count LD (FFFF),a and LD (8000),a opcodes in first 32 KB range. Running it on the full Sega 8-bit ROM set gave zero incorrect result last time I tried. So emulators written can use this technique if they don't have a database like MEKA does.

Not sure if this tool can be useful to anyone, but in the doubt I'm posting it.

Download:
http://www.smspower.org/Development/SMSCheck
elsixcube_SMS_Sample_04.jpg (360.88 KB)
SMS samples
elsixcube_SMS_Sample_04.jpg

  View user's profile Send private message Visit poster's website
  • Site Admin
  • Joined: 08 Jul 2001
  • Posts: 8730
  • Location: Paris, France
Reply with quote
Post Posted: Sat Nov 29, 2014 8:25 pm
I have rebuild the software to function on newer version of Windows (32/64 bits). The old executable wouldn't.
  View user's profile Send private message Visit poster's website
Reply to topic



Back to the top of this page

Back to SMS Power!