just call the asmsub

This commit is contained in:
Irmen de Jong 2020-09-26 19:14:06 +02:00
parent 09bd47f98b
commit 680b2df08a

View File

@ -11,16 +11,7 @@ main {
sub start() { sub start() {
txt.print("calculating mandelbrot fractal...") txt.print("calculating mandelbrot fractal...")
c64.SETTIM(0, 0, 0)
%asm {{
stx P8ZP_SCRATCH_REG
; reset the jiffy clock
ldx #0
ldy #0
lda #0
jsr c64.SETTIM
ldx P8ZP_SCRATCH_REG
}}
ubyte pixelx ubyte pixelx
ubyte pixely ubyte pixely