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.006s
<1…16171819202122…34>
  • countdown timer ?just curious if there was a pre-made one about that I could use to count down from 999 to 0. in MC / under interrupt, that returns to basic? but how…

    ... /> POKE m,INT ((start-PEEK h*24)/60):
    POKE s,start-PEEK h ... *24-PEEK m ... ;" ":
    GO TO (PEEK 23621+256*PEEK 23622+1 AND hms ... )
    [/code]
    PEEK 23621+256*PEEK 23622+1 just gives ...
    Battle Bunny Battle Bunny April 2012 Sinclair Basic
  • Keyboard problem...Hi Folks, I have hit a problem in MRT and I cannot see how to get around it. Please allow me to explain. I have a list of items from which one can…

    ...
    3130 REM
    3135 POKE P,CODE "G":
    LPRINT ... TO 3140
    3141 IF PEEK F1
    Paddy Coleman Paddy Coleman April 2012 Sinclair Basic
  • Repairing another Issue 2 48K Spectrum.I said at the start of the other thread that I've got another one of these and I've started investigating it. The board is more-or-less exactly the …

    ... in a 16K Spectrum. POKE and PEEK in upper RAM suggested more ...
    Zorn Zorn April 2012 Hardware
  • 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…

    ... /> [CODE]100 POKE 23560,0
    110 LET a=PEEK 23560: PRINT ...
    Paddy Coleman Paddy Coleman April 2012 Sinclair Basic
  • +3 DOS questionHey all, Is it possible to catalogue a +3 disk to a variable somehow from BASIC? I'm looking at extending my Snapshot to Microdrive utility, so it s…

    ... (a)=PEEK a+256*PEEK (a+1)
    21 DIM s$(200): POKE ... 23739,129: POKE ... =FN p(23643):
    POKE 23739,244: POKE 23740,9:
    FOR ... s$(a-k1-32)=CHR$ PEEK a: NEXT a:
    PRINT ...
    Battle Bunny Battle Bunny April 2012 Sinclair Basic
  • +3 DOS questionHey all, Is it possible to catalogue a +3 disk to a variable somehow from BASIC? I'm looking at extending my Snapshot to Microdrive utility, so it s…

    ... through memory; eg:
    POKE 23643,PEEK 23641: POKE 23644,PEEK 23642

    PEEK a: NEXT a
    Battle Bunny Battle Bunny April 2012 Sinclair Basic
  • +3 DOS questionHey all, Is it possible to catalogue a +3 disk to a variable somehow from BASIC? I'm looking at extending my Snapshot to Microdrive utility, so it s…

    ... DEF FN p(a)=PEEK a+256*PEEK (a+1)
    20 ... /> 21 DIM s$(200): POKE 23739,129: POKE 23740,15:
    LET ... =FN p(23643):
    POKE 23739,244: POKE 23740,9:
    FOR ... s$(a-k1+1)=CHR$ PEEK a: NEXT a:
    PRINT ...
    Battle Bunny Battle Bunny April 2012 Sinclair Basic
  • Turn UDG to Attrribute blocksI'm trying to enlarge my UDG's to 8 x 8 character blocks per pixel, but struggling, is there any subroutine/program for enlarging UDG's x 8?

    ... DEF FN p(a)=PEEK a+256*PEEK (a+1): DEF FN ... br /> 5 LET pat=PEEK 23693: LET pin=FN a ... 7:
    LET p=PEEK (u+b): LET h= ... 0 TO 7:
    POKE d+c,CODE c$(c ... 7:
    LET p=PEEK (u+b): LET d= ... 0 TO 7:
    POKE d+7-c,pat-((pat ...
    Battle Bunny Battle Bunny May 2012 Development
  • Store and restore attribute valuesI am needing ideas on how to write a machine code routine that will store/restore (more important to restore) attribute values to the 22528 area. I …

    ... 512 bytes
    POKE 23660,FN g(dd): POKE 23661,FN h ... /> DEF FN p(a)=PEEK a+256*PEEK (a+1):
    DEF ... /> DIM s$(512): POKE 23563,FN g(dd): POKE 23564,FN h ... TO dd+8: READ b: POKE a,b: NEXT a:
    Battle Bunny Battle Bunny May 2012 Development
  • BREAK from GOSUBHere's another one. Just in case you wanted to break out of multiple GOSUB levels with a single command, here's a routine to do it, tested on all mod…

    ... ): DEF FN p(a)=PEEK a+256*PEEK (a+1):
    DEF ... p(gs):
    LET gss=PEEK (gs+2): IF FN p ... ;9999 THEN RETURN
    ...2 POKE gs,FN g(FN c ... ()+1): POKE gs+1,FN h(FN ... c()+1):
    POKE gs+2,1: RETURN
    Battle Bunny Battle Bunny May 2012 Sinclair Basic
  • Dimming the screen...Hi Folks, I was hoping someone on here could help me with a wee machine code routine. I have written the following example in BASIC: [CODE]100 REM…

    ... =22528 TO 23231: POKE a,PEEK a-(64 AND PEEK a>64 ...
    Paddy Coleman Paddy Coleman May 2012 Development
  • General purpose full screen input routineHi Folks, One of the things that annoyed me back in the 1980s with most BASICs was the lack of a full screen "formatted" input function. You could …

    ...
    280 REM
    290 POKE P,ATTR (i2,i0): PRINT ...
    Paddy Coleman Paddy Coleman May 2012 Sinclair Basic
  • General purpose full screen input routineHi Folks, One of the things that annoyed me back in the 1980s with most BASICs was the lack of a full screen "formatted" input function. You could …

    ... : LET da=PEEK 23639+256*PEEK 23640+8:
    POKE 23563,da-INT ... (da/256)*256: POKE ...
    Battle Bunny Battle Bunny May 2012 Sinclair Basic
  • General purpose full screen input routineHi Folks, One of the things that annoyed me back in the 1980s with most BASICs was the lack of a full screen "formatted" input function. You could …

    ... LET da=PEEK 23639+256*PEEK 23640+8:
    POKE 23563,da- ... INT (da/256)*256: POKE ... 23564,INT (da/256):
    RESTORE 101: LET va=PEEK ... 23639+256*PEEK 23640+7:
    RETURN ...
    Battle Bunny Battle Bunny May 2012 Sinclair Basic
  • General purpose full screen input routineHi Folks, One of the things that annoyed me back in the 1980s with most BASICs was the lack of a full screen "formatted" input function. You could …

    ... : LET da=PEEK 23639+256*PEEK 23640+8:
    POKE 23563,da-INT ... (da/256)*256: POKE ...
    Paddy Coleman Paddy Coleman May 2012 Sinclair Basic
  • A "bit" of a curiosityHaving to use a bit of m/code to do the AND in that key check function, I was prompted to revisit the "AND,XOR,OR,...for BASIC" topic and came up wit…

    ... : LET da=PEEK 23639+256*PEEK 23640+8:
    POKE 23563,da-INT ... (da/256)*256: POKE ...
    Battle Bunny Battle Bunny June 2012 Sinclair Basic
  • A "bit" of a curiosityHaving to use a bit of m/code to do the AND in that key check function, I was prompted to revisit the "AND,XOR,OR,...for BASIC" topic and came up wit…

    ... : LET da=PEEK 23639+256*PEEK 23640+8:
    POKE 23563,da-INT ... (da/256)*256: POKE ...
    Battle Bunny Battle Bunny June 2012 Sinclair Basic
  • General purpose full screen input routineHi Folks, One of the things that annoyed me back in the 1980s with most BASICs was the lack of a full screen "formatted" input function. You could …

    ...
    290 REM
    300 POKE P,ATTR (i2,i0): PRINT ...
    Paddy Coleman Paddy Coleman June 2012 Sinclair Basic
  • dungeon crawlerHi. I'm toying with idea of making simple dungeon crawler in spectrum basic and i actually got first version working somehow. [IMG]http://watashi.ic.…

    ... c$(15*32): LET a=PEEK 23693:
    FOR c=1 ... =65527 TO 65535: READ b: POKE a,b: NEXT a:
    POKE 23563,247: POKE 23564,255:
    DATA ...
    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…

    ... ]100 PRINT AT 21,0;PEEK 23658,,
    110 PAUSE 0 ... ,0,,
    130 LET a=PEEK 23560
    140 PRINT AT ... ;a,CHR$ a
    150 POKE 23560,0
    160 GO ...
    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…

    [QUOTE=Paddy Coleman;638787]Ah but that is the trouble Guesser - detecting CAPS LOCK reliably. ;)[/QUOTE]

    Er, do it the same way you detect any other letter

    IF a = 6 THEN peek->toggle->poke sysvars :)
    guesser guesser 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…

    ... a = 6 THEN peek->toggle->poke sysvars :)[/QUOTE]

    Mmm, but a PEEK on ...
    Paddy Coleman Paddy Coleman July 2012 Sinclair Basic
  • Changing the colour Atributes at y,x (+3e BASIC)Hello there my fellow WoS'ers I am currently writing away on my +3e and I am wonder is there a way I can just effect the Paper / Ink attributes at Y…

    I you want to use POKE, the way to calculate the ... PEEK that address you'll read off the attribute. If you POKE ...
    joefish joefish July 2012 Sinclair Basic
  • Switching 48/128 modes within a BASIC programI'm not sure what use this would be; ie. being able to switch between 48k and 128k modes and back again from within a continuously running BASIC prog…

    ... )): DEF FN p(a)=PEEK a+256*PEEK (a+1):
    ... STOP
    2000 LET flags=PEEK 23611: LET bit4=INT (flags ... p(23613):
    POKE sp,FN g(trap): POKE sp+1,FN ... 0: LET l=FN m(PEEK 19)+PEEK 5440:
    FOR a ... FN p(23613): POKE sp,FN g(ret): POKE sp+1,FN ...
    Battle Bunny Battle Bunny July 2012 Sinclair Basic
  • 128k gone badHi All, Turned my 128k on this morning and... [img]http://www.w.angold.btinternet.co.uk/bad128small.jpg[/img] Can anyone help? whats the most lik…

    Almost certainly bad RAM (one or more bad RAM ICs)

    If you have a DivIDE or any other piece of hardware that makes a 128K come up in USR 0 mode, if the failure is in upper memory it's very easy to find using BASIC POKE and PEEK.
    Winston Winston August 2012 Hardware
  • INKEY$ giving me troubleHello, I have been using BASin (great program by the way...) Sad though it seems during the typhoon here I have been re-learning my spec-skills an…

    ... start of the program with POKE 23658,8 (on) or ... TO:
    [code]
    2 POKE 23658,0
    ...
    ... 2 POKE 23658,0: DEF FN c()=PEEK 23621+256*PEEK 23622
    PEEK 23561 pause in any ... time as a PAUSE PEEK 23561 but isn't ...
    Battle Bunny Battle Bunny August 2012 Sinclair Basic
  • .tapein load crashes if no CLEAR performed first(!)Hi Guys, Can anyone explain the following as it has be stumped: I came across an unexpected crash today when loading in a 16K block of code at 8000…

    ... TO here+8: READ p: POKE a,p: NEXT a:
    30 PRINT PEEK 23730+256*PEEK 23731, USR here
    Battle Bunny Battle Bunny August 2012 Hardware
  • real value of some of these books as learning aids?Ok, I admit perhaps it was a late night and frustration. :???: I could have been hallucinating when i was doing the typein. But I think not.. [url]…

    ... day.

    If you peek 23624 it comes back with ... /> So then enter in a poke of another number between 0 ... there a way I can poke the rest of the screen ...
    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 …

    This isn't a reply to the previous post, it's a follow-up to post #4.

    Before I go any further, I'll point out that the following routine won't work correctly in BASin, as BASin doesn't return the correct codes for Symbol(Ctrl)-shifted keys or ...
    Battle Bunny Battle Bunny 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 ...
    WibbleBibble WibbleBibble August 2012 Sinclair Basic
<1…16171819202122…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
poke 6.2K 13K
peek 1.9K 4.4K

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…
  • POKE, how it works?I have a cool list of POKE's for some games, but I have no idea how it works. What I must do with these numbers?. Please help me. thanx a lot.
  • Poke helpHi can any offer me some help please!<br /> I am using the WinZ80 emulator and playing footballer of the year.<br /> The Zip file contained POKEs but…
  • Poke filesJust wondering, how do you use the poke files? I have a game that is pass word protected (Avalon) and a .pok file with it - I assume that this is a h…
  • a poke to change fonts??hi ppl, there wasnt some poke in basic to change the look alike of the fonts of speccy??<br /> <br /> I guess I did things like that in eighties..<…
  • poke in fuse??is it possible to use POKES with Fuse??<br /> <br /> its a long time ago since i used a spectrum and can't remember the routine!!<br /> <br /> many t…
  • Poke Cards, Scans Needed.Hi folks,<br /> <br /> Does anyone have any of those YS or SU poke cards you got in certain mags.<br /> <br /> I don't remember if they were SU or YS…
  • I need a cheat/poke for 3D Grand Prix, pleaseHi!<br /> <br /> Dos anyone know how to avoid the oil pools?<br /> <br /> Thanks in advance.

Related Searches

  • poke 128k into 48k mode
  • usr0 poke
  • thunderceptor poke
  • 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
  • poke 23659
  • udg 128 spectrum play poke
  • udg spectrum play poke
  • poke bank
  • poke
  • header poke
  • ram test basic poke peek program data
  • 128 memory paging basic poke peek
  • 128 memory poke peek
  • data memory peek poke
  • poke peek
  • peek n poke computers

Copyright © 2024 World of Spectrum