Calculator Community > Casio Calculators

Casio Prizm - Kind of hiring patient person

<< < (4/4)

Munchor:
* Scout loves JosJuice

JosJuice:
It was actually pretty simple... I wrote a GML program :P


--- Code: ---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);
--- End code ---
stuff.txt is Goplat's list, with the first and last lines removed.

bsl:

--- Quote from: Qwerty.55 on January 15, 2011, 11:44:39 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.

--- End quote ---
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.

Munchor:
Mine will read .g3a files probably tomorrow, and return the whole code in a text box ;D

Navigation

[0] Message Index

[*] Previous page

Go to full version