Long time ago I stubbed a macro set in z88dk to emulate the Turbo C graphics library.
It is not the efficient way to make the things work, nor a clean approach, but it worked.
When z88dk evolved the proportional text calls broke (or better, the compiler now works as expected and the past workarounds were in the way).
Long story short, I fixed and improved the macros up to an interesting level of compatibility, here you are a partial conversion of the historical "BGI DEMO" for MSDOS.
Enjoy !
TURBO C - BGI DEMO
Re: TURBO C - BGI DEMO
A nice demo. Thanks.
Could you also post the original and the adapted source?
Siggi
Could you also post the original and the adapted source?
Siggi
My ZX81 web-server: online since 2007, running since dec. 2020 using ZeddyNet hardware
http://zx81.ddns.net/ZxTeaM
http://zx81.ddns.net/ZxTeaM