Author Topic: Casio Prizm - Kind of hiring patient person  (Read 8886 times)

0 Members and 1 Guest are viewing this topic.

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: Casio Prizm - Kind of hiring patient person
« Reply #15 on: January 16, 2011, 06:39:59 am »
* Scout loves JosJuice

Offline JosJuice

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1344
  • Rating: +66/-14
    • View Profile
Re: Casio Prizm - Kind of hiring patient person
« Reply #16 on: January 16, 2011, 10:06:15 am »
It was actually pretty simple... I wrote a GML program :P

Code: [Select]
var file1,file2,temp;
file1=file_text_open_read("stuff.txt");
file2=file_text_open_write("stuff1.txt");
while (!file_text_eof(file1)) {
file_text_write_string(file2,string_copy(file_text_read_string(file1),3,6)+",");
file_text_readln(file1);
}
file_text_close(file1);
file_text_close(file2);
file1=file_text_open_read("stuff.txt");
file2=file_text_open_write("stuff2.txt");
while (!file_text_eof(file1)) {
temp = file_text_read_string(file1);
file_text_write_string(file2,string_copy(temp,11,string_length(temp)-12)+",");
file_text_readln(file1);
}
file_text_close(file1);
file_text_close(file2);
stuff.txt is Goplat's list, with the first and last lines removed.

Offline bsl

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 157
  • Rating: +14/-0
    • View Profile
Re: Casio Prizm - Kind of hiring patient person
« Reply #17 on: January 16, 2011, 04:20:30 pm »
Double Edit: Can you get it to write the output to a text file? It's not very easy to read when it's scrolling.
Dump to  a file for now: c:\> sh3_disass.py file.g3a 7020 7140 > file.S
Then use a text editor to scroll through the results.
I am fixing up the branching and data movement instructions, that were not reporting correctly.
« Last Edit: January 16, 2011, 04:21:18 pm by bsl »

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: Casio Prizm - Kind of hiring patient person
« Reply #18 on: January 16, 2011, 04:21:44 pm »
Mine will read .g3a files probably tomorrow, and return the whole code in a text box ;D