Page 25 of 70
Re: EEC V file conversion
Posted: 2023 Dec 30, 02:05
by jsa
It has naming bugs.
As far as Bgtmr goes, if I only see it in one place do I use the same beginning and end address?
EQE3
DIR
Code: Select all
SYM 1070 "BG_TMR" #UW # Background loop time
LST
Code: Select all
086d7: c3,e2,f0,3c stw R3c,[Re2+f0] BG_TMR = TMP5L; # [1070]
I will try and post an example of where i see it and the comparison I found in RZASA that I am going off of.
In EQE3
Code: Select all
08743: 44,3c,00,2c ad3w R2c,R0,R3c TEMP4L = R3c;
Of course now that I am looking at it again, maybe I am defining it incorrectly?
DIR
I try to make it obvious when I'm naming temp register over a range, that are copies of the real thing.
Never tried making the start and end address the same for a sym range. Try it and report back.
Re: EEC V file conversion
Posted: 2023 Dec 30, 02:12
by jsa
At the moment SAD decodes one type of timer update structure.
At the moment, effort is going into doing that for all timer update structures.
Re: EEC V file conversion
Posted: 2023 Dec 30, 03:39
by jsa
Here's some stuff you can edit into your EQE3 files.
CMT
Code: Select all
086C8 # [120E]
086CD # [1210]
086D4 # [1780E] 0x7A12
086D7 # [1070]
086E9 # [120E]
086ED # [1210]
086F1 # [1212]
086FB # [1212]
08701 # [1213]
0870E # [1213]
08714 # [172A]
08719 # [1729]
-------------------------
82406 # [1258F] 0x8
8240A # [1258E] 0x6
8240E # 0x6 != 0x2
82417 # [12590] 0x8
8241B # 0x6 != 0x4
82424 # [12591] 0x8
82428 # 0x6 = 0x6
82431 # [1258F] 0x8
82434 \n\n # Cont [1258E] != 0x2, 0x4, 0x6 \t83\s823C8
82434 \n # JE from L82411 [1258E] != 0x2, No Jump \t83\s823C8
82434 \n # JE from L8241E [1258E] != 0x4, No Jump \t83\s823C8
82434 \n # JE from L8242B [1258E] = 0x6, \s46 = 0x780E \s36 = 0x8 \t83\s823C8
82435 # RBA D0 1780E
82438 # [276] = 0x8
8243F # 0x0 != 0x0
82443 # [13EF8]
DIR
Code: Select all
RBA D0 1780E
SYM D0 "CKINDEX" #UW # Rbase D0 1780E, L82435
SYM 1258E "AICE_?x6"
SYM 17544 "Tmr_Cmd_Str" # # Timer Command Structure
SYM 1780E "CKINDEX_Str"
Re: EEC V file conversion
Posted: 2024 Jan 02, 07:21
by BOOSTEDEVERYTHING
Awesome. Thank you very much. I will edit/add those entries and keep plugging away.
Edit: While editing the dir file I remembered a question that I had and maybe you already answered it with your entries to add. Can and address be both an Rbase and a Labeled item with labeled Bytes? Also, you previously defined SYM 1258E "AICE_?x8", should i replace it with the AICE_?x6 instead? also you had SYM 17554 #UY # Timer Command Structure, Do I replace that as well? Looks like there can only be one timer command structure, correct?
Re: EEC V file conversion
Posted: 2024 Jan 02, 09:55
by jsa
BOOSTEDEVERYTHING wrote: ↑2024 Jan 02, 07:21
Edit: While editing the dir file I remembered a question that I had and maybe you already answered it with your entries to add.
Looks like it.
Can and address be both an Rbase and a Labeled item with labeled Bytes?
Yes
Also, you previously defined SYM 1258E "AICE_?x8", should i replace it with the AICE_?x6 instead?
Yes
also you had SYM 17554 #UY # Timer Command Structure, Do I replace that as well?
Yes
Looks like there can only be one timer command structure, correct?
Seems so.
DIR and CMT updated for the Timer Structure.
Re: EEC V file conversion
Posted: 2024 Jan 02, 16:13
by BOOSTEDEVERYTHING
I have a question about this....
Code: Select all
# D
# e F
# S E B I c r
# e i i n r e
# c g d v e e
# o h m i e m W
# n t S r r e o R
# d h e e s n r u
# s s c c e t d n
What does it mean? Sorry if it is a stupid question.
Can and address be both an Rbase and a Labeled item with labeled Bytes?
Yes
I have been second and third guessing myself on a few sym entries because I thought an address could only be one thing. So this is good to know. Thank You! Guess I should have asked that a long time ago instead of assuming.
Re: EEC V file conversion
Posted: 2024 Jan 02, 17:23
by jsa
Look at R40 in the DIR or the description in CMT or LST for the subroutine.
Re: EEC V file conversion
Posted: 2024 Jan 05, 16:14
by BOOSTEDEVERYTHING
I have a quick question, hopefully...
Code: Select all
Sub_0230e:
0230e: a1,00,0c,48 ldw R48,c00 FGTMP0L = DRC_DTI0_CON;
02312: 3b,c1,08 jb B3,Rc1,0231d if (DARC_INIT_FLG = 0) {
02315: b3,49,8a,00,4a ldb R4a,[R48+8a] FGTMP1L = [FGTMP0L+8a]
How would I find the address for FGTMP0L + 8a ? FGTMPOL is DRC_DT10_CON, which is c00, so, what is the + 8a. If I add them it should be c8a, is that correct? So the FGTMP0L + 8a = c8a, so I would be looking at FGTMP1l = Rc8a....Is that correct?
Sorry if that is not worded really great. I want to make sure I am doing that correctly. Thank You.
Re: EEC V file conversion
Posted: 2024 Jan 05, 16:51
by jsa
C8A but not a register.
You could command an Rbase over the local range and then C8A symbol name could be printed.
Re: EEC V file conversion
Posted: 2024 Jan 23, 11:52
by BOOSTEDEVERYTHING
Looking at my dir file, do you think I may have enough to create a partial def file to be able to read the file from my pcm with tunerpro rt?