Search found 6 matches

by AndrewH7
Sun Nov 22, 2015 10:58 pm
Forum: ZX BASIC
Topic: Tricks in BASIC
Replies: 54
Views: 114163

Re: Tricks in BASIC

I think NOT PI should = faster than PI-PI
& maybe CODE "$" faster than VAL "35"
LET A = A + A faster than A * 2
IF NOT A THEN faster than IF A <>0 THEN
0 = NOT PI
1 = SGN PI
3 = INT PI
Text within " " may include full words, press key for THEN & then other keys & delete THEN if not needed.
by AndrewH7
Mon Oct 19, 2015 11:20 am
Forum: WANTED
Topic: Joystick.
Replies: 1
Views: 5127

Re: Joystick.

I've 1, = Kemston type, (IN 31, machine code on ZX81), no out-side, either + plug or joystick's wires.
by AndrewH7
Fri Oct 16, 2015 11:42 am
Forum: ZX BASIC
Topic: A 24x34 XXL Display... My Demo is ready!
Replies: 9
Views: 12345

Re: A 24x34 XXL Display... My Demo is ready!

Just wondering if 40 across possible? or is it that the ZX81 not that fast? I was reading about ZX80 @ hotel & now know that in the same village some 1'd SuperBrain computer, which has 40 across, but @ the time I didn't've £1000+ to buy 1.
by AndrewH7
Thu Oct 15, 2015 4:20 pm
Forum: ZX BASIC
Topic: Tricks in BASIC
Replies: 54
Views: 114163

Re: Tricks in BASIC

NOT PI =0
SGN PI =1
INT PI =3

SAVE maybe included in program, then after loading from tape it carries on, so if you'd typed LET A=0 before then it'll still =0.
by AndrewH7
Thu Oct 15, 2015 4:01 pm
Forum: ZX BASIC
Topic: 1Kb programs???
Replies: 11
Views: 20170

Re: 1Kb programs???

Out of 1K there = also the screen, if nothing on it = 25 new-lines bytes, + something there, & uses 1 byte from left for each space there.
by AndrewH7
Thu Oct 15, 2015 3:21 pm
Forum: ZX BASIC
Topic: A 24x34 XXL Display... My Demo is ready!
Replies: 9
Views: 12345

Re: A 24x34 XXL Display... My Demo is ready!

I got a 33rd character on screen of my ZX81 by poking end-of-line 1+ something else, & always wondered if more than 32= possible.