Omnimaga

Calculator Community => Other Calc-Related Projects and Ideas => TI Z80 => Topic started by: pimathbrainiac on September 07, 2013, 09:45:36 pm

Title: G8LIB - 8 level grayscale lib for Axe!
Post by: pimathbrainiac on September 07, 2013, 09:45:36 pm
I've wanted to make 8 level gray for a long time, as in A REALLY LONG TIME, and my assembly skills are too n00bish, so I needed to do it in Axe.

After PMing with the king of grayscale himself, thepenguin77, I got a way to do 8 level, but that wasn't good enough for me to settle with.

I decided to make a library using his routines with the ability to be used with the TI 83+, and the TI-84+ (optional crystal timer interrupt routines (which I got from Runer112's pastebin))

Included in the attached zip are the LIB, and an example picture viewer and accompanying programs and utilities.

No screenies yet, as I am on my bad PC, but I'll attach some as soon as I get on my good one!

SCREENIES! (that suck because I suck with wabbit's settings... MUCH better on-calc)

(http://img.ourl.ca//G8CRYS.gif) (http://img.ourl.ca//G8DROW.gif)

EDIT: latest version: http://ourl.ca/19535/371261
Title: Re: G8LIB - 8 level grayscale lib for Axe!
Post by: Sorunome on September 08, 2013, 01:07:26 am
Sounds awesome :D
Title: Re: G8LIB - 8 level grayscale lib for Axe!
Post by: DJ Omnimaga on September 08, 2013, 02:28:16 am
Interesting. One thing, though: I wonder if this could eventually be merged with the new library by Runer for perfect 4-lv grayscale in Axe? I am curious if it would end up being smaller if combined together? (while still not losing speed).
Title: Re: G8LIB - 8 level grayscale lib for Axe!
Post by: pimathbrainiac on September 08, 2013, 01:34:19 pm
Maybe, but I doubt it. Runer's lib is optimized for 4-level, and the way I got the 8 level done is different.

Also:

I noticed that the 8 level actually looks better without the interrupts because the interrupts are on their fastest setting, so I would need slightly slower interrupts to make it better with interrupts.
Title: Re: G8LIB - 8 level grayscale lib for Axe!
Post by: pimathbrainiac on September 10, 2013, 02:33:18 pm
I just added some ease-of-use functions to the lib. I'll upload as soon as I can.

Also: screenies as soon as I can

EDIT: attached the zip. read about the new functions in the README
Title: Re: G8LIB - 8 level grayscale lib for Axe!
Post by: DJ Omnimaga on September 10, 2013, 03:36:42 pm
Screenies, or it didn't happen. :P

Btw why is the zip file 189 KB? O.O
Title: Re: G8LIB - 8 level grayscale lib for Axe!
Post by: Vijfhoek on September 10, 2013, 04:12:06 pm
Looks like it contains SPASM. Why?
Title: Re: G8LIB - 8 level grayscale lib for Axe!
Post by: DJ Omnimaga on September 10, 2013, 05:17:31 pm
Hmm I'm unsure why it would be included, but I guess it's not a good idea unless he got permission from the original authors, but even then it isn't really necessary to include something like Spasm since it's available online anyway.
Title: Re: G8LIB - 8 level grayscale lib for Axe!
Post by: chickendude on September 10, 2013, 05:39:01 pm
I don't think there's any issue with including Spasm. You'll also see why it's included if you read the readme ;)
Title: Re: G8LIB - 8 level grayscale lib for Axe!
Post by: pimathbrainiac on September 10, 2013, 07:02:31 pm
Three things:
One, I forgot to add AMEMKIT to the zip archive. The updated zip file is attached.

Two, SCREENIES!!! (Sorry for the scanlines, I PROMISE it is MUCH better on calc (as in, Wabbit sucks for gray > 4, or I suck at making wabbit's settings right))

(http://img.ourl.ca//G8CRYS.gif) (http://img.ourl.ca//G8DROW.gif)

Three, SPASM is included so you can use the example image viewer with your own pictures. Read the README :P
Title: Re: G8LIB - 8 level grayscale lib for Axe!
Post by: Sorunome on September 11, 2013, 07:52:24 am
Still looking cool, great job! :D
Title: Re: G8LIB - 8 level grayscale lib for Axe!
Post by: pimathbrainiac on December 19, 2013, 07:36:30 pm
Necro Update!

I've been meaning to post this one for a while...

No screenies atm, but some bugs were fixed, and now it's much more smooth :D

Zip attached!