Page 1 of 15

SAD Version 5 (alpha)

Posted: 2023 Dec 17, 13:50
by tvrfan
Guys,
have just released latest SAD, version 5.0.1 to github/EEC-IV-disassembler.

Have added a some new features and done a big tidy up. Most likely still some bugs, but I want you guys to play with it and give me feedback.

This version has new syntax with math calculations and multi bit fields are supported. Can also use a field more than once for printing offsets and such. (old syntax still supported, so should still work with existing command files etc.)

Re: SAD Version 5 (alpha)

Posted: 2023 Dec 17, 14:37
by BOOSTEDEVERYTHING
Just a quick run with my current dir file and no cmt file gives me a bunch of errors I was not getting with the previous version. Posted up a zip with my files I am using. It is most likely me, but I figured I would report it anyways. Thank you for working in this new version.

Re: SAD Version 5 (alpha)

Posted: 2023 Dec 17, 15:20
by tvrfan
Thanks for being so quick !!
I normally blame jsa for these kind of faults so you have obviously formed a tag team !! (...joking...)

Seriously - I'll check those out against your commands file. I admit I tend to do less testing on the dirs/commands parsing as main thing for me is to try to get main binary analysis working as correctly as possible. There are still some bugs that I know of, but I decided to release it anyway, otherwise I'll be delaying it forever... looks like a 5.0.2 might be out faster than I thought....

Re: SAD Version 5 (alpha)

Posted: 2023 Dec 17, 17:38
by BOOSTEDEVERYTHING
LOL. No problem at all. I just figured I would give it a shot while I was on my computer anyways. Like I said, it may just be me or something I am doing wrong. Also, forgot to mention that it doesn't seem to want to work with the drag and drop method. I had to run the exe file and type in the file name. That could also be something I am doing wrong.

Also, it does not seem to pay attention to the byte locations on the SYM commands. Does not label them correctly, also does not break them out in the lst file.

Re: SAD Version 5 (alpha)

Posted: 2023 Dec 17, 20:06
by jsa
LOL, always important to send the 1st report before TVRfan's screensaver has kicked in!

Re: SAD Version 5 (alpha)

Posted: 2023 Dec 17, 22:57
by BOOSTEDEVERYTHING
LOL. Oh man...I just noticed how quick I really was to post that. Sorry. Didn't mean to throw it at you that fast.

Re: SAD Version 5 (alpha)

Posted: 2023 Dec 18, 03:13
by tvrfan
Hey, nuthin' like enthusiasm !! No worries. I'm waiting for feedback anyway....

OK - quick scan - some of those commands ARE duplicates, but some are not. Quick check is that each symbol command needs to have something different somewhere in the command, and so from what SAD came back with, couple of examples -

SYM 0007 "ATOD_TIMED_CMD" #UY
SYM 0007 "ATOD_TIMED_RESULT" #UY IS a duplicate - correct

SYM 0015 "LSO_EXP_A" :W #UY
SYM 0015 "LSI_EXP_A" #UY IS NOT a duplicate, so SAD got that wrong....a mistake with read and write somewhere to find....

so some work for me to do....................

Re: SAD Version 5 (alpha)

Posted: 2023 Dec 18, 12:03
by wwhite
Doesn't work at all for single bank KID2 (LHBH1) for me.
A lot of the following:

Code: Select all

## word    200a 200f     
   ## Error - PANIC - Row size is ZERO !!

## vect    2010 201f     
   ## Error - PANIC - Row size is ZERO !!

## byte    2020 2021     
   ## Error - PANIC - Row size is ZERO !!

## word    2022 2031     
   ## Error - PANIC - Row size is ZERO !!

## vect    21ce 2269
   ## Error - PANIC - Row size is ZERO !!

## vect    22c8 22c9
   ## Error - PANIC - Row size is ZERO !!

## word 2350 2351
   ## Error - PANIC - Row size is ZERO !!
   

Re: SAD Version 5 (alpha)

Posted: 2023 Dec 18, 19:37
by tvrfan
Thanks wwhite - is that from reusing SAD's _msg file , or from your dir ?? If I can't repro this, I may ask to you send me your dir file, if that's OK? (via PM if you prefer)

To all - I'll collect a few bugs and then fix them together.

A GENERAL QUESTION FOR ALL SAD USERS

jsa reported an error with paths - he told me he uses 'drag and drop' quite a lot on windows. I have tested 'open with' too
and it seems to fail the same way. (I would guess they do the same thing under the covers). This is where my UNIX and Linux background shows up, and I don't use these methods, so I didn't think to test them....

Do you guys use these methods or run SAD via SADwin ?? I am asking because the 'drag & drop' and 'open with' methods typically don't have extra options, (like paths) and this would mean adding a rule that my config file (sad.ini) MUST be in the same place as SAD.exe so that their paths are the same. Everything else, all the bins and listing etc could still be in separate places... I don't want to start fiddling with the Win registry and want to keep same code for windows and linux....


Any comments ?? [Thanks in advance]

Re: SAD Version 5 (alpha)

Posted: 2023 Dec 19, 17:38
by BOOSTEDEVERYTHING
Any comments ??
I use the drag and drop method. That is mainly because it is fast and easy and I am keeping the files I am working with in their own subdirectories anyways. That being said I am very new at this and my opinion should be the last one you consider. But, drag and drop was working really well on the old version, I was even able to run it on my computer at work from a thumb drive that I have been keeping my files on for now.