File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed
Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,25 @@ if(pRamVariables->ScannedAddress > 0xBFFF)
1616//pRamVariables->ScannedAddress USHORT
1717//pRamVariables->ScannedValue USHORT
1818//pRamVariables->ScannedtackPointer ULONG
19+
20+ //SCANNER:
21+ //Initialize: set scan range 0xFFFF0000 - 0xFFFFBFFF (SH7058)
22+ //Set minimum byte size for romhole.
23+ //Pop range from array.
24+ //Call range reader.
25+
26+ //RANGE READER:
27+ //init vars.
28+ //Read @ address
29+ //If same as previous value, increment counter
30+ //Keep going.
31+ //
32+ //If minimum size is met, store the start address in array.
33+ //Keep going
34+ //When end is found (different value or range bound) store end address (and count? somewhat redundant.) in array.
35+ //
36+ //If not at end of range, repeat range scan with new start bound!.
37+ //Else return
1938}
2039
2140#endif
You can’t perform that action at this time.
0 commit comments