diff --git a/examples/cube3d-gfx.p8 b/examples/cube3d-gfx.p8 index 15b4aa004..85f613dec 100644 --- a/examples/cube3d-gfx.p8 +++ b/examples/cube3d-gfx.p8 @@ -4,9 +4,6 @@ main { - const uword width = 255 - const uword height = 200 - ; vertices word[] xcoor = [ -100, -100, -100, -100, 100, 100, 100, 100 ] word[] ycoor = [ -100, -100, 100, 100, -100, -100, 100, 100 ] diff --git a/examples/cx16/graphics.p8 b/examples/cx16/graphics.p8 index bd6cdefa8..cad9f679c 100644 --- a/examples/cx16/graphics.p8 +++ b/examples/cx16/graphics.p8 @@ -1,4 +1,4 @@ -; CommanderX16 text clock example! +; CommanderX16 simple graphics example! ; make sure to compile with the cx16 compiler target. %zeropage basicsafe diff --git a/examples/cx16/mandelbrot-gfx.p8 b/examples/cx16/mandelbrot-gfx.p8 index 8869d0a48..d3e9e30ee 100644 --- a/examples/cx16/mandelbrot-gfx.p8 +++ b/examples/cx16/mandelbrot-gfx.p8 @@ -5,7 +5,7 @@ main { const uword width = 256 const uword height = 200 - const ubyte max_iter = 16 ; 32 looks pretty nice + const ubyte max_iter = 16 ; 32 actually looks pretty nice but takes longer sub start() { initialize() diff --git a/examples/cx16/textclock.p8 b/examples/cx16/textclock.p8 index 0f3dff8f6..d03c2e034 100644 --- a/examples/cx16/textclock.p8 +++ b/examples/cx16/textclock.p8 @@ -8,28 +8,6 @@ main { sub start() { -; %asm {{ -; lda #$80 -; jsr cx16.screen_set_mode -; }} -; cx16.r0=0 -; cx16.GRAPH_init() -; %asm {{ -; lda #4 -; ldy #0 -; ldx #1 -; jsr cx16.GRAPH_set_colors -; }} -; cx16.GRAPH_clear() -; cx16.r0=10 -; cx16.r1=10 -; cx16.r2=100 -; cx16.r3=150 -; cx16.GRAPH_draw_line() -; -; repeat { -; } - cx16.r0 = mkword(8, 2020 - 1900) cx16.r1 = mkword(19, 27) cx16.r2 = mkword(0, 16)