hobie@sq.UUCP (10/03/87)
I have been trying to do some display hacking based on a vertical retrace interrupt server. I have Dan Silva's example from the IFF disk, which, although invaluable, does not address my specific needs. If I put in really innocuous code, like assignment statements, it runs. As soon as I try to fool with the display inside the server routine, it croaks. I have tried using ScreenToFront(), SetRast(), and DrawGList() but none of them work. If someone has a different example, then I would like to see it. I am using Manx 3.4a. Thanks. Hobie Orris | guest of SoftQuad Inc., Toronto, Ont. |"There'll be no more giant leeches {ihnp4 | decvax | ? }!utzoo!sq!hobie | When you find the good Lord Jesus"
dillon@CORY.BERKELEY.EDU (Matt Dillon) (10/04/87)
> I have been trying to do some display hacking based on a vertical >retrace interrupt server. I have Dan Silva's example from the IFF disk, which, >although invaluable, does not address my specific needs. If I put in really >innocuous code, like assignment statements, it runs. As soon as I try to fool >with the display inside the server routine, it croaks. I have tried using >ScreenToFront(), SetRast(), and DrawGList() but none of them work. From an interrupt service routine? Oi-Vay! Since an interrupt service routine is NOT a task, you cannot do *any* operation that might possibly execute a Wait(). All the routines you've mentioned above can do Wait()s. This is not the only restriction. In general, the only thing you should use interrupt service routines for is to service actual hardware, and then possibly Signal() a task to handle other things. -Matt