GRAPH.DRAW.OVAL=$FF35 not function

All aspects of programming on the Commander X16.
Post Reply
funkheld
Posts: 322
Joined: Mon Feb 26, 2024 11:11 am

GRAPH.DRAW.OVAL=$FF35 not function

Post by funkheld »

Hi good afternoon.

why does circle crash in basic

Thanks.
greeting

Code: Select all

A.REG= $030C
X.REG= $030D
Y.REG= $030E
C.REG= $030F

SETLFS = $FFBA
CHKOUT = $FFC9
CHKIN = $FFC6
CLRCHN = $FFCC
MCIOUT = $FEB1
MACPTR = $FF44

GRAPH.DRAW.OVAL=$FF35

R0L=$02
R0H=$03
R0=R0L
R1L=$04
R1H=$05
R1=R1L
R2L=$06
R2H=$07
R2=R2L
R3L=$08
R3H=$09
R3=R3L
R4L=$0A
R4H=$0B
R4=R4L

SCREEN $80
	POKE R0L,200
	POKE R0H,0
	POKE R1L,200
	POKE R1H,0
	POKE R2L,50
	POKE R2H,0
	POKE R3L,50
	POKE R3H,0
	POKE C.REG,1
	SYS GRAPH.DRAW.OVAL
User avatar
ahenry3068
Posts: 1146
Joined: Tue Apr 04, 2023 9:57 pm

Re: GRAPH.DRAW.OVAL=$FF35 not function

Post by ahenry3068 »

funkheld wrote: Thu Apr 11, 2024 1:49 pm Hi good afternoon.

why does circle crash in basic

Thanks.
greeting

Code: Select all

A.REG= $030C
X.REG= $030D
Y.REG= $030E
C.REG= $030F

SETLFS = $FFBA
CHKOUT = $FFC9
CHKIN = $FFC6
CLRCHN = $FFCC
MCIOUT = $FEB1
MACPTR = $FF44

GRAPH.DRAW.OVAL=$FF35

R0L=$02
R0H=$03
R0=R0L
R1L=$04
R1H=$05
R1=R1L
R2L=$06
R2H=$07
R2=R2L
R3L=$08
R3H=$09
R3=R3L
R4L=$0A
R4H=$0B
R4=R4L

SCREEN $80
	POKE R0L,200
	POKE R0H,0
	POKE R1L,200
	POKE R1H,0
	POKE R2L,50
	POKE R2H,0
	POKE R3L,50
	POKE R3H,0
	POKE C.REG,1
	SYS GRAPH.DRAW.OVAL
If you had read the doc's more closely you would see that graph_draw_oval is listed as "NOT IMPLEMENTED" It isn't done yet !!!!
funkheld
Posts: 322
Joined: Mon Feb 26, 2024 11:11 am

Re: GRAPH.DRAW.OVAL=$FF35 not function

Post by funkheld »

hello thanks for info.

greeting.
User avatar
ahenry3068
Posts: 1146
Joined: Tue Apr 04, 2023 9:57 pm

Re: GRAPH.DRAW.OVAL=$FF35 not function

Post by ahenry3068 »

funkheld wrote: Thu Apr 11, 2024 2:52 pm hello thanks for info.

greeting.
I have a circle/Oval routine here
viewtopic.php?t=6913

Its written in BASIC so it's kinda slow. But it's there if you want to look.
funkheld
Posts: 322
Joined: Mon Feb 26, 2024 11:11 am

Re: GRAPH.DRAW.OVAL=$FF35 not function

Post by funkheld »

thank you, the circle is wonderful.

greeting
User avatar
ahenry3068
Posts: 1146
Joined: Tue Apr 04, 2023 9:57 pm

Re: GRAPH.DRAW.OVAL=$FF35 not function

Post by ahenry3068 »

funkheld wrote: Sat Apr 13, 2024 7:03 am thank you, the circle is wonderful.

greeting
So have you picked a project. ?? The Next great Game.? A word processor...? A Music player ?
Your learning a lot. You should pick a project and make it work ......
funkheld
Posts: 322
Joined: Mon Feb 26, 2024 11:11 am

Re: GRAPH.DRAW.OVAL=$FF35 not function

Post by funkheld »

I'm still looking at the inner workings of the x16 to see what's in there. I don't really understand how the whole system works together.

greeting
User avatar
ahenry3068
Posts: 1146
Joined: Tue Apr 04, 2023 9:57 pm

Re: GRAPH.DRAW.OVAL=$FF35 not function

Post by ahenry3068 »

funkheld wrote: Mon Apr 15, 2024 6:43 am I'm still looking at the inner workings of the x16 to see what's in there. I don't really understand how the whole system works together.

greeting
Doing a project will teach you things you might not learn otherwise. You don't have to know everything before you start building a project.
Post Reply