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.018s
<1…14151617181920…34>
  • New oneliners for 2008[INDENT][INDENT][INDENT]Here's my attempt at a first-person-perspective 3d game in one line of BASIC. It's called 'wormhole', and you've got to get t…

    Replace
    [code]
    LET K=CODE INKEY$:
    POKE (K
    Dr BEEP Dr BEEP April 2008 Development
  • New oneliners for 2008[INDENT][INDENT][INDENT]Here's my attempt at a first-person-perspective 3d game in one line of BASIC. It's called 'wormhole', and you've got to get t…

    ... ]

    I added the code to draw the map at ... haven't yet optimised the code I added today.

    code is now different in this ... , as I have adjusted the INKEY$ statement for the map drawing ...
    Digital Prawn Digital Prawn April 2008 Development
  • New oneliners for 2008[INDENT][INDENT][INDENT]Here's my attempt at a first-person-perspective 3d game in one line of BASIC. It's called 'wormhole', and you've got to get t…

    ... 's a shorter way to code the map display loop that ... of 25 positions:

    [CODE]
    1 DIM m(862 ... g:
    LET z=68-CODE "d$CE"(RND*3+1 ...
    Einar Saukas Einar Saukas April 2008 Development
  • New oneliners for 2008[INDENT][INDENT][INDENT]Here's my attempt at a first-person-perspective 3d game in one line of BASIC. It's called 'wormhole', and you've got to get t…

    ... what I got:

    [CODE]
    1 DIM m(862 ... g;" ";:
    LET z=68-CODE "d$CE"(RND*3+1 ... /> NEXT p:
    LET k=CODE INKEY$:
    LET d=(k=55 ...
    Einar Saukas Einar Saukas April 2008 Development
  • New oneliners for 2008[INDENT][INDENT][INDENT]Here's my attempt at a first-person-perspective 3d game in one line of BASIC. It's called 'wormhole', and you've got to get t…

    ... maze printed twice:

    [CODE]
    1 DIM m(862 ... g:
    LET z=68-CODE "d$CE"(RND*3+1 ...
    Einar Saukas Einar Saukas April 2008 Development
  • New oneliners for 2008[INDENT][INDENT][INDENT]Here's my attempt at a first-person-perspective 3d game in one line of BASIC. It's called 'wormhole', and you've got to get t…

    ... under the limit:

    [CODE]
    1 BORDER USR 7766 ...
    Einar Saukas Einar Saukas April 2008 Development
  • New oneliners for 2008[INDENT][INDENT][INDENT]Here's my attempt at a first-person-perspective 3d game in one line of BASIC. It's called 'wormhole', and you've got to get t…

    ... be shortened further

    [code]
    1 RANDOMIZE :
    DIM ...
    Dr BEEP Dr BEEP April 2008 Development
  • New oneliners for 2008[INDENT][INDENT][INDENT]Here's my attempt at a first-person-perspective 3d game in one line of BASIC. It's called 'wormhole', and you've got to get t…

    ... result so far:

    [CODE]
    5 FOR f=0 ... LET c=c+(INKEY$="7" AND c0): IF INKEY$="0" AND x ... ,a,a,0,a
    [/CODE]

    I didn't ...
    Einar Saukas Einar Saukas April 2008 Development
  • Wrong File Type, 0:1Ive gone thru an entire transform box full (20) of cartridges containing spectrum games that i wrestled off bay last year, yet not a single one will …

    ... the main CODE block which was effectively [CODE]LOAD "mm1" CODE 32768,32768 ... =1
    30 LET z=CODE INKEY$#4
    40 IF z ... =p
    60 LET z=CODE INKEY$#4:LET p=p+2 ... 30
    80 LET z=CODE INKEY$#4:LET p=p+1 ... 30
    100 LET z=CODE INKEY$#4:LET p=p+1 ...
    Jimmy Jimmy April 2008 Hardware
  • New oneliners for 2008[INDENT][INDENT][INDENT]Here's my attempt at a first-person-perspective 3d game in one line of BASIC. It's called 'wormhole', and you've got to get t…

    ... the pigeon???


    [code]
    1 DIM m$(1640 ...
    Dr BEEP Dr BEEP May 2008 Development
  • New oneliners for 2008[INDENT][INDENT][INDENT]Here's my attempt at a first-person-perspective 3d game in one line of BASIC. It's called 'wormhole', and you've got to get t…

    ... a quick look at this code and I have a few ... />
    Replace this:

    [CODE]
    PRINT AT 3,11 ...
    Einar Saukas Einar Saukas May 2008 Development
  • New oneliners for 2008[INDENT][INDENT][INDENT]Here's my attempt at a first-person-perspective 3d game in one line of BASIC. It's called 'wormhole', and you've got to get t…

    ... haven't won.

    [code]
    1 DIM m$(1640 ...
    Dr BEEP Dr BEEP May 2008 Development
  • Microdrive CATIs there a way in Basic to obtain any more useful info on the contents of a Microdrive? File size, head info for example? Also, is it possible in ge…

    ... a stream e.g.
    [code]
    OPEN #4;"m";1 ... $ 0
    CLOSE #4
    [/code]
    will send the catalog ... a string or array using INKEY$ #4.
    There will be ...
    Geoff Geoff June 2008 Sinclair Basic
  • 48K games that don't work on a +2Not sure if there is already a thread about this but recently I've noticed some old 48K games will not run on my +2 - even in 48K mode. Examples are…

    ... printer buffer is available for code. In 128 mode it's ... used for machine code routines as well as system ... IM1 routine, key-scan and INKEY$ routines (not an exhaustive list ...
    Jimmy Jimmy June 2008 Games
  • A BASIC compiler projectHi, I started my own BASIC compiler for the ZX Spectrum (and Z80 machines) 3 months ago. It's still in ALPHA stage (when it is mature, I will write …

    Here's a simple 'Catch the bricks' game...

    [code]
    10 LET A$=">_
    mulder mulder June 2008 Development
  • A BASIC compiler projectHi, I started my own BASIC compiler for the ZX Spectrum (and Z80 machines) 3 months ago. It's still in ALPHA stage (when it is mature, I will write …

    [CODE]10 LET A$=">_
    mulder mulder June 2008 Development
  • Handling RST8 on a +3Well, I've come to that bit of my project that I wasn't really looking forward to (because I don't understand enough about the ZX BASIC ROM) - extend…

    ... channel. In the channel code I can do what ... library calls - the code to do that must ... socket library, or the code will break when I ... br /> [quote]
    Also, while INKEY$ # does poll, it only works ... ]

    And also INKEY$# removes the first byte (if ...
    Winston Winston July 2008 Development
  • Fastest way to decide which pixel to paint in order to draw a straight line(after I saw "Bresenhams circle algorithm" in development forum, I decided to ask this in here) in fact, I want to accelerate a car towards a direct…

    I have this code to simulate a homming ... it helps

    [code]
    5 LET ve=1 ... my
    220 IF INKEY$="q" THEN LET py= ... 2
    221 IF INKEY$="a" THEN LET py= ... px+2
    224 IF INKEY$="g" THEN STOP
    ... TO 100

    [/code]
    Tested in Basin
    rtunes rtunes September 2008 Sinclair Basic
  • Fastest way to decide which pixel to paint in order to draw a straight line(after I saw "Bresenhams circle algorithm" in development forum, I decided to ask this in here) in fact, I want to accelerate a car towards a direct…

    thanks geoff, this is the code i want, but there is ... br />
    I modified the code to make it like rtunes ... ' code, but it draws jagged ... br />
    here:

    [code]
    10 LET a=0 ... 175:
    11 LET z$=INKEY$
    12 IF z$="q ...
    Arda Arda September 2008 Sinclair Basic
  • BEEP conundrumFor the "CSSCGC 2008 Tape Magazine" December edition, I have decided to use a BASIC sound routine I wrote last year which plays a festive tune using …

    ... .com/?hzqcdjyuado[/url]

    [code]
    5 CLS : PRINT "Press ... ,i
    25 LET i$=INKEY$: IF i$="q" THEN STOP ... /> 40 GO TO 10
    [/code]

    Can this program ...
    Digital Prawn Digital Prawn October 2008 Development
  • BEEP conundrumFor the "CSSCGC 2008 Tape Magazine" December edition, I have decided to use a BASIC sound routine I wrote last year which plays a festive tune using …

    ... into smaller BEEPs

    [code]
    2 LET s=8 ... ,i
    25 LET i$=INKEY$: IF i$="q" THEN STOP ... /> 40 GO TO 10
    [/code]

    Just change line ...
    Digital Prawn Digital Prawn October 2008 Development
  • BEEP conundrumFor the "CSSCGC 2008 Tape Magazine" December edition, I have decided to use a BASIC sound routine I wrote last year which plays a festive tune using …

    ... the mix too!

    [code]
    2 LET s=8 ... -o
    25 LET i$=INKEY$: IF i$="q" THEN STOP ... /> 40 GO TO 10
    [/code]

    Sounds funky, I ...
    Digital Prawn Digital Prawn October 2008 Development
  • BEEP conundrumFor the "CSSCGC 2008 Tape Magazine" December edition, I have decided to use a BASIC sound routine I wrote last year which plays a festive tune using …

    ... good keyboard response):-

    [code]
    2 LET s=40 ... o=12-o:
    IF INKEY$="q" THEN STOP
    20 ... :
    GO TO 10
    [/code]

    I'm now ...
    Digital Prawn Digital Prawn October 2008 Development
  • BEEP conundrumFor the "CSSCGC 2008 Tape Magazine" December edition, I have decided to use a BASIC sound routine I wrote last year which plays a festive tune using …

    ... good keyboard response):-

    [code]
    2 LET s=40 ... : LET o=12-o: IF INKEY$="q" THEN STOP
    20 ... i: GO TO 10
    [/code]

    I'm now ...
    The Starglider The Starglider October 2008 Development
  • BASin r14c - maintenance releaseAfter the recent discussions, BASin has been released as version 14c. It's only a maintenance release, and some of the really big new features are un…

    ... already does it, for INPUT/INKEY$.

    [quote]
    Basin ... ):

    Option to color code parts of a listing instead ...
    Dunny Dunny December 2008 Emulators
  • CSSCGC 2008 has now officially begunFor coming last in the 2007 crap game compo, I have the honour and privilege of hosting CSSCGC 2008! I have now put up the CSSCGC 2008 website at …

    ... Dr BEEP" thread.

    [code]
    5 LET d=.2 ... ,l./'"
    20 LET k$=INKEY$: IF k$="" THEN GO TO ... /> 120 GO TO 20
    [/code]

    uses bottom 2 ... 2" (oh no!) using recent code snippets. I haven't decided ...
    Digital Prawn Digital Prawn December 2008 Games
  • Using INPUT without clearing last two lines of screen?I'm trying to print to the 22nd row of the screen using the ol' print #0 trick. Unfortunately, I require user INPUT which seems to wipe out the botto…

    ... /> 1-Use a subroutine with INKEY$ as you mentioned;
    ... , optimized way.

    [CODE]da=destination address


    And in machine code:

    [CODE]Store Line 22 at ... 256
    ldir[/CODE]


    [CODE]Restore line 22 ...
    zxbruno zxbruno January 2009 Sinclair Basic
  • Using INPUT without clearing last two lines of screen?I'm trying to print to the 22nd row of the screen using the ol' print #0 trick. Unfortunately, I require user INPUT which seems to wipe out the botto…

    ... p

    Looks like INKEY$ is the only viable option ... for example:

    [code]
    ld b, 5 ; perform ...
    djnz .loop
    [/code][/QUOTE]

    This one ... br /> So, does the final code work on a real Spectrum?
    zxbruno zxbruno January 2009 Sinclair Basic
  • What Poke?Hi all, I'm looking for a POKE that stops Sinclair BASIC reading the space bar as BREAK for a small INKEY$ sub routine, if one exists? Or is it a li…

    ... as BREAK for a small INKEY$ sub routine ....

    Regards ... 't break the program and INKEY$ will return " " when Space Bar ... is to use a machine code compiler - many offer the option ...
    BloodBaz BloodBaz January 2009 Sinclair Basic
  • What Poke?Hi all, I'm looking for a POKE that stops Sinclair BASIC reading the space bar as BREAK for a small INKEY$ sub routine, if one exists? Or is it a li…

    ... as BREAK for a small INKEY$ sub routine, if one exists ... break or prevent entering the code?
    You can make the ... last case you need a code that catches the break and ...
    Dr BEEP Dr BEEP January 2009 Sinclair Basic
<1…14151617181920…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