CompuServe Thread

#Amiga Video Programming

6 messages in this thread
#35351From: Larry Edington [Compaq]Jun 15, 1993 10:21 AM
Could someone tell me the basic proceedure for drawing a pixel on an Amiga display? I am wondering if the video uses a linear memory map or if you have a lot of register programming to do. Or could someone recommend a good book I could get? I'm interested in a 640×350 or so resolution but need real fast screen redraws.
#35353From: Michael McCormickJun 15, 1993 10:50 AM
You need to get a hold of the Rom Kernal Manuals for any specific Amiga Programming. Amiga Rom Kernel Manual: Libraries Amiga Rom Kernel Manual: Devices Amiga Rom Kernel Manual: Includes and Autodocs Amiga Hardware Reference Manual Amiga User Interface Style Guide Make sure you get the ones for 2.0 or above As to your question the Amiga has several graphic related functios… To draw a individual pixal you use WritePixel(&rastPort, x, y); Hope this gets you started.
#35363From: Troy BarlowJun 15, 1993 9:01 PM
Well, WritePixel() is fine, unless you want speed 😉 -Troy
#35370From: Larry Edington [Compaq]Jun 16, 1993 1:17 PM
That's what I'm trying to determine. What is the fast method of writing a pixel. On a PC's VGA card you just move a byte into a memory location. With register writes to control display memory "windows" or "pages". Trying to determine if I could use one of the new Amiga systems for a fast graphics display or if a PC would be faster.
#35379From: Troy BarlowJun 16, 1993 8:28 PM
I program a PC for a living. I have written pleny of software that runs in VESA SVGA 640 * 480 * 256, and the AGA machines can move bitmaps around much faster! Even compared to a local bus VESA machine, with code written to run in protected mode! Have you seen The 7th Guest yet? We ran it on our local bus 486, with the NEC multispin drive and 16 megs of ram. The graphics don't look too smooth! (They do look nice, and it's a great game though 😉
#35385From: Larry Edington [Compaq]Jun 17, 1993 10:25 AM
No, haven't seen 7th Guest yet. So the AGA machines are faster? I've got an Amiga 2000 ( just to put my Toaster in <g> ) and have an interest in the graphics write speed of the new 4000's. Do you know if the new AGA machines have linedraw and bitblt engines in hardware?