+-Discord Shoutbox

Alternatively, join us on Discord directly.
You can help CodeWalrus stay online by donating here.

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Topics - SopaXorzTaker


yes, it's that slow :(

Introducing my latest project, TIWallet!

You can generate a Bitcoin keypair with this program and store it securely (or not  :P) on your calculator!
It's still buggy, extremely slow and not intended for everyday use, so be careful.


I've decided to port a QR code library onto the TI-84+CE, and found https://github.com/ricmoo/QRCode, which is portable and optimized for low-power devices.

To compile that library for the calculator (with Zilog's ANSI C compiler included), I had to rewrite some of the code to compile under ANSI C, as the compiler was complaining.
Anyway, when you run the demo program (DEMO.8xp, see below), it's going to take about a minute to process and then you'll get a QR code with the sample message displayed on the calculator screen.
Press any key to exit the demo program.


So basically, GTKALK is my attempt at writing a simple and lightweight GUI library in TI-BASIC.
It's pretty simple, doesn't support the color calculators yet, but I think you guys might find it interesting ;).

Program GTKEX0 is a simple demo of all features so far.
GTKEX1 is a more sophisticated one, showing multiple buttons and stuff.

(move the cursor with arrow keys and use ENTER to click - the Input command is used to handle the cursor)
To exit GTKEX1, just click on the button that says X (obviously).
Please, try it and tell me what do you think  :).
Again, don't expect full-blown Qt running on your calculator.

You can use the code for any purposes, just consider giving credit (optional).
Hey guys!
I've been developing the program for two weeks now, and it's really exciting.
Orbit84 allows you to see where the satellites are in real time!
This program still has some little bugs, so please report them if you find any.

This program will display the orbit of any satellite on a beautiful Earth map borrowed from NASA ;).
I am pretty lazy to group the files together using the buggy TiLP beta, so I am including the program itself and the .8ca image file which you need to install if you want the map background.

The program uses the old SGP algorithm from the Department of Defense. TI-BASIC is pretty slow, and I was lazy to read through 400 lines of Fortran to implement a better one (SGP4) instead, which would be even slower.

Known bugs: the first step after starting the program displays invalid values.

To use the program, you'll need a set of Two-Line Elements, which is an ancient format still used for describing satellite orbit.
This data can be obtained from https://celestrak.com/NORAD/elements/.
The text files on the page above contain the data, which consists of three-line groups, for example:

ISS (ZARYA)             
1 25544U 98067A   17075.95152778  .00001773  00000-0  33947-4 0  9992
2 25544  51.6434 138.0748 0007006 301.6640  60.9310 15.54215659 47417

Upload the both files attached to your calculator and run prgmORBIT.
It'll ask you to enter the data, enter the last two lines (starting with 1 and 2, without the first name line) exactly as you see them, preserving the number of spaces between the digits. Press [enter] between each of the lines. If the program tells you that the length is incorrect, you might have missed a symbol, and have to retype the last line you entered again.
Then, enter your latitude and longitude, also you can safely set the Altitude parameter to zero.

Now, the program should be displaying the orbit of the satellite in real-time, with a ground track plot.
The two lines at the top left side of the graph screen show the azimuth and elevation of the satellite. When the elevation line is green, the satellite is visible (above you).

Of course, you must set the calculator's clock to UTC time and date first, as that is assumed in the calculations.
When running the program after it has been first run, you'll be asked if you want to update the TLE data. You can answer "No" if you want to keep the existing data. Keep in mind that you should update the TLE every week so that the data stays valid.

I'd be glad to hear your ideas for improvement of the program!  :)
Other / What should I ask for my birthday?
February 15, 2017, 06:42:50 PM
Hey, guys! I am having a little dilemma there. I can't decide what do I want for my birthday!  :P
I have been thinking of getting an HP Jornada 728 to satisfy my obsession with portable electronics.
Now, maybe I should get a TI calculator instead (more features, hackable, will have two TI calculators).
Games / [TI-82/83+/84+] Falling Sand Game
January 27, 2017, 05:23:57 PM
Hey, guys!
I made a little falling sand game for the TI-82 (and other calculators).
It's pretty slow, as it's written in TI-BASIC, but I think it's pretty much playable.

Currently, it includes three types of particles (brick, sand, sand generator), but I'll probably be adding more soon.
The features include an edit mode (pausing the simulation) and a temporary fast mode that makes the simulation a bit faster while sacrificing the controls.

The attached GIF is at 4x speed, didn't I tell you that it's pretty slow?

The controls are described in the README.txt file. Also, included are the .82g and the .8xg files.
Games / [TI-82] Conway's Game of Life
October 02, 2016, 04:48:53 AM
I probably was the first to write an assembly game for the TI-82 in 4 years and it's my first program in Z80 assembly!
But anyway, here's my implementation of Conway's Game of Life!

The controls are pretty simple:
Use [MODE] to pause the  simulation to allow you to edit the cells.
Use [ENTER] to toggle the cell at the cursor.
Use the arrow keys to move the cursor.
Use [X,T,[tex]\theta[/tex]] to single-step the simulation.
Use [DEL] to reset all the cells.
Use [CLEAR] to exit the game.

It's on ticalc.org: http://www.ticalc.org/archives/files/fileinfo/468/46801.html.
The source code is hosted on GitHub: https://github.com/SopaXorzTaker/ti-life.
Runs with CrASH.

Feel free to improve the game, and please give feedback! :)
Powered by EzPortal