Author Topic: HexFrom8xp  (Read 4748 times)

0 Members and 1 Guest are viewing this topic.

SirCmpwn

  • Guest
HexFrom8xp
« 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.
Code: [Select]
            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();

Offline yunhua98

  • You won't this read sentence right.
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2718
  • Rating: +214/-12
  • Go take a dive in the River Lethe.
    • View Profile
Re: HexFrom8xp
« Reply #1 on: January 10, 2011, 05:34:22 pm »
so its like this?
asmtools.omnimaga.org
anyway, nice job.  ;)

Spoiler For =====My Projects=====:
Minor setback due to code messing up.  On hold for Contest.
<hr>
On hold for Contest.


Spoiler For ===Staff Memberships===:






Have you seen any good news-worthy programs/events?  If so, PM me with an article to be included in the next issue of CGPN!
The Game is only a demo, the code that allows one to win hasn't been done.
To paraphrase Oedipus, Hamlet, Lear, and all those guys, "I wish I had known this some time ago."
Signature Last Updated: 12/26/11
<hr>

Offline AngelFish

  • Is this my custom title?
  • Administrator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3242
  • Rating: +270/-27
  • I'm a Fishbot
    • View Profile
Re: HexFrom8xp
« Reply #2 on: January 10, 2011, 05:34:50 pm »
* Qwerty.55 loves Sircmpwn in a completely innocuous way
∂²Ψ    -(2m(V(x)-E)Ψ
---  = -------------
∂x²        ℏ²Ψ

SirCmpwn

  • Guest
Re: HexFrom8xp
« Reply #3 on: January 10, 2011, 05:36:04 pm »
so its like this?
asmtools.omnimaga.org
anyway, nice job.  ;)
Yes, and thanks.

* Qwerty.55 loves Sircmpwn in a completely innocuous way
O.o

Offline AngelFish

  • Is this my custom title?
  • Administrator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3242
  • Rating: +270/-27
  • I'm a Fishbot
    • View Profile
Re: HexFrom8xp
« Reply #4 on: January 10, 2011, 05:36:35 pm »
I've been wanting one of these for a long time  :P
∂²Ψ    -(2m(V(x)-E)Ψ
---  = -------------
∂x²        ℏ²Ψ

SirCmpwn

  • Guest
Re: HexFrom8xp
« Reply #5 on: January 10, 2011, 05:37:24 pm »
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.

Offline AngelFish

  • Is this my custom title?
  • Administrator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3242
  • Rating: +270/-27
  • I'm a Fishbot
    • View Profile
Re: HexFrom8xp
« Reply #6 on: January 10, 2011, 05:38:58 pm »
Um, do you have programs to turn lead into gold, replicate Matlab on-calc, and vaporize annoying drivers make the sun shine? :p
∂²Ψ    -(2m(V(x)-E)Ψ
---  = -------------
∂x²        ℏ²Ψ

Offline yunhua98

  • You won't this read sentence right.
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2718
  • Rating: +214/-12
  • Go take a dive in the River Lethe.
    • View Profile
Re: HexFrom8xp
« Reply #7 on: January 10, 2011, 05:40:12 pm »
well, maybe you can look into the Mirror of 38-IT and see if you and see the Programmer's Stone.  ;)  :P
« Last Edit: January 10, 2011, 05:40:31 pm by yunhua98 »

Spoiler For =====My Projects=====:
Minor setback due to code messing up.  On hold for Contest.
<hr>
On hold for Contest.


Spoiler For ===Staff Memberships===:






Have you seen any good news-worthy programs/events?  If so, PM me with an article to be included in the next issue of CGPN!
The Game is only a demo, the code that allows one to win hasn't been done.
To paraphrase Oedipus, Hamlet, Lear, and all those guys, "I wish I had known this some time ago."
Signature Last Updated: 12/26/11
<hr>

SirCmpwn

  • Guest
Re: HexFrom8xp
« Reply #8 on: January 10, 2011, 05:40:37 pm »
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.
« Last Edit: January 10, 2011, 05:41:08 pm by SirCmpwn »

Offline jnesselr

  • King Graphmastur
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2270
  • Rating: +81/-20
  • TAO == epic
    • View Profile
Re: HexFrom8xp
« Reply #9 on: January 10, 2011, 05:52:15 pm »
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?

SirCmpwn

  • Guest
Re: HexFrom8xp
« Reply #10 on: January 10, 2011, 05:53:00 pm »
The capability to do so does not mean the intent to do so.

Offline jnesselr

  • King Graphmastur
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2270
  • Rating: +81/-20
  • TAO == epic
    • View Profile
Re: HexFrom8xp
« Reply #11 on: January 10, 2011, 05:53:42 pm »
The capability to do so does not mean the intent to do so.
Oh, okay. How's that calc to wormhole project coming along?

Offline willrandship

  • Omnimagus of the Multi-Base.
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2953
  • Rating: +98/-13
  • Insert sugar to begin programming subroutine.
    • View Profile
Re: HexFrom8xp
« Reply #12 on: January 10, 2011, 05:53:49 pm »
soylent green is people :P

Well, those black holes had to come from somewhere....

Edit: double ninjad
« Last Edit: January 10, 2011, 05:54:15 pm by willrandship »

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: HexFrom8xp
« Reply #13 on: January 10, 2011, 06:18:41 pm »
Win the game. I needz that.
* Deep Thought lost again




Offline AngelFish

  • Is this my custom title?
  • Administrator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3242
  • Rating: +270/-27
  • I'm a Fishbot
    • View Profile
Re: HexFrom8xp
« Reply #14 on: January 10, 2011, 06:20:34 pm »
Um, is it supposed to freak out and freeze every time it's run?
∂²Ψ    -(2m(V(x)-E)Ψ
---  = -------------
∂x²        ℏ²Ψ