Page 52 of 68
Re: Segment Swap utility
Posted: Sat Nov 28, 2020 3:02 am
by kur4o
Awesome work. I did a quick debug and it seems that the table address is taken from the # wildcharacter. It needs to start after the #.
In this case the table address is at 001f819f, so it is 1 byte short in the search.
Validation string: 3c 60 @ @ 38 63 @ @, Address: 001F819E
Searching validationstring: 3c 60 00 1F 38 63 81 9E
Not found, using 10k offset and searching validationstring: 3c 60 00 20 38 63 81 9E
Re: Segment Swap utility
Posted: Sat Nov 28, 2020 3:19 am
by joukoy
kur4o wrote:Awesome work. I did a quick debug and it seems that the table address is taken from the # wildcharacter. It needs to start after the #.
In this case the table address is at 001f819f, so it is 1 byte short in the search.
Validation string: 3c 60 @ @ 38 63 @ @, Address: 001F819E
Searching validationstring: 3c 60 00 1F 38 63 81 9E
Not found, using 10k offset and searching validationstring: 3c 60 00 20 38 63 81 9E
0.15.31
+1 for address
Re: Segment Swap utility
Posted: Sat Nov 28, 2020 3:41 am
by joukoy
Opinions?
Currently # is a wildcard and searchstring returns address of it.
Is it better if # points to next byte after # ?
If so, it is easier to handle if there is no space after #, for example:
#k21 r21 02
And should I change k & r to v & h ?
Re: Segment Swap utility
Posted: Sat Nov 28, 2020 4:01 am
by kur4o
Is it better if # points to next byte after # ?
I guess that will be the best and proper way to handle it.
H[column] and V[row] gives me an idea of more universal x[column] and y[row] axis. But I have no preferences here. Usually the more intuitive, the better.
Re: Segment Swap utility
Posted: Sat Nov 28, 2020 4:20 am
by Gampy
Just to be clear ...
V[column] and H[row]
v is vertical, Columns are Vertical! (i.e. Up and Down, A, B, C, D etc... in Excel)
h is horizontal, Rows are horizontal. (i.e. Left to Right, 1, 2, 3, 4 etc... in Excel
y is vertical. (column)
x is horizontal. (row)
See:
Coordinate Graphing
Re: Segment Swap utility
Posted: Sat Nov 28, 2020 4:26 am
by kur4o
Tested 15.31
now it uses the correct address for the validate string but something is broken and valid strings are not found for example
Validation string: 3c 60 @ @ 38 63 @ @, Address: 001F7D52
Searching validationstring: 3c 60 00 1F 38 63 7D 53
Not found, using 10k offset and searching validationstring: 3c 60 00 20 38 63 7D 53
Not found
And this is the same string searched manually
Done
Found at address: 1670F4
40 A3 FF CB EE [3C 60 00 1F 38 63 7D 53] 38 9C 00 00 38
Found at address: 167200
40 A3 DE CB F2 3C 60 00 1F 38 63 7D 53 38 9C 00 00 38
Found at address: 1672D4
40 A3 FF CB EE 3C 60 00 1F 38 63 7D 53 38 9E 00 00 38
Done
Re: Segment Swap utility
Posted: Sat Nov 28, 2020 4:34 am
by joukoy
kur4o wrote:Tested 15.31
now it uses the correct address for the validate string but something is broken and valid strings are not found for example
Validation string: 3c 60 @ @ 38 63 @ @, Address: 001F7D52
Searching validationstring: 3c 60 00 1F 38 63 7D 53
Not found, using 10k offset and searching validationstring: 3c 60 00 20 38 63 7D 53
Not found
And this is the same string searched manually
Done
Found at address: 1670F4
40 A3 FF CB EE [3C 60 00 1F 38 63 7D 53] 38 9C 00 00 38
Found at address: 167200
40 A3 DE CB F2 3C 60 00 1F 38 63 7D 53 38 9C 00 00 38
Found at address: 1672D4
40 A3 FF CB EE 3C 60 00 1F 38 63 7D 53 38 9E 00 00 38
Done
What binary?
What searchstring?
Easier to test if have testing material

Re: Segment Swap utility
Posted: Sat Nov 28, 2020 4:44 am
by kur4o
Gampy wrote:Just to be clear ...
V[column] and H[row]
v is vertical, Columns are Vertical! (i.e. Up and Down, A, B, C, D etc... in Excel)
h is horizontal, Rows are horizontal. (i.e. Left to Right, 1, 2, 3, 4 etc... in Excel
y is vertical. (column)
x is horizontal. (row)
See:
Coordinate Graphing
That is completely true, but we are refering more of the label stuff. It will be something like this
____column1 column2 column3 column4
row1
row2
row3
row4
It is kind of reversed here.
Re: Segment Swap utility
Posted: Sat Nov 28, 2020 4:50 am
by kur4o
joukoy wrote:
What binary?
What searchstring?
Easier to test if have testing material

Try with this one.
Re: Segment Swap utility
Posted: Sat Nov 28, 2020 5:06 am
by Gampy
kur4o wrote:
That is completely true, but we are refering more of the label stuff. It will be something like this
____column1 column2 column3 column4
row1
row2
row3
row4
It is kind of reversed here.
That's exactly right, not reversed at all ...
All column (y axis) labels are in one row (x axis).
All row (x axis) labels are in one column (y axis).
It's y'alls choice I'm just trying to be helpful as I watch in amazement of the two of you developing this app ...