Search found 240 matches

by BOOSTEDEVERYTHING
2024 Mar 27, 21:00
Forum: Hardware, Programming & Disassembly
Topic: EEC V file conversion
Replies: 369
Views: 62238

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: 369
Views: 62238

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
by BOOSTEDEVERYTHING
2024 Mar 27, 20:44
Forum: Hardware, Programming & Disassembly
Topic: EEC V file conversion
Replies: 369
Views: 62238

Re: EEC V file conversion

the 8f951 to 8f956 looks to be fill to me. or an address pointing to zero
by BOOSTEDEVERYTHING
2024 Mar 27, 20:43
Forum: Hardware, Programming & Disassembly
Topic: EEC V file conversion
Replies: 369
Views: 62238

Re: EEC V file conversion

Well, after removing the SCA 8f8d8 and carefully going through the code, I found several references to the word 115a or address 1115a rather. But it looks to me like the ad call is for ldzbw and the 08 would make whatever the ad was pointing to =8. So now I am a bit confused. So it does somewhat look like code but not complete code.
by BOOSTEDEVERYTHING
2024 Mar 27, 20:16
Forum: Hardware, Programming & Disassembly
Topic: EEC V file conversion
Replies: 369
Views: 62238

Re: EEC V file conversion

Sorry, I misunderstood, the word suss. Now I see what you are saying. I have not yet searched for a reference for it. That makes sense now that you say it out loud that, that would be the next step.
by BOOSTEDEVERYTHING
2024 Mar 27, 20:13
Forum: Hardware, Programming & Disassembly
Topic: EEC V file conversion
Replies: 369
Views: 62238

Re: EEC V file conversion

You have noted in DIR that this is suss, but left the command SCA 8f8d8 in place.
I did. I did all of the SCA commands and then went through and found the Subroutines. Should I have gone through and deleted the SCA commands that happened to land on a defined Subroutine?
by BOOSTEDEVERYTHING
2024 Mar 27, 20:07
Forum: Hardware, Programming & Disassembly
Topic: EEC V file conversion
Replies: 369
Views: 62238

Re: EEC V file conversion

Looks to be a Subroutine to me. It starts with f2, which is the opcode for push(psw), and ends with f0, which is the opcode for return.

The structure I posted was generated by SADX. I ran the Bin in SADX without a dir file hoping it would pull out some things that SAD may have missed. I transfered them over to my previous dir file and that was just one of them. All of them I transfered had the same error. So I was curious what was "wrong" with the structure commands from SADX that SAD did not like.
by BOOSTEDEVERYTHING
2024 Mar 27, 13:40
Forum: Hardware, Programming & Disassembly
Topic: EEC V file conversion
Replies: 369
Views: 62238

Re: EEC V file conversion

Here is my Dir file with Sca commands and Subroutines done. I think?????? LOL
by BOOSTEDEVERYTHING
2024 Mar 27, 09:15
Forum: Hardware, Programming & Disassembly
Topic: EEC V file conversion
Replies: 369
Views: 62238

Re: EEC V file conversion

Lots of scan commands required, do you think it would be easier if you could scan a range that automatically restarted the scan after each return?
ABSOLUTELY!!!!! I am still adding SCAN commands that I am finding as I go. I will start another DIR file as instructed. Thanks for the advice. Maybe I got a little distracted because I started with an existing DIR file for an older version of SAD. Makes sense to start new.

I have a side questions that probably won't matter too much anymore, but I used SADX to disassemble the BIN and added the struct and function commands to my dir file and got a weird error that I can not find a solution for in the DOCS.. Can you please elaborate, for future use if needed? Thanks

Code: Select all

struct 125c3 25c3 :Y X << Warning - Radix missing, Hex assumed

What is Radix?
by BOOSTEDEVERYTHING
2024 Mar 26, 18:51
Forum: Hardware, Programming & Disassembly
Topic: EEC V file conversion
Replies: 369
Views: 62238

Re: EEC V file conversion

This is the latest I have.