tschak909 Posted August 21, 2018 Share Posted August 21, 2018 I am porting PLATOTerm to the Atari ST, have finally come back to it after a few months of developing terminals for other systems. It needs to, given an area of pixels, be able to draw lines, and individual dots. Text will be blit from a bitmap character set, as well, to any pixel position. The problem I am trying to anticipate comes from window redraw. Assuming the window becomes occluded, I can't simply send the drawing commands again, because I will have possibly lost them in the protocol buffer, and since the protocol buffer is highly stateful, it becomes difficult to play back previous data to restore the window to the previously known good state. On other systems, I would simply render to an off-screen bitmap, and when I received the window update, I would ask the system to blit the requisite rectangles back to the screen. But on the ST, it seems that API functions for off-screen bitmaps are not available in most VDI implementations, most certainly not stock VDI. So what the hell am I supposed to do? -Thom Quote Link to comment Share on other sites More sharing options...
pixelmischief Posted August 21, 2018 Share Posted August 21, 2018 GODLIB is your friend for all things about Atari ST graphics. Check it out: https://github.com/ReservoirGods Quote Link to comment Share on other sites More sharing options...
tschak909 Posted October 22, 2018 Author Share Posted October 22, 2018 @pixelmischief Actually, I have...and while it does seem to be very complete, it's also very sorely lacking in documentation. I am trying to use it, but it is painful. I'm only here, because I literally wrote the entire terminal using GEM and VDI calls and it failed so badly in the performance department, that it was unusable on 8MHz machines. -Thom Quote Link to comment Share on other sites More sharing options...
pixelmischief Posted October 22, 2018 Share Posted October 22, 2018 Another possible route is Pure C. It came with Borland BGI as the graphics library, which is pretty well documented. Give it a look. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.