Re: A82: Re: a pong paddle, logically
[Prev][Next][Index][Thread]
Re: A82: Re: a pong paddle, logically
Thanks for looking over the routine. Just a couple quick questions about your
comments. . .
In the first comment, (You have to do two reads the first time otherwise this
wont work.) what do you mean by this, ie how do I change the program, do I do
in a,(11h) again?
And also, what are T-States? Also, what is sam davies's email adress
In a message dated 97-10-24 10:12:11 EDT, you write:
> I did not test the rutine, but i had a look at the source code and found a
> few things which should be changed.
>
> >drawpaddle:
> > ld a, 7
> > call $7F3
> > out (10h), a
> > ld a,(paddlepos)
> > call $7F3
> > out (10h), a
> > ld a, $20
> > call $7F3
> > out (10h), a
> > call $7F3
> > in a,(11h)
> > and %10011111
> You have to do two reads the first time otherwise this wont work.
> > call $7F3
> > out a,(11h)
> > ld b, 12
> >repeat1:
> > call $7F3
> > in a,(11h)
> > or %01100000
> > call $7F3
> > out (11h),a
> > djnz repeat1
> These two delays can be made a bit shorter. Sam Davies did some testing on
> the delays need, have a look at that.
> > call $7F3
> > in a,(llh)
> > and %10011111
> > call$7F3
> > out (11h),a
> > ret
> >
> >
> Almost all the delays in the rutine can be made short since the call $7F3
> takes longer that what is need by the display controller. I can not
remember
> the exact number but i tkink you only need 20 T-states.
>
> Dines
>