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.008s
<1234567…34>
  • 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 …

    ... screen. When drawn in a loop, you get a nice 3D ...
    Dunny Dunny May 2015 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…

    ... was pressed. To simplify INKEY$ checks the CAPS mode ... if you're just using INKEY$ then CapsShift-2 (CapsLock ... ...
    35 LET q$=INKEY$: GO TO 35+(10 AND ... ...
    n LET q$=INKEY$: GO TO FN c()+(10 ... PEEK 23561 pause in any INKEY$ loop (23561 is the REPDEL ...
    Battle Bunny Battle Bunny August 2012 Sinclair Basic
  • Writing faster BASICIn terms of structuring BASIC programs, what are the best ways allocate variables, functions, arrays? Any tips. I remember INPUT mag had some suggest…

    ... x-( INKEY$ ="5")+( INKEY$ ="8")
    LET y=y-( INKEY$ ="6")+( INKEY$ ... amp; 4th evaluations of INKEY$. The two forms could ... [code]
    LET a$=INKEY$
    LET x=x-(a ... a$(1) then the test loop takes 33").

    INKEY$ loop but, even in my ...
    Battle Bunny Battle Bunny December 2013 Sinclair Basic
  • Writing faster BASICIn terms of structuring BASIC programs, what are the best ways allocate variables, functions, arrays? Any tips. I remember INPUT mag had some suggest…

    ... & 4th evaluations of INKEY$. The two forms could be ... /> [code]
    LET a$=INKEY$
    LET x=x-(a ... a$(1) then the test loop takes 33").

    ... by the LETs in the INKEY$ loop but, even in my ... than the start increased the loop time from 33" to ...
    The_Bert The_Bert December 2013 Sinclair Basic
  • INPUT help?Hi folks. :) Brace yourselves, this is probably a very silly question, my BASIC knowledge is very... well, basic... Let's say, for example, I'm mak…

    ... GO TO 20-(9 AND INKEY$="")
    21 PRINT AT 12 ...
    Battle Bunny Battle Bunny February 2014 Sinclair Basic
  • 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 …

    Part 2!
    Fully texture mapped (on the walls, at least - floors and ceilings are a lot more processor-intensive!). Should be able to create a decent clone of Wolfenstein with this code as the foundation...
    Always wanted to make a 3D game in AMOS ...
    Dunny Dunny May 2015 Sinclair Basic
  • 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 …

    And finally Part 3!
    Here's the full engine with floor and ceiling rendering:
    http://s22.postimg.org/xup7xc9m9/maze4.png
    It's ... slow. Where SpecBAS could help enormously with vertical texture strips for the walls, floors can't be done ...
    Dunny Dunny May 2015 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…

    ... (don't laugh..lol) get INKEY$ to capture Y or y ... . anything else it will just loop back.

    Having a ... want it to do is loop forever until the user hits ... /N:"
    35 LET Q$=INKEY$
    36 PAUSE 10
    107 LET Q$=INKEY$
    108 IF Q$="Y ...
    WibbleBibble WibbleBibble August 2012 Sinclair Basic
  • ZX48k terminal...Hello everybody, I thought someone might help me. I connect my good old ZX48k to my PC via serial (IF1) link, and I was trying to write a little term…

    ... .
    I then need to loop: trying to read a char ... #4.
    read a char (INKEY$) from #4, and print it ... o$=""
    30 let c$=INKEY$
    40 if c$ = o ... o$=c$
    60 print INKEY$ #4;
    70 goto 30 ... on the keyboard affect the INKEY$ #4??
    And why as ...
    Alessandro Tommasi Alessandro Tommasi October 2001 Sinclair Miscellaneous
  • Game loop design?Having some thoughts on how to design the game loop and could do with some hints and tips from folks who have done it before! It's all about how to …

    ... br />
    [code]
    loop:
    call spritemove

    The above loop design means that the loop is synchronized with ... demands that every game loop is about the same length ... Ideas on the main game loop, interrupt synchronization and whether ...
    ekoman ekoman July 2004 Development
  • DEC BC/LD A,B/OR C/JP NZ,loopyesterday i saw nice trick:[code] dec bc ld a, b or c jp nz, loop can be replaced (bc starts >255, short jump) by: dec bc inc b djnz loop [/code] …

    yesterday i saw nice trick:[code]

    dec bc
    ld a, b
    or c
    jp nz, loop

    can be replaced (bc starts >255, short jump) by:

    dec bc
    inc b
    djnz loop
    [/code]
    ..nice
    Fikee Fikee February 2005 Development
  • TZX Loop 0The original Road Blasters TZX has a decryption tone loop with a counter of zero. I'm coding TZX handling in my emulator and I'm wondering the best w…

    ... TZX has a decryption tone loop with a counter of ... br />
    If this means loop 65536 times then the tone ... !
    If it means loop 0 times then why does ... the loop and blocks exist?
    ... If it means loop only once then why have ...
    Unique Unique March 2005 Emulators
  • Do these games loop forever?Hi chaps :) Right, after what... n=n+1 years of not getting to the switch on Firefly, I decided to have a go at it last night and with judicious use…

    ... you do, anyway, does Firefly loop forever after that? Or does ... />
    Also, does Shockway Rider loop forever, or is there an ...
    Vertigo Vertigo November 2005 Games
  • Reggie Watts (?his loop machine?)So ... just wondering what the name/type of that green loop machine he always uses is. Enjoying his muzak so far ...

    So ... just wondering what the name/type of that green loop machine he always uses is.

    Enjoying his muzak so far ...
    ZnorXman ZnorXman April 2009 Chit chat
  • BASin and INKEY$Hi Folks, Recently started using BASin after many years away from the Spectrum. Totally amazing piece of software and fun to use. I have noticed s…

    ... New"]10 LET k=CODE INKEY$
    20 PRINT AT 1 ...
    Paddy Coleman Paddy Coleman August 2010 Sinclair Basic
  • Inkey problem||This is on a REAL speccy|| Hi everyone I have a function where the user presses a key and then it shows it on the screen. So this is what I do (no…

    ... />
    Pause 100
    Print Inkey

    Now here is ...
    Robin Robin October 2010 Sinclair Basic
  • Why doesn't my loop work?Can anyone help me understand why my loop doesn't work? Is it to do with how DEC HL affects the flags? [code] ; Read 32k bytes from port 191 as fa…

    ... help me understand why my loop doesn't work?
    Is ... ; Destination start address

    loop: IN A,(C)
    LD ... /> DEC HL
    JR NZ,loop

    RET
    [/code ...
    trellis trellis December 2010 Development
  • Copying a SCREEN$ in ZX BASIC in 1 second?!Following on from the revived "[thread=20207]Saving a complete SCREEN$ in BASIC[/thread]" thread (although Arjun really only needed a suitable POKE i…

    ... resorting to a tedious POKE loop.

    After a few ... press ""j"""
    36 IF INKEY$"j" THEN PAUSE 0: GO ... ""j"" again"
    51 IF INKEY$"j" THEN PAUSE 0: GO ...
    Battle Bunny Battle Bunny April 2011 Sinclair Basic
  • IN or INKEY ?just curious which is better to use.. I have a menu done.. and use 6/7 to go up down it + space to cycle thru the options (using inkey).. obv. if I w…

    ... cycle thru the options (using inkey).. obv. if I want to ... " or can I use say INKEY CHR ?
    fog fog October 2011 Sinclair Basic
  • 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 ... using B for a DJNZ loop).

    It should work ...
    Battle Bunny Battle Bunny October 2011 Sinclair Basic
  • 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 ... because I want a small loop that updates the time ... I use LAST K or INKEY$ then when I press ... reads the keyboard again (using INKEY$) but acts like ENTER ... PAUSE 0 before the INKEY$ statement in the loop above the code ...
    Paddy Coleman Paddy Coleman April 2012 Sinclair Basic
  • Using R as a loop counterThis is just something silly I've found a while back. xD [b][How-to][/b] Setup your routine like this:[code] ld a,X ;see below ld r,a loop ;your …

    ... /> ld r,a
    loop
    ;your routine here
    jr nz,loop[/code]Here, X is calculated ... times you want it to loop.

    [b][Example ... b]

    This will loop 4 times and reflect the ... the slowest possible way to loop using an 8-bit ...
    Hikaru Hikaru October 2012 Development
  • 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…

    ... using a FOR/NEXT loop like a 'while' loop in BASIC:
    [code]
    1 REM While loop example
    2 LET a ... of using a FOR/NEXT loop like a C-style ' ... [/code]
    The FOR d loop is used as a slight ... been met (LET i=INKEY$="e" or INKEY$="E").

    ...
    Shaun.Bebbington Shaun.Bebbington March 2013 Sinclair Basic
  • Shifting the UDG pointer from a MC loop...I have got myself in a bit of a mess again, I am trying to write a machine code subroutine that shifts the udg pointer (23675) up 64 places then shif…

    ... it back on the next loop of the game, basically to ...
    daveysludge daveysludge June 2013 Development
  • 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…

    ...
    350 LET k$=INKEY$ ' read key
    ... GO TO 350 ' loop if battle is still ... /> GO TO 250 ' loop if someone won the battle ...
    Einar Saukas Einar Saukas August 2013 Development
  • Ending a DJNZ loop prematurelyHow do you exit a DJNZ loop before its finished, I've tried loading b with zero but cant get it to stop.

    How do you exit a DJNZ loop before its finished, I've tried loading b with zero but cant get it to stop.
    daveysludge daveysludge November 2013 Development
  • Game loopJust working on my first ever Spectrum game, and am struggling to work out what the game-loop should look like. I've got interrupts enabled (mode 2)…

    ... (pseudo code):

    loop: halt ; wait for interrupt to ... /> update_stuff
    draw_sprites
    jr loop

    Does this look ... something like this:

    loop: update_stuff
    halt
    ...
    feynman feynman January 2014 Development
  • 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…

    ...
    if
    ink
    inkey
    int
    inverse
    ln
    load
    loop
    mod
    next
    pkersey pkersey February 2014 Development
  • 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 ... 't exit cleanly after a loop
    EXIT didn't clean ...
    Dunny Dunny February 2014 Sinclair Basic
  • DIM and FOR, NEXT loopHi there. I'm making a program with 100 items on screen using dim and a for next loop. The thing is, each time I want to manipulate the items I do an…

    ... dim and a for next loop. The thing is, each time ... I do another for next loop which is slow(even after ...
    davepierce07 davepierce07 May 2014 Sinclair Basic
<1234567…34>

Latest Posts

  • I am currently watching.....
    Paradigm Shifter on 12:49AM
  • New video about S-video modification on Issue two 48K Spectrum.
    Renegade on April 21
  • Fixed Speccy Software. And which games remained unfixed?
    John Elliott on April 21
  • Happy 40th Birthday to the Amstrad CPC464!
    rich_chandler on April 21
  • Another Birthday! The Game Boy Is 35!
    mel the bell on April 21
  • European Software Titles with an English version
    harriusherbartio on April 21
  • Elusive Strategy Games done by the Smaller or less Prolific Software Houses.
    harriusherbartio on April 21
  • 1992 Spectrum Software
    harriusherbartio on April 21
  • +3 Disk drive motor
    AndyC on April 21
  • Celebrity deaths...
    mel the bell on April 20

HitBox

Word Docs Hits
inkey 833 1.8K
loop 4.8K 8.5K

Related Threads

  • Game loop design?Having some thoughts on how to design the game loop and could do with some hints and tips from folks who have done it before!<br /> <br /> It's all a…
  • DEC BC/LD A,B/OR C/JP NZ,loopyesterday i saw nice trick:[code]<br /> <br /> dec bc<br /> ld a, b<br /> or c<br /> jp nz, loop<br /> <br /> can be replaced (bc starts &gt;255, sho…
  • TZX Loop 0The original Road Blasters TZX has a decryption tone loop with a counter of zero. I'm coding TZX handling in my emulator and I'm wondering the best w…
  • Do these games loop forever?Hi chaps :)<br /> <br /> Right, after what... n=n+1 years of not getting to the switch on Firefly, I decided to have a go at it last night and with j…
  • Another infinite death loop strikes!Oh, blinkin' bother and similar expressions of extreme exhasperation!<br /> <br /> Roller Coaster. Was doing very well on it, cleared 14 screens, wh…
  • Reggie Watts (?his loop machine?)So ... just wondering what the name/type of that green loop machine he always uses is.<br /> <br /> Enjoying his muzak so far ...
  • BASin and INKEY$Hi Folks,<br /> <br /> Recently started using BASin after many years away from the Spectrum. Totally amazing piece of software and fun to use. I ha…
  • Inkey problem||This is on a REAL speccy||<br /> Hi everyone<br /> <br /> I have a function where the user presses a key and then it shows it on the screen. So thi…
  • Why doesn't my loop work?Can anyone help me understand why my loop doesn't work? <br /> Is it to do with how DEC HL affects the flags? <br /> <br /> [code]<br /> ; Read 32k b…
  • IN or INKEY ?just curious which is better to use.. I have a menu done.. and use 6/7 to go up down it + space to cycle thru the options (using inkey).. obv. if I w…

Related Searches

  • play drum loop
  • play 128 drum loop
  • shift inkey
  • inkey with caps shift key
  • inkey with capsshift key
  • inkey with capshift key
  • inkey capshift key
  • inkey capshift
  • inkey
  • inkey shift
  • inkey caps shift
  • nested loop
  • xor c loop
  • ld a b xor c loop
  • ld a b or c loop
  • until loop
  • inkey asm
  • if inkey
  • outer loop
  • inkey code

Copyright © 2024 World of Spectrum