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.006s
<1…3456789…34>
  • SCREEN$ bug fixI've been using the SCREEN$() function recently for reading data off the screen rather than taking up space with an array and I got fed up with the s…

    ... has default values of 96,21,8 which can be ... =UDGset, 3=CHARSset; defaults 8, 21, 96
    BlockGen:
    ... /> ; 3: lo-byte = CHR$ adjustment = (1st CHR$)-$80+(characters to check ... )
    push de ;DE=CHR$ address
    ld l,( ...
    Battle Bunny Battle Bunny November 2013 Sinclair Basic
  • Graphics questionHello. I was wondering, does anybody here know of a method to display a large (as in, the better part of the screen) bitmap/raster image using ZX Sp…

    [QUOTE=LCD;743934]If 21 UDG's are not enough, ... TO 96: LET a$(n)=CHR$ (31+n): NEXT n
    21 lines are printed, containing 672 ...
    TK90XFan TK90XFan December 2013 Sinclair Basic
  • hash function permutation tableI'm using a simple Pearson hash function to generate keys for a $(103,6) array using a 256-byte permutation table. How do I arrange the entries in th…

    ... ", "ACS", "AND", "ASN", "ATN", "ATTR", "CHR$", "CODE", "COS", "EXP", "FN", "INKEY ... ,20,17,1,23,53,21,2,24,40,45,47 ...
    Kweepa Kweepa January 2014 Development
  • hash function permutation tableI'm using a simple Pearson hash function to generate keys for a $(103,6) array using a 256-byte permutation table. How do I arrange the entries in th…

    ... ", "ACS", "AND", "ASN", "ATN", "ATTR", "CHR$", "CODE", "COS", "EXP", "FN", "INKEY ... ,20,17,1,23,53,21,2,24,40,45,47 ...
    Kweepa Kweepa January 2014 Development
  • How to print logo onto screen at chosen coordinates?Hi, I've just got back into zx spectrum games after all these years and after seeing some of the great games on here I would like to start learning p…

    ... if you want more than 21 UDG characters (19 on a ... 6 command
    defb 32 ;CHR$ 'space'

    udg defb ...
    daveysludge daveysludge February 2014 Development
  • How to print logo onto screen at chosen coordinates?Hi, I've just got back into zx spectrum games after all these years and after seeing some of the great games on here I would like to start learning p…

    ... 164
    20 PRINT AT 21,0;CHR$ c
    30 FOR ... ,y): LET c$(x+1)=CHR$ 143 AND p: LET p ... y
    55 PRINT AT 21,0;" ";AT 8,0,,,,,,AT ...
    Battle Bunny Battle Bunny February 2014 Development
  • How to print logo onto screen at chosen coordinates?Hi, I've just got back into zx spectrum games after all these years and after seeing some of the great games on here I would like to start learning p…

    ... 6 command
    defb 32 ;CHR$ 'space'[/code]
    The 6 ... the other control codes 17-21 for the text output : paper ...
    Speccy_James Speccy_James February 2014 Development
  • How to print logo onto screen at chosen coordinates?Hi, I've just got back into zx spectrum games after all these years and after seeing some of the great games on here I would like to start learning p…

    ... UDGs. To use more than 21 UDGs just define them after ... UDG data table and use CHR$ 165-255 to refer to ...
    Battle Bunny Battle Bunny February 2014 Development
  • How to print logo onto screen at chosen coordinates?Hi, I've just got back into zx spectrum games after all these years and after seeing some of the great games on here I would like to start learning p…

    ... leaving 168 bytes for the 21 standard UDGs. Although the ... that, defining more than 21 UDGs in itself doesn' ... graphics, 21 UDGs, 91 tokens. If you use CHR$ 165 ... which doesn't have the 21 restriction. Such as the ... br />
    which treat CHR$ 165-255 as an extra ...
    Battle Bunny Battle Bunny February 2014 Development
  • How to print logo onto screen at chosen coordinates?Hi, I've just got back into zx spectrum games after all these years and after seeing some of the great games on here I would like to start learning p…

    ... leaving 168 bytes for the 21 standard UDGs. Although the ... that, defining more than 21 UDGs in itself doesn' ... graphics, 21 UDGs, 91 tokens. If you use CHR$ 165 ... which doesn't have the 21 restriction. Such as the ... br />
    which treat CHR$ 165-255 as an extra ...
    Speccy_James Speccy_James February 2014 Development
  • INPUT help?Hi folks. :) Brace yourselves, this is probably a very silly question, my BASIC knowledge is very... well, basic... Let's say, for example, I'm mak…

    ... $(b)=1000 THEN GO TO 21
    20 GO TO 20 ... -(9 AND INKEY$="")
    21 PRINT AT 12,14;a ...
    Battle Bunny Battle Bunny February 2014 Sinclair Basic
  • dumping protected BASIC loadersI wrote this a few weeks ago but forgot to post it. It will load & list from tape/TAP/TZX any BASIC program which has been saved with SAVE, including…

    ... a=a+6: GO TO 21
    ...
    2000 LET v ... :
    LET c$=CHR$ PEEK d: LET d$=CHR$ PEEK (d-1 ... ): LET e$=CHR$ PEEK (d ...
    Battle Bunny Battle Bunny March 2014 Sinclair Basic
  • Routine for handling large scores?[FONT=Calibri][SIZE=3]I want to store various numbers for scores and levels etc. Some of these can be very large so will need to be held in multiple …

    Here's a BASIC routine which adds or subtracts 16-digit integers. Just change every occurrence of '16' to the maximum size of your numbers. Lines 41-45 do the operation on a single pair of digits and add in any carry leftwards. It just adds the ASCII ...
    Battle Bunny Battle Bunny March 2014 Development
  • 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$=" …

    ... /> 11 FOR y=0 TO 21: FOR x=0 TO 31 ... RND*7; INK RND*7;CHR$ (RND*80+32): NEXT x ... /> 20 GO SUB 7000
    21 REM SLOW
    22 PAUSE ...
    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…

    ... changes:
    [list]
    [*]line 21: Added a PAPER 1 to ... 's checking "7" or "6", 21 should be 20.
    [/list ... 0,0; PAPER 1,,AT 21,0,,:
    DIM g$(20 ... THEN GO TO 29
    21 PRINT AT 0,0;"move ...
    Battle Bunny Battle Bunny October 2014 Sinclair Basic
  • Microdrive usageAnyone here know about microdrive files? Had a few carts in, all have stuff on, heres an example cat 1 with the error message i get for every single …

    Here's a composite of three routines from pages 16,32,35 of Andy Pennell's Microdrive book which combine to provide an extended Microdrive CAT.
    [code]1000 CLEAR 64999: GO SUB 8000: GO SUB 8350
    2000 GO SUB 8040: INPUT "Drive: ";d: GO SUB 5000: ...
    Battle Bunny Battle Bunny November 2014 Sinclair Miscellaneous
  • how do i convert a binary string into hex in basic?how do i convert a binary string into hex in basic?

    ... to binary string b$
    21 LET b$="00000000"(TO 8 ... "): NEXT b:
    LET h$=CHR$(nib+48+(7 AND nib ...
    Battle Bunny Battle Bunny September 2015 Development
  • What am I doing wrong here?[code]IF INKEY$=SCREEN$ (21,4) THEN LET SCORE=SCORE+1[/code] It's delivering a positive every time.

    ... /> ScrDone:;At this point the CHR$ parameters are the top entry ... LET score=0: PRINT AT 21,16;score
    10 FOR ... AT r,c;a$;AT 21,4;a$
    12 ... /> 110 IF INKEY$=FN s$(21,4) THEN
    LET score ... =score+1: PRINT AT 21,16;score; AT r,c ...
    Battle Bunny Battle Bunny May 2016 Sinclair Basic
  • Bored of the Rings coded messageI was browsing [url="https://tcrf.net/"]The Cutting Room Floor[/url] recently and stumbled upon the entry for [url="https://tcrf.net/Bored_of_the_Rin…

    Thanks for pointing out the letter which I'd missed out in line 3.

    I thought that the encoding might be using variable multiples of 16 as offsets, as this gave "BEST!" for the last word, which seemed a likely word to appear in a hidden ...
    Battle Bunny Battle Bunny May 2016 Games
  • Arrays in BASICHi so I'm making this crappy game and I wanna store the screen positions of some UDGs in in a 50x2 array cause I have 50 characters. So I made the ar…

    ... would be stored as CHR$ X and CHR$ Y. When extracting the ... /> 30 LET a$(x,2)=CHR$(RND*21)
    [/code]
    Is ...
    ivanb303 ivanb303 October 2016 Sinclair Basic
  • Arrays in BASICHi so I'm making this crappy game and I wanna store the screen positions of some UDGs in in a 50x2 array cause I have 50 characters. So I made the ar…

    ... r>=low;AT r-(21 AND r>=low)" make ... r>=low; AT r-(21 AND r>=low),0 ... br /> Print #1; AT r-21,0;
    Else
    Print ... /> 30 LET a$(x,2)=CHR$(RND*21)
    [/code]
    [/quote ... around the RND functions, since CHR$ expects an integer, and if ...
    GReW GReW October 2016 Sinclair Basic
  • Anagram creation - not as easy as it looks?I'm writing a story and I have a mystery villain who is never revealed. My main clue was to have been that every alias he uses is an anagram of the f…

    ... TO 20

    21 DIM n(26,2): LET ... a,1) THEN
    PRINT CHR$ (a+64);" ";n(a ... THEN
    PRINT "Invalid initial CHR$ (";c;") at ";pos: STOP ... c26 THEN
    PRINT "Invalid CHR$ (";co;") at ";pos: STOP ... 2)-1: LET n$=n$+CHR$ PEEK pos:
    PRINT ...
    Battle Bunny Battle Bunny January 2017 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…

    Here's the listing:

    [code]
    1 POKE 23674,0: POKE 23673,0: POKE 23672,0: POKE 65281,0: FOR q=0 TO l-1: RESTORE 130+t(q+1): READ w: FOR e=1 TO w: READ r,c: LET n=q*320+r
    2 LET f1=PEEK 23672: LET f2=PEEK 23673: LET f3=PEEK ...
    Dunny Dunny June 2017 BASIC
  • How to improve my program using oversized numbersI'd like my dice program to print out the number four times bigger than normal if possible. Anyone know how to do this? Or I could write a sub rou…

    ... 30
    50 PRINT AT 21,0; INK 7;a$
    CHR$ (128+8*POINT (x,y ...
    Dunny Dunny July 2017 BASIC
  • Just watched Paul Jenkinsons's spectrum chanel and now want to write code againPlease assume for the purpose of this thread I know nothing... I want to look to write games on the spectrum but want to develop and test on my wi…

    ... f=1 THEN PRINT AT 21,x;CHR$ 140+" "
    150 IF ... f=2 THEN PRINT AT 21,x;CHR ... $ 132+CHR$ 136
    160 IF ... f=3 THEN PRINT AT 21,x;" "+CHR$ 140
    170 GO ...
    wbm wbm 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…

    ...
    210 REM NY>21=Cursor in bottom half of ...
    220 IF NY>21 THEN LET NY=NY-22 ...
    Paddy Coleman Paddy Coleman September 2017 Development
<1…3456789…34>

Latest Posts

  • I am currently watching.....
    Paradigm Shifter on 5:39PM
  • 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
chr 1.3K 4.4K
21 7.4K 9.7K

Related Threads

  • Spectaculator 5.21 problemI am using Spectaculator V5.21 and 99.99999% of the time it is excellent, but on some games (especially old BASIC games with scrolling and Oracles Ca…
  • ANN: Tipshop updated Saturday, 21 February 2004Saturday 21 February 2004<br /> Entries for The RZX Archive, and lots of maps and POKEs <br /> <br /> * Daren Pearcy, Webmaster of The RZX Archive ha…
  • ZX Spectrum CHR$ sets (fonts)I'm satisfied enough with my _ZX Spectrum CHR$ sets (fonts)_ web page and I published it at [url="http://mstancevic.tripod.com/SpectrumCHRs/ZX_Spectr…
  • Games Club - Week 21Hi,<br /> <br /> Last week I asked you to nominate games for which Tim Follin provided the music and got the following responses<br /> <br /> Agent X…
  • Bundle of Crash Issues (21 issues) Ends tommorrow (Sun 11th)[url="http://cgi.ebay.co.uk/ws/eBayISAPI.dll?ViewItem&amp;item=6992328083&amp;rd=1&amp;sspagename=STRK%3AMESE%3AIT&amp;rd=1"]http://cgi.ebay.co.uk/ws…
  • 21 classic spectrum remakes for your PC!!wow!<br /> <br /> Look at this ebay beauty<br /> <br /> [url="http://cgi.ebay.co.uk/21-MODERN-REMAKES-OF-CLASSIC-SINCLAIR-ZX-SPECTRUM-GAMES_W0QQitemZ…
  • eBay - Sinclair ZX81 - auction ends 28/03/06 21:30.I am selling a Sinclair ZX81 computer, with leads, power supply, manual and polystyrene case. The keyboard does not work.<br /> <br /> [url="http://…
  • ANN - ZXSoftware.co.uk Update V1.5 21/05/06ZXSoftware has now been updated to V1.5.<br /> <br /> Changes :-<br /> <br /> 299 new titles have been added - Listed below.<br /> A few thousend new…
  • Games club WC 21/10/06Next weeks games..
  • info needed from Pop.Comp.Weekly 14&21 Nov'85Does anyone have the Popular Computing Weekly issues for 14th &amp; 21st November 1985? There should be a listing for a Spectrum turbo load/save rout…

Related Searches

  • 21 udgs on spectrum 128
  • spud 0 21
  • 21
  • epyx 21
  • screen chr position in mc asm
  • chr
  • chr 22
  • chr attributes
  • chr codes
  • coding chr
  • code chr
  • control code chr
  • chr color codes
  • chr asm
  • 64 chr basic
  • chr 12
  • poke big chr channel
  • select 0 from sleep 21 v
  • qmajxz6k waitfor delay 0 21
  • 1 waitfor delay 0 21

Copyright © 2024 World of Spectrum