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.008s
<1…16171819202122…34>
  • Random numbers...Hi Folks, I am not an expert when it comes to random numbers. If I have the RANDOMIZE statement the beginning of a program and then proceed to gene…

    ... Coleman;532359]10 RANDOMIZE PEEK 23672+256*PEEK 23672[/QUOTE]
    ... a key press before each PEEK, to ensure a variable ... br />
    [CODE]10 PRINT "Press any key to start ... TO 40
    50 PRINT "Choose option 1-5"
    130 PRINT b
    140 NEXT a ...
    Einar Saukas Einar Saukas May 2011 Sinclair Basic
  • Random numbers...Hi Folks, I am not an expert when it comes to random numbers. If I have the RANDOMIZE statement the beginning of a program and then proceed to gene…

    ... " solution:

    [CODE]10 PRINT "Press any key to start ... GO TO 40
    50 PRINT "Choose option 1-5"
    70 POKE 23671, PEEK 23672
    100 REM Remaining ... +INT (RND*100)
    130 PRINT b
    140 NEXT a ...
    Einar Saukas Einar Saukas May 2011 Sinclair Basic
  • Proportional Print Routine...Hi Folks, Does anyone know of a good proportional printing routine for the ZX Spectrum? Ideally I am looking for something that prints with charact…

    ... trying to implement the proportional print routine and I have come ... the fact that the proportional print routine uses [B]OVER 1 ... ). Ah ha I thought, just print some spaces first but this ...
    Paddy Coleman Paddy Coleman May 2011 Sinclair Basic
  • Loader help please (and a suggestion)I posted in my "Wicker Woman" thread that I was having problems creating a loader, but I think this is a more appropriate place to post. I've had go…

    ... to have several lines of "PRINT" for a copyright notice, a ... together this...

    10 PRINT "Copyright blahblahblah"
    ...
    100 ... CLS
    120 POKE (PEEK 23631+256*PEEK 23632)+5, 111
    130 POKE (PEEK 23631+256*PEEK 23632)+5, 244
    spodula spodula June 2011 Sinclair Basic
  • Loader help please (and a suggestion)I posted in my "Wicker Woman" thread that I was having problems creating a loader, but I think this is a more appropriate place to post. I've had go…

    ... to have several lines of "PRINT" for a copyright notice, a ... together this...

    10 PRINT "Copyright blahblahblah"
    ...
    100 ... CLS
    120 POKE (PEEK 23631+256*PEEK 23632)+5, 111
    130 POKE (PEEK 23631+256*PEEK 23632)+5, 244
    Arjun Arjun June 2011 Sinclair Basic
  • Loader help please (and a suggestion)I posted in my "Wicker Woman" thread that I was having problems creating a loader, but I think this is a more appropriate place to post. I've had go…

    ... same address. The POKE (PEEK 23631+256*PEEK 23632)+5,111 sets ... screen output. The POKE (PEEK 23631+256*PEEK 23632)+5,244 restores ... with a simple
    100 print "Press a key"
    105 ... the lines of
    100 Print "Press a key"
    101 ...
    The Lone Magpie The Lone Magpie June 2011 Sinclair Basic
  • Loader help please (and a suggestion)I posted in my "Wicker Woman" thread that I was having problems creating a loader, but I think this is a more appropriate place to post. I've had go…

    ... like this...

    10 PRINT "Copyright blahblahblah"
    ...
    100 ... CLS
    120 POKE (PEEK 23631+256*PEEK 23632)+5, 111
    160 POKE (PEEK 23631+256*PEEK 23632)+5, 244
    The Lone Magpie The Lone Magpie June 2011 Sinclair Basic
  • 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 …

    ... =1 AND dir=1 THEN PRINT AT y,x;" /144"; AT ... =1 AND dir=0 THEN PRINT AT y+1,x;"/144 ... /> 1130 IF p=2 THEN PRINT AT y,x;"/146/147 ... : LET p1=PEEK 23675: LET p2=PEEK 23676: IF PEEK(53794)=1 THEN ... />
    8300 NEXT s: IF PEEK 59197=0 THEN GOSUB 8400 ...
    Jimmy Jimmy June 2011 Games
  • Storing and displaying attributes...Hi Folks, I have a requirement to store and then redisplay a line of attributes from the screen. For example: 100 DIM a$(1,32) 110 LET line=10 120…

    ... ,0,27,41
    20 PRINT "THIS IS MY SCREEN";AT ... SUB 60
    40 CLS : PRINT "PRESS A KEY": PAUSE 0 ... /> 60 POKE 23563,PEEK 23675: POKE 23564,PEEK 23676: IF P THEN ...
    Paddy Coleman Paddy Coleman June 2011 Sinclair Basic
  • Storing and displaying attributes...Hi Folks, I have a requirement to store and then redisplay a line of attributes from the screen. For example: 100 DIM a$(1,32) 110 LET line=10 120…

    ... /> 160 POKE 23563,PEEK 23675: POKE 23564,PEEK 23676: IF P THEN ... GO TO 310
    320 PRINT AT a,0; PAPER p ...
    Paddy Coleman Paddy Coleman June 2011 Sinclair Basic
  • Calculating free memory...Hi Folks, I am using the following method to calculate the amount of free memory available to BASIC: [CODE]PRINT 65536-USR 7962[/CODE] Is this the…

    ... = PEEK 23730+256*PEEK 23731
    20 let basic = PEEK 23635+256*PEEK 23636 ...
    30 print ...
    Arjun Arjun June 2011 Sinclair Basic
  • Calculating free memory...Hi Folks, I am using the following method to calculate the amount of free memory available to BASIC: [CODE]PRINT 65536-USR 7962[/CODE] Is this the…

    ... PRINT 65536-USR 7962
    20 let ramtop = PEEK 23730+256*PEEK 23731 ...
    30 let basic = PEEK 23653+256*PEEK 23654 ...
    40 print ...
    Encarnado Encarnado 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 attrp,VAL "112":
    PRINT AT t(1),0,,,,:
    280 LET t(2)=PEEK 23560:
    IF ...
    Paddy Coleman Paddy Coleman 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 …

    [QUOTE=Paddy Coleman;542853]
    The time routines are as follows:

    [CODE]4250 REM TIME: DISPLAY
    4260 REM IN : FRAMES
    4270 REM OUT : HH:MM
    4280 REM
    4290 REM Time: GET
    4300 LET ss=0:
    GO SUB 4210:
    Dr BEEP Dr BEEP 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 …

    ... p$:
    LET ss=ss-PEEK (64072+CODE p$(a)):
    Paddy Coleman Paddy Coleman 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 …

    [QUOTE=Paddy Coleman;545173]Hi Dr Beep,

    Your new way of creating p$ does not yield the correct result. You get 110:37 in the example below rather than 10:37.

    [CODE]10 LET hh=10
    20 LET mm=37
    30 LET p$=("0" AND hh
    Dr BEEP Dr BEEP 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 …

    ... LEN p$: LET ss=ss-PEEK (64072+CODE p$(a)):
    print it I would need to ...
    Paddy Coleman Paddy Coleman June 2011 Sinclair Basic
  • 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 …

    ... CLS:LET V1 = PEEK(31698)+256 * PEEK(31699):GOSUB 70:LET ... 8;"LAST SCORE ";V1:PRINT AT 21,4;"1 KEYBOARD ... 23606,PEEK(23670):POKE 23607,PEEK(23671):RETURN
    80 PRINT AT ... /> 110 BEEP 1 / PEEK(c),PEEK(c+1):LET c = ... V10 = PEEK(c)+256 * PEEK(c+1):POKE V10,PEEK(c+V9 ...
    Jimmy Jimmy July 2011 Games
  • 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. …

    ...
    570 REM
    580 PRINT #z; PAPER o; INK VAL ... p,ATTR (i2,i1+i7): PRINT AT i2,i1+i7; FLASH ...
    Paddy Coleman Paddy Coleman August 2011 Sinclair Basic
  • Keys redefine routine and key check.I have written some asm code which allows me to redefine keys (for a game etc.), and also allows me to be able to check any keypresses for the redefi…

    ... PRINT AT X,Y;" "
    120 LET X=X-1+PEEK updownaddress ... LET Y=Y-1+PEEK leftrightaddress
    140 PRINT AT X,Y ...
    Einar Saukas Einar Saukas September 2011 Development
  • Keys redefine routine and key check.I have written some asm code which allows me to redefine keys (for a game etc.), and also allows me to be able to check any keypresses for the redefi…

    ... PRINT AT X,Y;" "
    120 LET X=X-1+PEEK updownaddress ... LET Y=Y-1+PEEK leftrightaddress
    140 PRINT AT X,Y ...
    polomint polomint September 2011 Development
  • File size in 128K RAM diskHi Folks, Is there a way to get the size of a file stored in the 128K RAM disk from within a BASIC program? Many thanks Paddy

    ... ]
    10 LET sfnext=PEEK 23427+256*PEEK 23428:
    11 DIM ... $(n,b-a+1)=CHR$ PEEK b: NEXT b
    22 ... ,(b-a-7)/3)=PEEK b+256*PEEK (b+1): NEXT b ... FOR a=1 TO n: PRINT f$(a): FOR b=1 ... TO 3: PRINT f(a,b);" ";: NEXT b ...
    Battle Bunny Battle Bunny September 2011 Sinclair Basic
  • File size in 128K RAM diskHi Folks, Is there a way to get the size of a file stored in the 128K RAM disk from within a BASIC program? Many thanks Paddy

    ... br /> 10 LET sfnext=PEEK 23427+256*PEEK 23428:
    11 ... n,b-a+1)=CHR$ PEEK b: NEXT b
    ... ,(b-a-7)/3)=PEEK b+256*PEEK (b+1): NEXT ... FOR a=1 TO n: PRINT f$(a): FOR b= ... 1 TO 3: PRINT f(a,b);" ";: NEXT ... b: PRINT : NEXT a
    [/code][/ ...
    Paddy Coleman Paddy Coleman September 2011 Sinclair Basic
  • File size in 128K RAM diskHi Folks, Is there a way to get the size of a file stored in the 128K RAM disk from within a BASIC program? Many thanks Paddy

    ... INK 7: CLS
    20 PRINT AT 0,0;"RAM DISK ... br /> 60 LET sfnext=PEEK 23427+256*PEEK 23428
    70 DIM ... b-a-7)/3)=PEEK b+256*PEEK (b+1): NEXT ... FOR a=1 TO n: PRINT f$(a): FOR b= ... 1 TO 3: PRINT f(a,b);" ";: NEXT ... b: PRINT : NEXT a
    150 ...
    Paddy Coleman Paddy Coleman September 2011 Sinclair Basic
  • File size in 128K RAM diskHi Folks, Is there a way to get the size of a file stored in the 128K RAM disk from within a BASIC program? Many thanks Paddy

    ... : CLS
    110 PRINT AT 0,0;"RAM DISK ... SCREENA"SCREEN$
    130 PRINT AT 2,0;"FILENAME = ";< ... TO 23408
    150 PRINT CHR$ PEEK a;
    160 ... NEXT a
    170 PRINT AT ... PEEK 23409
    180 PRINT AT 4,0;"FILE SIZE = ";PEEK 23410+256*PEEK ...
    Paddy Coleman Paddy Coleman September 2011 Sinclair Basic
  • checking bits in BASICThe question of manipulating bit patterns in BASIC was raised recently in this [thread=35728]Keys redefine routine and key check[/thread] thread. I s…

    ... (x$)=PEEK (4+PEEK 23563+256*PEEK 23564)+256*PEEK (5+PEEK 23563+256*PEEK 23564 ... =FN x(a$)
    2023 PRINT "usr",usr
    2025 INPUT ... j
    2030 PRINT "FN b$(j)",FN b ...
    mattsteel mattsteel September 2011 Sinclair Basic
  • saving part of a BASIC programHere's a short routine to save part of a BASIC program. The idea is that it can be merged into a program and then used to save sub-routines, etc. to …

    ... FN p(a)=VAL "PEEK a+256*PEEK (a+1)":
    DEF ... /> IF f$(k1)=" " THEN
    PRINT #k0;"F Invalid file name ... =l1:
    LET l1=PEEK a0*256+PEEK (a0+k1):
    LET ...
    Battle Bunny Battle Bunny September 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…

    ... REM Display Menu
    120 PRINT AT 5,5;"MENU OPTIONS ... "
    130 PRINT AT 7,5;"OPTION 1 ...
    300 POKE p,7: PRINT AT 15,5;"Row ";t1 ...
    360 POKE p,86: PRINT AT t1,1;TAB 31 ... /> 370 PAUSE 0: LET t2=PEEK k
    380 IF t21 ...
    Paddy Coleman Paddy Coleman October 2011 Sinclair Basic
  • Requesting a little help to identify the purpose of this 'add-on' to my Issue 2Hi everyone First of all it's my first post here so please go easy on me! I'm grateful to be accepted into your fine little club :smile: I probabl…

    ...
    ld a,(hl) ;and PEEK back
    cp b ;equal ... the following results from a PRINT USR 30000

    32768 ...
    cmonkey cmonkey October 2011 Hardware
  • Requesting a little help to identify the purpose of this 'add-on' to my Issue 2Hi everyone First of all it's my first post here so please go easy on me! I'm grateful to be accepted into your fine little club :smile: I probabl…

    ... POKE'd value the return PEEK'd value doesn't match ... POKE'd, and what is PEEK'd back. For all 256 ... (say, 0 and 255) and print the PEEKs of same address ...
    RetroTechie RetroTechie October 2011 Hardware
<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
print 8.5K 20.4K
peek 1.9K 4.4K

Related Threads

  • How to print with colour using DiscipleHi!<br /> <br /> I was wondering if there is any way of printing in colour using the Disciple. I am using an Epson Stylus 600 Printer with one of my …
  • 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…
  • Sinclair User: Blue Print Double DragonI'm not sure what issue the Blue Print of Double Dragon appeared, I think it was issue 78 (September 88)<br /> <br /> Even a scan would do. Cheers
  • 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…
  • 42 column text, Sinclair Print Utilities, etcI'm currently developing the next of the ZXIF text adventures - "43 Minutes" and, as a side issue, I'm really interested in 42 column text for this g…
  • Print 'n' Plotter SPRITE MACHINEJust got this from an ebay seller this afternoon. I just TZXd it and sent it to the Steve at the vault, yet it might be a while before it gets put up…
  • print at line 22 and 23I have a faint recollection of POKES to allow print at 22,x and 23,x, anyone know what they are? (rather than using the print #0 #1 stuff..)
  • PRINT AT in assemblerHello everyone,<br /> <br /> I am very new to this forums. Like perhaps many others I had a Spectrum as a child and did pretty much simple BASIC prog…
  • 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…
  • Print routine for BASIC (or BASin)For anyone interested there's a crappy binary here to print characters from BASIC at pixel positions. Import the binary at 60000, USR 60000 to initia…

Related Searches

  • print a char in asm
  • 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
  • print variables
  • peek
  • peek 1024mak
  • detect 128k peek
  • detect 16k peek
  • z88dk read address peek
  • z88dk read peek
  • z88 peek
  • z88dk peek
  • print on border
  • print leading zeroes
  • print at 23
  • print through
  • asm text print

Copyright © 2024 World of Spectrum