Search found 238 matches

by BOOSTEDEVERYTHING
2024 Mar 28, 13:30
Forum: Hardware, Programming & Disassembly
Topic: EEC V file conversion
Replies: 363
Views: 60075

Re: EEC V file conversion

Also....I added the bank start sym commands to help find the start of the banks easier for me, But is there a way to put something grander ( not even sure that is a word) in the dir file to make the start of banks even easier to see while quickly scrolling through the code? I know the addresses are prefixed with bank numbers, but something the stop at while quickly scrolling would be nice to have. Beginner problems, right?!?!? LOL
by BOOSTEDEVERYTHING
2024 Mar 28, 08:54
Forum: Hardware, Programming & Disassembly
Topic: EEC V file conversion
Replies: 363
Views: 60075

Re: EEC V file conversion

sym 12364 "uuwFn072A_Perload>Row" # Row Scaler
FUN 12364 1237F :UW V32768 :UW V16
Another question I have is, Where exactly are the function names, table names, etc, that everyone uses as standard coming from? Do they come from the eec documents or a specific code that was disassembled in the past?

My other question is a bit off topic, It says Australia in your bio but doesn't say where? I was wondering what time zone you are in? Just curious I guess.

Also, I have tried adding a sym for table names or subroutines names but it gives me duplicate command errors at times. Is there a certain format to which I need to stick to when doing separate entries for these? And do I keep the SYM with the Func command or in the SYM list?
Thanks again for all the help.
by BOOSTEDEVERYTHING
2024 Mar 28, 08:47
Forum: Hardware, Programming & Disassembly
Topic: EEC V file conversion
Replies: 363
Views: 60075

Re: EEC V file conversion

Yeah, not so much as a comparison source for OMAE, just asking if it were useful for RZASA alone.
Yes, Very useful.. I wish I could build them as fast as you can. I still have trouble spotting the loops in the code most times. I also still have issues following along with exactly where the code goes and where exactly it comes back to. But I am getting the hang of it. I wish it would have exact addresses (or line numbers) listed for where to go next so it was easier to go back and forth to follow along.

I will check out the new DIR file today and compare and see how I can improve upon my other DIR file. Do most of the addresses I found for the SYM commands in the old DIR file still hold true, or do I need to start from scratch with those?
by BOOSTEDEVERYTHING
2024 Mar 27, 22:29
Forum: Hardware, Programming & Disassembly
Topic: EEC V file conversion
Replies: 363
Views: 60075

Re: EEC V file conversion

What have we proven?
That 8f8d6 8f8de should be defined with the word command, and just because the words in between aren't directly referenced in the code, they are present so they can be indirectly referenced.
I do have one question about this though, should the word command be used in a range or should I do the addresses individually?
What can be said about SAD?
Very user driven. If you do not know exactly how to use it, it will get you completely lost.. LOL
Do you use the branch (jump) comments I provided with RZASA?
I do, but wasn't paying attention to rzasa code when I was looking for the words referenced above.
Would automatic SAD produced branch comments help spot the loops in subsequent code in OMAE2?
Absolutely, that makes it a ton easier to follow the code. I was not going far enough to see the loop, I may have seen it if i was following in RZASA due to the cmt file you provided me. I guess I need to try and make one for OMAE2.

Also, I guess I need to pop over to the other thread and ask if TVRFAN could incorporate the looped scan command and possibly SAD produced branch comments, and loop comments. Also, SAD 5 still doesn't like an address to have both a word value and byte value assigned to it, but it does work in SAD 4.012....mostly.
by BOOSTEDEVERYTHING
2024 Mar 27, 21:45
Forum: Hardware, Programming & Disassembly
Topic: EEC V file conversion
Replies: 363
Views: 60075

Re: EEC V file conversion

Code: Select all

8f922: a1,52,f9,36        ldw   R36,f952         R36 = f952;
8f926: a1,64,0f,38        ldw   R38,f64          R38 = f64;
8f92a: b1,04,46           ldb   R46,4            R46 = 4;
8f92d: a1,ed,cb,3a        ldw   R3a,cbed         R3a = cbed;
8f931: f2                 pushp                  push(PSW);
8f932: fa                 di                     interrupts OFF;
8f933: 20,03              sjmp  8f938            goto 8f938;

8f935: c2,39,34           stw   R34,[R38++]      [R38++] = R34;
8f938: 10,08              rombk 8
8f93a: a2,37,34           ldw   R34,[R36++]      R34 = [R36++];
8f93d: c7,01,62,0f,3a     stb   R3a,[R0+f62]     [10f62] = R3a;
8f942: c7,01,6e,0f,3b     stb   R3b,[R0+f6e]     [10f6e] = R3b;
8f947: e0,46,eb           djnz  R46,8f935        R46--;
                                                 if (R46 != 0) goto 8f935;
8f94a: c7,01,6c,0f,34     stb   R34,[R0+f6c]     [10f6c] = R34;
8f94f: f3                 popp                   PSW = pop();
8f950: f0                 ret                    return;

8f951: ff                 ???   

8f952: 00,00              word      0
8f954: 00,00              word      0

8f956: 00,00,00           ???   
Perhaps a long indexed address mode? But again, it is confusing me because it is all zeros.
by BOOSTEDEVERYTHING
2024 Mar 27, 21:35
Forum: Hardware, Programming & Disassembly
Topic: EEC V file conversion
Replies: 363
Views: 60075

Re: EEC V file conversion

Code: Select all

8f91e: c7,e0,9a,13        stb   R13,[Re0+9a]     [1111a] = IO_Timer_Hi;
8f922: a1,52,f9,36        ldw   R36,f952         R36 = f952;
8f926: a1,64,0f,38        ldw   R38,f64          R38 = f64;
There is a reference to f952. I just figured maybe it was pointing to zero, I honestly did not think of it being a structure, mainly because it is all zeros.
by BOOSTEDEVERYTHING
2024 Mar 27, 21:33
Forum: Hardware, Programming & Disassembly
Topic: EEC V file conversion
Replies: 363
Views: 60075

Re: EEC V file conversion

There was a mention of word alignment in the indirect address mode section, I just do not remember, and can not find where it says how it is accomplished, I guess the fill is skipping a spot to properly align the address?
by BOOSTEDEVERYTHING
2024 Mar 27, 21:18
Forum: Hardware, Programming & Disassembly
Topic: EEC V file conversion
Replies: 363
Views: 60075

Re: EEC V file conversion

Code: Select all

 Sub_8f959:
8f959: 10,08              rombk 8
8f95b: 6f,37,d6,f8,38     ml2w  R38,[R36+f8d6]   lR38 *= [R36+8f8d6];
8f960: 0d,01,38           shldw R38,1            lR38 <<= 1;
8f963: d3,03              jnc   8f968            if (B15_R3a = 1)  {
8f965: bd,ff,3a           ldsbw R3a,ff           swR3a = ff; }
8f968: c3,37,0a,11,3a     stw   R3a,[R36+110a]   [R36+1110a] = R3a;
8f96d: 09,01,36           shlw  R36,1            R36 <<= 1;
8f970: c3,37,42,0f,3a     stw   R3a,[R36+f42]    [R36+10f42] = R3a;
8f975: f0                 ret                    return;

Code: Select all

02500: c3,4c,21,4e        stw   R4e,[R4c+21]     [R4c+21] = R4e;
02504: 01,4e              clrw  R4e              R4e = 0;
02506: 10,08              rombk 8
02508: a3,4f,d6,f8,50     ldw   R50,[R4e+f8d6]   R50 = [R4e+8f8d6];
0250d: 05,50              decw  R50              R50--;
0250f: db,02              jc    02513            if (R50 < 0)  {
02511: 01,50              clrw  R50              R50 = 0; }
02513: c2,4d,50           stw   R50,[R4c++]      [R4c++] = R50;

Code: Select all

   Sub_8f8e6:
8f8e6: a1,40,0f,36        ldw   R36,f40          R36 = f40;
8f8ea: a1,d6,f8,34        ldw   R34,f8d6         R34 = f8d6;
here is where I see 8f8d6 referenced as a word value
by BOOSTEDEVERYTHING
2024 Mar 27, 21:00
Forum: Hardware, Programming & Disassembly
Topic: EEC V file conversion
Replies: 363
Views: 60075

Re: EEC V file conversion

Code: Select all

8f8d5: f0                 ret                    return;

8f8d6: ad,08              word    8ad
8f8d8: ad,08              word    8ad
8f8da: 5a,11              word   115a
8f8dc: b8,22              word   22b8
8f8de: 5a,11              word   115a
8f8e0: 5a,11              word   115a
8f8e2: 00,00              word      0
8f8e4: 5a,11              word   115a

   Sub_8f8e6:
8f8e6: a1,40,0f,36        ldw   R36,f40          R36 = f40;
But there are calls to Sub_8f8e6
But I do not understand the repetitive words, the 115a and 8ad if the above are words, So some of it must be code, Correct?
by BOOSTEDEVERYTHING
2024 Mar 27, 20:48
Forum: Hardware, Programming & Disassembly
Topic: EEC V file conversion
Replies: 363
Views: 60075

Re: EEC V file conversion

The other thing that confuses me is that there doesnt seem to be anything to start the next subroutine....

Code: Select all

8f8d5: f0                 ret                    return;

8f8d6: ad,08              word    8ad
8f8d8: ad,08              word    8ad
8f8da: 5a,11              word   115a
8f8dc: b8,22              word   22b8
8f8de: 5a,11              word   115a

>>>>>>>> Seems like ther should be a push command or other Subroutine "starter" command, seems to start mid-routine

8f8e0: 5a,11,00,00        sb3b  R0,R0,[R10++]    R0 = [HSO_IntPend1];
Sorry, This is after adding a word command to the dir file for 8f8d6 8f8de, Also there are no calls to 8f8e0