Search found 43 matches

by SafePit
Thu Jan 11, 2024 6:03 am
Forum: Sinclair Misc
Topic: ZXzine #10 is available
Replies: 3
Views: 721

Re: ZXzine #10 is available

Fun. Thanks for sharing! I fiddled with the mouse program and found it worked pretty well with some modifications to the BASIC. I'll probably play some more to see if I can make something of it.
by SafePit
Thu Sep 07, 2023 7:04 am
Forum: Hardware
Topic: ZXtended 81 nearly there...
Replies: 3
Views: 774

Re: ZXtended 81 nearly there...

Looks great!
by SafePit
Sat May 06, 2023 2:14 am
Forum: ZX BASIC
Topic: String Arrays
Replies: 7
Views: 5287

Re: String Arrays

One way to trim. This is a single DIM, but would work with any multiple.

5 DIM A$(5)
10 INPUT A$
20 FOR A=LEN A$ TO 1 STEP -1
30 IF A$(A)<>" " THEN GOTO 50
40 NEXT A
50 PRINT A$( TO A);"."
by SafePit
Sun Apr 30, 2023 5:32 pm
Forum: GAMES
Topic: New ZX81 Games
Replies: 363
Views: 682241

Re: New ZX81 Games

Name of Software: 81-tris Author: Salvacam Release Date: 25/04/2023 Requirements (eg. 1K, 16K, AY Card, Hi-Res Scheme): 16K Description: The classic Tetris game with two game modes, redefinable keys and pause. In arcade mode it changes screen when you do 10 lines Nice version. Arcade mode was fun.
by SafePit
Sat Apr 22, 2023 5:22 pm
Forum: Emulators
Topic: Best Mac emulator?
Replies: 15
Views: 5196

Re: Best Mac emulator?

kolbeck wrote: Thu Apr 20, 2023 9:55 pm Also zxsp-0-8-33-beta is available here: https://k1.spdns.de/Develop/Projects/zx ... ributions/

Runs on Mac M1 as well.
Runs great on my M1! And the little bug with the line showing is gone. Thanks for the update!
by SafePit
Sun Apr 16, 2023 8:04 am
Forum: Development
Topic: Flickerfree screenupdates on the ZX81
Replies: 8
Views: 1568

Re: Flickerfree screenupdates on the ZX81

That's elegant. I'll give it a try in my animations. Do you still need a buffer for full displays?
by SafePit
Fri Apr 14, 2023 3:23 am
Forum: ZX BASIC
Topic: Is is possible for INPUT to have a default value?
Replies: 19
Views: 6840

Re: Is is possible for INPUT to have a default value?

I threw this together with examples. Input code is line 1000. Forgot to put a maximum line and needs optimized. I wouldn't touch type with this, but speed is bearable. 10 REM **DEF-INPUT**SLR/2023** 20 REM **SET A DEFAULT VALUE** 30 GOSUB 750 40 PRINT "WHAT IS YOUR FAVORITE COLOR?" 50 GOSUB 1000 60 ...
by SafePit
Fri Apr 14, 2023 3:00 am
Forum: ZX BASIC
Topic: Is is possible for INPUT to have a default value?
Replies: 19
Views: 6840

Re: Is is possible for INPUT to have a default value?

Yes, I already did this but it was so slow even after optimising it as far as possible. I managed to write a really elegant solution but the problem was that printing the output after each keypress took 90% of the execution time. It made the program unusable so I tried it with INPUT instead and tha...
by SafePit
Wed Apr 12, 2023 7:08 am
Forum: ZX BASIC
Topic: Is is possible for INPUT to have a default value?
Replies: 19
Views: 6840

Re: Is is possible for INPUT to have a default value?

SafePit wrote: Wed Apr 12, 2023 5:37 am Or you can build your input routine using INKEY$.
Ignore, saw you tried that already. I built my own routine and it had pretty decent speed, but I hadn't implemented all the math symbols.

Is an interesting challenge. I'll be curious how you hack the ROM code to get this to work as you expect.
by SafePit
Wed Apr 12, 2023 5:37 am
Forum: ZX BASIC
Topic: Is is possible for INPUT to have a default value?
Replies: 19
Views: 6840

Re: Is is possible for INPUT to have a default value?

Or you can build your input routine using INKEY$.