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.016s
<1234567…34>
  • Removal of "reset on break" protection (old basic program)Hi, Long time lurker, here! This is hopefully quite simple but there's an old basic game in the I'd like to bring up to date / take a look at …

    There are some poke statements that normally pokes some numbers into the machine code routine at 9530 and 9540. Without any clear, they poked into the gosub/return stack instead. :P
    Timmy Timmy August 2015 Sinclair Basic
  • enhanced GOSUB/GOTO (in BASIC)Further to my previous post under "BREAK from GOSUB" here's the two ideas mentioned there put together. Note that to keep it quick it expects the DEF…

    ... previous post under "BREAK from GOSUB" here's the two ideas ... /> [/code]

    BREAK from GOSUB example
    [code]
    GO ... +3)>9999 THEN RETURN
    ...2 POKE gs,FN g(FN ... ,FN h(gln): POKE gs+2,gst:
    RETURN
    [/code]
    Battle Bunny Battle Bunny May 2012 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…

    ... you can use this poke:

    POKE PEEK 23633 + 256 * ... HELLO"

    POKE 23618,10: POKE 23619,0 : POKE 23620,2

    POKE 23618,10: POKE 23619,2 : POKE 23620,0
    stack where the appropriate return data lies. Try ...
    na_th_an na_th_an April 2005 Development
  • Frank N SteinThis one > [url]http://www.worldofspectrum.org/infoseekid.cgi?id=0001849[/url] Always seems to crash about level 7 (maybe a bit more) or so with an …

    ... complexities and just resetting the stack pointer every level (prompted by ... bug out:

    The stack was still growing after I ... /> [CODE]1400 GOSUB 3710: RETURN
    1410 POKE 59197,1: GOSUB 8010: POKE 59197,0 ...
    Jimmy Jimmy June 2011 Games
  • Making a mapI should learn Z80 assembly, but I don't have the time (really busy) and I feel like making a game. I've tried with Colt which gives me enough speed…

    ... : POKE 23607,152: RETURN
    9998 POKE 23606,100: POKE 23607,149: RETURN
    9999 POKE ... 23606,0: POKE 23607,60: RETURN [/code]

    GOSUB 9100 ...
    na_th_an na_th_an March 2004 Development
  • What Poke?Hi all, I'm looking for a POKE that stops Sinclair BASIC reading the space bar as BREAK for a small INKEY$ sub routine, if one exists? Or is it a li…

    ... works with:
    [code]
    POKE 23613,PEEK 23730-5
    POKE 23614,INT (A/256): POKE 23613,A-256 ... after any of CLEAR, GOSUB and RETURN. The poke referred to by aowen ...
    Bob Stains Bob Stains January 2009 Sinclair Basic
  • 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…

    ... +3)>9999 THEN RETURN
    ...2 POKE gs,FN g(FN ... c()+1): POKE gs+1,FN h(FN ... c()+1):
    POKE gs+2,1: RETURN
    ...3 NEXT ... from the GO SUB stack.
    * The RETURN in line 4 is ... its own return entry on the GO SUB stack to RETURN to the ...
    Battle Bunny Battle Bunny May 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 …

    ... = 16384
    30 GOSUB 1000

    1000 POKE 65526,INT (x ... ): POKE 65528,y-256*PEEK 65529
    1020 RANDOMIZE USR 65535: RETURN ...
    [/CODE]

    Without it:
    [CODE]
    10 POKE ...
    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 …

    ... made, so you can poke the source/destination addresses from ... 16384
    30 GOSUB 1000

    1000 POKE zx7+2,INT ... (x/256): POKE zx7+1,x-256*PEEK ... zx7+2
    1010 POKE zx7+5,INT (y/256 ... RETURN

    Here's the decompressor that you can poke ...
    FrankT FrankT January 2013 Brand new software
  • Is there a way to suppress error R Tape Loading Error in Basic when trying to load only part of fileHi, is there a way to suppress error R Tape Loading Error in Basic when trying to load only part of file. E.g.: I have a Tape-Code-File Start f…

    ... /> READ v: POKE stack+a,v-INT (v/256)*256: POKE stack+a+1 ...
    12 RANDOMIZE stack: POKE 23615,PEEK 23670: POKE 23616,PEEK 23671
    POKE 23614,PEEK 23671:
    STOP
    [/code]
    The stack contains ...
    Battle Bunny Battle Bunny October 2017 Sinclair Basic
  • Booting with a programIf you ever had a VTX-5000, you'll remember it booted to a menu. The menu itself was written in BASIC. When the Spectrum initialized, this BASIC prog…

    ... to 0xFF, and then the return stack is set up so that ...
    Winston Winston August 2010 Development
  • Spectrum Basic InterpreterHello. I started this days a strange project: an interpreter of the Spectrum Basic that can run in a Spectrum. Here is a very preliminar version: […

    ... .

    Now it has GOSUB, RETURN and CONTINUE. See the web ...
    NotFound NotFound December 2006 Development
  • Game OptimisationBelow is a section of code Im using for movement enermy display and collision detect. What happens is that you move the sight with ,.qa and space do…

    ... 80
    260 RETURN
    280 POKE USR "A"+0,BIN ... 00011000
    360 RETURN
    380 POKE USR "B"+0,BIN ... /> 450 POKE USR "B"+7,BIN 00000000
    460 RETURN
    ... g=g+1
    500 RETURN
    510 LET a ... LET g=0
    520 RETURN
    530 REM variables
    Toxitalk Toxitalk May 2007 Sinclair Basic
  • Game OptimisationBelow is a section of code Im using for movement enermy display and collision detect. What happens is that you move the sight with ,.qa and space do…

    ... BIN 00011000
    220 POKE USR "A"+1,BIN 00011000 ...
    230 POKE USR "A"+2,BIN 00000000 ...
    240 POKE USR "A"+3,BIN ... 00011000
    290 RETURN
    300 POKE USR "B"+0,BIN ... /> 370 POKE USR "B"+7,BIN 00000000
    380 RETURN
    ...
    Toxitalk Toxitalk May 2007 Sinclair Basic
  • Game OptimisationBelow is a section of code Im using for movement enermy display and collision detect. What happens is that you move the sight with ,.qa and space do…

    ... BIN 00011000
    220 POKE USR "A"+1,BIN 00011000 ...
    230 POKE USR "A"+2,BIN 00000000 ...
    240 POKE USR "A"+3,BIN ... 00011000
    290 RETURN
    300 POKE USR "B"+0,BIN ... /> 370 POKE USR "B"+7,BIN 00000000
    380 RETURN
    ...
    Toxitalk Toxitalk June 2007 Sinclair Basic
  • How works the Line-Draw ROM routine ?The 'complete spectrum rom dissasembly.pdf' show info related to the draw rom subroutine. The Line-Draw require two sets of parameters: X,Y coordinat…

    ... set the parameters into the stack just to call the main ... not the same as the return-stack, accessed using the PUSH and ... pushing them onto the calculator stack and then calling a routine ...
    GReW GReW June 2010 Sinclair Basic
  • Games in machine codeHi everyone, How do go about doing multiple shots like a machine gun, do you have to store every x and y position of each bullet? When you kill som…

    ... /> INTRT equ 0000010000000000b ; Interrupt return.
    STACK equ 0010000000000000b ; Reset SSP.
    INTRT_MASK equ 1111101111111111b ; Interrupt return.
    STACK_MASK equ 1101111111111111b ; Reset ...
    ASM ASM October 2010 Development
  • Activision's Ghostbusters (1984 version)Did anyone ever manage to work out (or hack) the account numbers? If so, are they the same for the 1986 rehash?

    ... LET t=1
    120 POKE 49152,t
    130 FOR ... : IF d=-1 THEN RETURN
    9020 POKE i,d: LET i ... ..

    Alternatively POKE 33840,0 and POKE 33843,0 to allow ...
    Jimmy Jimmy January 2011 Games
  • Calculating the address of a pixel?Hi Folks, Is there an easy/quick way of calculating the memory address of a pixel? So for example, if I wanted to "plot" pixel at screen coordinate…

    ... (with the possible exception of GOSUB/RETURN), but keeps the memory overheads ...
    RST#08 RST#08 February 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…

    ... LET nl=FN p(23637): RETURN:
    REM Set up pointer ... "nnnnn").
    15 RETURN

    16 POKE nl+5,FN d ... (PEEK da): POKE nl+27,FN d(PEEK ...
    Battle Bunny Battle Bunny April 2011 Sinclair Basic
  • Issue 2 headache!Ive got an issue 2 here that firstly had a blown regulator (fixed), now its reading as a 16k machine (its fully populated), ive replaced and socketed…

    Interesting

    [CODE] 2 dec = 00000010 in binary
    34 dec = 00100010 in binary
    162 dec = 10100010 in binary

    where the data bits are
    MSD -> 76543210
    1024MAK 1024MAK August 2012 Hardware
  • early Multiface One, MD & IF1 etc. on EbayJust started a few auctions on Ebay, in case you?re interested: - A tested IF1, Microdrive and (long) cable bundle - A tested, early Multiface One wi…

    I was wondering... what number appears when you press Symbol Shift+A in the Exit/Return/Save/Poke screen of the MF1?
    Jmk Jmk June 2013 Sales
  • display file addressing; screen slicingWhile working on this Compendium I'm updating or rewriting a lot of stuff. One thing I eventually came to appreciate was the simple & clever way in w…

    ... *2))*2 THEN RETURN
    7 POKE hl,w+e: RETURN
    10 ... AT 4,0;"Start : ";st: RETURN
    999 GO SUB 1000 ... ((ft-st)*100)/100:
    RETURN
    1000 LET t1=FN ...
    Battle Bunny Battle Bunny October 2013 Sinclair Basic
<1234567…34>

Latest Posts

  • European Software Titles with an English version
    harriusherbartio on 12:06PM
  • How Do You Categorize Your Speccy Software and Games?
    harriusherbartio on 11:21AM
  • Fixed Speccy Software. And which games remained unfixed?
    harriusherbartio on 11:01AM
  • I am currently watching.....
    Paradigm Shifter on 12:49AM
  • New video about S-video modification on Issue two 48K Spectrum.
    Renegade 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
  • 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

HitBox

Word Docs Hits
gosub 361 1K
return 7K 10.6K
stack 7.2K 10.4K
poke 6.2K 13K

Related Threads

  • Locating the GOSUB stackI was wondering if someone could explain how to locate the dividing line between the GOSUB stack and the machine stack. Looking at the GOSUB routine …
  • 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..<…
  • Solution for overwritten stack in 48k SNA filesIt has been known for quite some time now that the 48k SNA file format has one serious fault, which is described in the file formats section on the W…
  • 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…
  • 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 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

  • stack
  • poke 128k into 48k mode
  • rst8 return to basic
  • return to basic
  • usr0 poke
  • thunderceptor poke
  • poke 23659
  • udg 128 spectrum play poke
  • udg spectrum play poke
  • poke bank
  • poke
  • header poke
  • return to basic hl
  • bverstee stack zx spectrum
  • loading screen poke to hide text
  • jetpac ultimate poke divmmc
  • gosub stack
  • return without gosub
  • reset stack return address basic
  • gosub return stack pok

Copyright © 2024 World of Spectrum