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>
  • UDG tricks?I always enjoyed using [URL="http://www.worldofspectrum.org/ZXBasicManual/zxmanchap14.html"]UDGs [/URL]for the 'sprites' in my games, when I coded th…

    ... the system variable to where CHR$(0) [I]would[/I] be ... , so when it needs CHR$(32) (a space) it comes ... are supposed to be control codes.

    Similarly the upper ... ASCII codes get re-directed to keywords ...
    joefish joefish June 2014 Sinclair Basic
  • Fast and easy read/write of attributes?What are the fastest or easiest ways to check the attributes of tiles on the screen, in BASIC? It seems to be a great way of storing object info. …

    ... codes, then the remaining characters.[/QUOTE]

    Remember that, although CHR ... $ 10 & CHR$ 11 may be described ... print a '?'; and although CHR$ 13 does go down a ... print controls has to use CHR$ & CODE as well ...
    Battle Bunny Battle Bunny June 2014 Sinclair Basic
  • Dock's ZX Maze gameI'm hoping to finish a simple maze game in ZX Spectrum BASIC this week, as part of the Ludumdare Retro challenge. I used to dabble in speccy basic on…

    ... colour control codes before printing it. You can use CHR$ to generate ... the codes if you'd rather ...
    joefish joefish June 2014 Sinclair Basic
  • Dock's ZX Maze gameI'm hoping to finish a simple maze game in ZX Spectrum BASIC this week, as part of the Ludumdare Retro challenge. I used to dabble in speccy basic on…

    ... AT 20,16; BRIGHT 1;CHR$ (CODE i$-11):
    LET ... $(r,k): LET z$=CHR$ 22+CHR$ r+CHR$ k:
    LET sgo ...
    Battle Bunny Battle Bunny June 2014 Sinclair Basic
  • Dock's ZX Maze gameI'm hoping to finish a simple maze game in ZX Spectrum BASIC this week, as part of the Ludumdare Retro challenge. I used to dabble in speccy basic on…

    ... AT 20,16; BRIGHT 1;CHR$ (CODE i$-11):
    LET ... $(r,k): LET z$=CHR$ 22+CHR$ r+CHR$ k:
    LET sgo ...
    davepierce07 davepierce07 June 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…

    ... codes for the cells. Each 3-byte element of p$() hold CHR ... TO 32: LET n$(i)=CHR$ 0: NEXT i
    ... br /> LET g$(i,1)=CHR$ 0: LET bc=((i-1 ... br /> LET g$(i,32)=CHR$ 0: NEXT i: LET bc ... $() and copies across the colour codes from g$(). GenPG does the ...
    Battle Bunny Battle Bunny October 2014 Sinclair Basic
  • Fast Condition TestingHello my friends, I have been writing some input and string handling routines in BASIC lately - yeah I could write them super fast in C/ASM via z88d…

    ...
    a$() = routine codes for CHR$ 1 ->CHR$ 127 (default 32)
    set routine #30 for CHR$ 1 -> CHR$ 31 (No-Op)
    set routine #29 for CHR$ 12 (DEL)
    set routine ... #28 for CHR$ 13 (ENTER/FINISH)
    [*]line ...
    Battle Bunny Battle Bunny November 2014 Sinclair Basic
  • ZX-Assembler version 0.8 (beta) releasedDear readers, yesterday I've published ZX-Assembler in its first version 0.8. It offers you some interesting features, even if I know there are …

    ... -Basic line, with these CHR$ 14 number codes, e.g. like this ...
    clausjahn clausjahn July 2015 Emulators
  • 40 Column Printing RoutineI've written a 40 column printing routine, which I'd like to share... It's my first piece of 'public' code so go easy on me! I don't think it is a…

    ... font routine.
    No control codes, no basic extensions.
    [code ... /> ex de, hl ; de = font chr gfx
    push de ; save ...
    ld a, (de) ; get chr gfx
    ld c, 0 ...
    Kiwi Kiwi September 2015 Development
  • 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
  • Empire - port of trs80 basic programBack when I was a little kid, I had the opportunity to play around with a trs80 model 1 with level 2 basic. One of the games I often played was call…

    ... ]57 PRINT@896,CHR$(30):PRINT@960,CHR$(30);:PRINT@896,"";: ... AT 14,0;TAB 16;CHR$ 30; AT 15,0 ... ;TAB 16;CHR$ 30; AT 14,0; ... s the special effect of CHR$(30) and a null ... ]

    I think CHR$30 is clear to the ... without depending on text formatting codes.
    Alcoholics Anonymous Alcoholics Anonymous July 2016 Brand new software
  • Trying to enter a line from a book fails for some reasonI am reading through the book "[i]Spectrum Machine Language for the Absolute Beginner edited William Tang[/i]". I have got to the section where I nee…

    ... be "£" (a pound currency sign, CHR$ 96, SymShift+X). It's ... syntax. Are you usng token codes for any of the multi ...
    Battle Bunny Battle Bunny April 2017 Sinclair Basic
  • Fuse 1.3.7 releasedA new release of Fuse, the Free Unix Spectrum Emulator, is now available at the SourceForge project: https://sourceforge.net/projects/fuse-emulato…

    ... with the colors, AT,TAB chr$ and there extra bytes, but ... think colours and processing printing codes are not going to be ...
    Fred Fred July 2017 Emulators
  • why cant i do this in a dimensional array?let m$(20)=m$(20)+"hello" it wont add it to the string/array m$(20)

    ... codes


    [code]
    90 LET m$(20) = CHR$ 17 + CHR ... $ 2 + CHR$ 16 + CHR$ 4 + "hi"
    CHR$ 17 + CHR$ 6 + " there"
    140 ...
    dbolli dbolli December 2017 Development
  • why cant i do this in a dimensional array?let m$(20)=m$(20)+"hello" it wont add it to the string/array m$(20)

    ... the chars plus colour control codes as it sounds
    like ... is being truncated e.g. CHR$16 with
    no following ...
    dbolli dbolli December 2017 Development
  • Prportional Ascii text scrollerA couple of years ago I wrote a little scroller that nestles at the top of RAM (FFCA - 65482) and scrolls standard Ascii encoded text from anywhere y…

    ... value 80h instead, allowing the CHR set to be smaller. In ... this done in the example CHR set. I have a few ... the characters instead of Ascii codes, thus saving probably 7 bytes ...
    Arkannoyed Arkannoyed August 2018 Development
  • Proportional-width fontsFor reasons that are still not quite clear to me (because I’ve always loved typography and design,) I never bothered to write a proportional-font rou…

    ... and accommodates two additional control codes: paragraph indent and text color ... l,a ;load L with chr code
    add hl,hl ...
    add hl,bc ;bitmap (chr code*8+font addr - 256 ...
    Ast_A_Moore Ast_A_Moore December 2018 Development
  • Brain 8I am glad to present my new "experiment" in Sinclair Spectrum 48K BASIC. https://drive.google.com/file/d/17_wCFWaAl5diIVt3rPLTbKhxDmPmYmOs/view?us…

    ... data)? Is it via inline CHR$ control characters? I had unsuccessfully ... and PAPER and INK control codes, these count as characters in ...
    patters patters April 2019 Brand new software
  • Brain 8I am glad to present my new "experiment" in Sinclair Spectrum 48K BASIC. https://drive.google.com/file/d/17_wCFWaAl5diIVt3rPLTbKhxDmPmYmOs/view?us…

    ... data)? Is it via inline CHR$ control characters? I had unsuccessfully ... and PAPER and INK control codes, these count as characters in ... , and OVER, and BRIGHT, using CHR$. E.g. each frame of ...
    IvanBasic IvanBasic April 2019 Brand new software
  • Brain 8I am glad to present my new "experiment" in Sinclair Spectrum 48K BASIC. https://drive.google.com/file/d/17_wCFWaAl5diIVt3rPLTbKhxDmPmYmOs/view?us…

    I'll admit the control codes are a bit odd, but ... adding cursor and colour control codes into strings then mine are ... you can just use CHR$(0) to CHR$(31) if you prefer ... to use colour codes. I also have control codes to skip over ...
    joefish joefish April 2019 Brand new software
  • Artillery - projectile motion gameI started writing this around 25 years ago and abandoned it due to performance issues, and a lack of physics knowledge. Bandersnatch on Netflix fille…

    ... position and attribute data as CHR$ control codes (taking inspiration from IvanBasic ...
    patters patters April 2019 Brand new software
  • border effectsive been playing around with border effects like 10 border 1 20 border 2 30 pause 1 40 goto 10 ,etc i even wrote one in machine code. …

    ... at the effect in machine codes[/quote]

    It's ... *8); PAPER INT (RND*8);CHR$ (129+INT (RND*14));
    JianYang JianYang May 2019 BASIC
  • How does the anti-MERGE trick work?I remember on the Beeb you decided whether to load a program and stop, or load a program and automatically run it, by choosing between LOAD and CHAIN…

    ... rename the first file to CHR$ 16+CHR$ 255 or something, and ... be full of inline character codes to draw protection info on ...
    AndyC AndyC March 2020 Sinclair Miscellaneous
  • Help with CHR$ codes 0 to 5Hi, I'm looking a piece of code in a listing similar to: Let a$ = CHR$ 0 Let b$ = CHR$ 1 Let c$ = CHR$ 2 Let d$ = CHR$ 3 Let e$ = CHR$ 4 Let f…

    ... to effect said printer (control codes to adjust line spacing/feed ... happen if you used LPRINT CHR$ etc etc , but not with ...
    spider spider June 2020 BASIC
  • How to write a simple C+asm horizontal scrolling game (Tutorial, z88dk)[b]How to write a simple C/asm horizontal scrolling game[/b] [b]Note:[/b] This tutorial has multiple parts... I am still writing but this first pa…

    ... DE_register to move the correct chr$ from HL to DE.
    codes in conio.h but I ...
    Timmy Timmy September 2020 Development
  • Help!I recently dug out a Speccy game which is on the MIA list (Rescue from Atlantis, an OK Scuba Dive crossed with Pyjamarama style game) but couldn't co…

    ... 'net, and can find no codes for the
    game.
    ewgf ewgf April 2001 MIA/STP/SDP
  • AvalonHi , Anyone know where I can find the avalon and dragontorc codes? Thanks

    Hi , Anyone know where I can find the
    avalon and dragontorc codes?

    Thanks
    mlasham mlasham June 2002 Games
<1234567…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
codes 2.1K 2.5K

Related Threads

  • Help with CHR$ codes 0 to 5Hi,<br /> I'm looking a piece of code in a listing similar to:<br /> Let a$ = CHR$ 0<br /> Let b$ = CHR$ 1<br /> Let c$ = CHR$ 2<br /> Let d$ = …
  • Hook CodesIf you've dug into the Interface 1 this should be an easy question.<br /> I last had 'em circa 1990 while I can remember the things they did<br /> S…
  • Avalon codesIt's always the same: you find out about a game, you want to play it, so you load it up and... it's got a code entry at the start. Anyone have the co…
  • Security codes for Operation Berlin and Operation Stallion kindly requestedHas anyone the security codes for these adventures? It is impossible to start playing without the codes, since the player is requested to input them …
  • Cheats, codes, tips, etc...Can anyone tell me where I can find these? I have logged in the ancient magazines, sinclair user, crash, etc, buy they don't have those sections. Hel…
  • Codesanybody know where there is a code reference ???<br /> <br /> <br /> like for example 10 = OA in hex but what about for larger numbers like 500,000 e…
  • Number codes on back of spectrum cases HELPHello its me again can anyone tell me if the number codes on the back of the spectrums have any relation to the boards that were placed in them when …
  • Very OT: Video-Sound Codes to MacintoshHello!<br /> <br /> Sorry for this OT, but I haven't got any answers elswer.<br /> <br /> I'm looking for a collection of the most important codecs f…
  • 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…
  • Spectrum Key Codes?Hi guys,<br /> <br /> I have just been reading up about the Sinclair Keypad that was released to accompany the 128K.<br /> <br /> I read this on the …

Related Searches

  • key codes
  • key codes qaop
  • screen chr position in mc asm
  • chr
  • chr 22
  • chr 21
  • chr attributes
  • coding chr
  • code chr
  • control code chr
  • chr color codes
  • attribute codes
  • chr asm
  • 64 chr basic
  • chr 12
  • poke big chr channel
  • poke chr 8 over 1
  • spectrum calculator codes
  • bin chr 196 a
  • chr control codes string

Copyright © 2024 World of Spectrum