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.016s
<1…16171819202122…34>
  • 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…

    ... /> ex de, hl ; de = font chr gfx
    push de ; save ...
    ld a, (de) ; get chr gfx
    ld c, 0 ... 0x40
    defb 0x40
    ; 8
    defb 0x05
    defb ...
    Kiwi Kiwi September 2015 Development
  • im looking for a basic routine that adds a numerical character to a stringim looking for a basic routine that adds a numerical character to a string. so a=1, "1", then a=0 "10", then a=1 "101......" and so on

    ... /> 20 FOR f=1 TO 8
    30 INPUT a
    40 LET a$=a$+CHR$ (a+48)
    50 NEXT ... /> 20 FOR f=1 TO 8
    30 INPUT a
    Einar Saukas Einar Saukas September 2015 Development
  • how do i convert a binary string into hex in basic?how do i convert a binary string into hex in basic?

    ... /> 70 IF LEN n$ < 8 THEN GOTO 40
    80 ... /> 90 DEF FN p$(n)=CHR$ ( n + 48 + ( 7 AND ( n ...
    dbolli dbolli September 2015 Development
  • how do i convert a binary string into hex in basic?how do i convert a binary string into hex in basic?

    ... /> 21 LET b$="00000000"(TO 8-LEN b$)+b$: PRINT b ... /> REM ensure that b$ has 8 digits & print
    30 ... "): 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.

    ... ) ;A =row
    ld bc,8
    add hl,bc
    ScrDone:;At this point the CHR$ parameters are the top entry ... the calculator stack; also A=CHR$, DE=pointer, BC=length (0 ... 2
    11 LET a$=CHR$ (97+INT (RND*26)): PRINT ...
    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…

    ... where 149="Z". The resultant 8 possible words are:
    EACSBSB ... E, then its encoding is CHR$ (132-63) which gives "----E ...
    Battle Bunny Battle Bunny May 2016 Games
  • 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…

    ... pattern of that word (ie. 8 different letters, letters 3 & ... TO 9: LET w$(c)=CHR$ PEEK (a+c): NEXT c ... OR b$(CODE w$(u))CHR$ 3) THEN
    GO TO ... LET b$(CODE w$(u))=CHR$ u:
    NEXT u
    Battle Bunny Battle Bunny May 2016 Games
  • Leading Zeroes on a Score in BASICI'm trying to print the score with leading zeroes such that it's always 6 characters wide, i.e.: 000010, 000150, 006100 etc. I quickly knocked thi…

    ... 10.6
    7 3.8
    8 4.3
    [/code ... score=0: LET p$=CHR$ 22+CHR$ 0+CHR$ 13+"000000"
    7006 ...
    Battle Bunny Battle Bunny July 2016 Sinclair Basic
  • Leading Zeroes on a Score in BASICI'm trying to print the score with leading zeroes such that it's always 6 characters wide, i.e.: 000010, 000150, 006100 etc. I quickly knocked thi…

    Adding "LET p$=CHR$ 22+CHR$ 0+CHR$ 13" to line 4 and ... 10.5
    7 3.8>>>>> ... ;>>
    8 4.3 4.2
    Battle Bunny Battle Bunny July 2016 Sinclair Basic
  • PHP class for ZX Spectrum images parsing/convertingI've taken a class from ZX-Art, made it composer-friendly, refactored it and published on Github. https://github.com/moroz1999/zx-image Now every…

    ... description, also fixed problem with CHR$:

    "standard" ... br /> "multicolor" - multicolor 8*2. Size: 9216. 6144 ... br /> "multicolor4" - multicolor 8*4. Size: 7680. 6144 bytes ... "lowresgs" - ZX Spectrum gigascreen 8*4 attributes screen. Size: 1628 ...
    moroz1999 moroz1999 October 2016 Announcements
  • Proportional fontsI've been doing some proportional font drawing, purely on C level at the moment, but it's orders of magnitude slower than I'd want it to be. It's sti…

    ... 28h,54h,54h,a8h;-2 ;8
    db 20h,54h,54h ...
    jamorski jamorski October 2016 Development
  • SupadriveHere's an MDR image of Supadrive. Works with Spectaculator, but I haven't tested it with any other emulators. [url="http://www.superfudge.demon.co.u…

    ... up of records 1-2,8-22 and 69-78.
    CHR$ 255).
    You might also ...
    Poker_D Poker_D October 2016 MIA/STP/SDP
  • Akalabeth gamei found now that someone ported an ansi-basic game (coded in 1979?) to msx-basic - what about a zx-spectrum basic version of it? ;) https://plus.goo…

    Hi BB,

    Here is a quicker version:


    [code]100 BORDER 0: PAPER 0: INK 7: CLS
    110 REM
    120 REM Build draw string
    130 REM
    140 PRINT AT 0,0;"Please wait, building string"
    150 RESTORE 550: ...
    Paddy Coleman Paddy Coleman October 2016 Sinclair Basic
  • Proportional fontsI've been doing some proportional font drawing, purely on C level at the moment, but it's orders of magnitude slower than I'd want it to be. It's sti…

    ... quick re-factoring of the Chr set to make it occupy ... 8 bits per character (leaving lots ...
    jamorski jamorski November 2016 Development
  • Akalabeth gamei found now that someone ported an ansi-basic game (coded in 1979?) to msx-basic - what about a zx-spectrum basic version of it? ;) https://plus.goo…

    ... ; the rat is at 5,8 but it's recorded as ... being at 3,8.

    If you BREAK ... :
    LET m$(3,20)=CHR$ 5: GO TO INKD
    Battle Bunny Battle Bunny January 2017 Sinclair Basic
  • flash in a stringhi, is it possible to store flash in a string? u can store colours, bright, etc.

    ... +b: LET i=INT(RND*8)
    PRINT AT x,y ... /> DIM a$(6): LET a$=CHR$ 22+"??"+CHR$ 16+"?"+"{A}"
    LET ... $(2 TO 5)=CHR$ x+CHR$ y+CHR$ 16+CHR$ INT(RND*8)
    PRINT ...
    Battle Bunny Battle Bunny January 2017 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…

    ... ";a$
    20 POKE 23658,8: INPUT "Name ";n$: IF ... THEN
    PRINT "Invalid initial CHR$ (";c;") at ";pos: STOP< ... 0,0;name,,AT 0,8;

    60 LET ... c26 THEN
    PRINT "Invalid CHR$ (";co;") at ";pos: STOP ... /> PRINT #0;AT 0,8;n$: LET OK=1
    Battle Bunny Battle Bunny January 2017 BASIC
  • Better "Hello World"are their any more visually impressive Hello world loops i can do in basic other than the print-goto one.

    [code]
    1 LET a$="Hello World!!"
    2 PRINT INK 9; PAPER INT (RND*8); BRIGHT INT (RND*2);CHR$ CODE a$;: OUT 254,RND*32: POKE 23692,PI: LET a$=a$(2 TO ): GO TO 2-(a$="")
    [/code]
    GReW GReW May 2017 Sinclair Miscellaneous
  • 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
  • im looking for a horizontal scroll routinehi, im looking for a horizontal scroll routine. i read somewhere that you can do it with at 'to' statement, somewhere in a print routine. althoug…

    ... equivalent to the PRINT control CHR$ I drew a random pixel ... /> 2001 DATA 1,2,4,8,16,32,64,128
    8,4,2,1
    [/code ... the four basic line elements * 8 bytes * 8 displacements * 2 (as each ...
    Battle Bunny Battle Bunny June 2017 Sinclair Basic
  • im looking for a horizontal scroll routinehi, im looking for a horizontal scroll routine. i read somewhere that you can do it with at 'to' statement, somewhere in a print routine. althoug…

    ... of work space (2 * (2*8*32) * 32) which makes it ... 1)*32): DIM v$(2,8*32):
    REM capture upper ... ,b): LET v$(1,p)=CHR$ ATTR (a,b):
    ... ,b): LET v$(2,p)=CHR$ ATTR (a,b):
    ... 5,PEEK 23671:
    RANDOMIZE 8*32: POKE da+6,PEEK ...
    Battle Bunny Battle Bunny June 2017 Sinclair Basic
  • Finished with my dice rolling programTook me all day but I'm rather proud of it, simple though it is. Its up at Dropbox if anyones interested https://www.dropbox.com/s/qdgtfc0zyy94hxm…

    ... br /> to ("10*"+CHR$ 168+"b("+CHR$ 186+"(a/2))+")< ... in line 40
    to CHR$ 196 (no "")
    [/ ... 8: DRAW 0,-10*8: PLOT (12-1)*8,(22-14)*8: DRAW 10*8 ... 4*8: PLOT 12*8,(22-12)*8: DRAW 4*8,0 ... r+8,c+11;INVERSE 1;w$:
    LET u$=CHR$ ...
    Battle Bunny Battle Bunny July 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…

    ... br /> to ("10*"+CHR$ 168+"b("+CHR$ 186+"(a/2))+")< ... in line 40
    to CHR$ 196 (no "")
    [/ ... 8: DRAW 0,-10*8: PLOT (12-1)*8,(22-14)*8: DRAW 10*8 ... 4*8: PLOT 12*8,(22-12)*8: DRAW 4*8,0 ... r+8,c+11;INVERSE 1;w$:
    LET u$=CHR$ ...
    Battle Bunny Battle Bunny July 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…

    ... /> 40 IF LEN (a$)>8 THEN PRINT AT 0,0 ... ;"Up to 8 Characters only!": PAUSE 0: CLS ... x=0 TO (LEN (a$)*8)-1 STEP 2
    70 ... 8 STEP 2
    90 PRINT AT (8-y)/2,x/2;CHR ... $ (128+8*POINT (x,y ...
    Dunny Dunny July 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…

    ... into the character.

    8 ATTR rows in the screen ... = 8 bytes in the character.

    (Change CHR$ c instead ... " THEN "
    20 LET a$=CHR$ c: FOR a=1 TO ... 5: LET a$=a$+CHR$ c: NEXT a
    24 ...
    IvanBasic IvanBasic July 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…

    ... into the character.

    8 ATTR rows in the screen ... = 8 bytes in the character.

    (Change CHR$ c instead ... " THEN "
    20 LET a$=CHR$ c: FOR a=1 TO ... 5: LET a$=a$+CHR$ c: NEXT a
    24 ...
    ivanb303 ivanb303 July 2017 BASIC
<1…16171819202122…34>

Latest Posts

  • Goodbye Z80
    dmsmith on 8:53PM
  • I bought an accoustic guitar. How do you play it?
    dm_boozefreek on 7:51PM
  • Happy 40th Birthday to the Amstrad CPC464!
    AndyC on 6:29PM
  • Another Birthday! The Game Boy Is 35!
    dm_boozefreek on 6:17PM
  • I am currently watching.....
    Antiriad2097 on 5:05PM
  • European Software Titles with an English version
    harriusherbartio on 12:06PM
  • How Do You Categorize Your Speccy Software and Games?
    harriusherbartio on 11:21AM
  • Fixed Speccy Software. And which games remained unfixed?
    harriusherbartio on 11:01AM
  • New video about S-video modification on Issue two 48K Spectrum.
    Renegade on April 21
  • Elusive Strategy Games done by the Smaller or less Prolific Software Houses.
    harriusherbartio on April 21

HitBox

Word Docs Hits
chr 1.3K 4.4K
8 30.2K 46.2K

Related Threads

  • Famous 8 x 8 graphicsHi All,<br /> <br /> Part of a game I'm writing involves collecting falling 8x8 graphics, one level will be fonts (got this bit sorted) and another w…
  • ANN: Lunar Jetman for Window Phone 7/8/8.1Finally... after work getting in the way of play... it's released!!!<br /> <br /> Lunar Jetman is a tough cookie (pun intended :lol: ), in my opinion…
  • esxDOS v0.8.8 releasedFrom: http://board.esxdos.org/viewtopic.php?id=679<br /> <br /> [quote] lordcoxis: <br /> esxDOS v0.8.8 has been officially released. Grab it at h…
  • 8 bit Emulators in general/ links for wnatedI really like a lot of the stuff on the Speccy Web Ring.<br /> <br /> Quite a lot of it has not been updated for a while, the same goes for stuff ou…
  • alien 8Does anyone know where I can get a copy of Alien 8?
  • Forever 2002 - crossplattform 8 bit party - the 3rd editionThe new year - a year of anniversaries for all 3 major 8 bit<br /> plattforms has started. ZX spectrum &amp; C64 are 20 years old &amp; Atari is<br /…
  • ++off-topic++ Anyone else bought one of those 8-bit 'retro' consoles advertised on cable tv?tvOver christmas I was bored, and found myslef flicking through all the cable channels on NTL. They change the package so often, i have all but given u…
  • Question on 8-bit, 16-bit, 32-bit...Hello,<br /> Sorry, this is probably a really dumb question(and something I should know by now :)). I tried doing some searches about this but came u…
  • Tales of hate and despair in 8-bitsThis topic seeks to shed some light on one of the most obscure questions a spectrum user can ask.<br /> <br /> Why do we hate Commodore?
  • kazaa for 8/16 bit stuffhello, <br /> <br /> just thought id pop my head in the spectum camp (im a commodore 64 geezer by choice. please dont throw any bricks yet)<br /> <br…

Related Searches

  • alien 8 alcatraz
  • alien 8 alkatraz
  • alien 8
  • mick farrow alien 8
  • esxdos 0 8 5
  • esxdos 8 5
  • esxdos 0 8 6
  • colony 8
  • multiply by 8
  • alten 8
  • din 8
  • ink 8
  • 8 way movement
  • renaming 8 3
  • screen chr position in mc asm
  • chr
  • chr 22
  • chr 21
  • chr attributes
  • chr 8

Copyright © 2024 World of Spectrum