Re: A82: Dead list, huh?
[Prev][Next][Index][Thread]
Re: A82: Dead list, huh?
My suggestion would be to have on contrast value for the asm program and on
for the TIOS, since you seem to need a higher contrast for most asm games.
So in the begining of a program just read the current value and store that,
and then just ket the user chose what he likes in the asm program and reset
the contrast on exit.
DInes
----- Original Message -----
From: Thomas J. Hruska <shinelight@detroit.crosswinds.net>
To: <assembly-82@lists.ticalc.org>
Sent: Wednesday, March 03, 1999 12:07 AM
Subject: Re: A82: Dead list, huh?
>
>At 10:29 PM 3/2/99 -0500, you wrote:
>>82-PORTS or the datasheet for the display controller tells you have to do
it
>>(or you can use the sample program in the TI83 documentation). Just
remember
>>to either update the contrast value in the system part of the RAM or reset
>>the contrast after you are done.
>
>However, the contrast value in RAM is different between ROM v18.0 and 16.0.
> I had a problem with Game Wizard v2.0 on 16.0 calcs until I adjusted the
>value that I read from RAM. In order to change the contrast to be correct,
>do something like this:
>
> ld a,($29D0)
> cp $36 ; Test for ROM v16.0
> ld a,(CONTRAST)
> jr nz,ROM18
> add a,22
> jr AnyROM
>ROM18:
> add a,32
>AnyROM:
> or $C0
> out ($10),a
>
>Thanks to Dines for the ROM version location :) Mess around with the
>routine to optimize it if you can. I just threw it together from Game
>Wizard's source.
>
>
> Thomas J. Hruska -- shinelight@detroit.crosswinds.net
>Shining Light Productions -- "Meeting the needs of fellow programmers"
> http://www.geocities.com/SiliconValley/Heights/8504
> http://click-on.to/shinelight
>
>
>