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…18192021222324…34>
  • 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…

    ... ] 1 LET i=CODE INKEY$: PRINT i,PEEK 23560
    2 PAUSE ...
    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…

    ... /> [code] 1 LET i=PEEK 23560: PRINT CODE INKEY$,i
    2 ... PAUSE 0: GO TO 1+(PEEK ...
    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…

    ... /> [code] 1 LET i=PEEK 23560: PRINT CODE INKEY$,i
    2 ... PAUSE 0: GO TO 1+(PEEK ...
    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…

    ... /> [CODE]1 LET i=PEEK 23560: PRINT CODE INKEY$,i
    2 ... PAUSE 0: GO TO 1+(PEEK ...
    Paddy Coleman Paddy Coleman July 2012 Sinclair Basic
  • P.A.W. - Help needed!!!!Hello!!! Anyone knows the algorithm used to convert bytes in the Spectrum RAM of P.A.W. games into ASCII? Back in the 1980s-1990s I knew how to do …

    ... /> All I remember is: chr=Peek (address)-value and then another ...
    marcoagpinto marcoagpinto July 2012 Development
  • Another cause for DivIDE problems on 48K'sThe last months some topics were opened to discuss problems with 48K ZX Spectrums and DivIDE. Sofar we found: - Bad Z80's because of poor fanout (si…

    ... LET B=B+PEEK A
    40 PRINT AT 0,0; A ...
    bverstee bverstee July 2012 Hardware
  • 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):
    ...
    2000 LET flags=PEEK 23611: LET bit4=INT (flags ... LET mode=48+bit4*80: PRINT AT 0,0;CHR$ 163 ...
    9000 PRINT "Report code ";FN m(PEEK 23681);" at line ... : LET l=FN m(PEEK 19)+PEEK 5440:
    FOR a ...
    Battle Bunny Battle Bunny July 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 …

    ... PAUSE 0: LET a$=INKEY$: PRINT #0;AT 1,0;CODE ...
    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 …

    Hi Bunny,

    I am using BASin (v15.8)

    Thanks for your advice & explanation - I will go and find the Steve V. book.:)

    Lol will have to wait another day to get the book as my image down loader went crazy yesterday and ...
    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 …

    Thank you. I understand.:)

    That code snippet is going to get used all over the place. Very useful.

    Ok as this was supposed to be a 'Space docking simulation' (snigger snigger...)

    Lets set the background to something a ...
    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 …

    Ok, here is fizzbuzz

    added a start menu where you can redefine the keys

    There is a annoying beep i added to user error in redefining keys...
    (will add a flashing message.)

    Will add the current time at the bottom ...
    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 …

    ... & limits
    * g$() - print controls (AT + INK + OVER) and ... just need a simple "PRINT g$(n)" statement due ... DEF FN t()=INT ((PEEK 23673*256+PEEK 23672)/50)
    ... g: NEXT b:
    PRINT g$(n): NEXT n
    PRINT g$(n): LET g=ABS ...
    Battle Bunny Battle Bunny August 2012 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…

    ... TO 20
    40 PRINT ac+a,PEEK (ac+a)
    50 ... NEXT a
    60 PRINT "Press ...
    1024MAK 1024MAK August 2012 Hardware
  • 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
  • space available in bytes - questionHi, question: - if i create a *.txt file in pee cee: if empty it will show 0 bytes if i put text "abcde" it will show 5 bytes if i put texte (in 2 l…

    ... set low at 24999, then "PRINT 65536-USR 7962" would just ... -RAMTOP; ie. (PEEK 23732+256*PEEK 23733)-(PEEK 23730+256*PEEK 23731); would show ...
    Battle Bunny Battle Bunny August 2012 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…

    ... :

    10 LET a=PEEK address : REM address is the ... /> 20 LET b=PEEK address
    30 PRINT AT 0,0;a ... ,
    40 IF ab THEN PRINT "different", : REM enter as the ... /> 50 IF a=b THEN PRINT "same",
    60 GO TO ...
    1024MAK 1024MAK August 2012 Hardware
  • 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 …

    ... -a): LET p=2^a+PEEK (USR u$-8):
    ... b,p: NEXT b:
    PRINT u$: NEXT a
    ... FOR c=1 TO b: PRINT CHR$ 143;: NEXT c:
    print a horizontal bar of "score ... =INT (RND*100):
    PRINT AT 9,0;score,,,,AT ...
    Battle Bunny Battle Bunny September 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 …

    ... DEF FN p(a)=PEEK a+256*PEEK (a+1)
    1000 ... d3z=FN p(23639):
    PRINT "line 3000 is ";d3z-d3a ... d4z=FN p(23639):
    PRINT "line 4000 is ";d4z-d4a ...
    Battle Bunny Battle Bunny September 2012 Sinclair Basic
  • Mini scroll routineI'm looking for a routine that scrolls a small section of the screen downwards and replaces it with nothing, 2 x 2 charcter blocks to be precise, to …

    ... =1 TO 16
    9002 PRINT AT 0,0;"\c\g ... 10
    9005 POKE 23675,PEEK 23675-1
    9008 NEXT ... /> 9011 POKE 23675,PEEK 23675+1
    9012 PRINT AT 0,0 ...
    Battle Bunny Battle Bunny October 2012 Development
  • Converting UDG to 2x2I've got a udg that I want to display in different sizes. Obviously I just print it for normal size, I can use the udg in bin format to display it ea…

    ... more efficient. It needs a print position option to be included ... ): DEF FN p(a)=PEEK a+256*PEEK (a+1)
    15 ... =0 TO 7: LET p=PEEK (u+b):
    LET l4 ... =0 TO 7: LET p=PEEK (u+b):
    LET l1 ...
    Battle Bunny Battle Bunny October 2012 Sinclair Basic
  • Diagnosing a strange software fault in a 48kHi, A friend gave me a 48k, which I am very keen to restore. The spectrum 48k was my first computer over 20 years ago and I owe my ability to code t…

    ...
    50 IF PEEK (50000+F) F THEN PRINT "AHA! Memory error ... ;": Should be ";F;" but is ";PEEK(F)
    60 NEXT F ...
    Spirantho Spirantho October 2012 Hardware
  • Converting UDG to 2x2I've got a udg that I want to display in different sizes. Obviously I just print it for normal size, I can use the udg in bin format to display it ea…

    ... /> 30 LET b1=PEEK (u+b): LET b2=PEEK (u+b+1 ... =p2
    55 NEXT c: PRINT g$
    70 NEXT b ... LET b1=PEEK (u+b): LET b2=PEEK (u+b+1): PRINT ''TAB ... =b2-p2*4
    145 PRINT CHR$ (128+q2*4+q1 ...
    Battle Bunny Battle Bunny October 2012 Sinclair Basic
  • Converting UDG to 2x2I've got a udg that I want to display in different sizes. Obviously I just print it for normal size, I can use the udg in bin format to display it ea…

    ... overhead. It uses DF_CC for print positioning.
    [code]
    5 ... :
    PRINT AT r,c;: LET db=PEEK 23684+256*PEEK 23685: LET ... TO 7:
    LET p=PEEK (u+b): LET l4=INT ...
    Battle Bunny Battle Bunny October 2012 Sinclair Basic
  • Converting UDG to 2x2I've got a udg that I want to display in different sizes. Obviously I just print it for normal size, I can use the udg in bin format to display it ea…

    ... /> 30 LET b1=PEEK (u+b): LET b2=PEEK (u+b+1 ... =b2-p2*256
    45 PRINT CHR$ (128+p2*4+p1 ... );
    55 NEXT c: PRINT
    70 NEXT b[/CODE]
    ub880d ub880d October 2012 Sinclair Basic
  • Converting UDG to 2x2I've got a udg that I want to display in different sizes. Obviously I just print it for normal size, I can use the udg in bin format to display it ea…

    ... :
    LET b1=PEEK b: LET b2=PEEK (b+1)
    35 ... p2=INT(b2/64):
    PRINT CHR$ (128+p2*4+p1 ... :
    NEXT c
    70 PRINT: NEXT b
    [/code]
    Battle Bunny Battle Bunny October 2012 Sinclair Basic
  • Converting UDG to 2x2I've got a udg that I want to display in different sizes. Obviously I just print it for normal size, I can use the udg in bin format to display it ea…

    ... :
    LET b1=PEEK b+1: LET b2=PEEK (b+1)+1 ... c=1 TO 4:
    PRINT CHR$ (128+CODE d$(b2 ... $(b1,c));:
    NEXT c: PRINT
    170 NEXT b
    Battle Bunny Battle Bunny October 2012 Sinclair Basic
  • Ideas for speeding up this BASIC routine?This loop can take up to 2 minutes to run, depending upon the content of the screen being scanned, about 70% of that time being taken up by lines 105…

    I've marked the few changes I made in [color=green]green[/color] below; there's also a list of the USR routine sizes. One other change to the BASIC which I made was to check the most frequently used variables and pre-declare them, including the FOR...NEXT ...
    Battle Bunny Battle Bunny October 2012 Sinclair Basic
  • Converting UDG to 2x2I've got a udg that I want to display in different sizes. Obviously I just print it for normal size, I can use the udg in bin format to display it ea…

    ... , due to the extra INT(PEEK.../2)s. The 'b' loop ... 2:
    LET b1=INT (PEEK b/2)+1: LET b2 ... =INT (PEEK (b+1)/2)+1
    135 PRINT CHR$ (128 ... ; eg.
    [code]
    135 PRINT CHR$ (CODE d$(b2,1 ...
    Battle Bunny Battle Bunny October 2012 Sinclair Basic
  • Converting UDG to 2x2I've got a udg that I want to display in different sizes. Obviously I just print it for normal size, I can use the udg in bin format to display it ea…

    ... u+7:
    LET p=PEEK b: LET i=INT (p ... poking the display file to print the expanded characters the normal ...
    Battle Bunny Battle Bunny October 2012 Sinclair Basic
  • help needed :) how to rotate a 3 x 3 array 90 degreesI just cant seem to get this sorted in my head ( or on paper ) , I've found multiple examples in C , python , etc but cant find any z80 examples any …

    ... m: LET a$(a)=CHR$ (PEEK (65399+a)): NEXT a
    PRINT a$((a-1)*dims+1 ... TO a*dims): NEXT a: PRINT
    30 RANDOMIZE USR 65450 ... TO 65449: POKE a-25,PEEK a: NEXT a
    40 ...
    Battle Bunny Battle Bunny October 2012 Development
<1…18192021222324…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