ARAPWB for linear WideBand
Thread Starter
Banned
iTrader: (4)
Joined: Jul 2002
Posts: 1,267
Likes: 1
From: Usa
Car: 85 IROC-Z
Engine: magflatoVE
Transmission: T56
Axle/Gears: 9" 411
ARAPWB for linear WideBand
While back I did APYPWB which enables linear wide band dataloging
https://www.thirdgen.org/forums/diy-...6e-linear.html
However, some people are having problem with the torque converter not locking up with APYPWB nor APYP, so I decided to implement WB to ARAP
https://www.thirdgen.org/forums/diy-prom/529620-anyone-using-apypwb-bin.html
The ARAP requires more work to enable WB because of the execution cycle;in other words, I can't stick the WB code anywhere, so either I change addresses or remove instructions. Anyway address CB1A is where I think a good spot for the wide band
so I am going to change it to this:
I'll try to finish it up soon, time to go to sleep
https://www.thirdgen.org/forums/diy-...6e-linear.html
However, some people are having problem with the torque converter not locking up with APYPWB nor APYP, so I decided to implement WB to ARAP
https://www.thirdgen.org/forums/diy-prom/529620-anyone-using-apypwb-bin.html
The ARAP requires more work to enable WB because of the execution cycle;in other words, I can't stick the WB code anywhere, so either I change addresses or remove instructions. Anyway address CB1A is where I think a good spot for the wide band
Code:
;--------------------------------------------------
; ENG RUN TIME COUNTER
;
; Do not Inc time if eng not running
; Time in Sec's = 80 x .0125
;--------------------------------------------------
CB1A: LDAB L0035 ; Get Mode wd 1
CB1C: BPL LCB23 ; BR IF ENG NOT RUNNING
; ... else
CB1E: LDX L0019 ; ENG RUN TIME (sec)
CB20: INX
CB21: STX L0019 ; ENG RUN TIME (sec)
;---------------------------------------------
;---------------------------------------------
; If no Comm >= 5 Sec Force mode 0
; (TM'R VAL AT C70B)
;---------------------------------------------
CB23: LCB23 LDAA L0166 ; SERIAL DATA TIME TO FORCE MD 0 Code:
CB1A: LDAA #$00
CB1C: JSR LF2F7
CB1F: STAA $0170
CB22: NOP
;---------------------------------------------
;---------------------------------------------
; If no Comm >= 5 Sec Force mode 0
; (TM'R VAL AT C70B)
;---------------------------------------------
CB23: LCB23 LDAA L0166 ; SERIAL DATA TIME TO FORCE MD 0 Last edited by 400Z28Racer; Jun 19, 2009 at 08:53 AM.
Joined: Apr 2004
Posts: 3,180
Likes: 3
From: Browns Town
Car: 86 Monte SS (730,$8D,G3,AP,4K,S_V4)
Engine: 406 Hyd Roller 236/242
Transmission: 700R4 HomeBrew, 2.4K stall
Axle/Gears: 3:73 Posi, 7.5 Soon to break
Re: ARAPWB for linear WideBand
You won't be able to change the values like that unless the entire file is relocatable.
Not sure if that file is already or not. If it is relocatable then you do not need to remove the engine run time counter, just add lines after it. The labels that used to indicate the locations within the file are just "names" then.
The only way to make it work without a relocatable file is to ensure the commands are the same size and will directly replace the existing contents (can't shift any locations or code will not realign when jumps are called etc)
The other thing is you have removed the engine run time counter update. Other items will reference that data for confirmation of run time. Probably will cause functional troubles. Best to find another spot.
Is there a read to an input that is not used in that code?
Such as an oil temp read that can easily be changed to read a different channel number. That way all you change is the channel number and then the ALDL address that gets data from. Everythuing else would be there already.
I hope that was a good explaination indicating the how that needs work.
If not post and I'll go into the specifics more.
Not sure if that file is already or not. If it is relocatable then you do not need to remove the engine run time counter, just add lines after it. The labels that used to indicate the locations within the file are just "names" then.
The only way to make it work without a relocatable file is to ensure the commands are the same size and will directly replace the existing contents (can't shift any locations or code will not realign when jumps are called etc)
The other thing is you have removed the engine run time counter update. Other items will reference that data for confirmation of run time. Probably will cause functional troubles. Best to find another spot.
Is there a read to an input that is not used in that code?
Such as an oil temp read that can easily be changed to read a different channel number. That way all you change is the channel number and then the ALDL address that gets data from. Everythuing else would be there already.
I hope that was a good explaination indicating the how that needs work.
If not post and I'll go into the specifics more.
Thread Starter
Banned
iTrader: (4)
Joined: Jul 2002
Posts: 1,267
Likes: 1
From: Usa
Car: 85 IROC-Z
Engine: magflatoVE
Transmission: T56
Axle/Gears: 9" 411
Re: ARAPWB for linear WideBand
The only way to make it work without a relocatable file is to ensure the commands are the same size and will directly replace the existing contents (can't shift any locations or code will not realign when jumps are called etc)
Code:
***** original code for ENG Run Time starts at CB1A and ends at CB22**** mine starts at CB1A--> CB22 CB1A: LDAA #$00 CB1C: JSR LF2F7 CB1F: STAA $0170 CB22: NOP CB1A: LDAA CB1B: #$00 CB1C: JSR CB1D: F2 CB1E: F7 CB1F: STAA CB20: 01 CB21: 70 CB22: NOP (which is a place holder)
The other thing is you have removed the engine run time counter update. Other items will reference that data for confirmation of run time. Probably will cause functional troubles. Best to find another spot.
is there a read to an input that is not used in that code?
Such as an oil temp read that can easily be changed to read a different channel number. That way all you change is the channel number and then the ALDL address that gets data from. Everythuing else would be there already.
Such as an oil temp read that can easily be changed to read a different channel number. That way all you change is the channel number and then the ALDL address that gets data from. Everythuing else would be there already.
edit: I checked, and I could not find any
Thanks for your great help
Last edited by 400Z28Racer; Jun 20, 2009 at 12:47 AM. Reason: spelling
Joined: Apr 2004
Posts: 3,180
Likes: 3
From: Browns Town
Car: 86 Monte SS (730,$8D,G3,AP,4K,S_V4)
Engine: 406 Hyd Roller 236/242
Transmission: 700R4 HomeBrew, 2.4K stall
Axle/Gears: 3:73 Posi, 7.5 Soon to break
Re: ARAPWB for linear WideBand
That source file is good for reference but will not assemble any way, shape, or form.
I started over and got a file to reassemble and match the original.
Its a good starting point.
The file is WinRar but renamed to zip (WZ should work it too)
Don't forget to use anything but IE to download it.
Jp
I started over and got a file to reassemble and match the original.
Its a good starting point.
The file is WinRar but renamed to zip (WZ should work it too)
Don't forget to use anything but IE to download it.
Jp
Joined: Apr 2004
Posts: 3,180
Likes: 3
From: Browns Town
Car: 86 Monte SS (730,$8D,G3,AP,4K,S_V4)
Engine: 406 Hyd Roller 236/242
Transmission: 700R4 HomeBrew, 2.4K stall
Axle/Gears: 3:73 Posi, 7.5 Soon to break
Re: ARAPWB for linear WideBand
The next step is to see if you can insert the code without making any addresses shift. Confirm by checking the LST file when reassembling with each change.
I'll poke away at getting this source to be relocatable using the APYP code as a reference. Once that is done, Then you can add whatever you want (within reason anyway)
I'll poke away at getting this source to be relocatable using the APYP code as a reference. Once that is done, Then you can add whatever you want (within reason anyway)
Thread Starter
Banned
iTrader: (4)
Joined: Jul 2002
Posts: 1,267
Likes: 1
From: Usa
Car: 85 IROC-Z
Engine: magflatoVE
Transmission: T56
Axle/Gears: 9" 411
Re: ARAPWB for linear WideBand
you've done an excellent job! I would like to take a look at your control file since mine had a lot of lumps. can you paste your CTL please?
Joined: Apr 2004
Posts: 3,180
Likes: 3
From: Browns Town
Car: 86 Monte SS (730,$8D,G3,AP,4K,S_V4)
Engine: 406 Hyd Roller 236/242
Transmission: 700R4 HomeBrew, 2.4K stall
Axle/Gears: 3:73 Posi, 7.5 Soon to break
Re: ARAPWB for linear WideBand
I used the APYP file as the basis. It did a good job but left sections of the ALDL in shambles. I had to recreate that part by going byte by byte through the bin file while comparing that info to the hac descriptions.
There was another problem at FFEE that "should" have been directed back to $0000 but was sent to a labled address that was not used anywhere.
ti1Vect (IIRC) was the one.
Here's the control file I used.
There was another problem at FFEE that "should" have been directed back to $0000 but was sent to a labled address that was not used anywhere.
ti1Vect (IIRC) was the one.
Here's the control file I used.
Code:
; This control file is called APYP.txt ; input ARAP.bin ;this is the binary input file output ARAP1.DIS ;this is the disassembly source/listing file load c000 ;addresses label ffd6 scivect label ffd8 spivect label ffda paievect label ffdc paovect label ffde tovfvect label ffe0 ti4o5vect label ffe2 to4vect label ffe4 to3vect label ffe6 to2vect label ffe8 to1vect label ffea ti3vect label ffec ti2vect label ffee ti1vect label fff0 rtivect label fff2 irqvect label fff4 xirqvect label fff6 swivect label fff8 ilopvect label fffa copvect label fffc cmonvect label fffe rstvect indirect ffd6 scirtn indirect ffd8 spirtn indirect ffda paiertn indirect ffdc paortn indirect ffde tovfrtn indirect ffe0 ti4o5rtn indirect ffe2 to4rtn indirect ffe4 to3rtn indirect ffe6 to2rtn indirect ffe8 to1rtn indirect ffea ti3rtn indirect ffec ti2rtn indirect ffee ti1rtn indirect fff0 rtirtn indirect fff2 irqrtn indirect fff4 xirqrtn indirect fff6 swirtn indirect fff8 iloprtn indirect fffa coprtn indirect fffc cmonrtn indirect fffe reset entry c710 entry cc32 entry cc35 entry def1 entry df57 entry dfad entry e08f entry e375 entry e52b entry e781 entry ea8e entry eb74 entry ec2d entry ed91 entry ee8a entry ef52 entry f0e8 entry fd4c entry ff81 entry ff89 entry ffd1
Trending Topics
Thread Starter
Banned
iTrader: (4)
Joined: Jul 2002
Posts: 1,267
Likes: 1
From: Usa
Car: 85 IROC-Z
Engine: magflatoVE
Transmission: T56
Axle/Gears: 9" 411
Re: ARAPWB for linear WideBand
so far so good. TCC works as expected, and no error codes. The ARAPWB will be posted in few days
Joined: Apr 2004
Posts: 3,180
Likes: 3
From: Browns Town
Car: 86 Monte SS (730,$8D,G3,AP,4K,S_V4)
Engine: 406 Hyd Roller 236/242
Transmission: 700R4 HomeBrew, 2.4K stall
Axle/Gears: 3:73 Posi, 7.5 Soon to break
Re: ARAPWB for linear WideBand
Did you take out the run time counter or was there a better place to put it?
Supreme Member
iTrader: (2)
Joined: May 2007
Posts: 2,574
Likes: 0
From: right behind you
Car: '85 maro
Engine: In the works...
Transmission: TH700 R4
Axle/Gears: 3.73 posi
Re: ARAPWB for linear WideBand
Are the maf read locations original or did you need to move them again?
Thread Starter
Banned
iTrader: (4)
Joined: Jul 2002
Posts: 1,267
Likes: 1
From: Usa
Car: 85 IROC-Z
Engine: magflatoVE
Transmission: T56
Axle/Gears: 9" 411
Re: ARAPWB for linear WideBand
Code:
D690: CLRA // ACC A=00 D691: CLRB // ACC B =00 D692: STD L0019 //ACC D which is ACC AB=0 and it is stored in $0019 eng run time
Are the maf read locations original or did you need to move them again?
Thread Starter
Banned
iTrader: (4)
Joined: Jul 2002
Posts: 1,267
Likes: 1
From: Usa
Car: 85 IROC-Z
Engine: magflatoVE
Transmission: T56
Axle/Gears: 9" 411
Thread Starter
Banned
iTrader: (4)
Joined: Jul 2002
Posts: 1,267
Likes: 1
From: Usa
Car: 85 IROC-Z
Engine: magflatoVE
Transmission: T56
Axle/Gears: 9" 411
Re: ARAPWB for linear WideBand
New location found !! who needs power steering switch ??
. time for testing 
. time for testing 
Code:
****FROM****
ldaa *L0066
cmpa LC576
bhi LCB7E
ldaa *L002F
coma
anda #0x08
oraa *L0038
staa *L0038
****TO******
ldaa *L0066
cmpa LC576
nop
nop
ldaa #0x00
jsr LF2F7
staa 0x0170 Thread Starter
Banned
iTrader: (4)
Joined: Jul 2002
Posts: 1,267
Likes: 1
From: Usa
Car: 85 IROC-Z
Engine: magflatoVE
Transmission: T56
Axle/Gears: 9" 411
Supreme Member
iTrader: (2)
Joined: May 2007
Posts: 2,574
Likes: 0
From: right behind you
Car: '85 maro
Engine: In the works...
Transmission: TH700 R4
Axle/Gears: 3.73 posi
Re: ARAPWB for linear WideBand
WTF? What's with the attack guy? I meant the power steering code didn't work- from the factory.
Thread
Thread Starter
Forum
Replies
Last Post
efiguy
Engine/Drivetrain/Suspension Parts for Sale
0
Sep 27, 2015 01:30 PM





now time for testing

