Uphill to school both ways
So, with Winnows and GUIs in almost everything these days, "old fashioned" tools that used typed commands are disappearing faster than Arctic ice. Command prompt based tools are all but forgotten but there are still a few good ones out there. One of the best programs for a GM OBDI tuner to have around is Ludis Langens' Bithoist. I'm currently using it along with a batch file I wrote to automatically identify every .bin from the diy_efi .bin library. Here's an example of the output:
File 'c:\d_drive\bins\unknown\BLCD.BIN'
Address: 0x8000,0xffff
CRC: 0x08574b88
Mask ID: 12b
ID byte: 0x12
Sum word: 0x520c
Sequence: Mar 11, 1994 #202 (02C000CA)
Scan ID: 5088
BCC: BLCD (stock)
This gives file size (by the addresses) a calculated CRC checksum based on downloaded data, the correct mask ID, calculated GM checksum, the date sequence if supplied by GM, scan id and BCC. This program has helped me resolve many mystery proms, and has quickly helped me uncover fraudulent "performance" chips over the years. It's also able to output data in multiple formats and to files or other locations to be used by other programs. For the real hardcore guys it can merge the old C3 cal data (what's in the chip) and code (what's on the mask rom) then try to identify the resulting calibration and create an output file to pass to a disassembler.
It's not complete and I've never tried to update or modify it. Later calibrations are more likely to generate an "unknown" than early cals. I simply place files ID'ed as "stock" in my library in a main directory, place files which are identified but not listed as stock in a subdirectory titled "modified," while all unidentified files are placed in a folder titled "unknown." Saves me from starting with a bad or incorrect file when tuning.
I can upload this along with the helper batch file I've created. It's less than 1meg. Where to place it?
Re: Uphill to school both ways
Here's an example of a modified file:
File 'c:\d_drive\bins\unknown\abul.bin'
Address: 0xd000,0xdfff
CRC: 0xbbf73d49
Mask ID: 42
ID byte: 0x42
Sum word: 0x8969 (should be 0x8f39)
Scan ID: 7941
BCC: BDR4376
BCC: ABUL8235
The checksum does not match OEM which means this is a modified chip. Who knows what's changed, so I probably won't use this for anything but educational purposes.
Re: Uphill to school both ways
If I have everything set right you should be able to attach it here! Is it an .exe ? Pretty sure that's already set up in photgallerey too. I really need to reorganize the photogallerey this winter so it's easier to use.
1 Attachment(s)
Re: Uphill to school both ways
Bithoist by Ludis Langens.
Re: Uphill to school both ways
Oh Boy! Looks like I am going to have to brush up on Webmaster skills and build some HTML... wait I learned XML... pages! Thanks Shannen!
Re: Uphill to school both ways
This program is designed to run by itself... not as a web interface. Unzip all the files to a directory then switch to the command prompt (start --> run --> CMD) and run the program from there. Switch to the directory where the files are and type bithoist. If you're familiar with running DOS programs this will be old hat. If not then it's not too hard to make it work. The included batch file id_buddy will automatically invoke bithoist for every file in a directory and save the results to a text file. Handy right after downloading a whole bunch of cals or when finding a stash of files on an old hard drive. :)
Re: Uphill to school both ways
HMMMM! Dos? I remember learning that and giving up on computers till windows 95.
I'll have to find time to do what you said and try it. Wonder if I could build a webpage to interface with the program on server? That would be optimal! Then we could add bins along the way? If not can you add bins to this?
Re: Uphill to school both ways
I could try contacting Ludis, the guy who wrote it, and see how he did his magic. Ludis has a lot more experience with electronics and computers than I have. He was one of the real pioneers for working out the GM stuff. If it's a big project I don't know if I can commit to it, though.
Re: Uphill to school both ways
I spent about an hour trying to make it work on my PC yesterday... FAIL!