From 680b2df08a15bd3a02612ab37e347df0ef00f611 Mon Sep 17 00:00:00 2001 From: Irmen de Jong Date: Sat, 26 Sep 2020 19:14:06 +0200 Subject: [PATCH] just call the asmsub --- examples/mandelbrot.p8 | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/examples/mandelbrot.p8 b/examples/mandelbrot.p8 index 8f5bdef84..50fd45f95 100644 --- a/examples/mandelbrot.p8 +++ b/examples/mandelbrot.p8 @@ -11,16 +11,7 @@ main { sub start() { txt.print("calculating mandelbrot fractal...") - - %asm {{ - stx P8ZP_SCRATCH_REG - ; reset the jiffy clock - ldx #0 - ldy #0 - lda #0 - jsr c64.SETTIM - ldx P8ZP_SCRATCH_REG - }} + c64.SETTIM(0, 0, 0) ubyte pixelx ubyte pixely