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.002s
<1…28293031323334>
  • What is the (hypothetically) largest 9999 lines BASIC program possible?If the Speccy had infinite amounts of memory, what is the largest 9999 line BASIC program that could be made? (in K and amount of instructions) (Yet…

    [QUOTE=gasman;600286]
    It does place a limit on the number of actual commands you can fit in, though. I guess the shortest one available is RUN [/QUOTE]

    Or CLS.
    Arjun Arjun February 2012 Sinclair Basic
  • What is the (hypothetically) largest 9999 lines BASIC program possible?If the Speccy had infinite amounts of memory, what is the largest 9999 line BASIC program that could be made? (in K and amount of instructions) (Yet…

    Filling the screen with 10 CLS : CLS : CLS .... until it starts to beep
    and RUN this I get
    0 OK, 10:117
    Encarnado Encarnado February 2012 Sinclair Basic
  • What is the (hypothetically) largest 9999 lines BASIC program possible?If the Speccy had infinite amounts of memory, what is the largest 9999 line BASIC program that could be made? (in K and amount of instructions) (Yet…

    [QUOTE=Encarnado;600686]Filling the screen with 10 CLS : CLS : CLS .... until it starts to beep
    and RUN this I get
    0 OK, 10:117[/QUOTE]

    Does it clear the screen tho? :-o
    SKR SKR February 2012 Sinclair Basic
  • What is the (hypothetically) largest 9999 lines BASIC program possible?If the Speccy had infinite amounts of memory, what is the largest 9999 line BASIC program that could be made? (in K and amount of instructions) (Yet…

    ... ]Filling the screen with 10 CLS : CLS : CLS .... until it starts to beep ... line you can add extra CLS commands and colons to the ...
    Geoff Geoff February 2012 Sinclair Basic
  • What is the (hypothetically) largest 9999 lines BASIC program possible?If the Speccy had infinite amounts of memory, what is the largest 9999 line BASIC program that could be made? (in K and amount of instructions) (Yet…

    ... duplicated 160 lines of 100 CLS : CLS : CLS .... until 127.
    and paste ...
    Encarnado Encarnado February 2012 Sinclair Basic
  • DATA vs PRINT and OVERjust messing about and came across this alternative way of drawing a map....now before I start mucking about with my actual program.....is there any …

    ... do this:

    [code]CLS: PRINT m$(i)[/code]
    mcleod_ideafix mcleod_ideafix February 2012 Sinclair Basic
  • Ultimate Collected Works, no Underwulde, why?I managed to get my grubby paws on the "Ultimate Play The Game" "The Collected Works" off E-bay.... The set has 1. JetPac 2. Pssst 3. Tranz-AM 4. Co…

    ... thing, albeit by calling a subroutine:

    [CODE];
    ; knightlore ...
    jp jp February 2012 Games
  • DATA vs PRINT and OVERjust messing about and came across this alternative way of drawing a map....now before I start mucking about with my actual program.....is there any …

    [QUOTE=mcleod_ideafix;602006][code]CLS: PRINT m$(i)[/code][/QUOTE ... 1: PAPER 0: INK 7: CLS
    110 REM BRIGHT 1 ... y
    270 PAUSE 0: CLS
    280 PRINT c$
    290 PAUSE 0: CLS : PRINT LEN c$
    300 ... ,146): LET l$(1)=c$: CLS : PRINT l$(1)
    ...
    Paddy Coleman Paddy Coleman February 2012 Sinclair Basic
  • DATA vs PRINT and OVERjust messing about and came across this alternative way of drawing a map....now before I start mucking about with my actual program.....is there any …

    [QUOTE=Paddy Coleman;602032][code]300 DIM l$(1,146): LET l$(1)=c$: CLS : PRINT l$(1)[/code][/QUOTE]

    Why not:
    [code]300 DIM l$(146): LET l$=c$: CLS : PRINT l$[/code]
    ?
    Battle Bunny Battle Bunny February 2012 Sinclair Basic
  • DATA vs PRINT and OVERjust messing about and came across this alternative way of drawing a map....now before I start mucking about with my actual program.....is there any …

    ... 1: PAPER 0: INK 7: CLS
    110 REM BRIGHT 1 ... y
    270 PAUSE 0: CLS
    280 PRINT c$
    290 PAUSE 0: CLS : PRINT LEN c$
    300 ... ,146): LET l$(1)=c$: CLS : PRINT l$(1)
    310 ... 0: BORDER 0: BRIGHT 1: CLS : REM setup
    20 LET ...
    SKR SKR February 2012 Sinclair Basic
  • DATA vs PRINT and OVERjust messing about and came across this alternative way of drawing a map....now before I start mucking about with my actual program.....is there any …

    ... l$(146): LET l$=c$: CLS : PRINT l$[/code]
    ?[/QUOTE ...
    Paddy Coleman Paddy Coleman February 2012 Sinclair Basic
  • DATA vs PRINT and OVERjust messing about and came across this alternative way of drawing a map....now before I start mucking about with my actual program.....is there any …

    ... 0: BORDER 0: BRIGHT 1: CLS : REM setup
    20 LET ...
    Paddy Coleman Paddy Coleman February 2012 Sinclair Basic
  • Ultimate Collected Works, no Underwulde, why?I managed to get my grubby paws on the "Ultimate Play The Game" "The Collected Works" off E-bay.... The set has 1. JetPac 2. Pssst 3. Tranz-AM 4. Co…

    ... thing, albeit by calling a subroutine:

    [CODE];
    ; knightlore ...
    Korinel Korinel February 2012 Games
  • probably simple C questionI haven't done any C for a while, so I'm probably making a simple mistake, but I can't see what's going wrong here. [code] FILE *fin = fopen("ff01di…

    ... shown previously
    ...
    some subroutine calls here
    ...
    return ...
    Battle Bunny Battle Bunny February 2012 Development
  • Help needed with a loop counterVariable W counts to 12 then calls a subroutine to move a character, it then resets to zero and starts again. For every 2 moves of that character I …

    ... to 12 then calls a subroutine to move a character, it ...
    SKR SKR February 2012 Sinclair Basic
  • Help needed with a loop counterVariable W counts to 12 then calls a subroutine to move a character, it then resets to zero and starts again. For every 2 moves of that character I …

    ... , which loops around independent from subroutine. This may give a flexibility ...
    Arda Arda February 2012 Sinclair Basic
  • Copying a SCREEN$ in ZX BASIC in 1 second?!Following on from the revived "[thread=20207]Saving a complete SCREEN$ in BASIC[/thread]" thread (although Arjun really only needed a suitable POKE i…

    ... : GO SUB 60
    40 CLS : PRINT "PRESS A KEY": PAUSE ...
    Paddy Coleman Paddy Coleman February 2012 Sinclair Basic
  • Copying a SCREEN$ in ZX BASIC in 1 second?!Following on from the revived "[thread=20207]Saving a complete SCREEN$ in BASIC[/thread]" thread (although Arjun really only needed a suitable POKE i…

    ... on top of it or CLS/CLEAR then it's quite ...
    Battle Bunny Battle Bunny February 2012 Sinclair Basic
  • Copying a SCREEN$ in ZX BASIC in 1 second?!Following on from the revived "[thread=20207]Saving a complete SCREEN$ in BASIC[/thread]" thread (although Arjun really only needed a suitable POKE i…

    ... on top of it or CLS/CLEAR then it's quite ...
    Paddy Coleman Paddy Coleman February 2012 Sinclair Basic
  • converting mp3 to zx importfile.is it possible?Hi peeps I am just looking through old threads and browsing through music tools on the zx in particular converting or creating ,what i am looking for…

    ... :
    GF706: defb 0FEh ;Call subroutine
    defw Gf732
    defb ... 0FEh ;Call subroutine
    defw Gf742
    defb ...
    jammajup jammajup March 2012 Development
  • Code optimisation - can you help?Hi Folks, I have been looking at the following code fragment for days and I have been able to improve its performance quite a bit. However, it is a…

    ... the execution time of the subroutine by 17%.
    [code]
    Battle Bunny Battle Bunny March 2012 Sinclair Basic
  • Code optimisation - can you help?Hi Folks, I have been looking at the following code fragment for days and I have been able to improve its performance quite a bit. However, it is a…

    ... the execution time of the subroutine by 17%.
    [code]
    Paddy Coleman Paddy Coleman March 2012 Sinclair Basic
  • A new multicolor engine called BIFROST*I'm glad to announce the release of a new multicolor engine implemented by yours truly, including high quality 16x16 tiles designed by R-Tape: [IMG]…

    ... 5: PAPER 0: BORDER 0: CLS
    30 PRINT INK 6 ...
    Einar Saukas Einar Saukas March 2012 Brand new software
  • Increasing the number of UDGs...Hi Folks, I know by default the Spectrum can have 21 UDGs (48K) and 19 (128K) and that the address of the bit patterns is pointed to by the UDG syst…

    ... 23296
    UDG256: call $0d6b ;CLS
    ld a,$FE
    Battle Bunny Battle Bunny March 2012 Sinclair Basic
  • Routine for clearing screenI was looking for a 'nice' way of clearing a screen of graphics in Z80. After a ridiculous amount of time mucking around, this is the best and most …

    There's [url=http://www.users.globalnet.co.uk/~jg27paw4/type-ins/yoursinc/ys9304pp.zip]Alternative CLS[/url] by Wayne Hunt from Your Sinclair which has a number of different options.
    Battle Bunny Battle Bunny March 2012 Development
  • Routine for clearing screenI was looking for a 'nice' way of clearing a screen of graphics in Z80. After a ridiculous amount of time mucking around, this is the best and most …

    ... />
    [CODE]org 33000
    cls ld b,8 ;8 bits ...
    R-Tape R-Tape March 2012 Development
  • Routine for clearing screenI was looking for a 'nice' way of clearing a screen of graphics in Z80. After a ridiculous amount of time mucking around, this is the best and most …

    ... empty screen
    loop call cls
    djnz loop
    ret ...
    ;
    cls ld de,16383 ;start of ...
    R-Tape R-Tape March 2012 Development
  • Routine for clearing screenI was looking for a 'nice' way of clearing a screen of graphics in Z80. After a ridiculous amount of time mucking around, this is the best and most …

    ... -ins/yoursinc/ys9304pp.zip]Alternative CLS[/url] by Wayne Hunt from ...
    Morkin Morkin March 2012 Development
  • Increasing the number of UDGs...Hi Folks, I know by default the Spectrum can have 21 UDGs (48K) and 19 (128K) and that the address of the bit patterns is pointed to by the UDG syst…

    ... control characters. Be aware that CLS or CLEAR will also reset ...
    Battle Bunny Battle Bunny March 2012 Sinclair Basic
  • Routine for clearing screenI was looking for a 'nice' way of clearing a screen of graphics in Z80. After a ridiculous amount of time mucking around, this is the best and most …

    ... as this is 'metadata based' cls, you can also completely change ...
    ub880d ub880d March 2012 Development
<1…28293031323334>

Latest Posts

  • I am currently watching.....
    mel the bell on 5:54PM
  • Happy 40th Birthday to the Amstrad CPC464!
    Luny on 5:14PM
  • Your Favorite Magazine Cover Tapes.
    dm_boozefreek on 4:45PM
  • "Late Entries"
    harriusherbartio on 4:00PM
  • How Do You Categorize Your Speccy Software and Games?
    harriusherbartio on 1:34PM
  • Simple Sprite Routine
    dmsmith on 1:25AM
  • Today's BASIC program: visit attribute cells I am interested in, in pseudorandom order
    Paradigm Shifter on April 11
  • How do you share programs online?
    firelord on April 11
  • Celebrity deaths...
    Ælita on April 11
  • Who Has Got The Earliest ZX Spectrum Software?
    harriusherbartio on April 11

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