Omnimaga
Calculator Community => Other Calc-Related Projects and Ideas => TI Z80 => Topic started by: adrusi on May 30, 2013, 05:09:52 pm
-
I made a little 4-level grayscale picture editor. It operates on the OS vars Pic3 (back buffer) and Pic4 (main buffer), which can both be either in ram or archive.
It's nothing special, but it's (hopefully) the last little project I do before I make something a bit bigger and more unique. That said, it's a decent tool and might be nice if you want to doodle with something a bit more than the TIOS drawing tools.
Controls:
- F1, F2, F3 and F4 set the color to draw with. F1 is black and F4 is white. White is the default, which can be confusing since it looks like it's not drawing anything at first. I probably should have initialized it to black, but I'm lazy.
- 0 enters pixel mode, which sets the pixel under the cursor to the selected color when 2nd is held.
- 1 enters line mode, which draws lines of the specified color. Hit 2nd to set the endpoints. Hit mode to cancel a started line.
- 2 enters rectangle mode, which draws a filled rectangle. Hit 2nd to set the corners. Hit mode to cancel a started rectangle.
- Hold alpha to speed up cursor movements, useful when moving to the opposite side of the screen or if there's lag caused by drawing large lines or rectangles.
-
Sounds fancy, should check it out. One question though, what's the difference between the first and the second download?
::EDIT:: Can't seem to get it to work in Wabbitemu on a virtual TI-84+ Silver Edition running 2.55MP, the screen just glitches out and if I press, it outputs " xiting..." and returns control to the OS.
-
Maybe you need both programs?
-
Sorry, I should have put this in the original post. It expects the OS vars "Pic3" and "Pic4" to be defined. If they're not it should display an error message, but it might have gotten erased immediately, I haven't tested that since I wrote that code yesterday when I started. The screen glitching out is probably it trying to display the undefined picvars.
Just do StorePic 3:StorePic 4 before running it. I guess the program should do that by itself, but whatever. It will work with the picvars from archive though.
The program file with the theta is the Axe source code and the other one is an actual runnable assembly program.
-
Okay, it works. Looks pretty neat, maybe a bit tedious to do pixelart.