ZxToken and peek commands with ZX80

Discussion about ZX80 / ZX81 Software
Post Reply
Creator
Posts: 40
Joined: Wed Jul 27, 2022 3:11 am

ZxToken and peek commands with ZX80

Post by Creator »

When I convert a .txt file to a .o file using ZxToken in ZX80 mode all the peek commands disappear. Loading the file or converting it back to a .txt file show the same result. What am I missing / not understanding here ? Getting tired of retyping peek on the ZX80 keyboard.
User avatar
Paul
Posts: 1517
Joined: Thu May 27, 2010 8:15 am
Location: Germanys west end

Re: ZxToken and peek commands with ZX80

Post by Paul »

Maybe ZXToken isn't prepared for the case that the ZX80 has no Token for peek and needs to write it character by character.
In theory, there is no difference between theory and practice. But, in practice, there is.
User avatar
XavSnap
Posts: 1941
Joined: Sat May 10, 2008 4:23 pm
Location: 'Zx81 France' Fb group.

Re: ZxToken and peek commands with ZX80

Post by XavSnap »

Hi Creator,
The PEEK function wasn't available on the ZX80. :shock:

https://archive.org/details/zx80operati ... ew=theater
zxtoken2.JPG
Xavier ...on the Facebook groupe : "Zx81 France"(fr)
User avatar
Paul
Posts: 1517
Joined: Thu May 27, 2010 8:15 am
Location: Germanys west end

Re: ZxToken and peek commands with ZX80

Post by Paul »

XavSnap wrote: Tue Feb 07, 2023 11:20 am Hi Creator,
The PEEK function wasn't available on the ZX80. :shock:
It is available on the ZX80 but not as token. It needs to be typed in character by character
In theory, there is no difference between theory and practice. But, in practice, there is.
User avatar
XavSnap
Posts: 1941
Joined: Sat May 10, 2008 4:23 pm
Location: 'Zx81 France' Fb group.

Re: ZxToken and peek commands with ZX80

Post by XavSnap »

Ooops!

Yes, PEEK, USR and Tl$ need to be typed letter by letter.

https://archive.org/details/zx80operati ... ew=theater

I had to force ZxToken to write it in plain letters.

Thanks Paul.
Xavier ...on the Facebook groupe : "Zx81 France"(fr)
User avatar
XavSnap
Posts: 1941
Joined: Sat May 10, 2008 4:23 pm
Location: 'Zx81 France' Fb group.

Re: ZxToken and peek commands with ZX80

Post by XavSnap »

Ok Creator,

The untokens functions are:

Peek
Chr$
code
Str$
Rnd
Usr
Abs
Tl$


zxtoken3.JPG
Copy and unzipp this binary in the main ZxToken folder...
ZxToken_r1_13.zip
(86.02 KiB) Downloaded 67 times
Xavier ...on the Facebook groupe : "Zx81 France"(fr)
User avatar
Paul
Posts: 1517
Joined: Thu May 27, 2010 8:15 am
Location: Germanys west end

Re: ZxToken and peek commands with ZX80

Post by Paul »

Thanks a lot Xav!
In theory, there is no difference between theory and practice. But, in practice, there is.
Creator
Posts: 40
Joined: Wed Jul 27, 2022 3:11 am

Re: ZxToken and peek commands with ZX80

Post by Creator »

XavSnap

Yes, that will make my life just a bit easier ! Thank you.
Post Reply