diff --git a/compiler/res/prog8lib/c128/graphics.p8 b/compiler/res/prog8lib/c128/graphics.p8 deleted file mode 100644 index 0e0f19882..000000000 --- a/compiler/res/prog8lib/c128/graphics.p8 +++ /dev/null @@ -1,62 +0,0 @@ -%import syslib -%import textio - -; Bitmap pixel graphics module for the Commodore 128 - -; TODO c128 actually implement the graphics routines. Ideally a way to 'borrow' the code form the C64 version without just copy-pasting that here? - -graphics { - %option no_symbol_prefixing - - const uword WIDTH = 320 - const ubyte HEIGHT = 200 - - sub enable_bitmap_mode() { - ; enable bitmap screen, erase it and set colors to black/white. - ; TODO - } - - sub disable_bitmap_mode() { - ; enables text mode, erase the text screen, color white - ; TODO - } - - - sub clear_screen(ubyte pixelcolor, ubyte bgcolor) { - ; TODO - } - - sub line(uword @zp x1, ubyte @zp y1, uword @zp x2, ubyte @zp y2) { - ; TODO - } - - sub fillrect(uword x, uword y, uword width, uword height) { - ; TODO - } - - sub rect(uword x, uword y, uword width, uword height) { - ; TODO - } - - sub horizontal_line(uword x, uword y, uword length) { - ; TODO - } - - sub vertical_line(uword x, uword y, uword height) { - ; TODO - } - - sub circle(uword xcenter, ubyte ycenter, ubyte radius) { - ; TODO - } - - sub disc(uword xcenter, ubyte ycenter, ubyte radius) { - ; TODO - } - - inline asmsub plot(uword plotx @R0, uword ploty @R1) clobbers(A, X, Y) { - %asm {{ - nop ; TODO - }} - } -} diff --git a/docs/source/todo.rst b/docs/source/todo.rst index b06860e49..1ce3ab041 100644 --- a/docs/source/todo.rst +++ b/docs/source/todo.rst @@ -1,7 +1,6 @@ TODO ==== -- make monogfx the new graphics module? also change c64 and c128 graphics modules - add %option verafxmuls in block to enable transparent verafx muls use for that block only + add warning message to docs to not use it it in prg AND irq code - [on branch: shortcircuit] investigate McCarthy evaluation again? this may also reduce code size perhaps for things like if a>4 or a<2 ....