#PIXEL PLOTTING
Leigh –
Keep in mind that the Amiga's chip RAM (where the screens are) is MUCH slower
than its fast RAM due to DMA contention. So if you really want speed, you
might be better off using your fast CPU to plot your pixels to a buffer in fast
RAM and then moving the area into chip RAM en masse; it all depends on what
you're doing.
If you're doing scaling and stuff for a Doom-style game, you might consider
doing the above with chunky (PC-style) graphics and then using a fast
chunky-to-planar convertor. Several are here in the library; just search using
the keyword "chunky." I must warn you, though, that I've only gotten two to
work on my A4000/040 (the '020-only one and the '040-only one). (Of course,
I'm not exactly what people call a "guru" either. 😉 I got about 30 frames per
second on a 256-color low-res screen with the '040 one.
There are also some library routines (like WritePixel()), but they're *REALLY*
slow compared to the above method or even just poking the bitplanes directly
with the CPU.
– Jim, on AutoPilot!