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.209s
<1…78910111213…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…

    ... "IF", "INK", "INPUT", "INVERSE", "LET", "LIST", "LLIST", "LOAD",
    " ... OVER", "PAPER",
    "PAUSE", "PLOT", "POKE", "PRINT", "RANDOMIZE", "READ", "REM", "RESTORE", " ... )
    {
    unsigned char a = pear_hash(0, key);
    ...
    Kweepa Kweepa January 2014 Development
  • 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…

    ... "IF", "INK", "INPUT", "INVERSE", "LET", "LIST", "LLIST", "LOAD",
    "LPRINT ... OVER", "PAPER",
    "PAUSE", "PLOT", "POKE", "PRINT", "RANDOMIZE", "READ", "REM", "RESTORE", " ... )
    {
    unsigned char a = pear_hash(0, key);
    ...
    Kweepa Kweepa January 2014 Development
  • 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…

    ... 4: LET da=PEEK 23639+256*PEEK 23640+8:
    POKE 23563 ... ,da-INT (da/256)*256: POKE 23564,INT (da/256)
    PRINT "dup.old=";CODE h$(rsl ... /> LET ba=a-ba2*2: LET bb=b-bb2*2:
    LET a=ba2: LET b ...
    Battle Bunny Battle Bunny January 2014 Development
  • 128+2 Help!Today the postie brought me an early Spectrum 128+2, it's a Z70700 Issue 1. Everything seems to be working ok, i.e it boots up and the keyboard work…

    ... enter values as part of a BASIC program.

    For ... ]10 CLEAR 64511
    20 LET a=64512
    30 READ d ... THEN STOP
    50 POKE a,d
    60 LET a+a+1
    70 ...
    Then use
    [CODE]PRINT USR 64512 [/CODE][I][B ...
    1024MAK 1024MAK April 2014 Hardware
  • BASin won't accept this code?Taken from the Oneliner contest 2007: [CODE]1 LET n=191: DIM i$(4,9): FOR g=2 TO 4: LET i$(g-1)=" # # # # ": NEXT g: LET b=0: LET p=16: LET a=p: LET …

    ... : LET i$(g-1)=" # # # # ": NEXT g: LET b=0: LET p=16: LET a=p: LET ... s=0: FOR y=0 TO 13: LET ... : LET z=(b>y)*(bx)*(a" ": PRINT AT b+1,a;" ";AT b,a ... -1;" ^ ";: POKE 23620,22+8*(g=20)*(p=x+4): LET i ... )+(IN 57342< n)*(p0)): LET a=a*(b
    Dunny Dunny April 2014 Sinclair Basic
  • BASin won't accept this code?Taken from the Oneliner contest 2007: [CODE]1 LET n=191: DIM i$(4,9): FOR g=2 TO 4: LET i$(g-1)=" # # # # ": NEXT g: LET b=0: LET p=16: LET a=p: LET …

    ... : LET i$(g-1)=" # # # # ": NEXT g: LET b=0: LET p=16: LET a=p: LET ... s=0: FOR y=0 TO 13: LET ... : LET z=(b>y)*(bx)*(a" ": PRINT AT b+1,a;" ";AT b,a ... -1;" ^ ";: POKE 23620,22+8*(g=20)*(p=x+4): LET i ... )+(IN 57342< n)*(p0)): LET a=a*(b
    GreenCard GreenCard April 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 …

    ... wherever, put:
    "CLEAR 63999: POKE 64000,128"
    at the ... $:
    LET a=a+3: GO TO 8942
    8946 PRINT CHR$ b0;: LET a=a+1 ... with:
    ;CLEAR [below 64000]: POKE 64000,128
    org 23296 ...
    Battle Bunny Battle Bunny July 2014 Sinclair Basic
  • BLOG- ZXSporgBasic RPG development thread- Inspired by the Spectrum 30 show, and after a six-month wait while I was busy playing loads of gigs, I have decided to do a spot of Spectrum coding…

    Another 9 month hiatus. Made a few false starts because I ... the code for a wall to 0 and a door to 1 ... /> 20 REM changes this version: print room based on map grid ... 2210-200*w
    2010 PRINT AT ny,nx; INK npc ...
    bigjon bigjon September 2014 Sinclair Basic
  • Game of Life.Last year (I think) or maybe the year before, I entered a Game of Life simulator into the CSS CGC compo but for the Sinclair ZX81. I decided to port…

    ... :
    PRINT AT 0,0; PAPER 1,,: LET r0=10: LET c0=16 ... =22528+r0*32+c0: LET a=PEEK p: PRINT AT r0,c0; PAPER ... 1;" ":
    PAUSE 0: LET i$=INKEY$: POKE ... p,a: LET p=1
    24 ...
    Battle Bunny Battle Bunny October 2014 Sinclair Basic
  • Microdrive usageAnyone here know about microdrive files? Had a few carts in, all have stuff on, heres an example cat 1 with the error message i get for every single …

    Here's a composite of three routines from ... LET z$="": CAT #14,d
    5010 CLS : POKE 23766,d: POKE 23768 ... ,15
    5020 PRINT INVERSE 1 ... ;"Title: ";z$( TO 10)
    5030 LET z ...
    Battle Bunny Battle Bunny November 2014 Sinclair Miscellaneous
  • moving things en masseJust a random thought while I warm up for the Crap Games Once you PRINT something to the screen..... can you manipulate it in anyway other than ove…

    ... offset one pixel, you can print in the same spot and ... ) (you might need to print 2 cells for the edge ... 40 LET x=10: LET y=1: LET z=144
    50 PRINT AT ... F=65368 TO 65535: READ A: POKE F,A: NEXT F
    ... LET z=144: PRINT AT x,y;" ": LET y=y+1
    2050 PRINT ...
    ASH-II ASH-II February 2015 Sinclair Basic
  • 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…

    ... do a POKE 23611,204 you enable (or disable) a flag that tells PRINT ... when to print UDG T and ... 's easier to do a POKE 23611,204 and let the BASIC interpreter ... every time you need to print something.
    Zup Zup October 2015 Sinclair Basic
  • 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…

    ... do a POKE 23611,204 you enable (or disable) a flag that tells PRINT ... when to print UDG T and ... 's easier to do a POKE 23611,204 and let the BASIC interpreter ... every time you need to print something.[/quote]

    I ...
    The_Bert The_Bert October 2015 Sinclair Basic
  • How to Poke a real Spectrum....Hi everyone. Can anyone remind me how to use POKES? (using a real Spectrum, not via the tipshop on an emulator). I've searched around and I can't f…

    ... CODE[/b] and either [b]PRINT[/b] or [b]RANDOMIZE USR ... load the BASIC but not let it auto-run.
    ... but just before the [b]PRINT USR[/b] or [b ... line of BASIC and use a POKE to change its line ... really just a single line beginning with a PRINT USR instruction ...
    joefish joefish January 2016 Games
  • Must be missing the point - machine code... Hi Folks, Trying my hand at machine code again but falling at the first hurdle. I hand crafted the following to run at address 62000 and the co…

    ... br /> 120 CLS
    130 PRINT AT 0,0;"ADDR";AT ... br /> 180 PRINT A;TAB 7;H$;
    190 LET P=CODE H ... br /> 210 PRINT TAB 12;P;
    220 LET D=P*16 ... /> 260 PRINT TAB 17;P;TAB 22;D
    270 POKE A,D ...
    280 LET A=A+1
    290 ...
    Paddy Coleman Paddy Coleman September 2016 Development
  • RANDOMIZE USR, PRINT USR etcHello just wondering why is it called RANDOMIZE UsR what does randomising have to do with it ? When calling machine code routine from adress x you ty…

    ... Put a POKE 65368,201 and it will return safely (and print the ... going with it? Let's think about a practical case. Imagine ... - PRINT USR nn will print BC on screen, ruining your SCREEN$.
    - LET A ... =USR nnn will put it on A, taking some ...
    Zup Zup October 2016 Sinclair Basic
  • Arrays in BASICHi so I'm making this crappy game and I wanna store the screen positions of some UDGs in in a 50x2 array cause I have 50 characters. So I made the ar…

    ... /> [code]
    10 POKE 23659,0:
    PRINT AT 22,0;"AT ... 23,31":
    PAUSE 0: POKE 23659,2: STOP
    [/code ... br /> PRINT CODE SCREEN$ (23,31): PRINT ATTR (23,31): POKE 23659,6 ...
    [code]10 LET a=score
    20 PRINT #2; AT 23,0 ...
    ivanb303 ivanb303 October 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…

    ... of BASIC, you can do a lot more... There ARE tools ... with the Beeper hardware of a 48k system, like Beepola, for ...
    kgmcneil kgmcneil 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…

    ... LET a=64000+(32*s)
    130 FOR b=a TO a+31: POKE ... THEN LET c=64+(s*8)+s: POKE a+1+s,c: POKE a+ ... 270 LET z=USR 63032
    280 PRINT AT y,x;"A"
    530 LET a=ATTR (y,x): IF ... /> 580 PRINT AT y,x;"A"
    590 LET k$=INKEY$: LET x=x ...
    joefish joefish January 2017 Games
  • Short program10 PRINT "You know what? I just cannot be bothered any more!" 20 GOTO 10

    ... /> 30 POKE 23692,0: POKE 23613,PEEK 23613-2
    40 LET a$="V ... 1982"+CHR$ 13
    50 LET a$=a$+"Naq V'yy xrrc fvatvat ... orpnhfr"+CHR$ 13
    60 LET a$=a$+"Guvf vf gur cebtenz gung ... +" raqf"+CHR$ 13
    70 LET a$=a$+"Vg whfg tbrf ba naq ...
    Alcoholics Anonymous Alcoholics Anonymous February 2017 Sinclair Basic
  • Better "Hello World"are their any more visually impressive Hello world loops i can do in basic other than the print-goto one.

    [code]
    1 LET a$="Hello World!!"
    2 PRINT INK 9; PAPER INT (RND*8); BRIGHT INT (RND*2);CHR$ CODE a$;: OUT 254,RND*32: POKE 23692,PI: LET a$=a$(2 TO ): GO TO 2-(a$="")
    [/code]
    GReW GReW May 2017 Sinclair Miscellaneous
  • 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…

    ... ]
    1 POKE 23674,0: POKE 23673,0: POKE 23672,0: POKE 65281,0 ...
    2 LET f1=PEEK 23672: LET f2=PEEK 23673: LET f3=PEEK ... 23672: LET f4=PEEK ... 23673: LET f=f1 ...
    Dunny Dunny June 2017 BASIC
  • im looking for a horizontal scroll routinehi, im looking for a horizontal scroll routine. i read somewhere that you can do it with at 'to' statement, somewhere in a print routine. althoug…

    ... (a,b): LET v$(1,p)=CHR$ ATTR (a,b):
    PRINT AT a,b ... 102 RANDOMIZE da: POKE 23563,PEEK 23670: POKE 23564,PEEK 23671:
    POKE da+7,PEEK 23671:
    REM print upper trace ... 23670: POKE da+5,PEEK 23671:
    REM print lower trace ...
    Battle Bunny Battle Bunny June 2017 Sinclair Basic
  • How to improve my program using oversized numbersI'd like my dice program to print out the number four times bigger than normal if possible. Anyone know how to do this? Or I could write a sub rou…

    ...
    20 LET a$=CHR$ c: FOR a=1 TO 31: LET a$=a$+CHR$ c ... : NEXT a
    30 LET f ... =22592
    40 POKE 23681 ... /256)
    50 LPRINT a$
    60 PRINT #0; AT 1,0 ...
    IvanBasic IvanBasic July 2017 BASIC
  • Flood Fill IssueHi Folks, Came across the following Flood Fill routine by John Metcalf: [code]; scanline fill by John Metcalf ; call with d=x-coord, e=y-coo…

    ... follows so that you POKE the coordinates in to ... 110 LET A=60000
    120 RESTORE 330
    130 POKE 23692, ... br /> 160 PRINT "Hex ";H$;" ";
    170 LET H= CODE H ... AND H64))
    190 LET H= CODE H$(2)
    LET D=D+H-(48 AND H64)
    210 PRINT TAB ...
    Paddy Coleman Paddy Coleman August 2017 Development
  • Thought this would be simple... Z80Hi Folks, Started to read "Beyond simple BASIC, Delving Deeper into your ZX Spectrum" by Dilwyn Jones. This is a great book and I came across the…

    ... : LET W=32: LET H=24
    140 LET A=9
    150 POKE 63000 ... =0 TO 21
    340 PRINT AT I,0;"LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL"
    350 NEXT I
    360 PRINT #1;AT 0,0;"LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL ...
    Paddy Coleman Paddy Coleman September 2017 Development
  • Thought this would be simple... Z80Hi Folks, Started to read "Beyond simple BASIC, Delving Deeper into your ZX Spectrum" by Dilwyn Jones. This is a great book and I came across the…

    ... and draw polygons (basis for a window). The next challenge is ... to write a mouse routine in Z80. I ... Y
    250 PAUSE 1: PRINT #S;AT Y,X;B ... Paramters
    270 LET X=NX: LET Y=NY: LET S=NS
    300 LET K= CODE INKEY$: IF ...
    Paddy Coleman Paddy Coleman September 2017 Development
  • Thought this would be simple... Z80Hi Folks, Started to read "Beyond simple BASIC, Delving Deeper into your ZX Spectrum" by Dilwyn Jones. This is a great book and I came across the…

    ... a Z80 trick?


    [code]100 CLS
    110 PRINT ... AT 12,16;"X"
    120 POKE 63000,12
    130 POKE ... 63001,16
    140 LET A=USR 63010
    Paddy Coleman Paddy Coleman September 2017 Development
<1…78910111213…34>

Latest Posts

  • 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
  • Elusive Strategy Games done by the Smaller or less Prolific Software Houses.
    harriusherbartio on April 8

HitBox

Word Docs Hits
let 29.3K 51.6K
a 589.5K 1.7M
poke 6.2K 13K
print 8.5K 20.4K

Related Threads

  • A Spectrum, a couple of felt tip pens and a lot of free time on Sunday afternoons...In my opinion the best part of having a Spectrum was drawing a game map of the latest Ultimate game in the back page of my geography text book thereb…
  • I NEED A HAND FINDING A 3D CHESS GAME......WITH A HAND IN ITOk.Firstly - It's not one of the chess games in the archive with the word chess in the title.<br /> ##(Although - The ChessMaster2000 LOOKS very fami…
  • HELP!!! i need help turning a .wav files into a .tzx. im a new beginnerhi there. i hope anyone doesnt think im thick or owt but im having trouble in find the right program or the know how to convert all my 8bit mono .wav…
  • Free to a good home - Anyone in South Wales want a pile of Spectrum Games and a +3?Bit of an emergency - I'm moving out in a hurry and I don't have time to sell these!<br /> <br /> Is there anyone in South Wales who wants a fairly b…
  • Let it Slow Let it Snow let it SnowWell, It's snowing here hard in the top left Corner of North Carolina.<br /> <br /> I heard that is it snowing hard in the UK also. My parents were s…
  • A clever method of using a single 8-bit register to be used for two things at a timeI don't know if this is the way the SAVE routine in the Spectrum works. Anyway, this is what I've learned today.<br /> <br /> I've been commented the…
  • Sinclair QL: I'm searching for a Gold Card (or better a Super Gold Card) and a Super HermesIf someone here want to sell his Super Gold Card and Super Hemes I'm a big collector of QL stuff and I will pay very very well.<br /> <br /> Very tha…
  • Trying to find a magazine entry for a program I wrote as a child!Hi, <br /> <br /> Back when I was a child I wrote a program called "milkround" that we published in either your spectrum, your sinclair or sinclai…
  • im looking for a basic routine that adds a numerical character to a stringim looking for a basic routine that adds a numerical character to a string. so a=1, "1", then a=0 "10", then a=1 "101......" and so on
  • How to separate a character from a number in a string?Hi <br /> I've been writing a kind of logo type program in BASIC that takes a string a$ from INPUT and then draws according to what you give it. Say…

Related Searches

  • poke 128k into 48k mode
  • print a char in asm
  • usr0 poke
  • thunderceptor poke
  • divmmc 3 a
  • poke 23659
  • testing a microdrive
  • udg 128 spectrum play poke
  • udg spectrum play poke
  • create a batch file screen
  • poke bank
  • everyones a wally colour poke
  • is there a poke for gunfright
  • is there a poke for gunfright on the marvin emulator
  • crisis let a
  • poke print fast
  • poke print
  • for a 1 to let condition next
  • 01320 print at 0 paper 8 ink a message that is easy to read
  • choose ay channel with a poke

Copyright © 2024 World of Spectrum