Search found 44 matches

by Math123
Fri Dec 23, 2022 10:18 am
Forum: GAMES
Topic: Christmas game EVEN-TREE
Replies: 0
Views: 1413

Christmas game EVEN-TREE

This is a Christmas version of EVEN-WINS. You decorate your Christmas-Tree against the ZX81. There are 27 Christmas-Balls. In turns you pick 1 to 4 Balls and put them on your tree. Then the ZX81 does the same on its tree. Wenn all balls are taken, the game ends. You win if your tree has an even numb...
by Math123
Sun Dec 26, 2021 10:01 am
Forum: Development
Topic: Seasons Greetings: A christmas tree for Sinclair computers
Replies: 6
Views: 2227

Re: Seasons Greetings: A christmas tree for Sinclair computers

This is the source with assembler and batchfile included...
xmas2021.zip
(114.37 KiB) Downloaded 127 times
For the image you need a program to generate and modify the bmp-file (image.bmp) and a converter to make it a text file (image.asm).
by Math123
Sat Dec 25, 2021 9:37 pm
Forum: Development
Topic: Seasons Greetings: A christmas tree for Sinclair computers
Replies: 6
Views: 2227

Re: Seasons Greetings: A christmas tree for Sinclair computers

xmas2021.p
(8.01 KiB) Downloaded 144 times
Same greetings in HRG...
by Math123
Wed Jul 21, 2021 4:35 pm
Forum: ZX BASIC
Topic: T2P.EXE
Replies: 9
Views: 3580

Re: T2P.EXE

On the other hand if you would like to have a variable with name COS or any other keyword-like name then you can use the "Ghost"- character "|" to prevent t2p from detecting the keyword. To get: 10 LET COS = 33 20 PRINT COS COS enter: 10 LET C|OS = 33 20 PRINT COS CO|S t2p ignores the "|" in the tra...
by Math123
Mon Jul 19, 2021 7:04 am
Forum: ZX BASIC
Topic: T2P.EXE
Replies: 9
Views: 3580

Re: T2P.EXE

In Strings and Rem-Lines t2p pretends to interpret any text as simple letters. Using the hexvalue of the wanted token is the clue.

As the ZX81 manual tells the code of COS is C8.
So this should work:
10 LET A$="\c8 1"
by Math123
Fri Apr 30, 2021 5:21 pm
Forum: ZX BASIC
Topic: Can't make anything fit into 1K... or is it me?
Replies: 31
Views: 11782

Re: Can't make anything fit into 1K... or is it me?

I tried to run your program on EightyOne with 1k.
Can load it but it uses too much of the screen.
On a 16k setting it seems to run.

If you really want to program for the 1k Memory then you have to modify a lot.
by Math123
Fri Apr 30, 2021 4:52 pm
Forum: ZX BASIC
Topic: Can't make anything fit into 1K... or is it me?
Replies: 31
Views: 11782

Re: Can't make anything fit into 1K... or is it me?

If you use t2p then you must use switch -d with calling. This minimizes the DFILE. Very importsnt for 1k ZX81s.
Matthias
by Math123
Mon Apr 05, 2021 6:48 pm
Forum: ZX BASIC
Topic: T2P.EXE
Replies: 9
Views: 3580

Re: T2P.EXE

Sure. Just try the original sources.
I will publish my source file shortly. Just need to do some errorfixing...
by Math123
Thu Apr 01, 2021 8:11 pm
Forum: ZX BASIC
Topic: T2P.EXE
Replies: 9
Views: 3580

Re: T2P.EXE

Like the old version http://freestuff.grok.co.uk/zxtext2p/index.html written in C.
by Math123
Thu Apr 01, 2021 4:08 pm
Forum: ZX BASIC
Topic: T2P.EXE
Replies: 9
Views: 3580

T2P.EXE

I made T2P.EXE which is a new version of the ZXtext2P.EXE program. It lets you write ZX81 Basic files with a text editor on your PC and translate it to a P-file. This new version has a lot of corrections and a number of surprising additions. First of all there is no need to select lable-mode or numb...