Author Topic: 16-Level Grayscale  (Read 39478 times)

0 Members and 1 Guest are viewing this topic.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: 16-Level Grayscale
« Reply #30 on: July 07, 2010, 12:49:23 pm »
I wonder why geekboy thought it doesn't work on se's? I don't see anything in my readme that would even hint at that. But it looks to me like the version K is what is to blame here. K's just don't follow the rules when it comes to making calculators.
Not too sure. Maybe he thought something could work on BE but not SE, otherwise maybe he did a typo and meant to say 83+BE?

Offline Michael.3545

  • LV3 Member (Next: 100)
  • ***
  • Posts: 69
  • Rating: +13/-7
    • View Profile
Re: 16-Level Grayscale
« Reply #31 on: July 07, 2010, 04:03:08 pm »
Would you look at that, he's got one of the mysterious K's.

...But it looks to me like the version K is what is to blame here. K's just don't follow the rules when it comes to making calculators.

Little did I know that some BE's are more basic than others.  It seems I have been cursed with the elusive 'K'.  Darn.  Here are some other funky things about my calc:

  • I need ALCDFIX to play some games.  Something to do with a slow driver
  • Omnicalc's Ram Recovery function doesn't work.  Something to do with missing memory
  • I got it a Wal-Mart for 80 bucks.  Either it was priced wrong, or Wal-Mart knew something I didn't.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: 16-Level Grayscale
« Reply #32 on: July 07, 2010, 04:21:44 pm »
Strange, this defies the logic of all other calcs serial posted last year. Normally, any calc that ends with a letter from A to G or no letter at the end should have the entire 128 KB of memory.

Offline thepenguin77

  • z80 Assembly Master
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1594
  • Rating: +823/-5
  • The game in my avatar is bit.ly/p0zPWu
    • View Profile
Re: 16-Level Grayscale
« Reply #33 on: July 07, 2010, 05:08:52 pm »
Personally, I don't think that the last letter of K's even means anything. Like I've seen version O, which isn't even out yet.

I need ALCDFIX to play some games.  Something to do with a slow driver
zStart does this too :).  Mine has a bad screen and the delay is 44. (44/4 = 11 clock cycles added). Whereas good screens, like wabbitemu have delays of 12.
zStart v1.3.013 9-20-2013 
All of my utilities
TI-Connect Help
You can build a statue out of either 1'x1' blocks or 12'x12' blocks. The 1'x1' blocks will take a lot longer, but the final product is worth it.
       -Runer112

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: 16-Level Grayscale
« Reply #34 on: July 07, 2010, 05:13:47 pm »
Are you sure that O wasn't a zero, tho? Also if it's the last letter that is K, it is a failing calc. If it's the first one that is K it doesn't mean it will fail. It's just from a different factory.

Anyway I moved the extra RAM page discussion at http://ourl.ca/3726/101103;topicseen#new
« Last Edit: July 07, 2010, 05:14:16 pm by DJ Omnimaga »

Offline ztrumpet

  • The Rarely Active One
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5712
  • Rating: +364/-4
  • If you see this, send me a PM. Just for fun.
    • View Profile
Re: 16-Level Grayscale
« Reply #35 on: July 07, 2010, 06:45:10 pm »
Yeah, the Ks follow no pattern.  For example, my friend that has a K has the serial number 1142038377_K-0906B (Yes, that's an underscore) yet calcs bought at the same time are like 2365063662 S-0207G.  It's completely different!  As you can see, K's are weird. :P

Offline thepenguin77

  • z80 Assembly Master
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1594
  • Rating: +823/-5
  • The game in my avatar is bit.ly/p0zPWu
    • View Profile
Re: 16-Level Grayscale
« Reply #36 on: July 07, 2010, 07:21:17 pm »
I am pretty positive that the O was an O and not a 0. I remember a few underscores in K's. Along with a few BE's that had the engraving etched with white. I also saw a K with no letter, which would mean that the calc was about 8 years old, which I'm pretty sure it wasn't.
zStart v1.3.013 9-20-2013 
All of my utilities
TI-Connect Help
You can build a statue out of either 1'x1' blocks or 12'x12' blocks. The 1'x1' blocks will take a lot longer, but the final product is worth it.
       -Runer112

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: 16-Level Grayscale
« Reply #37 on: July 07, 2010, 08:33:40 pm »
Weird, if you see those calcs again be sure to note the serial.

Offline ztrumpet

  • The Rarely Active One
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5712
  • Rating: +364/-4
  • If you see this, send me a PM. Just for fun.
    • View Profile
Re: 16-Level Grayscale
« Reply #38 on: July 07, 2010, 11:24:55 pm »
I am pretty positive that the O was an O and not a 0. I remember a few underscores in K's. Along with a few BE's that had the engraving etched with white. I also saw a K with no letter, which would mean that the calc was about 8 years old, which I'm pretty sure it wasn't.
I guess I've never mentioned it, but yes, the one I've seen had the engraved etching and white writing too. :)

Offline thepenguin77

  • z80 Assembly Master
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1594
  • Rating: +823/-5
  • The game in my avatar is bit.ly/p0zPWu
    • View Profile
Re: 16-Level Grayscale
« Reply #39 on: July 09, 2010, 04:33:36 pm »
Well since this topic was originally about 16 level grayscale, let me share some facts that I just figured out.

I thought, well maybe I can get 64 levels out of it by putting one pixels on in the first column, two in the second, three in the third, and so on until the 64th column is completely full. I then changed the z-address to scroll the screen 100,000 times per second. (For those who don't know, the z-address is where the lcd driver starts to display at, so if you set it to 1, the very top row of pixels appears at the bottom and all others scroll up one, a 2 does the same except by two pixels.) The z-addressing is nice because it only takes one command to update the entire lcd. But this didn't work at all and I got these weird scrolling patterns. So then I thought, I'll figure out the refresh rate.

I made a refresh rate program. Through careful tweaking I found that at 3,811 z-addresses per second made a perfectly still image. So every 1/3,811 of a second, the driver displays another line. Divide this by 64 and the screen refreshes at 59.5 hz.

What does this mean, this means that if your grayscale program updates the lcd faster than 59.5 hz, it won't make a difference. My 16 level just happens to update it 120 times per second. I suppose this means that within a few hours I will have an 8 level grayscale viewer instead.

I included an example to show you how perfect the grayscale looks when you update the lcd at the right speed. This is a weird version of tetrisM I am working on. If your driver updates at 59.5 hz, you will see 100% flickerless grayscale with a little slant the scrolls through the screen.
« Last Edit: July 09, 2010, 04:35:10 pm by thepenguin77 »
zStart v1.3.013 9-20-2013 
All of my utilities
TI-Connect Help
You can build a statue out of either 1'x1' blocks or 12'x12' blocks. The 1'x1' blocks will take a lot longer, but the final product is worth it.
       -Runer112

Offline calc84maniac

  • eZ80 Guru
  • Coder Of Tomorrow
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2912
  • Rating: +471/-17
    • View Profile
    • TI-Boy CE
Re: 16-Level Grayscale
« Reply #40 on: July 09, 2010, 04:42:10 pm »
Are you sure this is the case for all screens? I thought that TI changes the LCD every once in a while.
"Most people ask, 'What does a thing do?' Hackers ask, 'What can I make it do?'" - Pablos Holman

Offline thepenguin77

  • z80 Assembly Master
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1594
  • Rating: +823/-5
  • The game in my avatar is bit.ly/p0zPWu
    • View Profile
Re: 16-Level Grayscale
« Reply #41 on: July 09, 2010, 04:54:48 pm »
I'm not sure it hold true for all screens, I would assume that it is different for the good and bad drivers. And maybe it's even different within the driver types.

If it's the first case, it's really easy to figure it out, just a quick lcd delay test will tell you, but if it's the second, to be used in games you would have to have it user adjusted.

All I know is that the way I have it adjusted, it looks perfect on my calculator.
zStart v1.3.013 9-20-2013 
All of my utilities
TI-Connect Help
You can build a statue out of either 1'x1' blocks or 12'x12' blocks. The 1'x1' blocks will take a lot longer, but the final product is worth it.
       -Runer112

Offline calc84maniac

  • eZ80 Guru
  • Coder Of Tomorrow
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2912
  • Rating: +471/-17
    • View Profile
    • TI-Boy CE
Re: 16-Level Grayscale
« Reply #42 on: July 09, 2010, 05:10:29 pm »
I wonder, would grayscale look better if we updated the screen by rows instead of columns? I know that's not usually the method of choice, because it takes 896 lcd outputs instead of 781. But there is definitely enough time to write a whole row in 1/3,811 seconds.
"Most people ask, 'What does a thing do?' Hackers ask, 'What can I make it do?'" - Pablos Holman

Offline thepenguin77

  • z80 Assembly Master
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1594
  • Rating: +823/-5
  • The game in my avatar is bit.ly/p0zPWu
    • View Profile
Re: 16-Level Grayscale
« Reply #43 on: July 09, 2010, 05:19:24 pm »
I'm not sure, I'm currently writing an 8 level grayscaler. Doing it that way, there wouldn't be a diagonal line, I just wonder what the cross over point would look like then. Maybe there wouldn't be one if you're lucky.

Also, I think you would have to start at the bottom and work up, because I feel that's how the lcd is updated. But I'm not positive.
zStart v1.3.013 9-20-2013 
All of my utilities
TI-Connect Help
You can build a statue out of either 1'x1' blocks or 12'x12' blocks. The 1'x1' blocks will take a lot longer, but the final product is worth it.
       -Runer112

Offline Madskillz

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 488
  • Rating: +32/-2
    • View Profile
Re: 16-Level Grayscale
« Reply #44 on: July 09, 2010, 05:49:35 pm »
It definitely looks like the lcd updates from the bottom up. I'll try out your sample and let you know what I think.