/* gfx.c
* To build:
* zcc +ts2068 -zorg=32768 -startup=2 -lgfx2068hr gfx.c -o gfx.bin -lndos -create-app -lm
*/
#include <graphics.h>
main()
{
draw(0, 0, 510, 47);
circle(128, 128, 4, 1);
drawr(-20, -30);
return 0;
}
This code is miscompiled. In drawr w_respixl is used instead of w_plotpixl.
These functions are listed one after another in libsrc/gfx2068hr.lst