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.003s
<1234567…34>
  • Speeding up select processing...Hi Folks, I have the following code in my program and it works fine but is rather "sluggish". I have even moved it to the beginning of the program …

    ...
    280 LET t(2)=PEEK 23560:
    LET ss=one:
    Paddy Coleman Paddy Coleman June 2011 Sinclair Basic
  • Need help with keyboard scanning ?After getting frustrated with learning ASM for a while I'm back into it. The little listing below is using the ROM's PRINT AT routine to draw me a sp…

    ... you do
    10 PRINT PEEK 23560
    20 GO TO 10 ...
    ivanb303 ivanb303 November 2017 Development
  • 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…

    ... poke:

    POKE PEEK 23633 + 256 * PEEK 23634, 111

    23560 (the LASTK system variable) and ... 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
  • FRAMES counter...Hi Folks, I wrote a test program that uses FRAMES to generate a clock. When I tested this within BASin it worked well and kept near perfect time. …

    ... [CODE]...
    830 POKE 23560,0:
    REM LAST_K
    860 IF PEEK 2356013 THEN GO TO ... PEEK 23674+256*PEEK 23673+PEEK 23672):
    LET mm=(65536*PEEK 23674+256*PEEK ... 23673+PEEK ...
    Paddy Coleman Paddy Coleman January 2011 Sinclair Basic
  • BASin Problems etc.Hi Folks, Paul has asked me to open this thread to document any outstanding issues that we find within BASin. No guarantees that Paul can/will fix …

    ...
    1010 POKE 23560,0
    1020 LET a=PEEK 23560
    1030 ... down after about 3 repeats PEEK 23560 always returns zero.

    Paddy Coleman Paddy Coleman February 2011 Sinclair Basic
  • Speeding up select processing...Hi Folks, I have the following code in my program and it works fine but is rather "sluggish". I have even moved it to the beginning of the program …

    Some changes which would reduce the amount of processing per cycle:
    * delete lines 290 & 300
    * move line 310 after line 320
    * change line 330 to: IF NOT t(2) OR t(2)>=8 AND t(2)
    Battle Bunny Battle Bunny June 2011 Sinclair Basic
  • Speeding up select processing...Hi Folks, I have the following code in my program and it works fine but is rather "sluggish". I have even moved it to the beginning of the program …

    ... /> POKE 23560,0
    280 LET t(2)=PEEK 23560:
    IF PEEK 23672
    Paddy Coleman Paddy Coleman June 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…

    ... PAUSE 0:
    LET t2=PEEK 23560
    240 IF t2o) OR ...
    Paddy Coleman Paddy Coleman October 2011 Sinclair Basic
  • Official Basinc thread - Bug reports and other discussionI just released a new BASin fork, basinc. The first official release was V16r2, and today it's r3. it's uploaded to wos archive and alternatively, h…

    ...
    110 LET a=PEEK 23560: PRINT AT 0,0;a;" "< ...
    Paddy Coleman Paddy Coleman April 2012 Sinclair Basic
  • What is the best way to detect CAPS LOCK?Hi Folks, Not sure what the correct behaviour is here as I do not have access to a real Spectrum. Under BASin, when you press CAPS LOCK on the PC k…

    ... ]100 PRINT AT 21,0;PEEK 23658,,
    110 PAUSE 0 ... ,0,,
    130 LET a=PEEK 23560
    140 PRINT AT 0 ... ,CHR$ a
    150 POKE 23560,0
    160 GO TO ...
    Paddy Coleman Paddy Coleman July 2012 Sinclair Basic
  • What is the best way to detect CAPS LOCK?Hi Folks, Not sure what the correct behaviour is here as I do not have access to a real Spectrum. Under BASin, when you press CAPS LOCK on the PC k…

    ... i=CODE INKEY$: PRINT i,PEEK 23560
    2 PAUSE 0: GO ...
    Battle Bunny Battle Bunny July 2012 Sinclair Basic
  • What is the best way to detect CAPS LOCK?Hi Folks, Not sure what the correct behaviour is here as I do not have access to a real Spectrum. Under BASin, when you press CAPS LOCK on the PC k…

    ... :
    [code] 1 LET i=PEEK 23560: PRINT CODE INKEY$,i
    PEEK 23560=i)[/code]
    in BASin ...
    Battle Bunny Battle Bunny July 2012 Sinclair Basic
  • What is the best way to detect CAPS LOCK?Hi Folks, Not sure what the correct behaviour is here as I do not have access to a real Spectrum. Under BASin, when you press CAPS LOCK on the PC k…

    ... :
    [code] 1 LET i=PEEK 23560: PRINT CODE INKEY$,i
    PEEK 23560=i)[/code]
    in BASin ...
    Paddy Coleman Paddy Coleman July 2012 Sinclair Basic
  • What is the best way to detect CAPS LOCK?Hi Folks, Not sure what the correct behaviour is here as I do not have access to a real Spectrum. Under BASin, when you press CAPS LOCK on the PC k…

    ... />
    [CODE]1 LET i=PEEK 23560: PRINT CODE INKEY$,i
    PEEK 23560=i)[/CODE]

    * Spectaculator ...
    Paddy Coleman Paddy Coleman July 2012 Sinclair Basic
  • Interesting tip to speed up user experience...Hi Folks, I suspect many of you will already know this but it only dawned on me a couple of weeks ago. Whilst trying to improve the speed on my XIN…

    ... am reading the keyboard using PEEK 23560 (LAST K) and in MRT ... INKEY$). In most cases the PEEK and INKEY$ are preceeded by ...
    Paddy Coleman Paddy Coleman 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?

    ... ]1 LET z=0: POKE 23560,0: LET z=z+1 ...
    Einar Saukas Einar Saukas November 2014 Development
  • What am I doing wrong here?[code]IF INKEY$=SCREEN$ (21,4) THEN LET SCORE=SCORE+1[/code] It's delivering a positive every time.

    ... cheating by using CODE and PEEK 23560.

    I'm amazed ...
    R-Tape R-Tape May 2016 Sinclair 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…

    ... do not use INKEY$, but PEEK 23560. This makes the keyboard and ...
    IvanBasic IvanBasic April 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…

    ... is more efficient to check PEEK 23560 than INKEY$ to achieve 'almost ... inaccurate response to the controls. PEEK 23560 is only slighty slower than ...
    IvanBasic IvanBasic 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…

    The trouble I found with PEEK 23560 is that it holds the last value that was pressed until you press something else. Hence my spaceship keeps going left.
    INKEY$ will read 0 if you release the key. But I can change to CODE INKEY$ no probs.
    ivanb303 ivanb303 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…

    ... "]The trouble I found with PEEK 23560 is that it holds the ... why you have to POKE 23560,0 to delete it if ...
    IvanBasic IvanBasic May 2017 BASIC
  • 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. …

    ... />
    [code]100 LET K=PEEK 23560[/code]

    Until now ... I assumed that the PEEK would be quicker but this ... (136.1 Frames) and the PEEK 3.2 seconds (158.8 ...
    Paddy Coleman Paddy Coleman September 2017 Sinclair Basic
  • Breaking the Ice (another 1 line BASIC game)@Patters pushed me to do it... This is another 1-line BASIC game, with the same restrictions discussed. The mission: to save 10 penguins that a…

    ... $ is "almost" as sensitive as "PEEK 23560" in this game (I tried ...
    IvanBasic IvanBasic August 2019 Brand new software
  • POKE, PEEK and RANDOMIZE USRAnyone got a store of useful POKES, or RANDOMIZE USR statements with interesting effects? As a start, try anything from RANDOMIZE USR 1216 to RANDOM…

    ... ZX81 POKE (or, more probably, PEEK) once which would display the ...
    The Mighty Dopethrone The Mighty Dopethrone October 2003 Sinclair Miscellaneous
  • Speed of variables vs. POKE/PEEKGreetings, I'm sure I could probably find this out after careful study of the 48K ROM disassembly, but I was wondering whether someone already knew …

    ... 't it be faster to PEEK/POKE values at an absolute ...
    GOC GOC September 2005 Sinclair Basic
  • MOVE_M Object Movement Manager for BASICAs moving things around on the screen is usually the slowest part of a game written in BASIC, I've been pottering around with this routine to handle …

    ... DEF FN p(a)=PEEK a+256*PEEK (a+1): DEF FN ... codes table (copied to (LAST_K,23560))
    ; GOSUB = line*256 for ...
    Battle Bunny Battle Bunny September 2013 Sinclair Basic
  • 16k and PEEK 40000 (on a real 16k Spectrum)?Imagine a real 16k Spectrum (without any RAM expansion or circuits fitted). What would I get if I do a PEEK or try to access memory over 32767? Wo…

    ... get if I do a PEEK or try to access memory ...
    Zup Zup June 2020 Hardware
  • Machine Code Routine of the weekHow about a thread that has a routine each week that is in [B]assembly language[/B] and is also described in great detail what the hell is going on …

    ... . So [B]A = A OR (PEEK HL)[/B]. And remember that ... it's reading from address 23560 isn't a zero anymore ... keypress, write the result to 23560, then let this program continue ...
    joefish joefish April 2009 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. …

    Hi Folks,

    Well I have almost finished my Model Railway Timetable program and thoughts are starting to move on to project #2. A requirement is likely to be a full screen input routine and to this end I have rewritten my XINPUT code from a few ...
    Paddy Coleman Paddy Coleman August 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…

    ... K
    220 LET k=23560
    230 REM ATTR P ... /> 370 PAUSE 0: LET t2=PEEK k
    380 IF t21 ...
    Paddy Coleman Paddy Coleman October 2011 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
peek 1.9K 4.4K
23560 105 151

Related Threads

  • 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…
  • Speed of variables vs. POKE/PEEKGreetings,<br /> <br /> I'm sure I could probably find this out after careful study of the 48K ROM disassembly, but I was wondering whether someone a…
  • Admin peekIn case you are wondering how we maintain the new WoS, here's a sample taken from mags...<br /> <br /> [img]http://worldofspectrum.org/mag1.png[/im…
  • 16k and PEEK 40000 (on a real 16k Spectrum)?Imagine a real 16k Spectrum (without any RAM expansion or circuits fitted). What would I get if I do a PEEK or try to access memory over 32767?<br />…

Related Searches

  • 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
  • peek
  • peek 1024mak
  • detect 128k peek
  • detect 16k peek
  • z88dk read address peek
  • z88dk read peek
  • z88 peek
  • z88dk peek
  • address of basic program peek
  • ram test basic poke peek program
  • ram test basic poke peek program data
  • memory remaining peek basic
  • peek memory remaining
  • print peek
  • 128 memory paging basic poke peek

Copyright © 2024 World of Spectrum