<div dir="auto"><div class="gmail_quote" dir="auto"><div dir="ltr" class="gmail_attr">Kevin Lyda <<a href="mailto:kevin@ie.suberic.net">kevin@ie.suberic.net</a>> schrieb am Mi., 8. Mai 2019, 10:58:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Amazingly I still have a number of my high school computer science<br>
projects which were written in Turbo Pascal 3. And a few are almost<br>
not horribly embarrassing.<br>
<br>
I'd like to port them to fpc and write up the experience but I know<br>
what the huge issue is: it uses the graphics.bin library which was<br>
brought in with graph.p - a snippet of which is at the bottom of this<br>
email.<br>
<br>
It did something like turtle graphics and worked on CGA type systems<br>
which were comically limited. Still, it would be neat to see it run<br>
outside of DOSBox.<br>
<br>
So I'm wondering what my options are with FPC graphics. Looking<br>
through the code I used Draw, GotoXY, Palette, Circle and Fillshape -<br>
as well as IO functions like write, read and keypressed.<br>
<br>
Any suggestions appreciated, thanks,<br></blockquote></div><div dir="auto"><br></div><div dir="auto">You could simply use one of the Graph units provided by FPC (e.g. PtcGraph). Though depending on the unit the colors might be 32-bit values instead of 16-bit ones. </div><div dir="auto"><br></div><div dir="auto">Regards, </div><div dir="auto">Sven </div><div class="gmail_quote" dir="auto"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"></blockquote></div></div>