> > I was trying to make...
>
>   After reading through your source quickly I noticed that you didn't
> read out s#0 after each line interrupt to clear the interrupt request.
> Although I am not sure, this is most likely the reason why your proggy
> doesn't work.

Doesn't reading s#1 clear the interrupt-request of the line-interrupt???
And about the 'normal' interrupt, I did read s#0 in the beginning, but then
I had the same problem.

By the way, I hope you realize that I don't use the interrupt, I keep them
disabled. I use polling in this routine.


> You should try something like this:
>
> Wait4LineInt: in a,(#99) ;Wait until lineinterrupt...
> rra
> jr nc,Wait4LineInt
>
> xor a ;Select VDP s#0
> out (#99),a
> ld a,15+128
> out (#99),a
> in a,(#99) ;Clear IRQ
> ld a,1
> out (#99),a ;Select VDP s#1 again
> ld a,15+128
> out (#99),a

Well, anyway, I'll check if your suggestion works.

Later!


~Grauw


>>>>>>>>>>>>>>>>>><<<<<<<<<<<<<<<<<<
email: [EMAIL PROTECTED] or ICQ: 10196372
Visit the Datax homepage at http://datax.cjb.net/
                ... Live long and prosper...
>>>>>>>>>>>>>>>>>><<<<<<<<<<<<<<<<<<




****
MSX Mailinglist. To unsubscribe, send an email to [EMAIL PROTECTED] and put
in the body (not subject) "unsubscribe msx [EMAIL PROTECTED]" (without the
quotes :-) Problems? contact [EMAIL PROTECTED] (www.stack.nl/~wiebe/mailinglist/)
****

Reply via email to