Omnimaga
Calculator Community => Other Calc-Related Projects and Ideas => TI Z80 => Topic started by: SirCmpwn on January 10, 2011, 05:33:36 pm
-
Hello,
I made this program in less than 5 minutes, by request. Given an 8xp file, it extracts the hex and outputs it into a text file so you can enter it manually into a calculator. If you find it useful, enjoy. You may have to remove the BB6D if you want to use AsmComp( with it.
StreamReader reader = new StreamReader(args[0]);
StreamWriter writer = new StreamWriter(args[1]);
reader.BaseStream.Seek(0x4A, SeekOrigin.Begin);
while (reader.BaseStream.Position != reader.BaseStream.Length - 2)
{
byte b = (byte)reader.BaseStream.ReadByte();
writer.Write("0123456789ABCDEF".Substring(b / 16, 1));
writer.Write("0123456789ABCDEF".Substring(b % 16, 1));
}
reader.Close();
writer.Close();
-
so its like this?
asmtools.omnimaga.org
anyway, nice job. ;)
-
/me loves Sircmpwn in a completely innocuous way
-
so its like this?
asmtools.omnimaga.org
anyway, nice job. ;)
Yes, and thanks.
/me loves Sircmpwn in a completely innocuous way
O.o
-
I've been wanting one of these for a long time :P
-
Any other programs you are waiting on? Just ask, I have a bunch of TI-related code sitting around that is easy to splice into a program. I have code to modify most TI filetypes, too.
-
Um, do you have programs to turn lead into gold, replicate Matlab on-calc, and
vaporize annoying drivers make the sun shine? :p
-
well, maybe you can look into the Mirror of 38-IT and see if you and see the Programmer's Stone. ;) :P
-
I can turn lead into gold and replicate Matlab, but I can't make the sun shine (although I can accelerate it's growth into a black hole in a few months). The programmer's stone is in my project folder, but it's lacking some features.
-
I can turn lead into gold and replicate Matlab, but I can't make the sun shine (although I can accelerate it's growth into a black hole in a few months). The programmer's stone is in my project folder, but it's lacking some features.
I think we need to have a little talk about that black hole thing. Now, is that OUR sun, or some other galaxies?
-
The capability to do so does not mean the intent to do so.
-
The capability to do so does not mean the intent to do so.
Oh, okay. How's that calc to wormhole project coming along?
-
soylent green is people :P
Well, those black holes had to come from somewhere....
Edit: double ninjad
-
Win the game. I needz that.
/me lost again
-
Um, is it supposed to freak out and freeze every time it's run?
-
Nope, check you inputs.
-
I'm dragging to file to the program. Should I run it from command line?
-
You need to specify the .8xp and the output file.
-
Got it and wow, that's a lot of code.
-
This is pretty cool, although I can make something to this effect on calc, so it's not that useful for me right now.
Of course, I'm sure one day my overzealous use of my link cable will render it broken, making this extremely useful.
-
Like I said, this was by request to fulfill a single purpose. I put it here in case someone finds it useful.
-
This seems nice. Hopefully this is useful to some people.