-
ZX81 Basic questionI just got a ZX81 off Ebay and when it arrived it has an Atari joystick hardwired into it. It does work as moving the joystick replicates certain key…
... programming and would use the Inkey$ command
Thanks, here ... -
AND,XOR,OR,BIT,RES,SET,CPL,NEG,RLC,RRC,SLA,SRL,RL, RR,SRA for BASICAs this was drifting away from the original INKEY$ thread I thought that I'd create a new one. So here's a routine to provide all of the above mentio…
... drifting away from the original INKEY$ thread I thought that I ... -
Help preserving a tapeHi! I got hold of three cassetes each containing unique Greek Spectrum programs of 1983-1984. I managed to tzx two of them but all my attempts of p…
... file:CHARACTER ARRAY
nomefile:* INKEY$@@@@* ( 150 , 158 , 154 , 132 , 158 ... -
Noob needs helpSorry gents but decided to have a play with basic...see if I could knock up a shonky as hell space invader type game I seem to have gotten myself co…
... it
4) does an inkey$ to capture left, right or ... -
countdown timer ?just curious if there was a pre-made one about that I could use to count down from 999 to 0. in MC / under interrupt, that returns to basic? but how…
... />
.. use IN instead of INKEY etc ?
the rest ... -
Keyboard problem...Hi Folks, I have hit a problem in MRT and I cannot see how to get around it. Please allow me to explain. I have a list of items from which one can…
... I hear you cry, use INKEY$ or read LAST K directly ... I use LAST K or INKEY$ then when I press ENTER ... reads the keyboard again (using INKEY$) but acts like ENTER has ... a PAUSE 0 before the INKEY$ statement in the loop above ... -
What is the best way to detect CAPS LOCK?Hi Folks, Not sure what the correct behaviour is here as I do not have access to a real Spectrum. Under BASin, when you press CAPS LOCK on the PC k…
... from within one (e.g. INKEY$). I am not suggesting this ... /> [CODE]100 LET a=CODE INKEY$
110 PRINT AT 0 ... -
problems with rndGot past the whole INKEY$ issue and now am trying to pin down the combat section of the game. got a basic combat routine however, when i try and gen…
Got past the whole INKEY$ issue and now am trying ... -
WibbleBibble's Basic threadHi in an attempt to keep my questions from spamming the forum. I think its better to put them all in one place. Thanks everyone so far, I feel I am …
... ,C;"*"
50 LET A$=INKEY$: IF A$="" THEN GO TO ... -
Using FOR/NEXT like 'while'I don't know if this has already been discussed (I did search, but the search engine didn't like the word 'while'), but here's a way of using a FOR/N…
... )+a$(1): LET i=INKEY$="e" OR INKEY$="E": FOR d=0 ... been met (LET i=INKEY$="e" or INKEY$="E").
I ... -
Loading basic from basic?Hi Guys, Could you please help me. I want to create a menu on my plus 3 disks. If I use the line below I just get "c nonsense in basic" if inkey$…
... in basic"
if inkey$ = "1" then load "aprog.bas ... -
BIFROST* example: "Knights & Demons DX" source codeA package containing the source files of our multicolor game "Knights & Demons DX" is now available for download [URL="http://www.mediafire.com/?hbch…
... movement
350 LET k$=INKEY$ ' read key
IF (k ... disabling BIFROST*
600 IF INKEY$"" THEN GO TO 600: END ... IF
610 IF INKEY$="" THEN GO TO 610: END ... -
GEDit syntax highlighting for Boriel's ZX BasicHi! I just tailored this syntax highlighting code and would like to share with he community. Suggestions are always welcome, though the file works w…
SpecBAS 0.802 Released!Hi folks - It's that time again when I release the latest round of features and bugfixes to SpecBAS :) New for this version are ZONEs which act ver…
... of 0 to 360
INKEY$ now picks up other keys ... ) cleared the keybuffer inappropriately, causing INKEY$ to lose keys
In ...3D Games in SpecBAS!Not really :) Actually, yes - here's a type-in for you: MontyMole's "Crap Castle Master" [code] ZXASCII AUTO -1 PROG CrapCastleMaster 1 REM Crap Ca…
Not really :)
Actually, yes - here's a type-in for you: MontyMole's "Crap Castle Master"
[code]
ZXASCII
AUTO -1
PROG CrapCastleMaster
1 REM Crap Castle Master by A Lycett adapted to SpecBAS
5 WINDOW ...Game of Life.Last year (I think) or maybe the year before, I entered a Game of Life simulator into the CSS CGC compo but for the Sinclair ZX81. I decided to port…
Raycasting (3D Games!) with SpecBAS<div><font face="Arial, Verdana"><span style="font-size: 13.3333330154419px; line-height: normal;">Here's one I wrote just recently. I wanted to see …
Here's one I wrote just recently. I wanted to see if SpecBAS can handle a raycasting engine - which doesn't mean doom-style texture mapping (though I may try that later!) but a rather nice algorithm that matches nicely up with the old "3D Maze" games you ...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…
... on screen
2068 IF INKEY$="p" THEN GO TO 3800 ... playback routine.
2070 IF INKEY$="g" THEN LET v=v ... +1
2075 IF INKEY$="v" THEN LET v=v ... an idea
2121 IF INKEY$="r" THEN PAUSE 5: LET ... waveform graphic
2232 IF INKEY$="f" THEN LET f=f ...What am I doing wrong here?[code]IF INKEY$=SCREEN$ (21,4) THEN LET SCORE=SCORE+1[/code] It's delivering a positive every time.
[code]IF INKEY$=SCREEN$ (21,4) THEN LET SCORE=SCORE+1[/code]
It's delivering a positive every time.140 characters Basic game contestHey there, I've announced a new micro contest on my blog (in Czech language only). However, it might be interesting also for the non-Czech/Slovak …
Hey there,
I've announced a new micro contest on my blog (in Czech language only). However, it might be interesting also for the non-Czech/Slovak speaking people like most of you (I guess ;-) )
The contest is about making a ...A few questions about sound and keys in BASICIf I want sound in my BASIC game I have to use BEEP right ? It seems to lock up the CPU for far too long . On Arjun's page I found how to use CALL 94…
... BASIC since I use INPUT INKEY$="Q" for example. How do ...Xmas present from Hood:))Dear MB-02+ users, on my site[url="http://hood.speccy.cz"] http://hood.speccy.cz[/url] I have made quite significant update in download section. B…
... such poor conditions. Busy's INKEY is the new keyboard routine ..."ZX80 Brain" RPN CalculatorIt is at times like [url=https://www.worldofspectrum.org/forums/discussion/54176/depression]when threads such as this are posted[/url] that I get the…
... keypress with LET i=CODE INKEY$, then z(i) would hold ...SpecBAS 0.900 ReleasedAgainst my better judgement, here's 0.900. It's got lots and lots new, but mostly the new shiny is the editor. You can indent your code, you can e…
... legacy code files.
Fix INKEY$ and capslock
Proper fix ...
