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
<1234567…34>
  • A little program to set the time...Hi Folks, OK, I have amended the program so you now have four routines/functions you can use in your own programs: TIME: GET - Reads the current va…

    ... hh=(65536*PEEK 23674+256*PEEK 23673+PEEK 23672):
    LET mm=(65536*PEEK 23674+256*PEEK 23673+PEEK 23672):
    LET ... ss=INT ((time-mm*3000)/50):
    LET hh=(hh AND ...
    Paddy Coleman Paddy Coleman November 2010 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 …

    ... (2)=142
    50 POKE 23672,0: POKE 23673,0: LET CT=1 ...
    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 …

    ... (2)=142
    50 POKE 23672,0: POKE 23673,0: LET CT=1 ...
    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 …

    ... (2)=142
    50 POKE 23672,0: POKE 23673,0: LET CT=1 ...
    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 …

    ... ):
    DEF FN t()=INT ((PEEK 23673*256+PEEK 23672)/50)
    30 FOR n=1 ... ,21,1,142
    50 POKE 23672,0: POKE 23673,0
    60 ...
    Battle Bunny Battle Bunny August 2012 Sinclair Basic
  • Detecting flash mode inversionsIs is possible to detect with certainty when flashing characters change from normal to inverted and vice-versa?

    ...
    10 LET p=z+PEEK 23672+(PEEK 23673*256)
    11 IF INKEY$="q ...
    Arda Arda November 2014 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…

    ... /> LET c=FN a(3+PEEK 23673,256):
    CLS : LET x=x ...
    Dr BEEP Dr BEEP March 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…

    [code]
    1 DEF FN a(r,n)=r-INT (r/n)*n:
    READ c$,m,n,v,p:
    LET x=RND*36+10:
    POKE n*(c$(x)>"O"),3:
    LET c$(x)=CHR$ (CODE c$(x)-40):
    LET c=FN a(3+PEEK 23673,256):
    CLS :
    LET x=x+n*(c$(p)
    Dr BEEP Dr BEEP March 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…

    ... /> LET c=FN a(3+PEEK 23673,256):
    CLS :
    LET x ...
    Dr BEEP Dr BEEP March 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…

    ... /> LET c=FN a(3+PEEK 23673,256):
    Initialize timer, with remainderfunction ... 256-border is broken

    ...
    Dr BEEP Dr BEEP March 2008 Development
  • New Functions for Sinclair BasicA total of 52 new functions can be added to Sinclair BASIC; 26 numeric functions (A-Z) and 26 string functions (A$-Z$). Owing to the internal structu…

    ... CHR$ INT (n/256)+CHR$ (n-INT (n/256)*256)
    [/code ... /> DEF FN P(a)=PEEK a+256*PEEK (a+1)
    [/ ... (FN V(n,4096)/256)>9)+48)+CHR$ ... DEF FN T()=(1 AND PEEK (1+FN P(23639))=34 ... )+(2 AND PEEK (FN P(23639))> ... ;13 AND PEEK (1+FN P(23639 ...
    chev chev November 2004 Sinclair Basic
  • Sorting an array...Hi Folks, Over the weekend I had a play with sorting algorithms - takes me back to my student days! :-o My first try was with the good old Bubble S…

    ... 65536*PEEK 23674+256*PEEK 23673+PEEK 23672)/50: LET t2=(65536*PEEK 23674+256*PEEK 23673+PEEK 23672)/50: RETURN ... to sort the 50 element character array. ... 65536*PEEK 23674+256*PEEK 23673+PEEK 23672)/50
    Paddy Coleman Paddy Coleman September 2010 Sinclair Basic
  • Speed tip - "e" notationHi Folks, Whilst reading my "new" Sinclair ZX Spectrum BASIC manual I came across "e" notation again. In MRT I have the following line which is use…

    ... ="red"]23674[/COLOR]+256*PEEK [COLOR="red"]23673[/COLOR]+PEEK [COLOR="red"]23672[/COLOR]):
    256*PEEK [COLOR="red"]23673[/COLOR]+PEEK [COLOR="red"]23672[/COLOR]):
    50[/COLOR]):
    LET h=(h ...
    Paddy Coleman Paddy Coleman April 2012 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…

    ... ,126,66,66,0
    50 FOR x=0 TO 7 ... key is pressed, wait 5/50 (50Hz=1 sec in PAL ...
    RetroPhase2014 RetroPhase2014 December 2015 Sinclair Basic
  • Random Numbers, USR Return Values & Timing BASICI've been trying out Jon Ritman's random number routine, published in Your Sinclair Aug'87. Apart from a timing comparison I also did a frequency ana…

    ... /> 9994 PAUSE 1+INT (RND*50): REM test routine here
    Battle Bunny Battle Bunny January 2017 Sinclair Basic
  • Let a=val "1"I see some basic programs which use Let a=val "1" instead of let a=1 syntax. what is the difference between val "1" and 1? is it an effect of some …

    ... /> [code]
    10 POKE 23672,0 : POKE 23673,0 : POKE 23674,0 ...
    40 NEXT F
    50 PRINT PEEK 23672+256*PEEK 23673
    [/code]
    Dr BEEP Dr BEEP May 2003 Sinclair Basic
  • New Compo IdeaI've had this idea and would like to know what do you think about it. I think that most of us here know how to code in BASIC. The problem with Specc…

    ... this poke:

    POKE PEEK 23633 + 256 * PEEK 23634, 111

    50 IF K$="8" THEN X ... LET A=PEEK 23613 + 255*PEEK 23614
    20 PRINT PEEK A; TAB ... 10; PEEK (A+1 ...
    na_th_an na_th_an April 2005 Development
  • 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. …

    ... x=0
    10 PRINT PEEK (23672)+256*PEEK (23673)
    20 FOR f=1 ... ")-(INKEY$="5")
    50 NEXT f
    60 PRINT PEEK (23672)+256*PEEK (23673)

    50 NEXT f
    60 PRINT PEEK (23672)+256*PEEK (23673)

    Dunny Dunny April 2005 Sinclair Basic
  • 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…

    [CODE]
    100 rem slalom
    110 gosub 1000:let bl=1:gosub 2000
    120 data 48,48,24,252,27,48,31,248
    130 data 128,241,255,255,143,129,129,1
    140 border 7:paper 7:ink 0:cls
    150 let w=30:let d=21:let g=10:let j=7
    ...
    c1541 c1541 March 2008 MIA/STP/SDP
  • Time function?How do you do a timer? Example: Start timer If timer = 10 seconds then reset timer Thanks

    ... FN t()= INT ((65536* PEEK 23674+256* PEEK 23673+ PEEK 23672)/50)
    60 LET now=FN ...
    na_th_an na_th_an September 2010 Development
  • Sorting an array...Hi Folks, Over the weekend I had a play with sorting algorithms - takes me back to my student days! :-o My first try was with the good old Bubble S…

    ...
    130 RANDOMIZE : DIM p$(50,1): FOR a=1 TO ... 50: LET p$(a)=CHR$ (65+ ... /> 180 FOR a=2 TO 50: LET t$=p$(a): LET ... LET t1=(65536*PEEK 23674+256*PEEK 23673+PEEK 23672)/50: LET t2=(65536*PEEK 23674+256*PEEK 23673+PEEK 23672)/50: RETURN [/CODE ...
    Paddy Coleman Paddy Coleman September 2010 Sinclair Basic
  • Sorting an array...Hi Folks, Over the weekend I had a play with sorting algorithms - takes me back to my student days! :-o My first try was with the good old Bubble S…

    ...
    130 RANDOMIZE : DIM p$(50,1): FOR a=1 TO ... 50: LET p$(a)=CHR$ (65+ ... /> 180 FOR a=2 TO 50: LET t$=p$(a): LET ... LET t1=(65536*PEEK 23674+256*PEEK 23673+PEEK 23672)/50: LET t2=(65536*PEEK 23674+256*PEEK 23673+PEEK 23672)/50: RETURN [/CODE ...
    Dr BEEP Dr BEEP September 2010 Sinclair Basic
  • Sorting an array...Hi Folks, Over the weekend I had a play with sorting algorithms - takes me back to my student days! :-o My first try was with the good old Bubble S…

    ...
    130 RANDOMIZE : DIM p$(50,1): FOR a=1 TO ... 50: LET p$(a)=CHR$ (65+ ...
    180 LET b=INT (50/2)
    190 IF b ... /> 200 FOR a=b TO 50: LET t$=p$(a): LET ...
    Paddy Coleman Paddy Coleman September 2010 Sinclair Basic
  • Sorting an array...Hi Folks, Over the weekend I had a play with sorting algorithms - takes me back to my student days! :-o My first try was with the good old Bubble S…

    ... /> 130 FOR a=b TO 50: LET t$=p$(a): LET ...
    Paddy Coleman Paddy Coleman September 2010 Sinclair Basic
  • Sorting an array...Hi Folks, Over the weekend I had a play with sorting algorithms - takes me back to my student days! :-o My first try was with the good old Bubble S…

    ... for comparison. Mine's about 50% slower, taking around 16 ... 0 THEN
    GO TO 50
    60 NEXT s:< ... t1=(65536*PEEK 23674+256*PEEK 23673+PEEK 23672)/50:
    LET t2=(65536*PEEK 23674+256*PEEK 23673+PEEK 23672)/50:
    ...
    Battle Bunny Battle Bunny September 2010 Sinclair Basic
  • Sorting an array...Hi Folks, Over the weekend I had a play with sorting algorithms - takes me back to my student days! :-o My first try was with the good old Bubble S…

    ... /> 2 DEF FN t()=65536*PEEK 23674+256*PEEK 23673+PEEK 23672
    10 DIM t ... :
    FOR i=1 TO 50:
    LET o=INT (RND ... : LET n=INT (RND*50)+1:
    LET o$=v$( ...
    Battle Bunny Battle Bunny September 2010 Sinclair Basic
  • Sorting an array...Hi Folks, Over the weekend I had a play with sorting algorithms - takes me back to my student days! :-o My first try was with the good old Bubble S…

    Hi Battle Bunny,

    Never ceases to amaze me the difference in performance between BASIC and MCODE. Sounds like you have a powerful routine there.

    I have modified my demo version so that it can be used (for future generations ;)) as ...
    Paddy Coleman Paddy Coleman September 2010 Sinclair Basic
  • Sorting an array...Hi Folks, Over the weekend I had a play with sorting algorithms - takes me back to my student days! :-o My first try was with the good old Bubble S…

    ... ] 1 DEF FN t()=(PEEK 23672+256*PEEK 23673+65536*PEEK 23674)/50
    5 LET nelem ... =50
    10 RANDOMIZE : DIM s ... time: ";t2-t1;" sec."
    50 STOP
    1000 FOR n ... of running time for a 50 element array.
    mcleod_ideafix mcleod_ideafix October 2010 Sinclair Basic
  • Sorting an array...Hi Folks, Over the weekend I had a play with sorting algorithms - takes me back to my student days! :-o My first try was with the good old Bubble S…

    ... ] 1 DEF FN t()=(PEEK 23672+256*PEEK 23673+65536*PEEK 23674)/50
    5 LET nelem ... =50
    10 RANDOMIZE : DIM s ... time: ";t2-t1;" sec."
    50 STOP
    1000 FOR n ...
    Paddy Coleman Paddy Coleman October 2010 Sinclair Basic
  • Sorting an array...Hi Folks, Over the weekend I had a play with sorting algorithms - takes me back to my student days! :-o My first try was with the good old Bubble S…

    Hi Dr Beep etc.

    Come on guys - you know more about Sinclair BASIC than is healthy! :smile: Surely you have some tips to optimise/speed up the following code.

    [CODE]100 GO SUB 250
    110 REM SHELL SORT V4
    120 LET b=INT (n ...
    Paddy Coleman Paddy Coleman October 2010 Sinclair Basic
<1234567…34>

Latest Posts

  • Celebrity deaths...
    Paradigm Shifter on 4:41PM
  • Your Favorite Magazine Cover Tapes.
    Your Spec-chum on 2:19PM
  • Where to Buy the New or Fairly Recent , Excellent ZX Spectrum Games Software?
    Your Spec-chum on 1:34PM
  • i am currently listening to........
    mel the bell on 11:34AM
  • Mis-labeled cassette titles or a name change?
    harriusherbartio on 11:06AM
  • Ways to preserve Speccy Tapes in the loft
    harriusherbartio on 10:58AM
  • Fixed Speccy Software. And which games remained unfixed?
    harriusherbartio on 10:47AM
  • Minor British Sports that did become games on the ZX Spectrum
    harriusherbartio on 10:30AM
  • How to return to basic properly from ASM
    Paradigm Shifter on 1:54AM
  • Frankie's ZX Spectrum Digouts
    Zup on April 8

HitBox

Word Docs Hits
peek 1.9K 4.4K
23673 108 194
256 4K 7.7K
23672 204 359
50 12K 15.9K

Related Threads

  • Cassette 50Can anyone tell me where I can get hold of 'Cassette 50' by cascade games? I have looked on loads of different web sites but I just can't find it any…
  • Cascade Cassette 50 QuestionOdd request, but does anyone have the entire collection of 50 Cascade games available for an emulator?<br /> <br /> Surely someone must have saved th…
  • Spectrum 2003 News and Info Special at PEEK N' POKE[url="http://peeknpoke.emuunlim.com/spectrum2003/pnpspectrumnews2003index.html"]http://peeknpoke.emuunlim.com/spectrum2003/pnpspectrumnews2003index.h…
  • POKE, PEEK and RANDOMIZE USRAnyone got a store of useful POKES, or RANDOMIZE USR statements with interesting effects?<br /> <br /> As a start, try anything from RANDOMIZE USR 12…
  • New project for 256 colours Games emulator!O.K. , I suggested Jonathan Needle ( Creator of the excellent Spectaculator at [url="http://www.Spectaculator.com"]www.Spectaculator.com[/url] ) to c…
  • Another Free Ebay Day ;- Link to 300+ ?1.50 all in[url="http://cgi6.ebay.co.uk/ws/eBayISAPI.dll?ViewListedItems&amp;userid=cornishdavey&amp;include=0&amp;since=-1&amp;sort=2&amp;rows=200&amp;rdir=0"]…
  • Help with Su 20 and issues to swap /beg for to finish 1st 50!Got hold of issue 20 but with no cover, I can get an image of the front cover, but could someone tell me if the Kempston advert on page 2 and the qui…
  • EmuZWin supports 256 color gamesI am sorry starting new topic, but you see this info is important a bit:<br /> <br /> new version 2.4 of the EmuZWin is available to download, and it…
  • Dan Dare 256 colour project many may not be aware of.I still need/want to try Vladimir's emulator. But I think many people here aren't aware of another 256 colour project, which was mentioned on C.S.S. …
  • 256 colour gamesFollowing on from the thread in the Emulator section...<br /> <br /> Will people who are working on converting games to 256 colour using Emuzwin plea…

Related Searches

  • 23672
  • 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
  • 50 hurtz demo
  • 256 bytes
  • peek
  • peek 1024mak
  • detect 128k peek
  • detect 16k peek
  • 256 colours
  • z88dk read address peek
  • z88dk read peek
  • peek 23672
  • peek 23672 timer
  • peek 23672 countdown
  • rnd based on peek 23672
  • peek 23672 random numbers

Copyright © 2024 World of Spectrum