jmack@b11.ingr.com (Cery McCormick) (04/11/90)
> You can disable the interrupts quite easily; just mask off the > appropriate bits on the MMU (I think that's the chip; it's one of those) > and all interrupts will be ignored. Or you can re-vector them to short > little routines that increment a counter and return. I'd suggest the > former, because it probably doesn't matter whether the machine keeps > track of, say, mouse movement while data is being transmitted. The way to insure that NO interrupts are serviced (including MMU), is to mask off the interrupt bits in the STATUS register. I have written a program to talk to the old 8-bit atari SIO bus through the printer port which required that I read the port every 52.2 usec (19.2kbaud). The disabling of all interrupts worked very well in this case. The biggest drawback however is that the mouse is temporarily frozen.