[Staff][Dev] 8-level Grayscale Routines

Here you can find side projects of the staff and great projects which we think should get extra support. (Note that featured projects are not projects by staff members of MaxCoderz)

Moderator: MaxCoderz Staff

User avatar
tr1p1ea
Maxcoderz Staff
Posts: 4128
Joined: Thu 16 Dec, 2004 10:06 pm
Location: I cant seem to get out of this cryogenic chamber!
Contact:

[Staff][Dev] 8-level Grayscale Routines

Post by tr1p1ea »

As some people on irc will know ive revisited an extremely ancient project of mine, some 8-level grayscale routines! I saw calc84maniac achieve some very impressive results with his experiments and i just couldnt stop thinking about ways to improve my old work in the field. Good news is that im a much better coder now and the revisit has seen me get the routines to the exact same speed as the 4-level ones, thats right, *exactly the same speed* (both faster than fastcopy so waste instructions are needed).

Here are some premilinary screens:

Image Image Image Image Image

New Wabbit screenies:

Image Image

Screenies are a lot less quality (the rolling is more apparent) than on an actual calc, but still, you get the idea :). Note that since its 8-level, under the right light you will most likely notice rolling with generic routines no matter what *shrug*.

Ive made a scrolling tilemapper, but havent done a sprite routine yet :sick:.
Attachments
8lvl.zip
8-lvl grayscale wolf
(3.8 KiB) Downloaded 554 times
"My world is Black & White. But if I blink fast enough, I see it in Grayscale."
Image
Image
User avatar
kv83
Maxcoderz Staff
Posts: 2735
Joined: Wed 15 Dec, 2004 7:26 pm
Location: The Hague, Netherlands
Contact:

Re: [Staff][Dev] 8-level Grayscale Routines

Post by kv83 »

Oh my god... 8-level? Damn, you're truly the GS-master.

Soooo... anything in mind for using them :pirate:
Image
User avatar
benryves
Maxcoderz Staff
Posts: 3078
Joined: Thu 16 Dec, 2004 10:06 pm
Location: Croydon, England
Contact:

Re: [Staff][Dev] 8-level Grayscale Routines

Post by benryves »

Wow, very impressive indeed! :D
chickendude
Extreme Poster
Posts: 339
Joined: Fri 07 Jul, 2006 2:39 pm

Re: [Staff][Dev] 8-level Grayscale Routines

Post by chickendude »

That looks really nice! I wouldn't have noticed the rolling in the tilemaps at all if it weren't for the first picture, which made me look for it in the others. Is there anywhere online where calc84maniac has showcased their experiments in 8-level greyscale?

EDIT: Also, i've never used IRC much, but everyone apparently is on it a lot. Are there any rooms i should follow? I have seen a lot of logs pop up in google searches, and often there are a lot of interesting things being discussed.
User avatar
tr1p1ea
Maxcoderz Staff
Posts: 4128
Joined: Thu 16 Dec, 2004 10:06 pm
Location: I cant seem to get out of this cryogenic chamber!
Contact:

Re: [Staff][Dev] 8-level Grayscale Routines

Post by tr1p1ea »

The rolling isnt really too noticeable on calc, its surely something that you can put up with in a game. Plus wabbit only takes 7-level grayscale screenshots. I might be able to reduce the rolling by changing up the mask rotation. Basically the lighter the shade of gray, the more you can see it.

calc84maniac mainly shows some stuff on irc, but now he is staff at Omnimaga i think. The main IRC channels are #TCPA on Efnet, and #United-TI or #Omnimaga on Dragon-Fire. I think you can get to dragonfire from the UTI webchat interface :?.

So far im just messing around, no real plans for the routines. Still have to do that sprite routine, but it should be pretty straightforward.

Ive attached a test program if anyone wants to check it out. Still working on getting the timing right across calc models. And yes kv83 i thought of you and included an 83 example tho ive never tested it! Id love some feedback to see if its good/bad on your respective calcs! (Run with Ion/MOS).
Attachments
8lvl.zip
Unhappy :kitty: :).
(5.16 KiB) Downloaded 676 times
"My world is Black & White. But if I blink fast enough, I see it in Grayscale."
Image
Image
chickendude
Extreme Poster
Posts: 339
Joined: Fri 07 Jul, 2006 2:39 pm

Re: [Staff][Dev] 8-level Grayscale Routines

Post by chickendude »

I wish i could say for certain, but I haven't got a GraphLink cable that works with my laptop (i finally found my old black link, but i don't have any serial ports!). I tested it out on PindurTI and, after turning the contrast up a bit, the 83 version looked just as good as the 83+ (PindurTI doesn't seem to like my 83+SE's ROM). Both look pretty similar to the screenshots you posted :) Sorry i can't test on the actual hardware. And thanks for the IRC info.
User avatar
benryves
Maxcoderz Staff
Posts: 3078
Joined: Thu 16 Dec, 2004 10:06 pm
Location: Croydon, England
Contact:

Re: [Staff][Dev] 8-level Grayscale Routines

Post by benryves »

Works a treat, here! :-D (Regular 83+).
User avatar
Art_of_camelot
Regular Member
Posts: 124
Joined: Sun 09 Sep, 2007 8:50 pm
Location: The dark side of the moon
Contact:

Re: [Staff][Dev] 8-level Grayscale Routines

Post by Art_of_camelot »

I checked it out on my 83+ SE under CrunchyOS (my shell of choice) and it looks good. For comparison sake the scanlines in the 8 level still pic appear to move faster than they do in the Desolate game (using durks grayscale routine). I have to say it definitley seems like it could be useable in a game, I'd like to see a demo of a charcter walking around a screen. I was also wondering how many layers are required to do 8 levels, are you using 4? I just checked it out on my TI 83+(not an SE) and it looks alot better on the older 83+! The pixels seem to be closer to grays (the tones are a bit different on the SE, they look less true to gray) and it actually sees to display much more clearly (The scan lines are slower and much less noticable). It also seems that less contrats is required on the TI-83+ model in order for it to display clearly. I had to turn the contrast dark enough on the TI-83+ SE that the home screen itself darkend to a light gray in order to get the same appearance as on the TI-83+ non-SE on which the home screen was slightly darker than it's netural color. I hope this feed back is useful.
Projects:
Projects:TBA-Soonish. :)
Updated 5/3/12
Spencer
Extreme Poster
Posts: 346
Joined: Mon 17 Jan, 2005 8:56 am
Location: Indiana

Re: [Staff][Dev] 8-level Grayscale Routines

Post by Spencer »

Looks good, but I was hoping for the tilemap. It's worth noting that on the Wabbitemu beta you can tweak the screen settings to make it look perfect. Just add two to the shades in the display options. I'll eventually have those settings carry over to GIFs.
chickendude wrote:PindurTI doesn't seem to like my 83+SE's ROM
I believe PTI only supports 82, 83, and 83+
CoBB
MCF Legend
Posts: 1601
Joined: Mon 20 Dec, 2004 8:45 am
Location: Budapest, Absurdistan
Contact:

Re: [Staff][Dev] 8-level Grayscale Routines

Post by CoBB »

Spencer wrote:I believe PTI only supports 82, 83, and 83+
Yes, but the SE ROMs can also detect regular 83+ hardware and run on it (as far as I can remember). At least PTI works with ROMs from 1.15 to 1.18.

The grey levels are definitely nice to see. :) I also experimented with 8-level greyscale back in the old (pre-PTI) days, but I never got around to drawing anything else than eight stripes. That’s laziness for you. :P
User avatar
tr1p1ea
Maxcoderz Staff
Posts: 4128
Joined: Thu 16 Dec, 2004 10:06 pm
Location: I cant seem to get out of this cryogenic chamber!
Contact:

Re: [Staff][Dev] 8-level Grayscale Routines

Post by tr1p1ea »

Thanks guys for testing it :). Art_of_camelot, you use 3 layers to achieve 8-lvl ( 2^3 = 8 ). Also the SE's have a different LCD controller than the older calcs (t6k04 vs t6ao4(a) iirc) which should explain the difference. Ill release a tilemap demo once i write the sprite routine to see how it fairs ... might have to drop the qual a tiny bit for speed tho :X.
"My world is Black & White. But if I blink fast enough, I see it in Grayscale."
Image
Image
cjgone
Regular Member
Posts: 83
Joined: Tue 18 Apr, 2006 5:33 am
Location: Washington->UC Berkeley '15

Re: [Staff][Dev] 8-level Grayscale Routines

Post by cjgone »

That looks beast. :D
User avatar
the_unknown_one
Calc Master
Posts: 1089
Joined: Fri 17 Dec, 2004 9:53 am
Location: Belgium

Re: [Staff][Dev] 8-level Grayscale Routines

Post by the_unknown_one »

You mean it looks like Image ?

Well, I do agree that it looks incredible. Patrick, when will you stop proving that you are a coding master? Just kidding, never stop! 8)
TI-calculator = good time
User avatar
Art_of_camelot
Regular Member
Posts: 124
Joined: Sun 09 Sep, 2007 8:50 pm
Location: The dark side of the moon
Contact:

Re: [Staff][Dev] 8-level Grayscale Routines

Post by Art_of_camelot »

@ The_unknown_one: Nicely done. :mrgreen:
@Tr1p1ea: Cool, I can't wait to see how the tilemap fares.
Projects:
Projects:TBA-Soonish. :)
Updated 5/3/12
Liazon
Calc Guru
Posts: 962
Joined: Thu 27 Oct, 2005 8:28 pm

Re: [Staff][Dev] 8-level Grayscale Routines

Post by Liazon »

that's insane!!! is it app compatible or does it need to run from RAM? any release any time soon?
Image Image Image
Post Reply