Source code for dummies?
Source code for dummies?
Anyone have any good links for basic starter info on how to program ? I only found a couple of links in the stickies, and they did not work.
I have the motorola reference manual, but I need something a little shallower than that to start.
I'm talking real basic here. Like what does FCB or FDB mean in the HAC? They aren't operations. Why does the HAC say location LC482E when referring to location 482E in the BIN?
Thanks
MIke
I have the motorola reference manual, but I need something a little shallower than that to start.
I'm talking real basic here. Like what does FCB or FDB mean in the HAC? They aren't operations. Why does the HAC say location LC482E when referring to location 482E in the BIN?
Thanks
MIke
Moderator
iTrader: (1)
Joined: Mar 2002
Posts: 18,432
Likes: 234
From: Chasing Electrons
Car: check
Engine: check
Transmission: check
Re: Source code for dummies?
Originally posted by novakm
Anyone have any good links for basic starter info on how to program ? I only found a couple of links in the stickies, and they did not work.
I have the motorola reference manual, but I need something a little shallower than that to start.
I'm talking real basic here. Like what does FCB or FDB mean in the HAC? They aren't operations. Why does the HAC say location LC482E when referring to location 482E in the BIN?
Thanks
MIke
Anyone have any good links for basic starter info on how to program ? I only found a couple of links in the stickies, and they did not work.
I have the motorola reference manual, but I need something a little shallower than that to start.
I'm talking real basic here. Like what does FCB or FDB mean in the HAC? They aren't operations. Why does the HAC say location LC482E when referring to location 482E in the BIN?
Thanks
MIke
The 'patch method demo' has a section where I describe a section of code. This is worth looking at. Should be in the sticky's.
As for addressing (I just covered this in another post today) there is the EPROM address then the address when the EPROM is placed into the ECM.
In the case of the '730 the EPROM is block decoded to begin at $8000. So $C82E - $8000 = $482E. So the physical address is required to be used else the code will jump/fetch to/from never-never land.
RBob.
Supreme Member

Joined: Feb 2000
Posts: 1,416
Likes: 0
From: Johnstown, Ohio
Car: 84 Z28
Engine: 355 (fastburn heads, LT4 HOT cam)
Transmission: 700R4
Axle/Gears: 9-bolt, 3.27
Here's the link for the patch method demo:
Patch Method Demo
Since it would be going out to never, never land, could you put something out in never, never land, or are you limited to what the ECM was "designed" to see? Can you change the limits of what it can see? I don't have any specific ideas that would need this yet, but you never know what one may come up with in the future!
Man, this source code stuff is tough!
Patch Method Demo
Since it would be going out to never, never land, could you put something out in never, never land, or are you limited to what the ECM was "designed" to see? Can you change the limits of what it can see? I don't have any specific ideas that would need this yet, but you never know what one may come up with in the future!
Man, this source code stuff is tough!
Moderator
iTrader: (1)
Joined: Mar 2002
Posts: 18,432
Likes: 234
From: Chasing Electrons
Car: check
Engine: check
Transmission: check
Originally posted by JP84Z430HP
Since it would be going out to never, never land, could you put something out in never, never land, or are you limited to what the ECM was "designed" to see? Can you change the limits of what it can see? I don't have any specific ideas that would need this yet, but you never know what one may come up with in the future!
Man, this source code stuff is tough!
Since it would be going out to never, never land, could you put something out in never, never land, or are you limited to what the ECM was "designed" to see? Can you change the limits of what it can see? I don't have any specific ideas that would need this yet, but you never know what one may come up with in the future!
Man, this source code stuff is tough!
Some ECMs have room for more RAM on the PCB that decodes to another block ($1000 block).
With a ROMLess '7747 the ADC address gets moved from $C000/$C002 to $A000/$A002.
RBob.
Thanks guys
I'm going to look at the patch method post again. First time I went through it, it looked like chinese. Maybe it will start to make some sense now.
The .doc file with AS11 mentions FCB and FDB, but only in passing saying they are supported pseudo ops. Does not say what they are telling the assembler to do.
I get the addressing thing now.
Is there anywhere I can get an assemble ready source file for the '730 ecm? I dissasembled my AUJP chip, and it looked sort of like the ANHT HAC, but without the comments. Tried to reassemble it and got about 10,000 errors.
I'm slow, but pretty sure than once I get the basics I can do this.
Mike
I'm going to look at the patch method post again. First time I went through it, it looked like chinese. Maybe it will start to make some sense now.
The .doc file with AS11 mentions FCB and FDB, but only in passing saying they are supported pseudo ops. Does not say what they are telling the assembler to do.
I get the addressing thing now.
Is there anywhere I can get an assemble ready source file for the '730 ecm? I dissasembled my AUJP chip, and it looked sort of like the ANHT HAC, but without the comments. Tried to reassemble it and got about 10,000 errors.
I'm slow, but pretty sure than once I get the basics I can do this.
Mike
Moderator
iTrader: (1)
Joined: Mar 2002
Posts: 18,432
Likes: 234
From: Chasing Electrons
Car: check
Engine: check
Transmission: check
Originally posted by novakm
Thanks guys
Is there anywhere I can get an assemble ready source file for the '730 ecm? I dissasembled my AUJP chip, and it looked sort of like the ANHT HAC, but without the comments. Tried to reassemble it and got about 10,000 errors.
Mike
Thanks guys
Is there anywhere I can get an assemble ready source file for the '730 ecm? I dissasembled my AUJP chip, and it looked sort of like the ANHT HAC, but without the comments. Tried to reassemble it and got about 10,000 errors.
Mike
Once all there then start to assemble it. You will get errors, just take them one at a time and fix. Then compare the binary you get to AUJP. Change your ANHT source to same. Many cal values will need to be changed. Some code locations may need to also.
RBob.
Thread
Thread Starter
Forum
Replies
Last Post
1Aauto
Sponsored Vendors
24
Mar 27, 2018 11:59 AM
1Aauto
Sponsored Vendors
3
Nov 9, 2015 02:25 PM
1Aauto
Sponsored Vendors
0
Sep 23, 2015 01:00 PM
1Aauto
Sponsored Vendors
0
Sep 23, 2015 12:56 PM
1Aauto
Sponsored Vendors
0
Sep 23, 2015 12:50 PM




