>From: "Daniele Terdina"

>You should disable all interrupts to avoid QDOS writing on the second
>screen.. why would you need to use an interrupt routine?

I need it in order to be synchronized with TV ray. I need to switch screens 
every interrupt. Interrupt starts at the beginning of screen refresh (top of 
screen). This is used on many games and demos (ZX, Amiga...etc) to achieve 
smooth animation, because every screen update is synchronized with TV refresh. 

>If you run your demo always on the same type of system (e.g. plain QL) you
>should be able to adjust timing in your code.

In my case it shall be easily possible, but more complex program would be hard 
to manually finetune.

>If you allow interrupts, even if you remove all other polled tasks from the
>chain, QDOS will still access the second screen area, for example it will
>increment the SV.POLLM variable.

--> Do you know how many bytes is absulutely minimum for the interrupt handler?

>From: "Dilwyn Jones"

>Am I missing something here, or could you just set up a 32K buffer
>area in memory and write an assembler routine to fast copy graphics to
>the standard screen? 

That might be possible with Gold Card, but plain QL is simply too slow for 
it.You can hardly move 32k in 1/50sec. 

>Or is it essential to be able to build up a
>graphic on one screen and switch "instantly"? 

Yes, correct. This ensures lowest cpu overhead and no playing with TV ray.

>The display control register address on a QL is hex 18063...

Thanks for mentioning that. I also found fabulous source of documentation in 
QDOS Internals page. Greets to author.

>There are some useful routines in Quanta's software library, including
>a nice little routine which sets a mixed mode display...

That was one of my objectives as well. Can I have a copy of this routine? How 
can I access the Quanta library?

>The QL's display hardware is pretty primitive, but various people over
>the years have achieved a surprising amount with it.

Well, that's all what I have on my QL. I think it will be nice hardcore to show 
the demo running on unexpanded QL and loaded from microdrives :-)

_______________________________________________
QL-Users Mailing List
http://www.q-v-d.demon.co.uk/smsqe.htm

Reply via email to