World of Spectrum
  • Categories
  • Discussions
  • FAQ
  • Sign In
Home › Search
Title Search
@title beer Word 'beer' in title
User Search
  • @user admin Only posts by Admin
Text Search
  • @body beer Word 'beer' in the text
Phrase Search
"Hello World" Exact phrase match
Exclude Terms
  • car -red Search cars that are not red
"Or" Searches
  • honda | bmw 'honda' or 'bmw' results
Multi-Field
@(title,body) hello Both contain 'hello'
WildCard
  • hond* civ* Match all with an astrix
Combination
  • @title bmw @user admin
See more supported syntax examples
Search Again :: Adv Search 1000 results in 0.019s
<1…18192021222324…34>
  • question re. STR$ bugCould someone point me to whereabouts in the ROM this goes wrong? [code]PRINT PAPER 5;1;STR$ 234[/code] (Only the "1" prints in cyan.) It's not the m…

    [quote]The INKEY$# 0 error
    ( ... , so we would expect INKEY$# 0 to be similar ... in operation to INKEY$ (without a stream number). ... not the case, and INKEY$# 0 almost invariably produces ... Note also that calculator code 1A evaluates INKEY$#X (where X ...
    chev chev May 2012 Sinclair Basic
  • The Curlicue FractalSpotted a couple of fractal listings, that are new to me, over at [URL="http://oolong.co.uk/curlicue.htm"]http://oolong.co.uk/curlicue.htm[/URL] The …

    ... can try this:

    [code]
    10 PALETTE 0,128 ... IF INKEY$="" THEN GO TO 90
    160 RUN
    [/code]
    Dunny Dunny June 2012 Sinclair Basic
  • question re. STR$ bugCould someone point me to whereabouts in the ROM this goes wrong? [code]PRINT PAPER 5;1;STR$ 234[/code] (Only the "1" prints in cyan.) It's not the m…

    ... preservation in STR$ and INKEY$#n as documented by Battle ... I last worked on the code, which was essentially just ... 0:PRINT PAPER 5;"x";INKEY$#0;"y"

    ... thought I'd fixed the INKEY$#0 bug previously (where ... and/or canonical fix for INKEY#n when n is ...
    Jonathan Harston Jonathan Harston June 2012 Sinclair Basic
  • question re. STR$ bugCould someone point me to whereabouts in the ROM this goes wrong? [code]PRINT PAPER 5;1;STR$ 234[/code] (Only the "1" prints in cyan.) It's not the m…

    ... ("K" in the case of INKEY$) which, amongst other things, resets ... PRINT INKEY$#0;:GOTO 10

    Relevant bit of code:
    [code ... ' mode, also fixes INKEY#0 bug
    163C ;[/code]

    Now ...
    Jonathan Harston Jonathan Harston June 2012 Sinclair Basic
  • Official CSSCGC 2012 Competition Threadcsscgc2012 already got it's first entry (from R-Tape) :) So I'm almost forced to start the new official csscgc thread here. The official c.s.s Crap …

    ... game loop played out. Using inkey$ is ********, really ********. Pehaps I'm ... the main bit in machine code. It isn't compild basic ... set it correctly in machine code during my lunch hour at ... correctly.

    The machine code version isn't exactly bug ...
    spud spud June 2012 Games
  • 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…

    ... set upper case. So the INKEY$ and INPUT routines effectively read ... " or "desactivated" by ROM code, and such code is only found in ...
    na_th_an na_th_an July 2012 Sinclair Basic
  • 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…

    ... LET a = CODE INKEY$
    20 IF a = 6 ...
    40 GOTO 10
    [/CODE]

    works for me ...
    guesser guesser July 2012 Sinclair Basic
  • 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…

    ... /> [QUOTE=guesser;638800][CODE]
    10 LET a = CODE INKEY$
    20 IF ...
    40 GOTO 10
    [/CODE]

    works for me ...
    Encarnado Encarnado July 2012 Sinclair Basic
  • 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…

    [QUOTE=guesser;638800][CODE]
    10 LET a = CODE INKEY$
    20 IF a ...
    40 GOTO 10
    [/CODE]

    works for me ...
    Paddy Coleman Paddy Coleman July 2012 Sinclair Basic
  • 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…

    Using:
    [code] 1 LET i=CODE INKEY$: PRINT i,PEEK 23560
    ... PAUSE 0: GO TO 1+(CODE INKEY$=i)[/code]
    BASin actually displays ... codes returned by BASin for INKEY$/LAST_K also become out of ... the CapsLock light is off, INKEY$ returns (eg.) "A" but ...
    Battle Bunny Battle Bunny July 2012 Sinclair Basic
  • 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…

    ... LET i=PEEK 23560: PRINT CODE INKEY$,i
    2 PAUSE 0 ... TO 1+(PEEK 23560=i)[/code]
    in BASin (or ZXDS ...
    Battle Bunny Battle Bunny July 2012 Sinclair Basic
  • 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…

    ... LET i=PEEK 23560: PRINT CODE INKEY$,i
    2 PAUSE 0 ... TO 1+(PEEK 23560=i)[/code]
    in BASin (or ZXDS ... you get 6 returned from CODE INKEY$.

    Paddy
    Paddy Coleman Paddy Coleman July 2012 Sinclair Basic
  • 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…

    ... you get 6 returned from CODE INKEY$.[/QUOTE]

    Eh?! - but ...
    Battle Bunny Battle Bunny July 2012 Sinclair Basic
  • 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…

    ... LET i=PEEK 23560: PRINT CODE INKEY$,i
    2 PAUSE 0 ... TO 1+(PEEK 23560=i)[/CODE]

    * Spectaculator
    * BASin ...
    Paddy Coleman Paddy Coleman July 2012 Sinclair Basic
  • 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…

    ... ...

    [CODE]10 PAUSE 0 : LET a = CODE INKEY$
    20 IF ... $ a
    40 GOTO 10[/CODE]

    LAST_K should contain ... wrong...

    Your last code on real hardware:
    Run ...
    Encarnado Encarnado July 2012 Sinclair Basic
  • BIFROST* ENGINE 1.2 released!Another improved version of the BIFROST* ENGINE is now available! Download it here: [url]http://www.worldofspectrum.org/infoseekid.cgi?id=0027405[/u…

    ... /> [code]' initialization stuff trimmed... blah blah bla.

    While Inkey$ = ""
    Wend[/code]

    mx and my ...
    na_th_an na_th_an August 2012 Brand new software
  • Printing a ListingHello my fellow WoS'ers Todays trouble starts with the need to print-out a listing - personally I would prefer a text file, but beggars cannot be c…

    ... of the thread

    [code]
    Check 62D2D64D
    Auto ... CLOSE #15
    9030 IF INKEY$"" THEN GO TO 9030
    9040 IF INKEY$="" THEN GO TO 9040
    9080 RETURN
    [/code]

    It may help ...
    Zetr0 Zetr0 August 2012 Development
  • INKEY$ giving me troubleHello, I have been using BASin (great program by the way...) Sad though it seems during the typhoon here I have been re-learning my spec-skills an…

    ... 't laugh..lol) get INKEY$ to capture Y or y ... However, to do it with INKEY$ change line 35 to:

    35 LET Q$=INKEY$: IF Q$="" THEN GOTO 35 ... N
    210 LET Q$=INKEY$: IF Q$="" THEN GOTO ... from BASIC without requiring machine code:
    [url]http://www ...
    chev chev August 2012 Sinclair Basic
  • INKEY$ giving me troubleHello, I have been using BASin (great program by the way...) Sad though it seems during the typhoon here I have been re-learning my spec-skills an…

    ... easier to just use INKEY$ where required and eliminate ... Here is the source code...

    [CODE]1 REM BALIC ... :"
    35 LET Q$=INKEY$
    36 PAUSE 10 ... ):"
    107 LET Q$=INKEY$
    108 IF Q ... this:
    [CODE]
    35 LET Q$ = INKEY$
    36 REM ...
    Arjun Arjun August 2012 Sinclair Basic
  • INKEY$ giving me troubleHello, I have been using BASin (great program by the way...) Sad though it seems during the typhoon here I have been re-learning my spec-skills an…

    ... whole string part of the INKEY$ routine.[/QUOTE]

    Line ... by using:
    IF INKEY$"s" AND INKEY$"S" THEN GO TO ... get "key drift" whereby, because INKEY$ is re-evaluated each time ... checked and the more intervening code there is. Assigning a variable ...
    Battle Bunny Battle Bunny August 2012 Sinclair Basic
  • INKEY$ giving me troubleHello, I have been using BASin (great program by the way...) Sad though it seems during the typhoon here I have been re-learning my spec-skills an…

    ... /> [code]
    2 POKE 23658,0
    ...
    35 LET q$=INKEY ... /> 45 "yes" code
    ...
    55 "no" code
    [/code]
    So the ... variable).
    [code]
    n GO TO FN c()+(INKEY$="")
    n ...
    Battle Bunny Battle Bunny August 2012 Sinclair Basic
  • INKEY$ giving me troubleHello, I have been using BASin (great program by the way...) Sad though it seems during the typhoon here I have been re-learning my spec-skills an…

    ... work in optimization of the code and avoiding problems that would ... inputs.

    with setting INKEY$ to a beginning value also ... without some weird assembly opt code before.

    With the ... can be solved and the code base improved and refined in ...
    WibbleBibble WibbleBibble August 2012 Sinclair Basic
  • 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 …

    ... on my screen:

    [CODE]10 PAPER 7: INK 0 ... ,C;"*"
    50 LET A$=INKEY$: IF A$="" THEN GO TO ...
    Timmy Timmy August 2012 Sinclair Basic
  • 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 …

    ... shows...

    [CODE]
    LET A$ = INKEY$: IFA$="" THEN GOTO 50 ...
    [/CODE]

    :confused ...
    WibbleBibble WibbleBibble August 2012 Sinclair Basic
  • 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 …

    ... first time...)


    [CODE]
    100 GO SUB 1000 ... 2000
    210 LET A$=INKEY$
    220 LET C1=C ...
    WibbleBibble WibbleBibble August 2012 Sinclair Basic
  • 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 …

    ... INKEY$. This line of BASIC demonstrates the problem:
    [code ... ]10 PAUSE 0: LET a$=INKEY$: PRINT #0 ... ;AT 1,0;CODE a$,: GO ... turns out that the INKEY$ routine in the ROM ... calculate the correct graphics code or look it up ...
    Battle Bunny Battle Bunny August 2012 Sinclair Basic
  • 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 …

    ... ]wnnCUtfq7e8[/YOUTUBE]

    [CODE]
    10 LET D=1 ... br /> Defines a input stream, INKEY$ only worries about the first ... -1: RETURN
    [/CODE][YOUTUBE]n9r1OxncBRw[/YOUTUBE]
    < ... -1: RETURN
    [/CODE]
    [YOUTUBE]V1ELEuST5yY[/YOUTUBE]< ...
    WibbleBibble WibbleBibble August 2012 Sinclair Basic
  • 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 …

    ... for page 33...

    [CODE]
    10 REM CATCH
    WibbleBibble WibbleBibble August 2012 Sinclair Basic
  • 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 …

    ... . I understand.:)

    That code snippet is going to get ... outer space like...

    [CODE]
    10 REM CATCH
    WibbleBibble WibbleBibble August 2012 Sinclair Basic
  • 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 …

    ... of the screen.

    [CODE]
    5 GO SUB 2000 ...
    WibbleBibble WibbleBibble August 2012 Sinclair Basic
<1…18192021222324…34>

Latest Posts

  • I bought an accoustic guitar. How do you play it?
    Maroc's Other Projection on 9:55PM
  • Goodbye Z80
    moggy on 9:07PM
  • Happy 40th Birthday to the Amstrad CPC464!
    AndyC on 6:29PM
  • Another Birthday! The Game Boy Is 35!
    dm_boozefreek on 6:17PM
  • I am currently watching.....
    Antiriad2097 on 5:05PM
  • European Software Titles with an English version
    harriusherbartio on 12:06PM
  • How Do You Categorize Your Speccy Software and Games?
    harriusherbartio on 11:21AM
  • Fixed Speccy Software. And which games remained unfixed?
    harriusherbartio on 11:01AM
  • New video about S-video modification on Issue two 48K Spectrum.
    Renegade on April 21
  • Elusive Strategy Games done by the Smaller or less Prolific Software Houses.
    harriusherbartio on April 21

HitBox

Word Docs Hits
inkey 833 1.8K
code 41.6K 91.2K

Related Threads

  • Machine Code Sprites Example Code Using Char Based SystemBelow is my WIP code to do smooth screen wrapping sprites using char positions and offsets, as opposed to writing direct to a line (0-191) and shifti…
  • IM2 Machine Code Sprites Example Code Using Char Based SystemFurther to my earlier post, here are sprites running using char method with IM2 driving it<br /> <br /> Note, for 48k spectrum using TASM<br /> <br /…
  • Saving BASIC code as CODE... can't start programHi guys!<br /> <br /> I'm trying to create an adventure game for the Speccy in BASIC, called The Legend Of The Red Dragon.<br /> <br /> I'm using the…
  • Converting Basic code into machine codeIm just interested to know if I can converter a game I've written in basic into Machine code, Is their a program that can do this??
  • LOAD "" CODE in machine code/store 128 bank dataHow do you LOAD "" CODE from machine code?<br /> <br /> I have written the following MC routine that fits into a REM statement in a basic program.<br…
  • Code Masters' adventures: where are they?Please help to find Dizzy and Seymour sequels. Why their distribution is denied ?
  • LINE-routine and other nice pieces of codeThe line-topic came in the end with a nice piece of fast coding.<br /> <br /> I think that there might be more of these routines out there (where-eve…
  • Assembler code from tutorial, problem!I was wondering if anyone could help me decipher this z80 assembler code?<br /> <br /> ORG 60000<br /> LOAD 60000<br /> <br …
  • machine code basicsWondered if anyone can help me out. I have been playing round with some disassemblers (Zeus). And Machine code loaders.<br /> <br /> All I want to do…
  • Best way to codeHi,<br /> <br /> I've been using Zeus Assembler to code MC programs so far. Nothing fancy just the odd scroll left or animation stuff.<br /> <br /> W…

Related Searches

  • lowest memory for code
  • lowest memory position for machine code
  • lowest memory position machine code
  • lowest memory machine code
  • lowest memory code
  • code 16384
  • mastering machine code on your zx spectrum by toni baker
  • mastering machine code on your zx spectrum by toni baker disassembler
  • mastering machine code on your zx spectrum by toni baker pdf
  • identify code 128k pentagon model
  • check code 128k pentagon model
  • load code hide name
  • load code hide name on screen
  • disintegrate code
  • machine code routines
  • zx spectrum games code club
  • random number code
  • ultimate games 3 machine code
  • basic save code
  • basic save code autorun

Copyright © 2024 World of Spectrum