Go Back   Third Generation F-Body Message Boards > Tech Boards > DIY PROM
Sign in using an external account
Register Forgot Password?

DIY PROM Do It Yourself PROM chip burning help. No PROM begging. No PROMs for sale. No commercial exchange. Not a referral service.

Welcome to ThirdGen.org!
Welcome to ThirdGen.org.

You are currently viewing our forum as a guest, which gives you limited access to view most discussions and access our other features. By joining our community, at no cost, you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is free, fast and simple, join the ThirdGen.org community today!


Reply
 
Thread Tools Search this Thread
Old 06-11-2007, 02:47 AM   #1
Member
 
escort_ford84's Avatar
 
Join Date: Jun 2006
Posts: 148

Classifieds Rating: (0)
Source code for dummies 3 (the new begining)

ok i have been working with this m6811 disassembler for quite some time. Disassebling the (im going to call it the corvette bin) from the 165 $6E works quite well. We've established that. However, disassembling my choise of bin file seems to be a worthy task. Knowing that the labels are NOT my problem in the control file, im not going to look for a problem in it, as i did what the PDF file told me to do, INPUT file....OUTPUT file.....entry address. However, it does not work. Gives me GARBAGE.dis file. I feel that using the m6811 ive gone back in time,(possibly 1979) hence not many windows based programs avalible (possibly windows 3.0, but not 3.11, not yet). Not here to bash anyone, but doing things the hard way? when do we stop. Im going to attach some files here, again doing this the hard way, one post at a time since i cant get 3 on one post. CATS cross disassembler picked it right off (maybe m6811 should have, or possibly cant). This thread will tell the tale. A.txt is my control file, A.dis is the disassembled of A.bin file, and BMU(cats).scr is tha CATS disassembled of A.bin.
----------
a.txt (control file)
----------
ok this is redundant, ud think that in 2007 it was possible to attach a txt file. well just take my word for things, if anyone wants to look over my files ill have to send them to you, meanwhile, im gonna look over my CATS disassembled files

Last edited by escort_ford84; 06-11-2007 at 02:51 AM. Reason: Automerged Doublepost
escort_ford84 is offline vBGarage Page   Reply With Quote
Old 06-11-2007, 03:01 AM   #2
Member
 
escort_ford84's Avatar
 
Join Date: Jun 2006
Posts: 148

Classifieds Rating: (0)
Re: Source code for dummies 3 (the new begining)

1225550
Description: Same ROM as 1225570
Application: 1982 5.0 V8 CFI “7” LU5
1982 5.7 V8 CFI “8” L83
MEMPAK IDs: “7”: TO, ALX, ASY
“8”: TS, ARY, ARZ, BMU, BPB
Program ID: 3 ($03)
Pgm ID Addr: $3002
Scan ID Addr: $33F8:$33F9
PROM type: N82S181
PROM offset: $3000

i seriously think it cant be done with the m6811
escort_ford84 is offline vBGarage Page   Reply With Quote
Old 06-11-2007, 03:38 AM   #3
Member
 
escort_ford84's Avatar
 
Join Date: Jun 2006
Posts: 148

Classifieds Rating: (0)
Re: Source code for dummies 3 (the new begining)

It may just be me guys, im just not sure. 2 years with DIY prom stuff and this disassembler and nothing, absolutly nothing. I just need to make sure that the disassembler can do this bin, if not, that would answer my question. I may just go back with ECU stuff like before, but like i said, im not getting "THE" answer i need. Ive read the posts. Going threw 100's of them just isnt cutting it, this one will solve it. The bin file just might be too old for the disassembler.
escort_ford84 is offline vBGarage Page   Reply With Quote
Old 06-11-2007, 04:24 AM   #4
Member
 
escort_ford84's Avatar
 
Join Date: Jun 2006
Posts: 148

Classifieds Rating: (0)
Re: Source code for dummies 3 (the new begining)

ok after reading some corvette forums this may have been a dead issue. IMO hac'ing this bin file might actually be imposible, or defiantly not feasible. Perhaps i was asking to much from members or the disassembler. i will now start to hac what has already been hac'ed such as what everyone else has done and start matching, just as ive seen before. Perhaps everyone is right, whats done has been done, there is no more. Hac whats been hac'ed and start coding. More referenceing would be helpful here, since ive done all the rest. If the corvette guys couldnt get this one, it doesnt look good. exactally.
escort_ford84 is offline vBGarage Page   Reply With Quote
Old 06-11-2007, 10:37 AM   #5
Moderator
 
Join Date: Jan 2002
Location: Moorestown, NJ
Posts: 9,657
Car: 88 Camaro SC
Engine: SFI'd 350
Transmission: TKO 500
Axle/Gears: 9-bolt w/ 2.77's

Classifieds Rating: (1)
Send a message via AIM to dimented24x7
Re: Source code for dummies 3 (the new begining)

The code can be disassembled, and reassembled again. But, this does require time, and above all, patience, to clean it and eliminate any extranous labels and such. You also need to make all the addressing inherent. In other words, instead of using $34BC as a label, use L34BC, or LABEL50, or something. This means that the assembler will know to always point to that label rather then an address, even if it moves in teh addressable memory so the code will execute properly. After writing lots and lots of code, I can tell you that this is important to get right prior to assembling. The labeling needs to be perfect. After that, you need to reassemble and compare it to the source to make sure its correct. You should be able to recreate it perfectly. .



To assemble, try the miniIDE assembler. There are others that work well in addition, but this one has worked without issue for me. Dont use the windows GUI, its horribly slow, especially with large source codes. The dos based 32-bit ASM11 assembler works well with the source code for my PCM, and thats about 5-6x the size (64K total) of the early CFI ECMs and also runs under the later iterations of XP.

See one of my earlier $0D hacks in the "TBI guys, its time to update!" thread. That shows what it should look like to make it assemble properly. Its a real PITA, but if you take it one step at a time, it can be done with some patience, swearing and hair pulling is optional.

Last edited by dimented24x7; 06-11-2007 at 10:46 AM.
dimented24x7 is offline vBGarage Page   Reply With Quote
Old 06-11-2007, 10:47 AM   #6
Moderator
 
Join Date: Jan 2002
Location: Moorestown, NJ
Posts: 9,657
Car: 88 Camaro SC
Engine: SFI'd 350
Transmission: TKO 500
Axle/Gears: 9-bolt w/ 2.77's

Classifieds Rating: (1)
Send a message via AIM to dimented24x7
Re: Source code for dummies 3 (the new begining)

Another dissasembler that I found works well is the one from tuner cats. I used this one to do my 8063.
dimented24x7 is offline vBGarage Page   Reply With Quote
Old 06-11-2007, 11:18 AM   #7
Senior Member
 
MonteCarSlow's Avatar
 
Join Date: Jun 2001
Location: Eh?
Posts: 389
Car: 1988 Monte Carlo SS
Engine: 5.7L TPI
Transmission: T5
Axle/Gears: 3.73

Classifieds Rating: (0)
Re: Source code for dummies 3 (the new begining)

Sound like you are missing the ROM section...

Is your BIN file 12kb or 4kb in size?
MonteCarSlow is offline vBGarage Page   Reply With Quote
Old 06-11-2007, 01:45 PM   #8
Moderator
 
Join Date: Jan 2002
Location: Moorestown, NJ
Posts: 9,657
Car: 88 Camaro SC
Engine: SFI'd 350
Transmission: TKO 500
Axle/Gears: 9-bolt w/ 2.77's

Classifieds Rating: (1)
Send a message via AIM to dimented24x7
Re: Source code for dummies 3 (the new begining)

Escort, are you familiar with assembly yet? I ask because prior to doing assemblies, you should become familiar with the assembly and instruction set. Itll make things alot easier.
dimented24x7 is offline vBGarage Page   Reply With Quote
Old 06-11-2007, 02:29 PM   #9
Member
 
escort_ford84's Avatar
 
Join Date: Jun 2006
Posts: 148

Classifieds Rating: (0)
Re: Source code for dummies 3 (the new begining)

Possibly, could the processor in the 1222550 not be a 6811? OK, I'm not familiar with Assembly yet, i was trying to get the disassembly down, but i will look at assembly now, and I'm going to read that thread "TBI guys, its time to update". I'm going to find miniIDE assembler. I think ive tried leaving the $ off of it once, ill try that L34BC. I'll try to attach the CATS disassembled file, looks to me like its a disassembled bin file to me. I'll zip it, that may have been the problem before. Those bin files are 1K in size for the 1222550 and the 1222570.
Attached Files
File Type: zip bmu(CATS).zip (4.5 KB, 9 views)
escort_ford84 is offline vBGarage Page   Reply With Quote
Old 06-11-2007, 02:45 PM   #10
Senior Member
 
MonteCarSlow's Avatar
 
Join Date: Jun 2001
Location: Eh?
Posts: 389
Car: 1988 Monte Carlo SS
Engine: 5.7L TPI
Transmission: T5
Axle/Gears: 3.73

Classifieds Rating: (0)
Re: Source code for dummies 3 (the new begining)

escort_ford84:

The file you attached is a disassembly of the EPROM portion only. With a C3 style ECM, the calibration bins that are download-able are not code complete. The ECM circuit board contains 2 ROM chips that also need to be dumped (to the same file). The combination of the 2 ROMs and the 1 EPROM (removable) is what makes the complete firmware that the ECM runs. It is this complete copy of the firmware that you need to disassemble...
MonteCarSlow is offline vBGarage Page   Reply With Quote
Old 06-11-2007, 09:08 PM   #11
Moderator
 
Join Date: Jan 2002
Location: Moorestown, NJ
Posts: 9,657
Car: 88 Camaro SC
Engine: SFI'd 350
Transmission: TKO 500
Axle/Gears: 9-bolt w/ 2.77's

Classifieds Rating: (1)
Send a message via AIM to dimented24x7
Re: Source code for dummies 3 (the new begining)

http://www.cruzers.com/~ludis/

See the section on dumping the C3 Rom. I did this on my C3 and it works. It would probably take some modifying on an old CFI ECM, though, to get it to work.
dimented24x7 is offline vBGarage Page   Reply With Quote
Old 06-11-2007, 11:13 PM   #12
Z69
Senior Member
 
Z69's Avatar
 
Join Date: Sep 2003
Location: SoCal
Posts: 1,391

Classifieds Rating: (0)
Re: Source code for dummies 3 (the new begining)

You must have missed where I told you about needing the Rom for a C3 to work.......

As far as fixing the indirect addressing. You need to get it to disassemble and assemble correctly first. Then you can go back and make it relocatable. This is actually a bigger step than getting it to dis first.
The dewtronics package works well for this since the dis file is already setup to work with the assembler. Not address fixing needed.
As long as your entries and indirects are correct it will go back togethor.
Even if you miss and entry it will still assemble and compare IIRC. That's what the clump posts were about in the orignal dummies thread.
Z69 is offline vBGarage Page   Reply With Quote
Old 06-11-2007, 11:13 PM
ThirdGen
1992 Camaro




Paid Advertisement


Reply

Go Back   Third Generation F-Body Message Boards > Tech Boards > DIY PROM

Tags
1225550, 1982, 6e, arap, ary, assembly, carlo, code, corvette, disassembly, dummies, ecm, ecu, mempak, monte, n82s181, prom
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

 


1982 Camaro '82 || 1983 Camaro '83 || 1984 Camaro '84 || 1985 Camaro '85 || 1986 Camaro '86 || 1987 Camaro '87 || 1988 Camaro '88 || 1989 Camaro '89 || 1990 Camaro '90 || 1991 Camaro '91 || 1992 Camaro '92


All times are GMT -5. The time now is 04:48 PM.


Powered by vBulletin® Version 3.7.5
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.5.2
All content copyright © 1997 - 2012 ThirdGen.org. All rights reserved. No part of this website may be reproduced without the expressed, documented, and written consent of ThirdGen.org's Administrators.

Emails & Contact Details