-
UDG/sprite HelpRestore 5: For N=20 To 21: Read G$: For R=0 To 7: Read B: Poke Usr G$+r,b: Next R: Next N
Restore 5: For N=20 To 21: Read G$: For R=0 To 7: Read B: Poke Usr G$+r,b: Next R: Next N -
Amazing Short Type-InsHey all ! Been having some pretty stressfull days lately so I tought I would type in some games. There was a very nice type-in book here in Slovenia…
... =0 TO 7: READ t: POKE USR "a"+f,t: NEXT f ... -
List of POKEs and PEEKs/cool memory addressesI was wondering if there was a list of cool memory addresses to POKE and/or PEEK. For example, I know that PEEK 23674 tells you how long a Speccy has…
... of cool memory addresses to POKE and/or PEEK. For example ... the manual :-D ) and that POKE USR "P" through "P"+7 are ... -
Game OptimisationBelow is a section of code Im using for movement enermy display and collision detect. What happens is that you move the sight with ,.qa and space do…
...
280 POKE USR "A"+0,BIN 00011000
290 POKE USR "A"+1 ... ,BIN 00011000
300 POKE USR "A"+2 ... ,BIN 00000000
310 POKE USR "A"+3 ... ,BIN 11000011
320 POKE USR "A"+4 ... -
UDG's and BASinJust a noob question about BASin or Basic in general When I try and create UDG's using POKE USR "a"+0,BIN 10111100 etc. After the program is run, it…
Just a noob question about BASin or Basic in general
When I try and create UDG's using POKE USR "a"+0,BIN 10111100 etc.
After the program is run, it leaves a '%' at the start of every line of digits.
What am I doing wrong? -
Large UDG'sHi, Can anyone help? I have designed a character that uses UDG's A to N. I have tried to use the following structure: 10 FOR l = 0 to 111 20 READ …
... /> 20 READ v
30 POKE USR "a" +l,v
40 ... -
The curious case of the vanishing zerosRight, I'm back for more help guys This time I think I've figured out the code ok....but still it fails - well it works but only once... Basically …
... worked out how to use POKE USR commands to create a crude ... the player graphics
170 POKE USR "p"+0,BIN [B]0 ... ]0[/I]011000
180 POKE USR "p"+1,BIN [B]0 ... ]0[/I]011000
190 POKE USR "p"+2,BIN [B]1 ... ]1[/I]111111
200 POKE USR "p"+3,BIN [B]0 ... -
Couple of basic BASIC questionsPlaying around with BASin again in an effort to knock up a game and am wondering 2 things 1) Why when I run the program do my UDGs not always pick u…
... the UDG definitions (all that poke usr stuff) in at the top ... -
Help With AY Music Program in BASICHi, last year I started writing a BASIC program for making and recording AY Music. I thought it would be easier than learning how to use Soundtracker…
... 32 READ y
34 POKE USR "b"+x,y: REM Custom ... 102 READ y
104 POKE USR "i"+x,y: REM Volume ... 112 READ y
114 POKE USR "j"+x,y: REM Volume ... 182 READ y
184 POKE USR "q"+x,y: REM Pause ... 202 READ y
204 POKE USR "s"+x,y
206 ... -
Elon Musks's Blastar (Conversion)Back in 1984, the 12 year old Elon Musk wrote a rudimentary video game for his SpectraVideo SV-328 (another Z80 Microcomputer) [url="https://www.t…
Back in 1984, the 12 year old Elon Musk wrote a rudimentary video game for his SpectraVideo SV-328 (another Z80 Microcomputer)
[url="https://www.theverge.com/2015/6/9/8752333/elon-musk-blastar-pc-game"]https://www.theverge.com/2015/6/9/ ... -
De zeven sleutels van TARKUSI've decided to type in the game "De zeven sleutels van TARKUS" from a book I have for many years now. And, it seems the game as it was printed in…
I've decided to type in the game "De zeven sleutels van TARKUS" from a book I have for many years now.
And, it seems the game as it was printed in the book, didn't work.
So there are some modifications in there to make it work ... -
UDG/sprite HelpRestore 5: For N=20 To 21: Read G$: For R=0 To 7: Read B: Poke Usr G$+r,b: Next R: Next N
... /> POKE USR "A"+1, BIN 10000001
POKE USR "A"+2, BIN 10000001
POKE USR ... "A"+3, BIN 10000001
POKE USR ... "A"+4, BIN 10000001
POKE USR ... -
UDG/sprite HelpRestore 5: For N=20 To 21: Read G$: For R=0 To 7: Read B: Poke Usr G$+r,b: Next R: Next N
... /> POKE USR "A"+0, BIN 11111111
POKE USR "A"+1, BIN 10000001
POKE USR ... "A"+2, BIN 10000001
POKE USR ... "A"+3, BIN 10000001
POKE USR ... -
UDG/sprite HelpRestore 5: For N=20 To 21: Read G$: For R=0 To 7: Read B: Poke Usr G$+r,b: Next R: Next N
... /> POKE USR "A"+0, BIN 11111111
POKE USR "A"+1, BIN 10000001
POKE USR ... "A"+2, BIN 10000001
POKE USR ... "A"+3, BIN 10000001
POKE USR ... -
In need of a Poke (ooer!)Back in my very basic Basic days, machine code was a scary thing. I think I advanced as far as 'LD HA' (or something!) before giving up. However, so…
vaguley remember something like POKE USR "A+x" x= a number < ... -
UDG/sprite HelpRestore 5: For N=20 To 21: Read G$: For R=0 To 7: Read B: Poke Usr G$+r,b: Next R: Next N
... =0 TO 7: READ B: POKE USR G$+R,B: NEXT R ... -
String slicing for UDG definitionHey everyone. Got a bit of a string slicing/string to variable conversion problem. 10 let a$="01100110" 20 let pokevalue=???? What expression do I…
let a$="1000":poke usr "f",val ("BIN"+a$)
???
but why ? -
String slicing for UDG definitionHey everyone. Got a bit of a string slicing/string to variable conversion problem. 10 let a$="01100110" 20 let pokevalue=???? What expression do I…
Exactly my thoughts...
To me it always was POKE USR "a" + n, BIN 01100110 et al... -
Amazing Short Type-InsHey all ! Been having some pretty stressfull days lately so I tought I would type in some games. There was a very nice type-in book here in Slovenia…
... =0 TO 7: READ s: POKE USR "a"+n,s: NEXT n ... =0 TO 7: READ s: POKE USR "s"+n,s: NEXT n ... ; INK 0;w
160 POKE 23692,0
170 IF ... -
Lesser used BASIC commandsAre there any interesting articles or books that explore some of the lesser used BASIC commands/functions e.g. DEF FN, IN, OUT etc? The Spectrum BAS…
... call yourself a Speccy enthusiast. POKE USR "A",BIN 01111110 ring any ... wimps. The real men use POKE USR "A", 126. That'll put ... -
Lesser used BASIC commandsAre there any interesting articles or books that explore some of the lesser used BASIC commands/functions e.g. DEF FN, IN, OUT etc? The Spectrum BAS…
[QUOTE=monty.mole]Nah, BIN is for wimps. The real men use POKE USR "A", 126. That'll put hairs on your chest. ;)[/QUOTE]
Ah. That explains it then.:oops: -
Lesser used BASIC commandsAre there any interesting articles or books that explore some of the lesser used BASIC commands/functions e.g. DEF FN, IN, OUT etc? The Spectrum BAS…
... loop, with a READ data: POKE USR "A"+X,n, and store ... /> FOR f=USR "A" TO USR "A"+7: READ n: POKE f,n ... -
Font centering problemA while back today, I started coding a simple Othello/Reversi game in BASIC, with the precious aid of BASin (great tool, hope it eventually becomes b…
... )
240 POKE USR "A"+i,low
250 POKE USR "B"+i, (v ... character and use it to poke the right and left parts ... -
Game OptimisationBelow is a section of code Im using for movement enermy display and collision detect. What happens is that you move the sight with ,.qa and space do…
...
280 POKE USR "A"+0,BIN 00011000
290 POKE USR "A"+1 ... ,BIN 00011000
300 POKE USR "A"+2 ... ,BIN 00000000
310 POKE USR "A"+3 ...
380 POKE USR "B"+0,BIN 00000000
390 POKE USR "B"+1 ... -
Game OptimisationBelow is a section of code Im using for movement enermy display and collision detect. What happens is that you move the sight with ,.qa and space do…
...
210 POKE USR "A"+0,BIN 00011000
220 POKE USR "A"+1 ... ,BIN 00011000
230 POKE USR "A"+2 ... ,BIN 00000000
240 POKE USR "A"+3 ...
300 POKE USR "B"+0,BIN 00000000
310 POKE USR "B"+1 ...