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
<1…21222324252627…34>
  • Sorting an array...Hi Folks, Over the weekend I had a play with sorting algorithms - takes me back to my student days! :-o My first try was with the good old Bubble S…

    Hi Battle Bunny,

    Never ceases to amaze me the difference in performance between BASIC and MCODE. Sounds like you have a powerful routine there.

    I have modified my demo version so that it can be used (for future generations ;)) as ...
    Paddy Coleman Paddy Coleman September 2010 Sinclair Basic
  • New oneliners for 2008[INDENT][INDENT][INDENT]Here's my attempt at a first-person-perspective 3d game in one line of BASIC. It's called 'wormhole', and you've got to get t…

    ... AT y*3-2,23;CHR$ (64+y)," ";y;AT 0 ... ,y*3;CHR$ (71+y);AT 21,y ... *3+1;CHR$ (78+y); PAPER 1; AT ...
    Einar Saukas Einar Saukas October 2010 Development
  • detect deleteHi everone How can you detect that the caps + 0 (delete) is selected. Im making a word program for fun, but i need to be able to delete characters..…

    IF INKEY$=CHR$ 12 THEN delete is pressed
    mcleod_ideafix mcleod_ideafix October 2010 Sinclair Basic
  • detect deleteHi everone How can you detect that the caps + 0 (delete) is selected. Im making a word program for fun, but i need to be able to delete characters..…

    [QUOTE=mcleod_ideafix;481181]IF INKEY$=CHR$ 12 THEN delete is pressed[/ ... serious you should investigate using CHR$ as the control codes give ...
    rich_chandler rich_chandler October 2010 Sinclair Basic
  • Sorting an array...Hi Folks, Over the weekend I had a play with sorting algorithms - takes me back to my student days! :-o My first try was with the good old Bubble S…

    ... nelem: LET
    p$(n)=CHR$ (RND*25+65): NEXT n ...
    mcleod_ideafix mcleod_ideafix October 2010 Sinclair Basic
  • Sorting an array...Hi Folks, Over the weekend I had a play with sorting algorithms - takes me back to my student days! :-o My first try was with the good old Bubble S…

    ... nelem: LET
    p$(n)=CHR$ (RND*25+65): NEXT n ...
    Paddy Coleman Paddy Coleman October 2010 Sinclair Basic
  • Sorting an array...Hi Folks, Over the weekend I had a play with sorting algorithms - takes me back to my student days! :-o My first try was with the good old Bubble S…

    Hi Dr Beep etc.

    Come on guys - you know more about Sinclair BASIC than is healthy! :smile: Surely you have some tips to optimise/speed up the following code.

    [CODE]100 GO SUB 250
    110 REM SHELL SORT V4
    120 LET b=INT (n ...
    Paddy Coleman Paddy Coleman October 2010 Sinclair Basic
  • Sorting an array...Hi Folks, Over the weekend I had a play with sorting algorithms - takes me back to my student days! :-o My first try was with the good old Bubble S…

    [QUOTE=JamesD;482918]If you can use ELSE it should look like this.
    [CODE]110 REM COMB SORT V2
    ...[/CODE][/QUOTE]

    Hi James,

    Coded up your V2 Comb Sort and got the following results:

    Paddy's original V1 Comb ...
    Paddy Coleman Paddy Coleman October 2010 Sinclair Basic
  • Sorting an array...Hi Folks, Over the weekend I had a play with sorting algorithms - takes me back to my student days! :-o My first try was with the good old Bubble S…

    ... n:
    LET a$(a)=CHR$ (65+RND*25):
    NEXT ...
    Paddy Coleman Paddy Coleman October 2010 Sinclair Basic
  • Sorting an array...Hi Folks, Over the weekend I had a play with sorting algorithms - takes me back to my student days! :-o My first try was with the good old Bubble S…

    ... n: LET p$(i)=
    CHR$ (RND*25+65): NEXT i ...
    Einar Saukas Einar Saukas October 2010 Sinclair Basic
  • Sorting an array...Hi Folks, Over the weekend I had a play with sorting algorithms - takes me back to my student days! :-o My first try was with the good old Bubble S…

    ... TO n: LET p$(i)=CHR$ (RND*25+65): NEXT i ...
    Einar Saukas Einar Saukas October 2010 Sinclair Basic
  • Sorting an array...Hi Folks, Over the weekend I had a play with sorting algorithms - takes me back to my student days! :-o My first try was with the good old Bubble S…

    [B]STEP 3 -[/B] Now let's take a look at the quicksort algorithm, since we will need to properly understand it in order to find further improvements.

    The basic idea behind the quicksort algorithm can be represented by the following pseudo-code ...
    Einar Saukas Einar Saukas October 2010 Sinclair Basic
  • Opinion on new 128K only gamesHello, Being new to the WOS community, I am unclear on the attitude towards 128K only software, that is; Is there a strong need to support the 48K m…

    ...

    xor bl,255 ; INVERSE alpha

    mov al ...
    ASM ASM October 2010 New game ideas
  • Sorting an array...Hi Folks, Over the weekend I had a play with sorting algorithms - takes me back to my student days! :-o My first try was with the good old Bubble S…

    ... TO n: LET p$(i)=CHR$ (RND*25+65): NEXT i ...
    Einar Saukas Einar Saukas October 2010 Sinclair Basic
  • Sorting an array...Hi Folks, Over the weekend I had a play with sorting algorithms - takes me back to my student days! :-o My first try was with the good old Bubble S…

    ... n:
    LET a$(a)=CHR$ (65+RND*25):
    NEXT ...
    Paddy Coleman Paddy Coleman October 2010 Sinclair Basic
  • Sorting an array...Hi Folks, Over the weekend I had a play with sorting algorithms - takes me back to my student days! :-o My first try was with the good old Bubble S…

    BTW, already sorted or inverse order may be best case for one sort and vice versa for another.

    That may mean that one type of sort (Quicksort/Shell sort/Comb sort) is better for one program and worse for another.
    JamesD JamesD October 2010 Sinclair Basic
  • ForthTrying to search for FORTH programs and FORTH articles within the forum is proving to be a complete nightmare!! If I search for FORTH in Infoseek I …

    ... INK/PAPER/BORDER/FLASH/BRIGHT/INVERSE/GOVER (equivalent to BASIC OVER ...
    jp jp October 2010 Sinclair Miscellaneous
  • INSTR function...Hi Folks, Another little program that people might find useful: [CODE]100 DIM i(4) 110 LET a$="This is some sample text" 120 LET b$="text" 130 GO S…

    ... !"
    120 LET i$(1)=CHR$ LEN a$+a$
    130 ... "
    140 LET i$(2)=CHR$ LEN a$+a$
    150 ...
    Paddy Coleman Paddy Coleman October 2010 Sinclair Basic
  • Sorting an array...Hi Folks, Over the weekend I had a play with sorting algorithms - takes me back to my student days! :-o My first try was with the good old Bubble S…

    ... b:
    LET a$(a)=CHR$ (65+RND*25):
    NEXT ...
    Paddy Coleman Paddy Coleman October 2010 Sinclair Basic
  • Sorting an array...Hi Folks, Over the weekend I had a play with sorting algorithms - takes me back to my student days! :-o My first try was with the good old Bubble S…

    ... b:
    LET a$(a)=CHR$ (65+RND*25):
    NEXT ...
    Einar Saukas Einar Saukas October 2010 Sinclair Basic
  • Sorting an array...Hi Folks, Over the weekend I had a play with sorting algorithms - takes me back to my student days! :-o My first try was with the good old Bubble S…

    ... b:
    LET a$(a)=CHR$ (65+RND*25):
    NEXT ...
    Paddy Coleman Paddy Coleman October 2010 Sinclair Basic
  • Sorting an array...Hi Folks, Over the weekend I had a play with sorting algorithms - takes me back to my student days! :-o My first try was with the good old Bubble S…

    ... b:
    LET a$(a)=CHR$ (65+RND*25):
    NEXT ...
    Paddy Coleman Paddy Coleman October 2010 Sinclair Basic
  • Sorting an array...Hi Folks, Over the weekend I had a play with sorting algorithms - takes me back to my student days! :-o My first try was with the good old Bubble S…

    ... b:
    LET a$(a)=CHR$ (b-a):[/CODE]

    LET a$(a)=CHR$ (a):
    [/CODE]

    JamesD JamesD October 2010 Sinclair Basic
  • General purpose full screen input routineHi Folks, One of the things that annoyed me back in the 1980s with most BASICs was the lack of a full screen "formatted" input function. You could …

    Hi Folks,

    Been playing with this and made a few improvements.

    [Code]100 REM *---------------------*
    110 REM PSS-XINPUT DEMO
    120 REM PeaSea Software \*2010
    130 REM *---------------------*
    140 GO SUB 9315: ...
    Paddy Coleman Paddy Coleman October 2010 Sinclair Basic
  • Whole upper memory lostHi! I own a rubber key Spectrum with 48K RAM. Suddenly it lost it's whole upper memory. All diagnostic programs says that it's 16K model with workin…

    ... of random byte values, their inverse etc), and after each poke ...
    RetroTechie RetroTechie October 2010 Hardware
  • Games in machine codeHi everyone, How do go about doing multiple shots like a machine gun, do you have to store every x and y position of each bullet? When you kill som…

    ...

    xor bl,255 ; INVERSE alpha

    mov al ...

    xor bl,255 ; INVERSE alpha

    mov al ...
    ASM ASM October 2010 Development
  • Cool BASIC tricks and tips!Following on from Dunny's excellent suggestion of a compendium of BASIC tips + tricks, I believe it would be better to have a topic dedicated to it. …

    ... a=0 TO 31: PRINT CHR$ 8;: NEXT a
    110 ...
    Paddy Coleman Paddy Coleman October 2010 Sinclair Basic
  • Mute switchOn a standard 48K machine, would it do any harm to fit a mute switch into one of the sounders connections ? I mean by 'harm' switching it on / off w…

    ... anode, so it will have inverse polarization, thus, no current thru ...
    mcleod_ideafix mcleod_ideafix November 2010 Hardware
<1…21222324252627…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
inverse 423 964
chr 1.3K 4.4K

Related Threads

  • 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…
  • The Great CHR$(27)It's not Christmas without the Great Escape on at least once.<br /> <br /> That is all.
  • unreadable CHR$ in Titan Quest, help, plstried demo and full version of titan quest,<br /> <br /> but both versions of the game have been making fun of me, I guess,<br /> there's just wrong …
  • .chr to .binSo here goes another stupid question. What's the best way to convert .chr files created with ZX-Paintbrush to binary or asm format? I know ZX-Blocked…
  • How do you use CHR$ properly in a string ?So I trawled through the manual and found the bit on the character set. It says CHR$ 17 gives you paper control and CHR$ 16 gives you ink. But how do…
  • 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$ = …

Related Searches

  • inverse
  • screen chr position in mc asm
  • chr
  • chr 22
  • chr 21
  • chr attributes
  • chr codes
  • coding chr
  • code chr
  • control code chr
  • inverse loading screen
  • chr color codes
  • chr asm
  • 64 chr basic
  • chr 12
  • poke big chr channel
  • poke chr 8 over 1
  • bin chr 196 a
  • chr inverse 1
  • chr inverse

Copyright © 2024 World of Spectrum