Kevin Lyda <ke...@ie.suberic.net> schrieb am Mi., 8. Mai 2019, 10:58:
> Amazingly I still have a number of my high school computer science > projects which were written in Turbo Pascal 3. And a few are almost > not horribly embarrassing. > > I'd like to port them to fpc and write up the experience but I know > what the huge issue is: it uses the graphics.bin library which was > brought in with graph.p - a snippet of which is at the bottom of this > email. > > It did something like turtle graphics and worked on CGA type systems > which were comically limited. Still, it would be neat to see it run > outside of DOSBox. > > So I'm wondering what my options are with FPC graphics. Looking > through the code I used Draw, GotoXY, Palette, Circle and Fillshape - > as well as IO functions like write, read and keypressed. > > Any suggestions appreciated, thanks, > 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. Regards, Sven >
_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal