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.003s
<1234567…34>
  • BIFROST* example: "Knights & Demons DX" source codeA package containing the source files of our multicolor game "Knights & Demons DX" is now available for download [URL="http://www.mediafire.com/?hbch…

    ... 0: BRIGHT 0: BORDER 7: CLS ' set default screen colors
    250 INK 0: PAPER 0: CLS
    LET timer = (level+1 ...
    Einar Saukas Einar Saukas August 2013 Development
  • RND cyclical behaviourGood evening. I'm playing with RND function to show its cyclical behaviour, i.e. after 65536 calls to it, the next one will return the same value of …

    ... .

    [CODE]
    1 CLS
    2 LET n=65536 ...
    mattsteel mattsteel August 2013 Sinclair Basic
  • Problem With POINT StatementHello everyone this is my first ever post, So firstly i'd like to say hello to everyone and secondly thank you to the admins for such a great site, …

    ... pixel i can call a subroutine at that point and the ...
    nonsenceinbasic nonsenceinbasic September 2013 Sinclair Basic
  • Clear the screen from assemblerI want to clear the screen before I draw my graphic elements on it. Speed is not important so I was thinking of using the rom CLS option if that is p…

    I want to clear the screen before I draw my graphic elements on it. Speed is not important so I was thinking of using the rom CLS option if that is possible. Can anyone advise on how to call this command or some similar routine to clear the screen?
    Mr Millside Mr Millside November 2013 Development
  • Converting an integer arbitrary large binary number into a printable decimal formThis was asked a long ago at the comp.sys.sinclair newsgroup. At that time, I came up with a solution by extrapolating the classic algorithm of suces…

    ... /> Principal proc
    call 0d6bh ;CLS
    ld a,2
    mcleod_ideafix mcleod_ideafix November 2013 Development
  • GEDit syntax highlighting for Boriel's ZX BasicHi! I just tailored this syntax highlighting code and would like to share with he community. Suggestions are always welcome, though the file works w…

    ...
    chr
    circle
    cls
    code
    const
    pkersey pkersey February 2014 Development
  • understanding machine codeHi Quick question. Am not really sure if it fits development forum as its not really development per se its more a learners question about developm…

    ... seems to jump to another subroutine. Is this correct?

    username username April 2014 Sinclair Miscellaneous
  • 3D Games in SpecBAS!Not really :) Actually, yes - here's a type-in for you: MontyMole's "Crap Castle Master" [code] ZXASCII AUTO -1 PROG CrapCastleMaster 1 REM Crap Ca…

    Not really :)

    Actually, yes - here's a type-in for you: MontyMole's "Crap Castle Master"

    [code]
    ZXASCII
    AUTO -1
    PROG CrapCastleMaster
    1 REM Crap Castle Master by A Lycett adapted to SpecBAS
    5 WINDOW ...
    Dunny Dunny May 2014 Sinclair Basic
  • Fuse bug? Strange T state countingI was testing delay routine presented [URL="http://www.worldofspectrum.org/forums/showthread.php?p=214851"]here[/URL]. I'm reproducing its listing: …

    ... , when program returns from DELAY subroutine, 'ret nc' instruction takes 18 ...
    TK90XFan TK90XFan May 2014 Emulators
  • Block RoutineHi Folks, I want to draw a block on the screen dependent on providing the X,Y,W,H values. I came up with the following: [CODE]100 LET l$=" …

    ... INPUT "H=";h
    150 CLS : PRINT AT 0,0;"Block ...
    Paddy Coleman Paddy Coleman July 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…

    ... 0: PAPER 0: INK 4: CLS : GO TO 9998
    2 ... GO TO e
    7 CLS : GO SUB d: LET g ...
    Shaun.Bebbington Shaun.Bebbington September 2014 Sinclair Basic
  • Boomshine in SpecBASHere's a little game called "Boomshine": [url]http://www.k2xl.com/games/boomshine/[/url] It's a really nice, relaxing puzzle game about exploding b…

    ... main animation loop
    150 CLS 0: SCREEN LOCK: LET expcount ...
    Dunny Dunny November 2014 Sinclair Basic
  • Strange keyboard port reads on 48+Hi all, I don't know whether it was already discussed (I also searched forum, but there are too much of results searching "48k keyboard" so I didn't…

    ... 7: PAPER 0: BORDER 0: CLS
    20 CLEAR 32767
    ub880d ub880d January 2015 Hardware
  • More SpecBAS funHere's a neat little effect I lifted from a thread about displaylists and stuff from an Amiga forum - although SpecBAS has no hardware to assist, it …

    ... : WINDOW GRAPHIC circles
    20 CLS 8: LET b=0: FOR ... /> 130 NEXT a: WAIT SCREEN: CLS: GO TO 100
    [/code ...
    Dunny Dunny March 2015 Sinclair Basic
  • Raycasting (3D Games!) with SpecBAS<div><font face="Arial, Verdana"><span style="font-size: 13.3333330154419px; line-height: normal;">Here's one I wrote just recently. I wanted to see …

    Here's one I wrote just recently. I wanted to see if SpecBAS can handle a raycasting engine - which doesn't mean doom-style texture mapping (though I may try that later!) but a rather nice algorithm that matches nicely up with the old "3D Maze" games you ...
    Dunny Dunny May 2015 Sinclair Basic
  • Hacker QuestionHello hackers, as some of you might know, I am supervising the work on converting games from TR-Dos or TAP to the +D or Opus disk format for our SC…

    ... /> 7 INK 7
    8 CLS
    10 CLEAR .: LOAD "" SCREEN ...
    Speccyman Speccyman August 2016 Sinclair Miscellaneous
  • Usefullness of program listings in magazinesEarly computing magazines had printouts of program listings. I always felt this was a nice thing in that you might read the code and learn something,…

    ... benefit from a short assembly subroutine, for example, but in my ...
    Sol_HSA Sol_HSA September 2016 Sinclair Basic
  • Screen address of PRINT position...Hi Folks, The following code uses DF CC system variable to extrac the screen address for a PRINT position. [code]100 CLS 110 PRINT AT 10,16;…

    ... .


    [code]100 CLS
    110 PRINT AT 10 ...
    Paddy Coleman Paddy Coleman September 2016 Sinclair Basic
  • Fast way to clear the screen ?So I was wondering fastest way to clear the screen. I've tried this and this works but is it better than CLS ? LD HL,16384 LD BC, 6144 Loop…

    ... but is it better than CLS ?

    LD HL,16384 ...
    ivanb303 ivanb303 December 2016 Assembler
  • Where does the the Spectrum store the PLOT position ?So try this and it works just fine. The Spectrum must store the PLOT position somewhere as the line moves along. I'm sure someone knows where this is…

    ... ?
    5 PAUSE 0: RANDOMIZE:CLS
    10 PLOT 0,0 ...
    ivanb303 ivanb303 December 2016 Sinclair Basic
  • "ZX80 Brain" RPN CalculatorIt is at times like [url=https://www.worldofspectrum.org/forums/discussion/54176/depression]when threads such as this are posted[/url] that I get the…

    ... at the end of the subroutine every time. Hence I thought ...
    The Mighty Dopethrone The Mighty Dopethrone March 2017 Sinclair Basic
  • SpecBAS 0.900 ReleasedAgainst my better judgement, here's 0.900. It's got lots and lots new, but mostly the new shiny is the editor. You can indent your code, you can e…

    ... with new parameters - e.g, CLS 1;2;3;4;5 ... ;6;7 will issue 7 CLS with different colours
    64Bit ...
    Dunny Dunny April 2017 Sinclair Basic
  • z88dk : FIle Handling in C on the +3e environment under Win 764bitHello my fellow WoSers! I am wondering if someone can help me solve this little pickle of z88dk / Windows using +3e Filesystem. So a little inf…

    ... : STOP
    9999: LOAD "e:" : CLS : PRINT "Saving Program" : SAVE "e ... :test.bas" : CLS : PRINT "Program Saved"
    [/code ...
    Zetr0 Zetr0 June 2017 Development
  • High score table routineI wrote this general purpose high score table routine. It stores 5 scores and displays them alongside the player names, which are 8 characters long. …

    ... , BRIGHT 1
    CALL 3503 ; CLS

    ; ---------- CALCULATE SCORE POSITION ...
    Alessandro Grussu Alessandro Grussu July 2017 Assembler
  • 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…

    Hi Folks,

    Came across the following Flood Fill routine by John Metcalf:


    [code]; scanline fill by John Metcalf
    ; call with d=x-coord, e=y-coord

    ; set end marker

    coords:
    ld d ...
    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…

    ... /> CALL 9402 ; ROM LINE DRAWING Subroutine

    POP HL
    subroutine within D-L-STEP where ...
    Paddy Coleman Paddy Coleman August 2017 Development
  • WIP 3d libretro front-end -- virtual Spectrum collectionI've created a sort of 3d virtual ZX Spectrum programs collection. It is part of testing my 3d libretro front-end with lua scripting. At this point…

    ... load textures onto objects, print(), cls(), sel() (select node to manipulate ...
    runvnc runvnc September 2017 Emulators
  • A Neat Redefine Keys RoutinePreviously, I’ve only shared this routine with a couple of people via PM, but I’ve now decided to make it public. I optimized it for size, so it uses…

    ... 8252 ;upon RETurn from the subroutine, move on to scan the ...
    Ast_A_Moore Ast_A_Moore October 2017 Development
<1234567…34>

Latest Posts

  • Frankie's ZX Spectrum Digouts
    Zup on 1:58PM
  • Elusive Strategy Games done by the Smaller or less Prolific Software Houses.
    harriusherbartio on 1:02PM
  • Minor British Sports that did become games on the ZX Spectrum
    harriusherbartio on 12:42AM
  • 1992 Spectrum Software
    harriusherbartio on April 7
  • Celebrity deaths...
    mel the bell on April 7
  • LONELY TZX files : software TZX'd on the online sites with NO ASSOCIATED DOCUMENTATION
    harriusherbartio on April 7
  • spectrum in netflix bomb and the cold war documentary
    zxbruno on April 7
  • Are there any decent Speccy Flight Sims?
    harriusherbartio on April 7
  • Who Has Got The Earliest ZX Spectrum Software?
    harriusherbartio on April 6
  • Tradtional games that were not programmed on the ZX Spectrum
    harriusherbartio on April 6

HitBox

Word Docs Hits
cls 1.2K 1.9K
subroutine 573 1.2K

Related Threads

  • Faster CLS...Hi Folks,<br /> <br /> Looking at the CLS command in the Spectrum ROM disassembly it seems rather complex. Does anyone know of a simpler/quicker rou…
  • multi-scroll m/c subroutine for BASICArising from recent posts, here's a scrolling routine that will manage multiple left/right scrollings for any (sensible) line width or step; (ie. whe…
  • Can I name a subroutine and then call it by name?No thats not really exactly the problem. I wrote 4 lines of Basic that draws an 8x8 square and then told it to check x,y and subtract 4 from x or y t…

Related Searches

  • z88dk printf cls
  • fast cls
  • cls routine rom
  • cls lower

Copyright © 2024 World of Spectrum