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

    ... 0: PAPER 0: INK 7: CLS
    20 PRINT AT 0 ...
    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

    ... 0: PAPER 0: INK 7: CLS
    110 PRINT AT 0 ...
    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…

    ... /> NEXT b

    9994 CLS : FOR b=1 TO LEN ...
    Battle Bunny Battle Bunny September 2011 Sinclair Basic
  • Othello/Reversi Validate and Make MovesI'm working an Othello/Reversi game The board is represented as a 2d array 8*8 ie: 00000000 00000000 00000000 00012000 00021000 00000000 00000000 000…

    ... :
    ver 10
    1 CLS
    10 REM ****** Sub to ...
    fortyeightkay fortyeightkay September 2011 Development
  • Sys64 - bug foundI've found experimentally on real ZX Spectrum and on emulator that [URL="http://www.worldofspectrum.org/infoseekid.cgi?id=0008823"]Ron Seniscal's SYS…

    ... its address using the following subroutine
    [CODE]
    f79c dde5 ... it dinamically using the following subroutine.
    the last CALL must ...
    mattsteel mattsteel September 2011 Sinclair Miscellaneous
  • New Tool: CheqEdit[b]CheqEdit[/b] it's a simple and small program that helps you to draw 64x48 graphics on screen in GRAPHICS MODE. Program can output as text in CHR$ …

    ... :)

    [code]
    1 CLS : PAPER 1: INK 7: BORDER ... 1
    2 CLS
    3 BRIGHT 1
    fog fog September 2011 Announcements
  • 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 …

    ... >=CODE "A")
    9990 CLS: RANDOMIZE USR VAL "FN p ...
    Battle Bunny Battle Bunny September 2011 Sinclair Basic
  • 3 lines of funHello! I'm looking for a tattoo to remember forever our fabulous 8 bit era. A part the pictures I posted here [url]http://www.worldofspectrum.org/for…

    ... :IF RND < .03 THEN CLS
    3 POKE v, PEEK ...
    Geoff Geoff October 2011 Sinclair Basic
  • Need help with tzxingI recently got a copy of this Polish text game: [url]http://www.worldofspectrum.org/infoseekid.cgi?id=0006622[/url] I can't make a tzx of it howeve…

    ... 7: FLASH 0: INK 0: CLS : PRINT AT 14,0; PAPER ...
    Ralf Ralf October 2011 MIA/STP/SDP
  • 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…

    ... /> 1 PAPER 0: BORDER 0: CLS : LET z$="Fun": REM complilation ... : GO TO 560
    1000 CLS : PRINT a$: STOP

    2000 CLS : PRINT b$: STOP
    3000 ... CLS : PRINT c$: STOP
    4000 CLS : PRINT d$: STOP ...
    fog fog October 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…

    ... 0: PAPER 0: INK 7: CLS
    110 REM Display Menu ...
    Paddy Coleman Paddy Coleman October 2011 Sinclair Basic
  • Fastest way to mirror a byte?I.E. turning 01100000 into 00000110, in assembly. I'm trying but I suck at stuff with rotation and the carry bit. Any pointers?

    ... using bit and a "setbit" subroutine. Interesting.

    Anyways, I ...
    na_th_an na_th_an October 2011 Development
  • Fastest way to mirror a byte?I.E. turning 01100000 into 00000110, in assembly. I'm trying but I suck at stuff with rotation and the carry bit. Any pointers?

    ... using bit and a "setbit" subroutine.[/quote]
    Probably for the ...
    obo obo October 2011 Development
  • Fastest way to mirror a byte?I.E. turning 01100000 into 00000110, in assembly. I'm trying but I suck at stuff with rotation and the carry bit. Any pointers?

    ... .
    CALL cc,nn Call subroutine at location nn if condition ... m.
    RET Return from subroutine.
    RET cc Return from ... subroutine if condition cc is true.< ...
    Ralf Ralf October 2011 Development
  • Display half a screenWorking in 128 Basic and saving screens to memory via - SAVE! "image" SCREEN$ . Is it possible to display just the top half (or the bottom half) of t…

    ... ,128: NEXT a
    50 CLS : INVERSE 1: FOR a=8 ...
    Battle Bunny Battle Bunny October 2011 Sinclair Basic
  • making a menuI a making a menu for my games that i am going to transfer down form tape to disk. I have got a few games on the disk so i thought i would knock up a…

    ... "\#013106 IF INKEY$="1" THEN CLS : LOAD "MANICMIN"\#013107 IF INKEY ... $="2" THEN CLS : LOAD "STOCK"\#013108 IF ... "\#013109 IF INKEY$="4" THEN CLS : LOAD "WRESTLE"\#013110 IF INKEY ... $="6" THEN CLS : LOAD "INVASION"\#0131000 GO ...
    morcar morcar October 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…

    [QUOTE=na_th_an;569593]That's not that long ;)[/QUOTE]

    it's still slower than inkey$ ;) (and you don't want to see my IN subroutine for "the Owl" crap game)
    Arda Arda October 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…

    ... /> SCANNG: equ $24fb ;the SCANNING subroutine
    STAKA: equ $2d28 ;to ...
    Battle Bunny Battle Bunny October 2011 Sinclair Basic
  • Fastest way to mirror a byte?I.E. turning 01100000 into 00000110, in assembly. I'm trying but I suck at stuff with rotation and the carry bit. Any pointers?

    ... /> di
    call &0d6b ; CLS

    xor a
    obo obo October 2011 Development
  • Auto generated spritesLooking around for some graphics I came across [url]http://blog.disktree.net/?p=19[/url] , one of several such pages. Need the odd 8x8 UDG or two (…

    ... /> 30 NEXT F: PAUSE 0: CLS: GOTO 1
    kgmcneil kgmcneil October 2011 Development
  • Happy Birthday Paddy Coleman!Happy Birthday!

    ... /> 1 PAPER 0: BORDER 0: CLS
    2 LET oldik=0 ...
    fog fog October 2011 Chit chat
  • Pixel engines for explosions...Hi... Iv a strange request... I was toying around with an old YS program, which can be found here: [url]http://www.users.globalnet.co.uk/~jg27paw4/ty…

    ... . The calculation is done in subroutine L61722, where H=249: ADD ...
    roko roko October 2011 Development
  • BASIC menus for PlusD discsIs it possible to use BASIC to code custom autoloader menus for PlusD discs? For instance, I can make a disc copy of Dizzy Collection and could make…

    ... :

    [CODE]
    5 CLS
    10 PRINT"Disc Menu ...
    zeropolis79 zeropolis79 October 2011 Sinclair Basic
  • BASIC menus for PlusD discsIs it possible to use BASIC to code custom autoloader menus for PlusD discs? For instance, I can make a disc copy of Dizzy Collection and could make…

    ... 0 : PAPER 0 : INK 7 : CLS
    10 PRINT"Disc Menu ...
    morcar morcar October 2011 Sinclair Basic
  • BASIC menus for PlusD discsIs it possible to use BASIC to code custom autoloader menus for PlusD discs? For instance, I can make a disc copy of Dizzy Collection and could make…

    ... 0 : PAPER 0 : INK 7 : CLS
    10 PRINT"Disc Menu ...
    Rebelstar without a cause Rebelstar without a cause October 2011 Sinclair Basic
  • BASIC menus for PlusD discsIs it possible to use BASIC to code custom autoloader menus for PlusD discs? For instance, I can make a disc copy of Dizzy Collection and could make…

    ... 0 : PAPER 0 : INK 7 : CLS
    10 PRINT"Disc Menu ...
    zeropolis79 zeropolis79 October 2011 Sinclair Basic
  • Is it possible to access the +3 disk drive via m/c in USR0 mode?Is it possible to access the disk drive of the +3 via m/c +3DOS calls when running in USR0 mode? I ask because I'm having an awful lot of trouble ge…

    ... af
    ret

    ; Subroutine to set the BANK678 value ...
    cmonkey cmonkey October 2011 Development
  • Up/Down Left/Right scrollCan anybody give a newbie some pointer to simple one char scrolling by pixel? I've looked at a lot of resources, but as you can imagine, it's all a …

    ... call face_loop2
    ;call a subroutine that..well....sort of...basically ... a look
    ;at the subroutine below. Done that? Remember...the ... a look at the face_loop2 subroutine ***
    ;OK this is the ...
    Turkwel Turkwel November 2011 Development
  • Mazes and Tremaux's AlgorithmI've done a version of Tremaux's maze solving algorithm which solves my current test maze with 400 junctions and 715 connections in a reasonably quic…

    ... point is found
    1212 CLS: GO SUB s0: DIM j ...
    Battle Bunny Battle Bunny November 2011 Development
  • What paging scheme is the "standard" for 128K models?Sinclair implemented an arrangement so that even numbered pages are non-contended, and odd numbered pages are contended (quoting from memory, haven't…

    ... :
    [code]10 PAPER 6: CLS
    20 PAUSE 1: OUT ...
    mcleod_ideafix mcleod_ideafix November 2011 Hardware
<1…26272829303132…34>

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