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.021s
<1…10111213141516…34>
  • Fast Condition TestingHello my friends, I have been writing some input and string handling routines in BASIC lately - yeah I could write them super fast in C/ASM via z88d…

    ... /> [*]line 2400: set c$/c = INKEY$; c = 1 if out of ... :
    LET c$=INKEY$: LET c=CODE c$: LET c=c OR (NOT c OR c>127 ... ):
    GO SUB CODE a$(c ... )*100:
    NEXT z:
    RETURN

    2800 LET ...
    Battle Bunny Battle Bunny November 2014 Sinclair Basic
  • Song I madeIt's my first time using play, so don't expect greatness. 10 BEEP 0.4,10 20 BEEP 0.2,9 30 BEEP 0.3,11 40 BEEP 0.3,10 50 BEEP 0.1,19 60 BEEP 0.2,7 7…

    ... />
    1 LET c=4/3: LET a=5/3: LET b=12: FOR ...
    Buka Buka February 2015 Sinclair Basic
  • Song I madeIt's my first time using play, so don't expect greatness. 10 BEEP 0.4,10 20 BEEP 0.2,9 30 BEEP 0.3,11 40 BEEP 0.3,10 50 BEEP 0.1,19 60 BEEP 0.2,7 7…

    ... /> [CODE]1 LET c=4/3: LET a=5/3: LET b=12: FOR ...
    Buka Buka March 2015 Sinclair Basic
  • More SpecBAS funHere's a neat little effect I lifted from a thread about displaylists and stuff from an Amiga forum - although SpecBAS has no hardware to assist, it …

    ... /> [code]
    20 CLS 8: LET b=0: FOR a=7 ... : FOR y=0 TO 255: LET pic$(y)=PEEK$(circles,320 ... ERASE circles: LET d=0: LET offy=(SCRh-256)/2: LET offx=(SCRw ... d>(2*PI) THEN LET d=0
    [/code]

    [code]
    110 LET c=SIN d*((MOUSEx/SCRw)*8 ...
    Dunny Dunny March 2015 Sinclair Basic
  • ZX Resets when loading programs?Hello, I have a weird issue with my new ZX Spectrum issue 2 16K. The ZX is in great condition, BASIC works and the RAM Diagnostic PEEK 23733 reports …

    ... /> Example BASIC program:
    10 LET c=1
    20 CLS
    30 PRINT "Run ";c
    40 FOR a=1 ... /> 70 PAUSE 10
    80 LET c=c+1
    90 GO TO ...
    1024MAK 1024MAK May 2015 Hardware
  • Code tags againHi Foggy!<div><br></div><div>Got the code tags to work. Sort of. Turns out, if you paste in an announcement from any other forum, you have to turn on…

    ... -b,height:
             LET c(line,1)=b: LET c(line,2)=t-b ... :
             LET line=line+1: LET t ... b
      30   LET xl=c(1,1): LET xlm=c(1,2)/(l ... -1)
      31   LET xr=c(l,1): LET xrm=-(c(l,2)/((l ...
    Battle Bunny Battle Bunny June 2015 WoS/Forum Issues
  • Disappearing/appearing effectI remember doing a small routine in BASIC which could be used to cover the attributes section randomly, until all 704 characters were filled with the…

    ... ) THEN
    LET pc=pc+1: LET c(pc,1)=x: LET c(pc,2 ... ): LET y=c(i,2): PLOT x,y
    90 LET c(i,1)=c ... (p,1): LET c(i,2)=c(p,2)
    91 LET c ... (p,1)=x: LET c(p ...
    Battle Bunny Battle Bunny April 2016 Sinclair Basic
  • Bored of the Rings coded messageI was browsing [url="https://tcrf.net/"]The Cutting Room Floor[/url] recently and stumbled upon the entry for [url="https://tcrf.net/Bored_of_the_Rin…

    ... results to A-Z (FN c() is true). With a step ... ,205,32:
    DEF FN c(a)=a>=CODE "A ...
    Battle Bunny Battle Bunny May 2016 Games
  • Empire - port of trs80 basic programBack when I was a little kid, I had the opportunity to play around with a trs80 model 1 with level 2 basic. One of the games I often played was call…

    ... this:
    [code]
    LET c$=(STR$ i AND ik)+("*" AND ... =k)+") ": LET j=k1
    97 PRINT c$; FN t$( ... p$(i,k2));:
    LET z$= " ###,###": LET y ... $=STR$ a(i,k6): LET bc=USR ...
    Battle Bunny Battle Bunny August 2016 Brand new software
  • Speeding up programs by hacking the SysVarsPositively pleased to properly discover this area of the forum! I have a couple of recent tricks that might be of interest - they're probably old hat…

    ... br /> 20 LET c=0: LET r=0: LET y=PEEK 23635: LET z=PEEK ... PRINT AT r,c;"L"
    100 NEXT c
    110 ... br /> 20 LET C=0: LET R=0: LET Y=PEEK 23635: LET Z=PEEK ... br /> 20 LET C=0: LET R=0: LET Y=PEEK 23635: LET Z=PEEK ... 31: PRINT AT R,C;"L": NEXT C: NEXT R
    ...
    Paddy Coleman Paddy Coleman September 2016 Sinclair Basic
  • Akalabeth gamei found now that someone ported an ansi-basic game (coded in 1979?) to msx-basic - what about a zx-spectrum basic version of it? ;) https://plus.goo…

    ... LET c=127: LET b=87: LET di=5
    910 LET k0=NOT PI: LET ... : LET k3=INT PI: LET k4=k3+k1:
    LET k5=k3+k2: LET ... : LET k8=k4+k4: LET k9=k4+k5:
    LET kA=k5+k5: LET ... =kE+k1: LET kG=k8+k8
    1300 PLOT C - 23 / DI ...
    Battle Bunny Battle Bunny September 2016 Sinclair Basic
  • Akalabeth gamei found now that someone ported an ansi-basic game (coded in 1979?) to msx-basic - what about a zx-spectrum basic version of it? ;) https://plus.goo…

    ... :


    [code]100 LET C$=CHR$ 22+CHR$ 0+CHR ... FOR I=1 TO 40: LET C$=C$+CHR$ 6: NEXT I
    120 PRINT C$
    [/code]

    Failing ...
    Paddy Coleman Paddy Coleman October 2016 Sinclair Basic
  • Comp.Sys.Sinclair Crap Games Competition 2017As the creator of the second-least crap game in last year's competition (and the only mug stupid enough to agree to host it this year) I am proud/ash…

    ...
    140 LET c=0: IF s>0 THEN LET c=64+(s ... *8)+s: POKE a+1+s,c: POKE ...
    220 LET x=15: LET y=17
    230 LET c=-8
    LET c=c+1+(c=-1)-15*(c=7)
    560 LET z=USR ... (63000+ABS (c))
    joefish joefish January 2017 Games
  • Anagram creation - not as easy as it looks?I'm writing a story and I have a mystery villain who is never revealed. My main clue was to have been that every alias he uses is an anagram of the f…

    ... $(a)-64: IF c26 THEN LET c=c-32: IF c26 THEN GO ... $>" ")
    42 LET c=PEEK pos: LET c1=c-64: LET n$="":
    IF ... /> 60 LET co=c: LET c=c-(96 AND c>90): LET c=c-(64 AND c>26 ... LET pos=pos+1: LET c=PEEK pos: IF
    Battle Bunny Battle Bunny January 2017 BASIC
  • Short program10 PRINT "You know what? I just cannot be bothered any more!" 20 GOTO 10

    ... :)

    [code]
    10 LET A$ = "Short Program"
    20 ... LET A = LEN (A$)
    30 ... = INT (RND * 6)
    50 LET C = INT (RND * 40)
    60 ... ) ;
    70 BEEP 0.3, C
    80 NEXT I
    Richey Richey February 2017 Sinclair Basic
  • How to separate a character from a number in a string?Hi I've been writing a kind of logo type program in BASIC that takes a string a$ from INPUT and then draws according to what you give it. Say you w…

    [code]
    10 LET a$=a$+"%": LET c=2: LET n$=""
    20 LET c$=a$(1)
    30 IF CODE a$(c) >= 48 AND CODE a$(c)
    Dunny Dunny May 2017 Sinclair Basic
  • How to separate a character from a number in a string?Hi I've been writing a kind of logo type program in BASIC that takes a string a$ from INPUT and then draws according to what you give it. Say you w…

    ... /> 4 REM a$=action string; c$=action letter; act=1 if ... $
    1024 LET c$=a$(a): LET act=(c$>="a" AND c$="0" AND ... IF d$="" THEN PRINT "ERROR: ";c$;num,"unknown action"
    2209 ...
    Battle Bunny Battle Bunny May 2017 Sinclair Basic
  • Why don't the variables print where I told them too?I wrote the following program to experiment with creating sounds using 3 notes of BEEP and having the ability to change the notes up or down one at a…

    ... 10
    30 LET b=12
    40 LET c=14
    50 ... 90 IF INKEY$="a" THEN LET a=a+1
    95 ... IF INKEY$="z" THEN LET a=a-1
    100 ... IF INKEY$="b" THEN LET b=b+1
    105 ... INKEY$="c" THEN LET c=c+1
    115 IF INKEY$="x" THEN LET c=c-1 ...
    mik3d3nch mik3d3nch May 2017 BASIC
  • Flicker free animation in BASIC, is it possible ?With all my various noodlings in BASIC and indeed with my so far limited assembly​ I keep coming up with the same issue. How do you do animations wit…

    ... =1 TO w: READ r,c: LET n=q*320+r
    2 LET f1=PEEK 23672: LET f2=PEEK 23673: LET f3=PEEK ... 23672: LET f4=PEEK ... 23673: LET f=f1 ...
    Dunny Dunny June 2017 BASIC
  • Finished with my dice rolling programTook me all day but I'm rather proud of it, simple though it is. Its up at Dropbox if anyones interested https://www.dropbox.com/s/qdgtfc0zyy94hxm…

    ... =33 TO 127:
    LET c$=CHR$ k: LET bitsat=FN p(23606 ... ,13+c/2; FLASH 1;" ":
    LET v$=b$(r,c TO c+1 ... ): PRINT AT r+9,c+11 ... ; INVERSE 1;v$:
    LET w$=b$(r-1,c TO c ...
    Battle Bunny Battle Bunny July 2017 BASIC
  • How to improve my program using oversized numbersI'd like my dice program to print out the number four times bigger than normal if possible. Anyone know how to do this? Or I could write a sub rou…

    ... =33 TO 127:
    LET c$=CHR$ k: LET bitsat=FN p(23606 ... ,13+c/2; FLASH 1;" ":
    LET v$=b$(r,c TO c+1 ... ): PRINT AT r+9,c+11 ... ; INVERSE 1;v$:
    LET w$=b$(r-1,c TO c ...
    Battle Bunny Battle Bunny July 2017 BASIC
  • Sounds & tunes bankIs there any web out there, or even a thread here at WoS, that includes useful BASIC routines that generate certain sounds or music to be included in…

    ... 10
    30 LET b=12
    40 LET c=14
    50 ... 90 IF INKEY$="a" THEN LET a=a+1
    95 ... IF INKEY$="z" THEN LET a=a-1
    100 ... IF INKEY$="b" THEN LET b=b+1
    105 ... INKEY$="c" THEN LET c=c+1
    115 IF INKEY$="x" THEN LET c=c-1 ...
    mik3d3nch mik3d3nch July 2017 Sinclair Basic
  • How to improve my program using oversized numbersI'd like my dice program to print out the number four times bigger than normal if possible. Anyone know how to do this? Or I could write a sub rou…

    ... .

    (Change CHR$ c instead of c in line 60 and ... />
    10 LET c=CODE " THEN "
    20 LET a$=CHR$ c: FOR a ... =1 TO 5: LET a$=a$+CHR$ c ... =0 TO 31
    25 LET f=22592+x
    30 ...
    IvanBasic IvanBasic July 2017 BASIC
  • How to improve my program using oversized numbersI'd like my dice program to print out the number four times bigger than normal if possible. Anyone know how to do this? Or I could write a sub rou…

    ... .

    (Change CHR$ c instead of c in line 60 and ... />
    10 LET c=CODE " THEN "
    20 LET a$=CHR$ c: FOR a ... =1 TO 5: LET a$=a$+CHR$ c ... =0 TO 31
    25 LET f=22592+x
    30 ...
    ivanb303 ivanb303 July 2017 BASIC
  • Thought this would be simple... Z80Hi Folks, Started to read "Beyond simple BASIC, Delving Deeper into your ZX Spectrum" by Dilwyn Jones. This is a great book and I came across the…

    ...
    120 REM (C) Copyright PeaSea Software 2017< ... ;21 THEN LET NY=NY-22: LET NS=1< ... C$
    260 REM Update Paramters
    270 LET X=NX: LET ... Y=NY: LET S=NS< ... are valid
    300 LET K= CODE INKEY$: IF ... IF K=8 THEN LET NX=NX-(NX> ...
    Paddy Coleman Paddy Coleman September 2017 Development
  • Best and worst loading coloursWas just thinking the other day about this, what are the worst / best loading colours that have been seen ? :) Apart from loaders with either mult…

    ... loader flips the bits of c, but I was quite pleased ... data with custom border colour c.
    let c=7
    for j ... j
    poke 16384+28,c
    randomize usr 16384
    mumart mumart October 2017 Sinclair Miscellaneous
  • Illogical operatorsI know it has always been this way but... 10 LET A = 10 20 LET B = 20 30 IF A = 10 OR B = 20 THEN PRINT " YES " That evals to true and prints…

    ... , because for example:

    LET A = 10 : REM binary 00001010 ... = 20 : REM binary 00010100
    LET C = 10 OR 20 : REM binary ...
    colonel32 colonel32 October 2017 Sinclair Basic
<1…10111213141516…34>

Latest Posts

  • Happy 40th Birthday to the Amstrad CPC464!
    AndyC on 6:29PM
  • Goodbye Z80
    i love the z80s on 6:28PM
  • Another Birthday! The Game Boy Is 35!
    dm_boozefreek on 6:17PM
  • I bought an accoustic guitar. How do you play it?
    Maroc's Other Projection on 6:04PM
  • 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
let 29.3K 51.6K
c 20.3K 48.8K
abcdefghij 3 3

Related Threads

  • Let it Slow Let it Snow let it SnowWell, It's snowing here hard in the top left Corner of North Carolina.<br /> <br /> I heard that is it snowing hard in the UK also. My parents were s…
  • comp.sys.sinclair Crap Games Competition (C.S.S.C.G.C. 2022) is here!Welcome one and all!<br /> <br /> [img]https://i.postimg.cc/3yYpjjbH/cropped-CCG2022.png[/img]<br /> <br /> I am proud to announce the opening of…
  • Arrays in C and C++ from a Java Programmer.I have been looking arround the web and found many conflicting answers to this question so I thaught I'd ask you folkes.<br /> <br /> What is the C a…
  • Let is snow let it snowFor those of use in the south and west of the country including those in Northern Ireland its going to be a snowy one tonight and tomorow.<br /> <br …
  • Z80 disassembler C/C++ source codeHello,<br /> <br /> I just thought I might share the [URL="http://zxds.raxoft.cz/docs/z80d.cpp"]source code[/URL] of the Z80 disassembler I have writ…
  • c & c red alert 2 freeanother day.. another freebie<br /> <br /> http://www.pcgamer.com/command-conquer-red-alert-2-is-free-on-origin/
  • C CompilerIs there an IDE based C compiler for the 128. I've heard rumours...
  • C&VG magsI have quite a number of these for sale ranging from Aug.1982 to Jan 1988 and am open to offers. Also the C&amp;VG Book of Games III.<br /> …
  • .$b and .$c format helpHi, i have downloaded agame of lemmings (it took ages to find one that might work) i have downloaded about 5 and none of them worked.<br /> I have fo…

Related Searches

  • hisoft c manual
  • live and let die
  • speccy c
  • developing in c
  • divmmc c
  • let
  • xor c
  • xor c loop
  • ld a b xor c loop
  • ld a b or c loop
  • pacmen c
  • emulator c
  • emulator c source
  • c compiler
  • code in c
  • play a b c
  • b c bill
  • a m c
  • t a c
  • c

Copyright © 2024 World of Spectrum