[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: TurboRez - Released Yet?



toddpw@cco.caltech.edu (Todd P. Whitesel) writes:

>Not really. What the 2nd ed. says (and it's somewhat clearer I believe) is
>that DMA devices themselves are always limited to 1 mhz slot bus cycle access
>(i.e. the 2.8 mhz fast bus cycles aren't officialy exposed to cards in the
>slots, which is annoying but does simplify the bus logic for compatibility's
>sake, as usual). If the DMA cycle is going to fast RAM, then the CPU may be
>running at 2.8 mhz while the DMA cycle is occurring and you won't get any
>explosions. But Apple says that DMA to I/O and slow RAM -must- be done with
>the CPU running at 1mhz. This avoids the need for complicated bus contention
>logic between the 2.8 mhz slow-down circuit and the DMA inputs. Fast ram can
>be arbitrated on a per-cycle basis and isn't much of a problem.

  So, in the DMA driver you check the bank for fast/slow, set CPU speed
appropriately, and do the DMA.  In the vast majority of cases, you
DMA at 2.8MHz.

-- 
 Jawaid Bazyar              |   Ask me about the GNO Multitasking Environment
 Procyon, Inc.              |   for the Apple IIgs!   
 bazyar@cs.uiuc.edu         |   P.O Box 620334
 --Apple II Forever!--      |   Littleton, CO 80162-0334   (303) 933-4649