Disclaimer: This post is very outdated!!! Go to the most recent posts in this topic for updates on the full C rewrite, Hexes 2.0.
Original post:
Hexes is a hex editor for the TI-84 Plus CE I've been working on the last few days. It can view ROM, and edit RAM, and display sprites at the cursor location, along with file opening/highlighting.
Download link for v1.0.0 here
Looks flashy, I like the colour scheme a lot actually.
I noticed in the readme it has: `[X,T,θ,n]`:** Draw sprite at cursor location.
What does that mean?
tr1p1ea wrote:
Looks flashy, I like the colour scheme a lot actually.
I noticed in the readme it has: `[X,T,θ,n]`:** Draw sprite at cursor location.
What does that mean?
It takes the first 2 bytes at the cursor location as width and height, and displays a sprite with those dimensions using the data that comes after. I should probably clarify that more in the readme.
As for the color scheme, here's how it is displayed: null bytes:red, values less than 20h: magenta/purple, 20h-7Fh (displayable ASCII characters): white, and all other values are blue and represented as a dot.
Ahh ok that makes sense, a nice feature. Well done 😊
v1.0.1 is now out!
😄
Download here!!!
Changelog:
- Added the ability to edit file other than programs and appvars.
- Changed the current memory section text.
Yeah not much for this update :/
What feature would you like to be added next?
How do you edit programs with it?
Coder_2917 wrote:
How do you edit programs with it?
After opening the program, press F2, labeled "File". Press the up arrow to change the type to program, and enter the program name. Press enter. You should be taken to a section of data highlighted in a dark blue background, that is the program data. (Note. This highlighting will not work if you try to open a variable other than an AppVar, Program, String, or Equation, but you can still access and edit them just fine.)
In order to actually edit the bytes, place the cursor on top of the byte you want to change, and press [tan] to increase the byte value, and [)] to decrease it. The value, if changed, will show up in blue at the bottom of the screen marked with "Val:". To submit the value, press 2nd. The change should appear at the cursor location.
Is there a way to add bytes to an assembly program that I can then rewrite inside of Hexes? Not necessarily within this program, just on-calc.
GravewalkerCEsAll wrote:
Is there a way to add bytes to an assembly program that I can then rewrite inside of Hexes? Not necessarily within this program, just on-calc.
I have no idea if there are already existing tools to do that, but I'm thinking maybe create a program that allocates a number of bytes greater than the program size you want to add to, which then copies the data to the allocated space. Then, create a new program which you can use the C file I/O library to write the allocated data to it, or write the data to the same file as before.
Or I'm an idiot and there's a function that just adds a few bytes to the end of a file or something idk
I can't edit bytes!!! The prompt value changes, but pressing [2nd] does nothing to the byte. Can you please help?
ItsFoxAndAGoodDream wrote:
I can't edit bytes!!! The prompt value changes, but pressing [2nd] does nothing to the byte. Can you please help?
If you're trying to edit something outside of RAM, it won't let you. However, IIRC I may have messed up a few things (notably where portions of the address space start and end I think, and editing filetypes other than programs and appvars) and it'd probably be better to rewrite this whole thing in C rather than ICE. Sorry about that
Development has begun on a full rewrite of Hexes in C rather than ICE, due to ICE's depracated nature and to iron out the bugs in the original version.
Enough time's passed since I made this and now I know some C so it's a good time to make this. I have no idea how long this will take, though. No set timeframe until this is done, but I will complete it some time or another :)
NOW, I need yous opinion on something.
Do yous want a buffer to edit files, or an approach similar to Hexes v1.0 where you are simply taken to the memory address files are stored in?
Note, I can't continue without an answer as this'll greatly affect how I write the program.
I'd want a buffer, don't want to brick a calc. 🙂
I want to note that development may be agonizingly slow, because there are some places in C where I have zero idea what I am doing. That's what's learning for, am I right?
I'd rather have a buffer too.
GravewalkerCEsAll wrote:
Is there a way to add bytes to an assembly program that I can then rewrite inside of Hexes? Not necessarily within this program, just on-calc.
Try Hexaedit, it’s what I usually use if I suddenly have the urge to code in hex.
StephenM wrote:
I want to note that development may be agonizingly slow, because there are some places in C where I have zero idea what I am doing. That's what's learning for, am I right?
Maybe look at the code for Hexaedit for some valuable information about writing in archive. Also I really like the colors they make the program look so clean, is that syntax highlighting for hex code because that’s something I REALLY need in life; and I think it would be super cool if you made it able to edit in binary with syntax highlighting for the eZ80 bit field (also support for RGB 565 would be really helpful for those who write graphics code in hex).
Edit: SORRY FOR DOUBLE POSTING!
the CE guy wrote:
Maybe look at the code for Hexaedit for some valuable information about writing in archive. Also I really like the colors they make the program look so clean, is that syntax highlighting for hex code because that’s something I REALLY need in life; and I think it would be super cool if you made it able to edit in binary with syntax highlighting for the eZ80 bit field (also support for RGB 565 would be really helpful for those who write graphics code in hex).
First, thanks, a lot. Second, great ideas, but I may need some clarification later to know exactly what the features you want are and what you have in mind. I'm open to suggestions of course :)
A screenshot of my progress so far :)
(the Appvar is the GRAPHX library.)
I haven't done file opening stuff yet, I am currently manually copying an appvar into Hexes's buffer appvar, but that'll be when the editor is done.
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.
»
Go to Registration page
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum