Screen buffer with simple perspective


McPepic 2022-07-21 15:20

Was just messing around with setting up a screen buffer.
Draw colored pixels directly to the screen.

DRAW_X and DRAW_Y tell the program where to draw to and DRAW_COLOR takes a value from 0 to 24 (0 being the canvas color)

You can set this data by calling SET_PEN and you can change the available colors using SET_INK

Draw using DRAW and to clip with the edges of the screen, use CLIP.

Feel free to use it how you want! :)

Log in to reply.