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

ARAPWB for linear WideBand

Thread Tools
 
Search this Thread
 
Old Jun 19, 2009 | 01:08 AM
  #1  
400Z28Racer's Avatar
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
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
so I am going to change it to this:
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
I'll try to finish it up soon, time to go to sleep

Last edited by 400Z28Racer; Jun 19, 2009 at 08:53 AM.
Reply
Old Jun 19, 2009 | 05:29 PM
  #2  
JP86SS's Avatar
Supreme Member
20 Year Member
iTrader: (1)
 
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.
Reply
Old Jun 19, 2009 | 06:13 PM
  #3  
400Z28Racer's Avatar
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)
I was aware of it
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.
I checked the code, and it seems to interferes with some error code parameter

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 have to take a look
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
Reply
Old Jun 20, 2009 | 12:35 AM
  #4  
JP86SS's Avatar
Supreme Member
20 Year Member
iTrader: (1)
 
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
Attached Files
File Type: zip
ARAP1.zip (182.5 KB, 16 views)
Reply
Old Jun 20, 2009 | 12:40 AM
  #5  
JP86SS's Avatar
Supreme Member
20 Year Member
iTrader: (1)
 
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)
Reply
Old Jun 20, 2009 | 12:42 AM
  #6  
400Z28Racer's Avatar
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?
Reply
Old Jun 20, 2009 | 08:58 AM
  #7  
JP86SS's Avatar
Supreme Member
20 Year Member
iTrader: (1)
 
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.
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
Reply
Old Jun 20, 2009 | 12:41 PM
  #8  
400Z28Racer's Avatar
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

ARAPWB is ready now time for testing
Reply
Old Jun 22, 2009 | 01:15 PM
  #9  
400Z28Racer's Avatar
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
Reply
Old Jun 22, 2009 | 05:15 PM
  #10  
JP86SS's Avatar
Supreme Member
20 Year Member
iTrader: (1)
 
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?
Reply
Old Jun 22, 2009 | 07:56 PM
  #11  
bl85c's Avatar
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?
Reply
Old Jun 22, 2009 | 11:52 PM
  #12  
400Z28Racer's Avatar
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

Originally Posted by JP86SS
Did you take out the run time counter or was there a better place to put it?
Yes, I did take out the eng run time. I found something interesting in the code
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?
I never changed MAF locations in ARAPWB nor APYPWB
Reply
Old Jun 23, 2009 | 08:41 PM
  #13  
bl85c's Avatar
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

??? Rbob? Somehow they were moved.
Reply
Old Jun 23, 2009 | 11:35 PM
  #14  
400Z28Racer's Avatar
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

Originally Posted by bl85c
??? Rbob? Somehow they were moved.
well because you are using different maf set up.

anyway, Highway mode is not working in ARAPWB. I need to find a different location to add WB code.
Reply
Old Jun 26, 2009 | 12:10 AM
  #15  
400Z28Racer's Avatar
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

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
Reply
Old Jun 26, 2009 | 07:07 PM
  #16  
bl85c's Avatar
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

I do, but the code doesn't work anyway. LOL.
Reply
Old Jun 26, 2009 | 11:44 PM
  #17  
400Z28Racer's Avatar
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

Originally Posted by bl85c
I do, but the code doesn't work anyway. LOL.
I am an a$$hole for wasting your valuable time, and not writing a code for your car
Reply
Old Jun 27, 2009 | 03:24 PM
  #18  
bl85c's Avatar
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.
Reply
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
Azrael91966669
DIY PROM
25
Jun 20, 2017 04:04 AM
efiguy
Engine/Drivetrain/Suspension Parts for Sale
0
Sep 27, 2015 01:30 PM
tuningnewb
DIY PROM
3
Sep 23, 2015 07:06 PM
IROCThe5.7L
DIY PROM
1
Aug 10, 2015 11:24 AM
funstick
DIY PROM
24
May 15, 2003 09:03 PM




All times are GMT -5. The time now is 10:09 AM.