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.023s
<1…14151617181920…34>
  • Full 16*16-digit BASIC multiplicationI liked Andre Adrian's 32-bit long multiplication routine so much that I decided to a decimal version. After all, 2^63 is only 9223372036854775808, a…

    ... : DEF FN p(a)=PEEK a+256*PEEK (a+1):
    DEF ... LET Z=C: LET C=X: LET X=Z
    403 LET Z=D: LET D=S: LET ... $=STR$ I+FN b$(VAL r$): LET I=VAL s$(LEN s$): POKE ... ,CODE r$
    903 LET r=VAL s$(TO LEN s$-1 ...
    Battle Bunny Battle Bunny July 2013 Sinclair Basic
  • 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…

    ... br />
    text/x-vbnet;text/x-vb
    *.bas< ...
    lbound
    let
    len
    ...
    pause
    peek
    plot
    ...
    until
    val
    verify
    ...
    pkersey pkersey February 2014 Development
  • Chompston Mazes in SpecBASAfter the discussion in ASH-II's Pacman thread, I checked out the link there about generating 2D Pacman style mazes. This one was quite good fun, …

    ... LET mw=29,mh=21,spawns=2,mind=2,maxd=18,x ... br /> DO:
    LET x=3+(INT(RND*((mw-4 ... /> LET a=1+RND*LEN e$,d$=d$+CHR$ VAL e ... $ FN d:
    LET x$=x$+CHR$ x,y$=y$+CHR$ y: ... 1 TO LEN x$:
    LET x(f)=CODE x$(f),y( ...
    Dunny Dunny October 2015 Sinclair Basic
  • 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…

    ... REM ******************************************************************************
    255 LET chu=1: REM Conditon ... default.
    260 LET x$="": REM The string ... LET cy=1: LET cx=5: REM Cursor x ... br /> 305 LET f=0: LET f$="": REM ... 0;233,32,18
    1350 ...
    RetroPhase2014 RetroPhase2014 December 2015 Sinclair Basic
  • Interesting VAL featureHi Folks, No doubt most people know this but it is new to me! The following code generates the answer of 10. [code]10 LET A$="X+X" 20 LET X…

    ... ]10 LET A$="X+X"
    20 LET X=5
    30 PRINT VAL A$[/code ...
    Paddy Coleman Paddy Coleman September 2016 Sinclair Basic
  • A game from an other machine.if someone interesting, this is a game I created in 1989. this is the basic source, maybe somebody can convert to specy. An image: http://www.ep128.…

    ...
    710 IF X$(X,Y)="Š" THEN LET K1=X:LET K2=Y:LET X$(X,Y)=" ":GOTO ...
    720 IF X$(X,Y)="Ź" THEN LET MA=X:LET M=Y:LET X$(X,Y)=" ":GOTO ... IF X$(X,Y)="Ś" THEN LET NY=X:LET N=Y:LET
    endi endi June 2017 Sinclair Basic
  • Writing for MultifaceI was just wondering, is it possible to write a BASIC program, compile it and use the Multiface to run it? I'd like to write a small util to edit te…

    ... LET s$="": FOR n=address TO address+31
    110 IF (PEEK ... n)>31 AND (PEEK n)32 THEN LET ADDRESS=ADDRESS ... -32: GO TO 100
    220 IF INKEY$="X ... " AND ADDRESS0 THEN LET ADDRESS=ADDRESS-1: GO ...
    mulder mulder November 2005 Development
  • St. Michael Micromasters: Computer GamesHi, The [URL="http://www.worldofspectrum.org/infoseekid.cgi?id=2000988"]St. Michael Micromasters: Computer Games[/URL] book doesn't currently have a…

    ... :let j=11
    140 let k=16:let w=1:let t=0:let x ... ):let s(n)=3
    300 let x(n)=r:let y(n)=c:let ... p(n)=v:let q ... :let n=11:let m=fn r(8)
    410 let f=x(m):let ... g=y(m):let p=2*fn ...
    c1541 c1541 March 2008 MIA/STP/SDP
  • BASIC Keyword ReferenceHi. I do most of my ZX work on a grey-case +2 which, as we all know, is devoid of most of the 48k BASIC keywords (it has LOAD and stuff, but not much…

    ... then 'K'
    LET 'L' at the flashing ... K Cursor.
    PEEK Caps Shift+Symbol Shift, ... then 'L'
    VAL Caps Shift+Symbol Shift, ... /> ? Symbol Shift and 'X'
    { Caps Shift+Symbol ...
    Dunny Dunny March 2008 Sinclair Miscellaneous
  • BASIC Keyword ReferenceHi. I do most of my ZX work on a grey-case +2 which, as we all know, is devoid of most of the 48k BASIC keywords (it has LOAD and stuff, but not much…

    ... H
    CLEAR : K : X
    CLOSE # : E : ... : E : K
    LET : K : L
    ... : K : M
    PEEK : E : O
    ... : L
    VAL : E : J
    VAL$ : E : SYM ...
    icabod icabod March 2008 Sinclair Miscellaneous
  • Computer SpacegamesBook Title: [B][URL="http://www.worldofspectrum.org/infoseekid.cgi?id=2000089"]Computer Spacegames[/URL][/B] Authors: [B]Daniel Isaaman & Jenny Tyler…

    ...
    145 scroll
    150 let n=l
    160 gosub ... /> 170 print "i";
    180 let n=y
    190 gosub ...
    200 print "*";
    210 let n=r
    220 gosub ... /> 230 print "i"
    240 let i$=inkey$
    250 if ...
    c1541 c1541 March 2008 MIA/STP/SDP
  • Cool BASIC tricks and tips!Following on from Dunny's excellent suggestion of a compendium of BASIC tips + tricks, I believe it would be better to have a topic dedicated to it. …

    ... c(a,x)=USR (( PEEK a + VAL "256" * PEEK (a + SGN a)) + x ) : REM ... adres program start
    16 LET NXTLIN=23637 : 23637/38 holds ... br />
    [QUOTE]
    30 LET other= FN c(NXTLIN,-datalenght ... 123:GO SUB 1000: let this=other: LET lenght=-345: GOSUB 1000 ...
    emleymoor emleymoor July 2008 Sinclair Basic
  • +2: 128k enhanced games no longer loading (but OK in 48k mode) :-/Having a spot of bother with my +2, a couple of my favourite games are now refusing to work in standard "Tape Loader" based 128k mode - Marauder (Hew…

    ... FOR x=49152 TO 65535
    30 POKE x,0:IF PEEK x0 ... THEN PRINT x:GO TO 50 ...
    40 POKE x,255:IF PEEK x255 ... THEN PRINT x
    50 OUT 254,b: LET ... (Bank 1)
    OUT 32765,18 (Bank 2 - the one held ...
    Jmk Jmk March 2011 Sinclair Miscellaneous
  • 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…

    ... the function call parameters. (Although VAL$ could be used to assign ... DEF FN p(a)=PEEK a+256*PEEK (a+1):
    DEF ... m$(18): LET vars=FN p(23627): LET defadd=23563
    32 LET udg ... =FN p(23675): LET deftmp=udg-18: RETURN
    Battle Bunny Battle Bunny April 2011 Sinclair Basic
  • 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…

    ... DEF FN p(a)=PEEK a+256*PEEK (a+1):
    ... to line 14.
    14 LET A$ =B$ :
    IF ... make room for possible (VAL "nnnnn" TO VAL "nnnnn").
    15 RETURN ... nl+27,FN d(PEEK (da+9)): LET dm=da:
    FOR ...
    Battle Bunny Battle Bunny April 2011 Sinclair Basic
  • LZ77 en/decodingI've written an LZ77 en/decoding routine as I couldn't find one around for the Spectrum. Initially I'm just doing it in BASIC to get the logic right.…

    ... VAL "25099": LET s=VAL "6": DIM m(s):
    LET p=VAL "64000": LET ... l=FN p(p):
    PRINT AT VAL " ... PI TO s:
    LET ad=VAL "p+l-(7-a)* ... x-y))/2:
    DEF FN u()=VAL "65536*PEEK 23674+256*PEEK 23673+PEEK ...
    Battle Bunny Battle Bunny March 2012 Development
  • Ideas for speeding up this BASIC routine?This loop can take up to 2 minutes to run, depending upon the content of the screen being scanned, about 70% of that time being taken up by lines 105…

    ... $="n" THEN POKE 23678,y: LET y=USR toprow:
    IF ... 1082[color=green]
    1052 LET minx=tci[/color]
    1053 ...
    Battle Bunny Battle Bunny October 2012 Sinclair Basic
  • ZX7: an "optimal" LZ77 packerAbout 20 years ago, I started a M.Sc. in Computing, planning to work on data compression. Although I quickly changed to another subject for a number …

    ... /> nop
    nop
    defb $18
    [/CODE]

    ... [CODE]
    10 LET x= 40000
    20 LET y= 16384
    30 ... POKE 65526,INT (x/256): POKE 65525,x-256*PEEK 65526
    ... 256): POKE 65528,y-256*PEEK 65529
    1020 RANDOMIZE ...
    antoniovillena antoniovillena January 2013 Brand new software
  • ZX7: an "optimal" LZ77 packerAbout 20 years ago, I started a M.Sc. in Computing, planning to work on data compression. Although I quickly changed to another subject for a number …

    ... /> nop
    nop
    defb $18
    [/CODE]

    ... LOAD""CODE: LOAD""CODE: LET x=40000: LET y=16384: GO SUB ... POKE 65526,INT (x/256): POKE 65525,x-256*PEEK 65526
    ... 256): POKE 65528,y-256*PEEK 65529
    1020 RANDOMIZE ...
    antoniovillena antoniovillena January 2013 Brand new software
  • BIN2BAS (load BASIC text into emulator) utilityI've nearly finished testing this. It allows a BASIC program to be loaded from a text file in any emulator which has a "load binary" option. I was wo…

    ... a$(3,2,1)
    18 DRAW 1,2: DRAW 3 ... c): POKE 12345,BIN 01010101: LET a$=CHR$ b
    31 ... OR PEEK b THEN PRINT c
    33 LET a=PI: LET b ... =POINT (5,6)+RND: LET c$=SCREEN ...
    35 LET a=USR "a": LET b=VAL "b": LET c$=VAL$ d$[/code]
    Battle Bunny Battle Bunny April 2013 Sinclair Basic
  • Full 16*16-digit BASIC multiplicationI liked Andre Adrian's 32-bit long multiplication routine so much that I decided to a decimal version. After all, 2^63 is only 9223372036854775808, a…

    ... +16
    EE: equ WORKSP+18
    HH: equ WORKSP+20 ... LET Z=C: LET C=X: LET X=Z
    ; 403 LET Z=D: LET D=S: LET ...
    ld (I1),a ; LET I=VAL s$(LEN s$): POKE var ...
    Battle Bunny Battle Bunny July 2013 Sinclair Basic
  • hash function permutation tableI'm using a simple Pearson hash function to generate keys for a $(103,6) array using a 256-byte permutation table. How do I arrange the entries in th…

    ... "IF", "INK", "INPUT", "INVERSE", "LET", "LIST", "LLIST", "LOAD",
    ... "LEN", "LN", "NOT", "OR", "PEEK, PI", "POINT", "RND", "SCREEN$", "SGN ... "STR$", "TAN", "TO", "USR", "VAL$", "VAL",
    "AT", "LINE", "STEP", " ... 33,44,22,46,18,16,9,49, ...
    Kweepa Kweepa January 2014 Development
  • hash function permutation tableI'm using a simple Pearson hash function to generate keys for a $(103,6) array using a 256-byte permutation table. How do I arrange the entries in th…

    ... "IF", "INK", "INPUT", "INVERSE", "LET", "LIST", "LLIST", "LOAD",
    " ... ", "LEN", "LN", "NOT", "OR", "PEEK", "PI", "POINT", "RND", "SCREEN$",
    VAL$", "VAL",
    "AT", "LINE", "STEP", "TAB ... 33,44,22,46,18,16,9,49,50 ...
    Kweepa Kweepa January 2014 Development
  • Dock's ZX Maze gameI'm hoping to finish a simple maze game in ZX Spectrum BASIC this week, as part of the Ludumdare Retro challenge. I used to dabble in speccy basic on…

    ... /> [code]
    35 LET j1= 0: LET j2=-1: LET s=1: RETURN ...
    36 LET j1= 1: LET j2= 0: LET s=4: RETURN ... /> 40 GO SUB 30+VAL i$: LET va=ATTR (r+j1,k ... .03,-5: LET r=r+j1: LET k=k+j2: LET x$=c$(s ... ,k): PRINT z$;INK 5;x$: POKE 23729,r: POKE 23728 ...
    Battle Bunny Battle Bunny June 2014 Sinclair Basic
  • Dock's ZX Maze gameI'm hoping to finish a simple maze game in ZX Spectrum BASIC this week, as part of the Ludumdare Retro challenge. I used to dabble in speccy basic on…

    ... /> [code]
    35 LET j1= 0: LET j2=-1: LET s=1: RETURN ...
    36 LET j1= 1: LET j2= 0: LET s=4: RETURN ... /> 40 GO SUB 30+VAL i$: LET va=ATTR (r+j1,k ... .03,-5: LET r=r+j1: LET k=k+j2: LET x$=c$(s ... ,k): PRINT z$;INK 5;x$: POKE 23729,r: POKE 23728 ...
    davepierce07 davepierce07 June 2014 Sinclair Basic
  • Why no PLOT, etc. on bottom two lines?I was pondering if there was any way to get PLOT, etc. to address the full screen from BASIC without having to write a few lines of assembler to bypa…

    ... LET h$=b$(175-y+1): LET l$=b$(x+1):
    LET loc=VAL ... 5)+l$( TO 5))
    +VAL (CHR$ 196+"010"+h$( TO ... /> LET bit=x-8*INT (x/8)+1:
    LET p$=b$(PEEK loc+1): LET ... p$(bit)="1": POKE loc,VAL (CHR ...
    Battle Bunny Battle Bunny August 2014 Sinclair Basic
  • Why no PLOT, etc. on bottom two lines?I was pondering if there was any way to get PLOT, etc. to address the full screen from BASIC without having to write a few lines of assembler to bypa…

    ... LET h$=b$(175-y+1): LET l$=b$(x+1):
    LET loc=VAL ... 5)+l$( TO 5))
    +VAL (CHR$ 196+"010"+h$( TO ... /> LET bit=x-8*INT (x/8)+1:
    LET p$=b$(PEEK loc+1): LET ... p$(bit)="1": POKE loc,VAL (CHR ...
    Battle Bunny Battle Bunny August 2014 Sinclair Basic
<1…14151617181920…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
let 29.3K 51.6K
bk3 4 12
peek 1.9K 4.4K
val 705 2.3K
x 14K 31.7K
18 8.8K 12.9K

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…
  • Let a=val "1"I see some basic programs which use Let a=val "1" instead of let a=1 syntax.<br /> <br /> what is the difference between val "1" and 1?<br /> <br /> …
  • Spectaculator 5.x/6.x And Multiface 3Hi there, anyone had any trouble with this at all? The instructions say that it will auto-switch between a Multiface 128 and a Multiface 3 when choos…
  • X-10 or X-20 schematics wantedDoes anyone have schematics for the Sinclair X-10 or X-20 amplifiers ?<br /> <br /> These amp-kits were sold back in 1964/65, and when I read about t…
  • 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 …
  • Boxed ZX Spectrum + with 2 x ZX microdrives, Alphacom32 printer with 3 x thermal rollHi people.<br /> <br /> I found a bargain at a carboot on Sunday from somebody who didn't know what he was selling. (Im no expert by a long shot)<br …
  • Exactly how does the HD work for speccy? X-)How do you transfer you programs from tape?<br /> Or can you run games n stuff from a speccy harddrive. Since there is a lot of different HDs out the…
  • Native OS X port of Fuse availableA beta version of Fredrick Meunier's native OS X port of Fuse, the Free errr... Unix Spectrum Emulator is now available from Fuse's homepage:<br /> <…
  • speccy emulator on OS Xhi there<br /> i am trying to use ZXSP on OS X but it won't load TAP files, and that it only supports .SNA and Z80 files. can i convert TAP files to …

Related Searches

  • x files
  • val
  • rom peek 128k pentagon
  • rom peek 128k pentagon 004c
  • identify pentagon 48k 128k rom peek
  • peek rom identify model
  • peek rom detect model 48k 128k 3 pentagon
  • x uno
  • fuse for mac os x
  • peek
  • peek 1024mak
  • detect 128k peek
  • detect 16k peek
  • z88dk read address peek
  • z88dk read peek
  • z88 peek
  • z88dk peek
  • radastan 128 x 96 16 colours
  • live and let die
  • 2000 let atr attr y x tinta 8 int papel 63 return

Copyright © 2024 World of Spectrum