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.025s
<1…20212223242526…34>
  • 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…

    ... perfect hash for the Spectrum BASIC keywords:

    [ ... OVER", "PAPER",
    "PAUSE", "PLOT", "POKE", "PRINT", "RANDOMIZE", "READ", "REM", "RESTORE ... "IN", "LEN", "LN", "NOT", "OR", "PEEK, PI", "POINT", "RND", "SCREEN$", "SGN ... from 64 to 128.
    Kweepa Kweepa January 2014 Development
  • quick RAM copy using LET in BASICI'm in the process of reviewing, revising and refining all the programming tips & utility routines which I've posted on this forum over the last eigh…

    ... DEF FN p(a)=PEEK a+256*PEEK (a+1)[/b]
    128 [b]LET b$=a$:[/b ... br /> 189:
    190 [b]POKE u,v-INT (v/256 ... the first version and the BASIC listing is a pleasingly coincidental ... SCANNING rather than explicitly via POKE, and saves 23 bytes ( ...
    Battle Bunny Battle Bunny February 2014 Sinclair Basic
  • Plea for new hardwareI'm posting this as a poll as I want to judge if I'm a solo loon going on about this, or if people really are interested in either of the following S…

    ... ports are contentious. If I poke 57823,24 to change the ... multicolour too, and 128K-like paging would be nice, given what ... up virtually all of that memory. However there is no reason ... could be configured to do 128 style shadow screens or even ...
    Basher Basher May 2014 Hardware
  • Read Data from memoryHi there. Not been on this scene for a long time. Does anyone know how to do a routine to read data from memory(peek..etc) rather than using lines of…

    ... I translate that to basic code. Do you ... am struggling with in basic...Cheers again...;-)...[/QUOTE]
    memory.
    if you ... [/CODE]
    in Sinclair BASIC use this:
    [CODE ... to 999
    Poke 56000+a,peek (55000+a)
    ...
    LCD LCD May 2014 Sinclair Basic
  • Read Data from memoryHi there. Not been on this scene for a long time. Does anyone know how to do a routine to read data from memory(peek..etc) rather than using lines of…

    ... a fastcalled instruction to copy memory.
    if you want to ... can try this to copy memory:
    [CODE]
    DI
    [/CODE]
    in Sinclair BASIC use this:
    [CODE]
    Poke 56000+a,peek (55000+a)
    Next ...
    davepierce07 davepierce07 May 2014 Sinclair Basic
  • UDG tricks?I always enjoyed using [URL="http://www.worldofspectrum.org/ZXBasicManual/zxmanchap14.html"]UDGs [/URL]for the 'sprites' in my games, when I coded th…

    ... BASIC has a large emphasis of addressing the memory directly with Peek and Poke ... probably stick to the simpler BASIC style games for the mean ...
    Dock Dock 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…

    ... BASIC uses everything in data statements. I suppose I could POKE it ... as a memory block then delete those ... rewrite the loops to use PEEK instead.

    Mcoder III ...
    joefish joefish June 2014 Sinclair Basic
  • analysing program variable usageIf I wanted to count the number of times each variable is referenced while a program is running (not the number of times each variable is referenced …

    ... 63999: POKE 64000,128"
    at the start of the BASIC program to ... a=64000
    8942 IF PEEK a=128 THEN
    STOP
    128 THEN
    LET b0=b0-128: LET b$=STR$ (PEEK (a ... +1)+256*PEEK (a+2 ...
    Battle Bunny Battle Bunny July 2014 Sinclair Basic
  • 48k Stops loading and resetsI've just fixed the problem I had with my Issue 2 Spectrum only showing 16k memory by replacing all of the upper ram. With that job done I've done a …

    ... ]you could write a basic program to peek and poke all the addresses ... . Attempting to test too low memory will make it crash (as ... ROM or in the screen memory (think of "The Key") as ... assuming screen memory would be noticed that way ...
    spider spider September 2014 Hardware
  • LOAD "" CODE in machine code/store 128 bank dataHow do you LOAD "" CODE from machine code? I have written the following MC routine that fits into a REM statement in a basic program. I want to cal…

    ... are using 128 basic:

    10 clear 49151
    20 poke 23388 ... (BASIC ROM) + 6 (RAM 6) = 22.
    - As explained before, the POKE ... changed). The OUT changes the paging, so no PAUSE is required ... only the OUT to change paging, forget about it. On the ...
    Zup Zup October 2014 Development
  • 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 …

    ... a new graphic bank in memory. The bank's identification number ... : CIRCLE INK b*8;160,128,10*a FILL: LET b ... (y) and use PEEK$ to get the pixels. PEEK$ returns a string ... use POKE$.

    POKE$ writes bytes from a string into a memory ...
    Dunny Dunny March 2015 Sinclair Basic
  • SpecBAS 0.844 releasedHi all - it's been a while... Having some unexpected extra time off work, I've been able to get some work done on SpecBAS and it's now a bit more …

    ... /> Your current knowledge of Sinclair BASIC will serve you quite well ... POKE and PEEK work, but they work on memory banks so they need POKE ... bankID,address,value and PEEK ... I ever wanted in a BASIC (almost - still working on ...
    Dunny Dunny August 2015 Sinclair Basic
  • Peeking the contents on screen? How?You will have to forgive me for growing up on the C64, but I know I can peek the location of a character (1024 is top left from memory) and the peek …

    ... usable by BASIC, and above that, you can POKE and PEEK memory without corrupting ... of your BASIC program), and then you can use any memory address ... above that to POKE and PEEK whatever data ...
    joefish joefish August 2015 Sinclair Basic
  • IN and OUT in hardware terms... what are 'ports'?Hi all, I understand PEEK and POKE, but have never managed to get my head around IN and OUT. The books all go on about how they read from and wri…

    ... .

    The PEEK and POKE BASIC statements manipulate memory using the Z80’s ... LD instruction. The IN and OUT BASIC ... to perform a memory read request. A POKE will result in combining ...
    zub zub September 2015 Hardware
  • What is the "SPECTRUM" keyword on a 128K?The 128K replaced UDG characters T and U with new commands; PLAY and SPECTRUM (or possibly the other way around.) The manual ([url="http://www.wor…

    ... Spectrum into 48k mode by paging in the 48k ROM, changing ... printer, and disabling the RAM paging. It neglects to clear the ... program in memory is lost. Typing "USR 0" in 128 BASIC has a ... similar effect but this leaves the paging enabled ...
    Battle Bunny Battle Bunny October 2015 Sinclair Basic
  • ZX81 Character SetHello, hope I don't offend anyone with my request. I've put together a program on my Amstrad that redefines a condensed text and displays it appropri…

    ... know where to PEEK, I'd presume a BASIC program has a ... AS YOU HAVE BYTES TO POKE INTO MEMORY
    9900 REM RUN ... in memory using the DFILE system variable:
    [code]LET ADDRESS=PEEK ... 16396+256*PEEK 16397[/code]
    Although ...
    GReW GReW December 2015 Sinclair Miscellaneous
  • DivMMC Enjoy - I'm not enjoying it!My DivMMC Enjoy arrived today. Excitedly I rushed home to plug it into my +2a. I have quite a few SD card/CF solutions for my computers so I know wha…

    ... ROM but with full 128K paging enabled.

    ... to lock the 128K paging system, some games designed ... and its place in memory is filled with a ... addresses C000-FFFF, unexpectly paging in ROM 0 (or ... from 128K BASIC, these loaders simply do a POKE 23388, ...
    mcleod_ideafix mcleod_ideafix April 2016 Hardware
  • A z88dk + sp1 demo (with source)Since nowadays people are still wondering about how difficult it is to make something in z88dk, I thought I just put a very simple demo to show how e…

    ... timer and "o" exits to basic.

    For this ... #pragma output CLIB_STDIO_HEAP_SIZE = 0 // no memory for files
    #pragma output ... 1}, {0,128,120,2,0}, {0,128,56,2,0 ... backwalls[];


    // Memory to define the background.
    Alcoholics Anonymous Alcoholics Anonymous June 2016 Development
  • Where does the BASIC program sit 48K Spectrum memory?Hi there First post so be gentle, I've had a spectrum since the 80's and have recently started programming it for fun again. I wrote the followin…

    ... 32768
    17, 0, 128 LD DE,16384
    ... (near the top of memory, leaving just enough room ... you'll notice the memory addresses are encoded as ... listing using POKEs from BASIC? How would I do ... down to 16384 using POKE again. But as predicted ...
    ivanb303 ivanb303 September 2016 Sinclair Basic
  • Where does the BASIC program sit 48K Spectrum memory?Hi there First post so be gentle, I've had a spectrum since the 80's and have recently started programming it for fun again. I wrote the followin…

    ... 's equivalent drawing functionality in BASIC, type RUN then GOTO 1000 ... screen get drawn back from memory, type PAPER 7 then CLS ... =16384 TO 16384+6912: POKE i+41984,PEEK i: NEXT i
    POKE i-41984,PEEK i: NEXT i
    textvoyage textvoyage September 2016 Sinclair Basic
  • Where does the BASIC program sit 48K Spectrum memory?Hi there First post so be gentle, I've had a spectrum since the 80's and have recently started programming it for fun again. I wrote the followin…

    ... data which you can POKE into memory, then call like ... POKE the machine code I've written into memory ... 's roughly equivalent to the BASIC instruction:

    ... =6912
    1030 POKE DE,PEEK HL:
    LET ... to address 58368 in memory. And it takes a ...
    joefish joefish September 2016 Sinclair Basic
  • Where does the BASIC program sit 48K Spectrum memory?Hi there First post so be gentle, I've had a spectrum since the 80's and have recently started programming it for fun again. I wrote the followin…

    Here's a bit of BASIC for you:
    [code]< ... REM Draw
    310 POKE 65358,s: RANDOMIZE USR 65356 ... )
    340 LET x=128+118*SIN r
    ... it recalls a frame from memory, draws the next pyramid, ... copies that frame back into memory.

    The variable ...
    joefish joefish September 2016 Sinclair Basic
  • A BEEP program I want to make in Basic. Helpful remarks gratefully receivedI want to explore the possibilities of the BEEP command. So I need to be able to try different combos of pitch/duration and sequences of same. I'm tr…

    ... /> 125 READ a
    130 POKE z,a
    135 NEXT ... ,33,0,4,205,13,128,201
    1010 DATA ... 37,205,22,128,120,177,32,248,201 ... is stored at 32768 in memory and is called by RANDOMIZE ... trying to do it in BASIC.

    Anyway I appreciate ...
    Morkin Morkin November 2016 Chit chat
  • 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…

    ... />
    This is the 'Sinclair BASIC Attribute Scroll Mechanism', or [b ... If you want to POKE or PEEK data directly to the buffered ... ATTR() read, the address to POKE or PEEK is [b]( 63232 + ( ... that many bytes, will POKE those bytes into memory. So lines 9130 ...
    joefish joefish January 2017 Games
  • Another 48k Speccy acting as a 16K model.Hi all, I originally was going to post asking for help to fix the new addition to my family a very nice condition Issue 2 sold on ebay as a 16K model…

    ... another matter.

    The BASIC system does a quick and ... POKE and PEEK can access.

    If there is no working memory ... are fitted, but which have memory cell defects may respond and ... very likely access the wrong memory cell.

    It ...
    1024MAK 1024MAK April 2017 Hardware
  • how do i get more udgs on the spectrum in basic?how do i get more udgs on the spectrum in basic? i know there r only supposed to be 21 but is there a way of getting more in basic? i know its doable…

    ... (where x represents the new memory location). Basically, you need to ... value of RAMTOP type PRINT PEEK 23730 + PEEK 23731*256.
    < ... UDGs, you have to POKE the system variables that point ... an alternative font in Spectrum BASIC. It can be frustrating to ...
    textvoyage textvoyage August 2017 Development
<1…20212223242526…34>

Latest Posts

  • i am currently listening to........
    Paradigm Shifter on 12:26AM
  • Happy 40th Birthday to the Amstrad CPC464!
    dmsmith on April 16
  • Celebrity deaths...
    mel the bell on April 16
  • Cooperative Games.
    Paradigm Shifter on April 16
  • LONELY TZX files : software TZX'd on the online sites with NO ASSOCIATED DOCUMENTATION
    harriusherbartio on April 16
  • European Software Titles with an English version
    harriusherbartio on April 16
  • How we became brainwashed by social media
    Antiriad2097 on April 16
  • How Do You Categorize Your Speccy Software and Games?
    Antiriad2097 on April 16
  • Fixed Speccy Software. And which games remained unfixed?
    harriusherbartio on April 16
  • I am currently watching.....
    zx1 on April 15

HitBox

Word Docs Hits
128 9.4K 14.8K
memory 21.8K 32.5K
paging 1.7K 2.4K
basic 24.7K 39K
poke 6.2K 13K
peek 1.9K 4.4K

Related Threads

  • 128 Memory PagingI'm having a problem getting my brain around paging. Well, actually the bit I don't understand is how reading I/O ports works! I hope the collective …
  • Memory paging in 128 KB - 64KB RAM possible?I have found a quote in Spectrum 3 manual (available at WOS)<br /> <br /> --------------------<br /> In the +3, we have crammed in more than<br /> tw…
  • 128 BASIC-compatible way of loading BASIC as code?On a 48K Speccy (or from 48 BASIC or USR 0 mode on a 128K machine), one can do a silly trick like this:<br /> <br /> [code];; load a 4000 byte BASIC …
  • Basic listings memory occupationI remember readong someplace that due to basic's representation of number, in a program, in order to save space, it was better to represent integers …
  • 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…
  • What is difference between "128" and "128+"?What is the difference between a "Spectrum 128" and a "Spectrum 128+" ??<br /> <br /> And I am not talking about the different looking +2's, etc.<br …
  • Disable BREAK 128 basicDoes anyone know how to prevent BREAK in 128k basic?
  • 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…
  • Changing MP3's from 128+ to just 128I have a number of MP3's that are bigger than 128 bit rate and i want to convert them all in one go to 128. <br /> <br /> Could you guys recommend s…

Related Searches

  • spectrum 128 basic manual pdf
  • udg 128 spectrum play poke
  • 128 detect basic
  • basic detecting 128
  • 128 basic
  • 128 basic reference
  • differences in 128 basic and 3
  • 128 memory
  • poke disable scroll in basic
  • stop out of screen warning basic poke
  • ram test basic poke peek program
  • ram test basic poke peek program data
  • memory remaining peek basic
  • spectrum 128 paging memory
  • 128 memory paging
  • 128 memory paging basic
  • 128 memory poke peek
  • data memory peek poke
  • memory paging 128
  • 128 paging in basic

Copyright © 2024 World of Spectrum