-
IN command in BASIC to read keyboardThis weekend on a Sinclair meeting we had some BASIC-games using IN to control the character. The maker of the game assumed that the result of an IN …
I've been playing around with this today, see my thread in the emulators section also, and I've come up with this...
[code]
1 POKE 23658,8
10 GO SUB 9000
20 CLS : LET x=15: LET y=11: LET ox=15: LET oy=11
30 PRINT ... -
Writing for MultifaceI was just wondering, is it possible to write a BASIC program, compile it and use the Multiface to run it? I'd like to write a small util to edit te…
... TO 100
220 IF INKEY$="X" AND ADDRESS0 THEN LET ... TO 100
240 IF INKEY$="M" AND ADDRESS -
Good hobby, not so good start!Hi there, I'm new here and am extrrrremely sorry if I'm asking something that has been covered before/is obvious, although I did have a nosy about a…
... pressing W to bring up INKEY$. Press ENTER.
3 ... -
Good hobby, not so good start!Hi there, I'm new here and am extrrrremely sorry if I'm asking something that has been covered before/is obvious, although I did have a nosy about a…
... pressing W to bring up INKEY$. Press ENTER.
3) RUN ... didn't know the LOAD INKEY$ workaround.... :( -
And now for another ASPARTAME ![url="http://www.holisticmed.com/aspartame/"]http://www.holisticmed.com/aspartame/[/url] [url="http://www.dorway.com/"]http://www.dorway.com/[/url] …
And now for another ASPARTAME ![url="http://www.holisticmed.com/aspartame/"]http://www.holisticmed.com/aspartame/[/url] [url="http://www.dorway.com/"]http://www.dorway.com/[/url] …
And now for another ASPARTAME ![url="http://www.holisticmed.com/aspartame/"]http://www.holisticmed.com/aspartame/[/url] [url="http://www.dorway.com/"]http://www.dorway.com/[/url] …
Machine Code QuestionHi All Not sure if this is the right place for this but it seems closest. Am starting to read the Toni Baker Intro to Machine Code book and its ver…
... />
LET X=X+(INKEY$="P")-(INKEY$="O")
to move ... , the second to 0 (as INKEY$ "O") and the statement becomes ...Homing missile routine - help neededI am attempting to write a routine which will allow a missile to home in on a player. Basically the sort of thing you see in most shoot-em-up games. …
... mx,my
220 IF INKEY$="q" THEN LET py=py ... +2
221 IF INKEY$="a" THEN LET py=py ... -2
222 IF INKEY$="o" THEN LET px=px ... -2
223 IF INKEY$="p" THEN LET px=px ...Homing missile routine - help neededI am attempting to write a routine which will allow a missile to home in on a player. Basically the sort of thing you see in most shoot-em-up games. …
... mx,my
220 IF INKEY$="q" THEN LET py=py ... +2
221 IF INKEY$="a" THEN LET py=py ... -2
222 IF INKEY$="o" THEN LET px=px ... -2
223 IF INKEY$="p" THEN LET px=px ...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…
... \s\s"
110 IF INKEY$="5" THEN LET r=r ... -1
120 IF INKEY$="8" THEN LET r=r ...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…
... 4 lines like
IF inkey$="q" AND y>0 ... =y-(Inkey$="q" AND y>0)+(Inkey$="a" AND y0)+(Inkey$="p ...ANN: SP1 for Z88DK (aka splib3, Sprite Pack v3.0)Well it's finally arrived, after a month of "a few days from now" release deadlines. SP1 is the lastest version of splib, a flicker-free software sp…
... ]
in_Inkey() works like inkey$ in Basic: it returns the ...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=Philip Kendall]Ummm... wouldn't just "Press any key at exactly 09:30" and INKEY$ be easier?[/QUOTE]
Not when you've got a cat walking about... and PAUSE NOT PI would be better than waiting for INKEY$ not to be empty.z88dkHello. I'm an spanish user of spectrum (and naturaly of this page). I have a question. I want to start to program games with z88dk, but I need a goo…
... ):
in_Inkey() works like inkey$ and getk, returning a single ...Print routine for BASIC (or BASin)For anyone interested there's a crappy binary here to print characters from BASIC at pixel positions. Import the binary at 60000, USR 60000 to initia…
... ! Forgot to mention something about INKEY$ #4 serving a purpose too ... direct replacement for the normal INKEY$ as is for checking for ...Noob to Z80 needing +3 helpI'm quite new to z80 programming, but i'm attempting to write some kind of windowing system that will run alongside BASIC on my +3 with Kempston mous…
... read return data with an INKEY$#n (I think it is ...Cool BASIC tricks and tips!Following on from Dunny's excellent suggestion of a compendium of BASIC tips + tricks, I believe it would be better to have a topic dedicated to it. …
... ,P using IN instead of INKEY$?
I know my cousing ... couldn't be done with inkey$.Cool BASIC tricks and tips!Following on from Dunny's excellent suggestion of a compendium of BASIC tips + tricks, I believe it would be better to have a topic dedicated to it. …
... ,P using IN instead of INKEY$?
I know my cousing ... couldn't be done with inkey$.[/QUOTE]
Not for the ...Cool BASIC tricks and tips!Following on from Dunny's excellent suggestion of a compendium of BASIC tips + tricks, I believe it would be better to have a topic dedicated to it. …
... ,P using IN instead of INKEY$?
I know my cousing ... couldn't be done with inkey$.[/quote]
See [URL ...Lost and Harrison FordHas anyone else noticed that characters from lost use line spoken by Harrison Ford in his films, I've only noticed Star Wars/Indiana Jones ones, am I…
Hows this for a coincidence?
[url]http://www.powells.com/cgi-bin/biblio?inkey=2-9781853104336-2[/url]Little BASIC gameTry to make all standard BASIC-errors and tell us how you did it. Not allowed i.e. : PRINT USR 1362 D - Break cont-repeats but ok 10 GO TO 10 RU…
10 SAVE INKEY$ CODE CODE INKEY$, CODE INKEY$
might give:
F Invalid file name, 10:0
or it might work. Depends on how quick you are pressing ENTERGetting scr addresses from x and yCould someone please tell me how to calculate the 8 screen addresses corresponding to a character printed in basic at coordinates x and y? For examp…
... PAUSE 0
3140 IF INKEY$="q" THEN LET y=y ... y=0
3160 IF INKEY$="o" THEN LET x=x ...Getting scr addresses from x and yCould someone please tell me how to calculate the 8 screen addresses corresponding to a character printed in basic at coordinates x and y? For examp…
... )*32)))
3140 IF INKEY$="q" THEN LET y=y ... =(31-a)
3172 IF INKEY$=" " THEN PRINT #1;AT ... )*32)))
4140 IF INKEY$="q" THEN LET b=b ... RETURN
4140 IF INKEY$="q" THEN LET y=y ... RETURN
4240 IF INKEY$="q" THEN LET b=b ...Getting scr addresses from x and yCould someone please tell me how to calculate the 8 screen addresses corresponding to a character printed in basic at coordinates x and y? For examp…
... br />
4140 IF INKEY$="q" THEN LET y=y ... 1
4160 IF INKEY$="o" THEN LET x=x ... x-1
4172 IF INKEY$=" " THEN PRINT #1;AT ... br />
4240 IF INKEY$="q" THEN LET b=b ... 1
4260 IF INKEY$="o" THEN LET a=a ... a-1
4272 IF INKEY$=" " THEN PRINT #1;AT ...New Spectrum Game! Cannon BubbleAs some of you already know, our new game "Cannon Bubble" is available to download in our web page! Go get it and don't forget to tell us what you th…
... 23658,0 : PAUSE 0 : IF INKEY$ "y" THEN POKE 32828,0 ...Bubble Bobble EditI thought I might have a go at editing Bubble Bobble myself after reading this... [url]http://www.worldofspectrum.org/forums/showthread.php?t=15452[…
... function is missing it's INKEY$ command, so you'll have ...
