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.119s
<1…9101112131415…34>
  • 140 characters Basic game contestHey there, I've announced a new micro contest on my blog (in Czech language only). However, it might be interesting also for the non-Czech/Slovak …

    ... />
    1 LET B=0
    2 PRINT AT 0,B;"*"
    3 LET ... RND*30: PRINT AT 20,X;"O"
    6 PRINT AT 21,0: PRINT'
    8 ... /> [code]1 LET B=0
    2 PRINT AT 0,B;"*": LET B=B ... +(INKEY$="7")-(INKEY$="6"): POKE 23692,0: PRINT AT ...
    leespoons leespoons June 2016 Sinclair Basic
  • Leading Zeroes on a Score in BASICI'm trying to print the score with leading zeroes such that it's always 6 characters wide, i.e.: 000010, 000150, 006100 etc. I quickly knocked thi…

    [code]
    10 PRINT AT 0,10;"000000"
    20 LET score=10
    30 LET s$=STR$ score: PRINT AT 0,16-LEN s$;s$
    35 LET score=score+5
    40 GO TO 30
    [/code]

    Is this fast enough Myke?
    MatGubbins MatGubbins July 2016 Sinclair Basic
  • Leading Zeroes on a Score in BASICI'm trying to print the score with leading zeroes such that it's always 6 characters wide, i.e.: 000010, 000150, 006100 etc. I quickly knocked thi…

    This might be a tad or two faster....
    30 PRINT AT 0,16-LEN STR$ score;score
    MatGubbins MatGubbins July 2016 Sinclair Basic
  • Leading Zeroes on a Score in BASICI'm trying to print the score with leading zeroes such that it's always 6 characters wide, i.e.: 000010, 000150, 006100 etc. I quickly knocked thi…

    ... , as 'score' was constant at 999, I just enclosed within ... the code which determined the PRINT position and value, so that ... has gone before:
    [code]PRINT FN s$(STR$ score)[/code ... 13+"000000"[/code]
    (ie. PRINT AT 0,13;"000000")

    This ...
    Battle Bunny Battle Bunny July 2016 Sinclair Basic
  • Leading Zeroes on a Score in BASICI'm trying to print the score with leading zeroes such that it's always 6 characters wide, i.e.: 000010, 000150, 006100 etc. I quickly knocked thi…

    ... $="000000"+ STR$ score
    30 PRINT AT 0,10; s$ ( LEN s$-5 ...
    joefish joefish July 2016 Sinclair Basic
  • Welcome to the Matrix!Ok here's something I been playing with while I'm at work and on public transport. I'm thinking I want to be able to move the large letters around th…

    Just store the message in a string variable.
    Let a$="put message here"
    Let l=len a$
    Print at 0,0; a$(1 to 31)
    Let a$=a$(2 to l) +a$(1)
    Rebelstar without a cause Rebelstar without a cause October 2016 BASIC
  • Welcome to the Matrix!Ok here's something I been playing with while I'm at work and on public transport. I'm thinking I want to be able to move the large letters around th…

    [quote="Rebelstar without a cause;884091"]
    10 Let a$="put message here"
    20 Let l=len a$
    30 Print at 0,0; a$(1 to 31)
    40 Let a$=a$(2 to l) +a$(1)
    50 Goto 30


    [/quote]
    Rebelstar without a cause Rebelstar without a cause October 2016 BASIC
  • Welcome to the Matrix!Ok here's something I been playing with while I'm at work and on public transport. I'm thinking I want to be able to move the large letters around th…

    ... ]
    10 PRINT "Hello ";
    20 PRINT "World";
    30 PRINT "!"
    [/code ... /> 10 FOR n=0 TO 255
    20 PRINT AT 0,0;SQR n
    10 FOR n=0 TO 255: PRINT AT 0,0;SQR n: NEXT n ...
    GReW GReW October 2016 BASIC
  • Help with Snake type game...any ideas ?Hi all I've attached me trying to write a snake type game. My first concern is me not writing over the System variables area. I'm pretty happy what i…

    ... (ns,2): d=5,da=0,sp=1:
    FOR f ...
    Dunny Dunny November 2016 Sinclair Basic
  • Any interest in this?So before I went back to AGD I was working on this: [img]https://s21.postimg.org/4mljnbf1j/Image2.png[/img] It's a new editor for SpecBAS. Allo…

    ... (ns,2): d=5,da=0,sp=1:
    FOR f ...
    ASH-II ASH-II November 2016 Sinclair Basic
  • 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…

    ... speed it's only to print when a key is pressed ... /> Put space before movement in print:
    - TO LEFT: "X "
    100 PRINT AT Y,X;"X ": let x ... -1: goto 110
    102 PRINT AT Y,X;" X": let x ...
    radastan radastan April 2017 BASIC
  • The trouble with good code isLots of times I've come here to ask for help and always got it pretty promptly. Which is wonderful and one of the reasons why I don't think there's a…

    ... , except that [b]PRINT AT 0,10; INK 2; PAPER 0; FLASH 1; “Peekaboo ... see what you’re getting at, but I’m afraid that ... [/i] is probably a misnomer, at least the “language” part of ...
    Ast_A_Moore Ast_A_Moore May 2017 Chit chat
  • What is it exactly about that Spectrum that you like so much?I'm sure that most people here will agree that there's something very special about the Speccy, thats why we visit WOS afterall... But what why has i…

    ... = 1 to 20
    20 print at 0,b;" O"
    30 pause ...
    morph morph May 2017 Games
  • What is it exactly about that Spectrum that you like so much?I'm sure that most people here will agree that there's something very special about the Speccy, thats why we visit WOS afterall... But what why has i…

    ... = 1 to 20
    20 print at 0,b;" O"
    30 pause ...
    mik3d3nch mik3d3nch May 2017 Games
  • 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…

    ... speed it's only to print when a key is pressed ... /> Put space before movement in print:
    - TO LEFT: "X "
    100 PRINT AT Y,X;"X ": let x ... -1: goto 110
    102 PRINT AT Y,X;" X": let x ...
    ivanb303 ivanb303 May 2017 BASIC
  • How can I make a UDG rotate?I designed a set of UDG's that can be used for making shapes or letters. Trouble is that my circle - for example - consists of 4 pieces and it would…

    ... if a point at a specified coordinate is 0 or 1, and ... ]
    10 PRINT AT 0,0;"Y=";IN 65503;" "
    15 PRINT AT 1,0;"X=";IN ... if they exceed 255 (or 0), it simply rolls over. It ... simply reset the values to 0. You need to write your ...
    Ast_A_Moore Ast_A_Moore November 2017 Sinclair Basic
  • How can I make a UDG rotate?I designed a set of UDG's that can be used for making shapes or letters. Trouble is that my circle - for example - consists of 4 pieces and it would…

    ... PEEK 60828
    9930 PRINT AT 0,0,STR$ (x)+", "+STR ... get_column_offset ; Position HL at the correct column -
    scrbuf: DEFB 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
    scrbuf2: DEFB colonel32 colonel32 November 2017 Sinclair Basic
  • Need Some Basic HelpHi all, I’ve decided to give programming in Spectrum Basic a go again (bit of nostalgia trip!) and I’m trying to develop a CYOA style game. How…

    ... br /> 1023 INPUT "Starting at row [0-";(hirow);"] ";arow: LET arow ... blen=rows*128
    1033 PRINT " LOAD """;d$;"""CODE "; ... 1999 STOP

    2001 PRINT AT 0,0;
    "PROG= ";FN p(23627 ... arow+rows-1:
    PRINT a'a$(a):
    ...
    Battle Bunny Battle Bunny April 2018 Sinclair Basic
  • How can I get around having to press ENTER at the scroll query?Or how can I get my program to run on until I stop it?

    How about:
    30 print at 0,0;a
    arttu arttu May 2018 BASIC
  • How to stop a flickering character erasure?I'm trying to figure out how to build a moving sprite. Eventually it will be made up of several UDG's. However its early days yet so I'm experimentin…

    ... that, as I'm hopeless at it.

    ... /> 98 SPRITE CLEAR : SPRITE PRINT 0
    99 STOP
    ... br /> 1010 CLS : BORDER 0: SPRITE CLEAR : TILE DIM ... 16,11 AT 0,0 TO 0,1
    1035 PRINT AT 0,0; PAPER BIN ... 1: LET delay=0: LET power=0
    1050 PROC ...
    colonel32 colonel32 May 2018 BASIC
  • Have I got a mystery for you!All morning I worked on this set of 12 UDG's to draw a better looking tank. I created the UDG's and wrote the program in Basic using BASin for Beginn…

    ... /> 30 PRINT AT 10,12;CHR$ (144)
    40 PRINT AT 10,13 ... ;CHR$ (145)
    50 PRINT AT 10,14 ... /> 90 PRINT AT 11,12;CHR$ (148)
    100 PRINT AT 11,13;CHR ... $ (149)
    110 PRINT AT 11,14 ...
    Ast_A_Moore Ast_A_Moore May 2018 Sinclair Basic
  • Making sound using the BEEPER in AssemblyI had a look at the the documentation but it doesn't make sense to me. To make music just the beeper all I have to do is send ones and zeros to one o…

    ... /> [code]10 PRINT AT 0,0; "Beeper ": BEEP .5,8.771
    20 PRINT AT 0,0; "AY ...
    Ast_A_Moore Ast_A_Moore July 2018 Assembler
  • Non-repetitive RNDHi guys) Perhaps, some of you already encountered a situation, when one needed a set of [b]unique [/b](pseudo-)random values, say, from zero to 25…

    ... c$=""
    1 PRINT c$
    7 PRINT "SHUFFLE?": PAUSE 0: RANDOMIZE : CLS ...
    12 LET i=0: LET ... )
    25 IF POINT (r,0) THEN GO TO 15
    0
    28 PRINT AT 0,0;i
    29 LET ...
    hikoki hikoki November 2018 Sinclair Basic
  • Use more than one fire button with a Divide?Greetings, I have recently purchased a Divide 2k14 that has an integrated joystick port and an activity led for said port, whenever I plug an Amst…

    Just type:
    10 PRINT AT 0,0;IN 31;" ":GOTO 10
    ...
    joefish joefish March 2019 Hardware
  • Windows 11 - It's commingJust when you thought that there was going to be no more new versions of Windows, a recent leak reveals Microsoft are due to announce Windows 11 soon…

    ... =1 TO 4
    40 PRINT AT 0,0;a$(a);
    50 PAUSE ...
    1024MAK 1024MAK July 2021 Chit chat
  • Who's NEXT?How about having a category just for Spectrum NEXT owners? I got mine on Monday, its the original issue, plain jane and quite enough for me to ge…

    ... Ask users name
    20 PRINT "Please type in your name ... /> 31 REM
    33 REM Print welcome [i](needs to be ... REM
    100 PRINT AT 11,10; "Hello ";n$
    120 PRINT AT 13,7 ...
    133 REM
    140 PRINT aT 15,10; "I am ";a ...
    mik3d3nch mik3d3nch September 2021 Sinclair Miscellaneous
  • New for 2009 - mc onelinersI found the limit of one line and one screen's worth of program really useful in (re-)learning BASIC, so I've decided to carry the format over into m…

    ... ,119,17,21,0,25,16,239,1,0,0,197,33,238 ... ,b: NEXT j: PRINT AT 0,6;USR 33001;AT 0,0;"score": REM ilmc attr ... /> cp 0
    jr z,gameover
    ld a,8 ;print car ... road posn
    xor a ;print new road
    ld (hl ... welcome. It's 168 bytes at the mo, but it could ...
    bigjon bigjon December 2008 Development
  • Tutorial - learn machine code in 30mins[B][I]Message from the moderators[/I] - bigjon has requested that readers' attention be drawn to a better version of this tutorial, one which is easi…

    ... the machine code and print the score we have ... go to GAMEOVER.
    ;print car
    ;scroll road< ... be 0,0. So the assembler will write 1,0,0,201 at ... Spin display window:
    10 PRINT AT 0,0; "Your score was "; USR ... /> To print a black road we need 0 in the ...
    bigjon bigjon November 2009 Development
<1…9101112131415…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
100 13.3K 16.3K
print 8.5K 20.4K
at 189.3K 276K
0 940.2K 1M

Related Threads

  • ANNOUNCE: Fuse 0.6.1, libspectrum 0.2.0, fuse-utils 0.6.1I'm pleased to announce the release of the Free Unix Spectrum Emulator (Fuse) 0.6.1, which is now available from its [url="http://www.srcf.ucam.org/~…
  • Fuse 0.5.1 and libspectrum 0.1.0 releasedVersion 0.5.1 of Fuse, the Free Unix Spectrum Emulator, is now available from its homepage, [url="http://www.srcf.ucam.org/~pak21/spectrum/fuse.html"…
  • ANNOUNCE: Fuse 0.6.1.1, libspectrum 0.2.0.1Hi all.<br /> <br /> The recently released Fuse 0.6.1 and libspectrum 0.2.0 contained a couple of moderately serious bugs:<br /> <br /> * The SVGAlib…
  • Release candidates for Fuse 0.7.0 and libspectrum 0.2.2Hi all.<br /> <br /> Release candidates for [url="http://fuse-emulator.sourceforge.net/fuse-0.7.0pre1.tar.gz"]Fuse 0.7.0[/url] (and [url="http://fuse…
  • (Belated) ANNOUNCE: Fuse 0.7.0 and libspectrum 0.2.2 releasedThe Fuse team is pleased to announce that release of Fuse 0.7.0, the associated utilities and version 0.2.2 of the Spectrum emulator support library,…
  • Not ZX related at all. Look at my watch!Aint it cooooool?<br /> <br /> This digital watch is in fact a wind-up watch! <br /> [url="htpp://www.myezboard.com/projects/ezboard/ezboard_userimag…
  • ANNOUNCE: Fuse 0.6.0 and friendsThe Fuse team announce the release of version 0.6.0 of Fuse, along with version 0.6.0 of the Fuse utilities and version 0.1.1 of libspectrum, the Spe…
  • ANNOUNCE: Fuse 0.6.0 for Mac OS XHot on the heels of the UNIX release of Fuse 0.6.0, the native Mac OS X port is now released.<br /> <br /> It has all the great features of Fuse 0.6.…
  • ANNOUNCE: Fuse 0.6.0.1 (security fix)Fuse 0.6.0 has been found to contain a small security hole in the TRDOS disk handling code. Due to multiple race conditions, it is (in theory) possib…
  • ANNOUNCE: Fuse For Mac OS X 0.6.0.1 (security fix)The Mac OS X version of the Fuse 0.6.0.1 security patch release is complete and should be available shortly from WoS and the Fuse homepage:<br /> <br…

Related Searches

  • r forum loading error 0 1
  • r tape loading error 0 1
  • speccy 4 0
  • fix missing message at init
  • top 100
  • print at 23
  • assembly print text at pixel
  • if now sysdate sleep 100 0 xor or
  • select 0 from sleep 100 v
  • 1 waitfor delay 0 100
  • rvj2rq9v waitfor delay 0 100
  • print at text assembly
  • mmm ram bank at c000 0 7
  • assembly print at
  • 01320 print at 0 paper 8 ink a message that is easy to read
  • print 0
  • print 0 channel 2
  • print at
  • print at channel 23
  • print at 0 b 1 flash

Copyright © 2024 World of Spectrum