Logo compiler on Zx81...

Discussion about ZX80 / ZX81 Software
Post Reply
User avatar
XavSnap
Posts: 576
Joined: Sat May 10, 2008 4:23 pm

Logo compiler on Zx81...

Post by XavSnap » Fri Feb 17, 2017 3:08 am

Hi,
I have just type-in a Logo compiler from the French magazine Ordi-5:
ZXlogo_Ordi_5_n13.gif
Logo compiler
ZXlogo_Ordi_5_n13.gif (6.91 KiB) Viewed 893 times
ZXlogo_Ordi_5_n13.zip
ZxLogo (ORDI-5 fr)
(19.99 KiB) Downloaded 75 times
Is there any other "Logo" compiler for ZX81 ?

User avatar
siggi
Posts: 881
Joined: Thu May 08, 2008 9:30 am
Location: Dauernheim, Germany
Contact:

Re: Logo compiler on Zx81...

Post by siggi » Fri Feb 17, 2017 3:16 pm

Hi Xav
could you please describe, how a procedure must be entered?

I tried to enter this as new procedure "spiral":
Logo-Example.jpg
Logo-Example.jpg (64.97 KiB) Viewed 872 times
But when I press '0' and try to compile it, I get the error
"INSTRUCTION INCONNUE LIGNE ..."
and the Zeddy runs into error C/8447, which is in the first line (POKEd during compiler run????)

Is something missing to indicate the end of the procedure?

Siggi
My ZX81 web-server: online since 2007
http://zx81-siggi.endoftheinternet.org/index.html

User avatar
XavSnap
Posts: 576
Joined: Sat May 10, 2008 4:23 pm

Re: Logo compiler on Zx81...

Post by XavSnap » Fri Feb 17, 2017 6:30 pm

Hi Siggi,
Sorry, this program is in French, and explains too.

The first monitor is the direct input entire:
Where-
A= AVANCE [WRITE]
D= DROITE [RIGHT] where 1 is used to turn right (by step: 45°)
G= GAUCHE [LEFT] where 1 is used to turn left (by step: 45°)
M= MONTE [DRAW] Draw screen while cursor move.
C= CACHE [HIDE] Hide cursor move.
H= HOME [INIT] Return to 0,0 location.
N= Clear screen
V= VA-EN [GO TO] Go to N,M location
Y= Display memory left.
<= AUGMENTE [RAISE]
>= DIMINUE [DECRISE]
:=COPY SCREEN TO PRINTER
STOP=Return to Basic
B= Display functions list.
E= Erase a function from...
P= Program a function (edit monitor)

Who to write a function: ("SPIRALE")
Go to the "function" monitor: "P" key, press "1" to type-in the function.
-Enter the name: SPIRALE
-Enter the KEY: S
-Enter who many values used: 2
Capture.JPG
SPIRALE N,M
Capture.JPG (19.8 KiB) Viewed 862 times

Code: Select all

"V" Key+"0N"+"00"
"R" Key+"0N"
"R" Key+"04"
"A" Key+"0N"
"G" Key+"01"
"*" Key ("LOOP REPETE")
">" Key+"0N"
"*" Key ("LOOP REPETE")
"." Key ("END")
"Compile the function?"= Oui (yes)

On the direct monitor, type "S" key+"10","10"

Basic functions "A","D","G"... wasn't include in the original program.
I had to type-in this feature, and is enter then you type RUN!
Just edit the 3020 line to change functions name (8 characters)
Type "GOTO 100" to run the program.
Type "GOTO 11" to save extra functions.
RUN will reinit the basic functions without extra procedures.

Post Reply