Search found 1943 matches
- Thu Feb 15, 2024 4:22 pm
- Forum: GAMES
- Topic: how to make something intentionally crappy for the CGC 2024
- Replies: 24
- Views: 7438
Re: how to make something intentionally crappy for the CGC 2024
Good job Dr. Beep !
Moving a finger is going to be an Olympic discipline
- Thu Feb 15, 2024 2:10 am
- Forum: ZX BASIC
- Topic: Tricks in BASIC
- Replies: 57
- Views: 123157
Re: Tricks in BASIC
Compess the D_file in 1,2 or 16k:
Set the RAM_TOP TO 1k or 2k:
ZX81: (1K)
POKE 16389,68
NEW
TS1000: (2K)
POKE 16389,72
NEW
Or in 16k BASIC (only 22 lines)
Set the RAM_TOP TO 1k or 2k:
ZX81: (1K)
POKE 16389,68
NEW
TS1000: (2K)
POKE 16389,72
NEW
Or in 16k BASIC (only 22 lines)
Code: Select all
1 PRINT "HELLO"
2 STOP
10 FOR A=1 TO 22
20 SCROLL
30 NEXT A
60 SAVE "P"
70 RUN
- Thu Feb 15, 2024 2:05 am
- Forum: ZX BASIC
- Topic: shorten basic files saved to wespi
- Replies: 5
- Views: 1737
Re: shorten basic files saved to wespi
Compressed D_File:
https://www.sinclairzxworld.com/viewtop ... 301#p54301
In VB81 XuR, 9999 SAVE"P.TXT"
Or "ZXtocken", PtoText ...
https://www.sinclairzxworld.com/viewtop ... 301#p54301
In VB81 XuR, 9999 SAVE"P.TXT"
Or "ZXtocken", PtoText ...
- Sun Feb 11, 2024 12:39 am
- Forum: GAMES
- Topic: Falling Balls
- Replies: 1
- Views: 1461
Re: Falling Balls
Tanks Greg !
- Sat Feb 10, 2024 4:25 am
- Forum: ZX BASIC
- Topic: Eight ways to drive a car [BASIC]
- Replies: 2
- Views: 1641
Re: Eight ways to drive a car [BASIC]
ASM: 1 REM [HEX:\ 2A,16,40,23,23,46,23,4E,E5,CD,F5,08,E1,23,18,05,\ 2A,16,40,23,23,7E,D6,1C,32,21,40,ED,5B,0E,40,4F,\ 3E,21,91,4F,06,00,ED,43,7B,40,23,7E,FE,0B,28,0F,\ 3A,21,40,4F,ED,B0,E5,2A,7B,40,19,EB,E1,18,EC,CD,\ 5B,00 ] 10 FOR A=0 TO 22 20 PRINT AT 10,A;;USR 16530;"\ A\ µµ««´± \ «««««««®\ ¾‹OŒ...
- Sat Feb 10, 2024 4:06 am
- Forum: ZX BASIC
- Topic: Eight ways to drive a car [BASIC]
- Replies: 2
- Views: 1641
Re: Eight ways to drive a car [BASIC]
Code: Select all
10 LET A$=" µµ««´± «««««««® ¾‹OŒ´´‹OŒ"
20 FOR A=0 TO 22
30 PRINT AT 10,A;A$(1 TO 9);AT 11,A;A$(10 TO 19);AT 12,A;A$(20 TO 29)
40 NEXT A
- Sat Feb 10, 2024 3:53 am
- Forum: ZX BASIC
- Topic: Tricks in BASIC
- Replies: 57
- Views: 123157
Re: Tricks in BASIC
"ON N GOTO 1250,2000,4500,6001,2000,4500,6001" IF you can't use a GOTO N... Example: #Regular code: 10 IF N=1 THEN GOTO 1250 20 IF N=2 THEN GOTO 2000 30 IF N=3 THEN GOTO 4500 40 IF N=4 THEN GOTO 6001 50 IF N=5 THEN GOTO 2000 60 IF N=6 THEN GOTO 4500 70 IF N=7 THEN GOTO 6001 80 STOP Use this code: 11...
- Thu Feb 08, 2024 9:12 pm
- Forum: ZX BASIC
- Topic: Eight ways to drive a car [BASIC]
- Replies: 2
- Views: 1641
Eight ways to drive a car [BASIC]
How to print a car, and scroll it to the right side... Cap0000.jpg PRINT AT: 10 FOR A=0 TO 22 20 PRINT AT 10,A;" µµ««´±";AT 11,A;" «««««««®";AT 12,A;" ¾‹OŒ´´‹OŒ" 30 NEXT A TAB : 10 FOR A=0 TO 22 20 PRINT AT 10,A;" µµ««´±";TAB A;" «««««««®";TAB A;" ¾‹OŒ´´‹OŒ"; 30 NEXT A LET: 1 DIM T$(3,64) 2 LET T$(1...
- Thu Feb 08, 2024 9:00 pm
- Forum: ZX BASIC
- Topic: Tricks in BASIC
- Replies: 57
- Views: 123157
Re: Tricks in BASIC
Booleans in BASIC:
Code: Select all
5 LET FALSE=0
7 LET TRUE=1
9 LET B=0
10 LET A=TRUE
20 IF A>0 THEN LET B=B+1
30 LET B=B+1*(A>0)
35 LET B=B+(A>0)
40 LET B=B+NOT NOT A
45 PRINT "A IS ";("TRUE") AND A;("FALSE") AND NOT A,,,,
50 PRINT "BOOL SUM=";B
- Tue Jan 02, 2024 1:22 pm
- Forum: ZX BASIC
- Topic: Put a Graphic bloc on a screen...[ASM]
- Replies: 1
- Views: 2432
Re: Put a Graphic bloc on a screen...[ASM]
Another way to display a bloc...
Download the Greg's game here
Download the Greg's game here