I'm attempting to create a graphics program that will work with both AGA graphics modes and RTG systems like P96 and CGFX. As it stands right now the program opens a window on the workbench screen (which is in a true color mode using P96). It then uses WritePixel() to plot pixels with the color recieved by ObtainBestPenA(). Well, this doesn't really work that well. In fact, all I get is black plotted on the screen.
Does anyone have any examples or tips on how to code graphics so that they will work on both AGA and RTG systems?
Thanks.