u/mehonje

Is This 8xp Format Guide Correct?

Section Byte Range Total Bytes Notes
Signature 0 to 10 11 2A 2A 54 49 38 33 46 2A 1A 0A 00
Comment 11 to 52 42 Null padded
Number of bytes 53 to 54 2 Bytes 55 to end-2
Section ID 55-56 2 0D 00
Variable Length 57-58 2 Length of Body Length + Program
Type ID 59 1 05 for program 06 for protected program
Name 60-67 8 Null Padded
Version 68 1 00
Flag 69 1 00 for RAM 80 for Archive
Length 70-71 2 Length of Body Length + Program
Body Length 72-73 2 Length of Program
Program 74 to end-2 Variable Obvious
Checksum End-2 to end 2 Length of Section ID + Variable Length + Type ID + Name + Version + Flag + Length + Body Length + Program, overflows and resets
reddit.com
u/mehonje — 5 days ago
▲ 4 r/ti84hacks+1 crossposts

TI-BASIC devs, What Do You Want in Development Tools?

Edit: I've decided to go with option 2, with normal code editing.

I'm working on some TI-BASIC development tools, with a CLI for converting between txt and 8xp files and writing TI-BASIC programs. I'm coming to a crossroads at where to take the project right now.

I have two options:

  1. Modal Token-based Editor

This is easier to make and prevents any unknown bytes from entering the calculator.

Two modes: Normal and Add

The 8xp is converted to commands, and then displayed. In Normal mode the arrow keys navigate through the file.

Typing switches the mode of the editor to Add. The typed text is added to a buffer, the arrow keys allow navigation through the commands, like on the calculator. Pressing escape clears the buffer and places you in Normal mode.

When a match of text in the buffer to a TI-BASIC command, using a similarity algorithm, it is displayed. The up and down arrow keys allow you to select which command you want to add. Left and right allow you to move the cursor in the buffer.

  1. Normal text editor

This is more difficult as I have to make a greedy lexer for the data.

It would be, in my opinion, easier to use, as you just write code like any other language.

What do you guys think?

reddit.com
u/mehonje — 5 days ago

Why are new calculators using app-based UIs?

The TI NSpire, the new TI-84 EVO, and Casio fx-CG100 all use an app-based UI.

Why can't I just turn my calculator on and already be in the calculator?

The main reason I prefer my TI-84 over my NSpire is because I have to press more buttons to type x+y.

Have a menu for apps like Python or a spreadsheet, but why does the calculator have to be an app?

reddit.com
u/mehonje — 12 days ago

Lately I can't duplicate more than one block, deleting blocks opens up the create variable or create list menu, and scrolling is more difficult.

reddit.com
u/mehonje — 13 days ago