Re: A86: Many Stupid Questions


[Prev][Next][Index][Thread]

Re: A86: Many Stupid Questions




Really bad things won't happen.

Load $1F into ($C008).  Nothing happens...
now use 2nd+down to lower your contrast.  Kapow!  Your contrast
is suddenly set to $1E.  (And your screen is veeerrry black).

Try it the other way around.  Load $1F into port 2.  Black screen!
try to lower the contrast and your contrast is restored to it's
original level minus 1.

This is why...  Every time you adjust the contrast in TI-OS it:
1) Reads from ($C008)
2) Modifies it to your beckoning.
3) Makes sure the new contrast level is legal (0 < contrast < $1F)
4) Writes the new value to the port and to ($C008).

-- 
Tercero	 --  Email: mailto:tercero@busprod.com

"The stone the builders rejected has become the capstone;"
			--Psalms 118:22
"Everyone who falls on that stone will be broken to pieces,
but he on whom it falls will be crushed."
			--Luke 20:18


References: