This is an archived, read-only copy of the United-TI subforum , including posts and topic from May 2003 to April 2012. If you would like to discuss any of the topics in this forum, you can visit Cemetech's z80 & ez80 Assembly subforum. Some of these topics may also be directly-linked to active Cemetech topics. If you are a Cemetech member with a linked United-TI account, you can link United-TI topics here with your current Cemetech topics.

This forum is locked: you cannot post, reply to, or edit topics. Z80 & 68k Assembly => z80 & ez80 Assembly
Author Message
DigiTan
Unregistered HyperCam 2


Super Elite (Last Title)


Joined: 10 Nov 2003
Posts: 4468

Posted: 05 Sep 2009 05:23:01 pm    Post subject:

Back in the day I had an idea of adjusting the contrast up and down for graphical effects, fade in/fade out, night levels, etc. For some reason, I could never get it to look right on TI-82. Maybe this had more to do with the contrast emulation behind VTI, but it got me thinking of trying it again. It certainly isn't very common. How would this work for 83+?
Back to top
calc84maniac


Elite


Joined: 22 Jan 2007
Posts: 770

Posted: 05 Sep 2009 05:27:14 pm    Post subject:

Well, I think the 83+ and the 83+SE/84+/84+SE have differing contrast levels in general (the 83+ is much lighter for the same contrast value, iirc).
Back to top
DarkerLine
ceci n'est pas une |


Super Elite (Last Title)


Joined: 04 Nov 2003
Posts: 8328

Posted: 05 Sep 2009 06:23:09 pm    Post subject:

I don't think this is a good idea. People generally adjust contrast levels to personal preference and forcing them to look at the screen at a suboptimal level is just mean.
Back to top
calc84maniac


Elite


Joined: 22 Jan 2007
Posts: 770

Posted: 05 Sep 2009 06:45:54 pm    Post subject:

You could always have a simulated contrast effect with a couple of levels - like if you want it a bit darker, you could OR alternating checkerboard patterns to each byte in the fast copy routine, or AND them to make it lighter (may require two screen updates per frame)
Back to top
FloppusMaximus


Advanced Member


Joined: 22 Aug 2008
Posts: 472

Posted: 05 Sep 2009 08:15:31 pm    Post subject:

I think you could probably create some interesting temporary effects by varying the contrast - e.g. a sudden bright light simulated by dimming the entire screen. I would certainly be sure to do so relative to the user-specified contrast value.

I think permanent effects (such as night/day, outside/inside) are also possible, but don't go overboard with them - only adjust the contrast by a few units in either direction, enough to create a visible effect but not enough to seriously affect the screen's legibility.
Back to top
DigiTan
Unregistered HyperCam 2


Super Elite (Last Title)


Joined: 10 Nov 2003
Posts: 4468

Posted: 26 Sep 2009 09:10:49 pm    Post subject:

Exactly how do you change the contrast on 83+ anyway? Screen port?
Back to top
FloppusMaximus


Advanced Member


Joined: 22 Aug 2008
Posts: 472

Posted: 26 Sep 2009 09:21:40 pm    Post subject:

It's the same as on the 82. Write a value between C0h (lightest) and FFh (darkest) to port 10h.

The OS doesn't use the entire contrast range - it adds a fixed offset to the contrast value before outputting (18h, perhaps? It's documented in the SDK, I think.)
Back to top
calc84maniac


Elite


Joined: 22 Jan 2007
Posts: 770

Posted: 26 Sep 2009 09:47:06 pm    Post subject:

FloppusMaximus wrote:
It's the same as on the 82. Write a value between C0h (lightest) and FFh (darkest) to port 10h.

The OS doesn't use the entire contrast range - it adds a fixed offset to the contrast value before outputting (18h, perhaps? It's documented in the SDK, I think.)

I haven't noticed any difference between the bottom $18 values (they all seem to be the lightest).
Back to top
DigiTan
Unregistered HyperCam 2


Super Elite (Last Title)


Joined: 10 Nov 2003
Posts: 4468

Posted: 30 Sep 2009 05:06:08 pm    Post subject:

Might as well try it out then. Will probably make the changes temporary to avoid the annoyance factor.
Back to top
Display posts from previous:   
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.

» Go to Registration page
    »
» View previous topic :: View next topic  
Page 1 of 1 » All times are UTC - 5 Hours

 

Advertisement