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.039s
<1…17181920212223…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…

    ...
    110 PRINT AT 0,0;"INSERTION SORT v1": PRINT AT 2,0;"Generating ... (t1-t2))/2
    160 PRINT AT 4,0;"Start : ";st
    270 PRINT AT 5,0;"Finish : ";ft: PRINT AT 6,0;"Duration ...
    Dr BEEP Dr BEEP September 2010 Sinclair Basic
  • designing a computerHi everyone! I am designing a 4 bit computer and i need some advice, is this a good instruction set? [CODE] BINARY OPCODE DESCRIPTION 00000 nop…

    ... "bytes" (e.g. 8-bits) at a time
    2) Your ... (0-F) - if you look at the Z80 instruction set you ... processor to accept a byte at a time (which it already ... was a pretty good at assembly code at Robin's age but by ...
    BloodBaz BloodBaz September 2010 Chit chat
  • 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…

    ...
    110 PRINT AT 0,0;"SHELL SORT v1": PRINT AT 2,0;"Generating ... (t1-t2))/2
    160 PRINT AT 4,0;"Start : ";st
    Paddy Coleman Paddy Coleman September 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,

    Tried one of the tricks you said (move the code nearer the top) and a couple of other optimisations and the Shell Sort now averages 10.3 seconds rather than 11.57.

    [CODE]100 GO SUB 250
    110 REM SHELL SORT V2
    Paddy Coleman Paddy Coleman September 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…

    ... +ABS (t1-t2))/2:
    PRINT AT 5,0;"Finish : ";ft'"Duration ... i=1 TO n:
    PRINT v$(i);:
    NEXT i ... :
    PRINT : STOP
    90 LET t1 ...
    Battle Bunny Battle Bunny September 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 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…

    ... y=2 TO 8:
    PRINT AT 20,y*3;y-1 ... ,12-a:
    PRINT PAPER a=0;AT a-1,b*3 ... y=2 TO 8:
    PRINT AT 20,y*3;y-1 ... :
    PRINT PAPER a>0;AT a-1,b;" ";AT a,b ... ;" "; PAPER p+1;AT a ... +2,b;" ";AT a+3,b;" ":
    Einar Saukas Einar Saukas September 2010 Development
  • Help! Reverse engineering a Spectrum game[deleted]

    ... 30000: INK 0: PAPER 0: PRINT AT 0,0;: LOAD ""CODE : RANDOMIZE ... block, and then start disassembling at 30000 to see what's ... code block, and start disassembling at 24104.
    SkoolKid SkoolKid September 2010 Development
  • 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…

    ... y=1 TO 7:
    PRINT 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 x*3-2,y*3 ... ;" ";AT x*3-1,y*3;" ":< ...
    Einar Saukas Einar Saukas October 2010 Development
  • 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…

    ... />
    I have been looking at BBC Micro and Amstrad CPC ... b=INT (b/2):
    PRINT AT 5,11; PAPER 1;l ... LET b=1
    180 PRINT AT 5,11; PAPER 1;l ...
    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=INT (b/2):
    PRINT AT 5,11; PAPER 1;l ... LET b=1
    180 PRINT AT 5,11; PAPER 1;l ...
    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
  • numbers to binaryHi everyone, I have looked through the manual and have found nothing. How do you change a number to binary easily? I know you can go binary to decim…

    ... POKE 16384,n
    30 PRINT AT 1,0;: FOR i=0 ... TO 7: PRINT POINT (i,175);: NEXT i ... 16385,PEEK 23670
    40 PRINT AT 1,0;: FOR i=0 ... TO 15: PRINT POINT (i,175);: NEXT i ...
    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…

    [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…

    ... /> LET f=a
    200 PRINT AT 6,0;"Finish : ";f;
    BORDER 0:
    CLS :
    PRINT AT 0,0;"COMB SORT v7 ... 25):
    NEXT a:
    PRINT AT 9,0;"Array Contents...":
    LET s=a:
    PRINT AT 4,0;"Start : ";s;
    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…

    ... /> LET b=a+a:
    PRINT AT 0,0;b:
    NEXT ... LET b=a+a:
    PRINT AT 0,0;b:
    IF ...
    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…

    ... a
    190 PRINT AT 6,0;"Finish : ";f;AT 7,0;"Duration ... /> BORDER 0:
    CLS :
    PRINT AT 0,0;"COMB SORT v4 ... 25):
    NEXT a:
    PRINT AT 9,0;"Array Contents...":
    PRINT AT 4,0;"Start : ";s;AT 5,0;"Progress ...
    Paddy Coleman Paddy Coleman 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…

    ... , many of them generating assembly code at the click of a PC ... for conversion or original works at this point?

    ... tool, which can output ZX assembly to play your music using ... to the ZX... Its outputed assembly player also works well alongside ...
    kgmcneil kgmcneil 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…

    ... br /> LET f=a:
    PRINT AT 5,0;"Finish : ";f;
    BORDER 0:
    CLS :
    PRINT AT 0,0;"COMB SORT v4 ... br /> LET c=0:
    PRINT AT 8,0;"Array Contents...":
    LET s=a:
    PRINT AT 4,0;"Start : ";s:
    Paddy Coleman Paddy Coleman October 2010 Sinclair Basic
  • Print text in assemblyHello, a perhaps simple question: I would like to print a text string on the screen and I wonder how to do that in the most easy way? I seem to re…

    ... . Alternatively, there's a 'print string' routine at 0x203C which takes a ... / LD (0x5C3C),A.

    PRINT AT (and other modifiers like INK ...
    gasman gasman October 2010 Development
  • Print text in assemblyHello, a perhaps simple question: I would like to print a text string on the screen and I wonder how to do that in the most easy way? I seem to re…

    ... USR adres= lower screen
    PRINT "" AND USR adres = upper screen ... and undoing print of BC on return[/QUOTE ... />
    [QUOTE=gasman;485248]
    PRINT AT (and other modifiers like INK ...
    Rickard Rickard October 2010 Development
  • 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…

    ... :
    PRINT AT 5,0;"Finish : ";f;AT 6,0;"Duration ... BORDER 0:
    CLS :
    PRINT AT 0,0;"COMB SORT v4 ... /> LET c=0:
    PRINT AT 8,0;"Array Contents...":
    LET s=a:
    PRINT AT 4,0;"Start : ";s:
    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…

    ... :
    LET c=0:
    PRINT AT 8,0;"Array Contents...":
    Paddy Coleman Paddy Coleman 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 …

    ...
    250 REM *---------------------*
    260 PRINT #0; PAPER blu; INK whi ...
    9135 REM *---------------------*
    9140 PRINT AT I(2),I(1);I ...
    Paddy Coleman Paddy Coleman October 2010 Sinclair Basic
  • 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. …

    ... 23607+CODE "0"*8:
    PRINT AT 5,5;:
    LET D ... 23684+256*PEEK 23685:
    PRINT PAPER 7;"0":
    FOR ...
    Paddy Coleman Paddy Coleman October 2010 Sinclair Basic
  • 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. …

    ... 23607+CODE "0"*8:
    PRINT AT 5,5;:
    LET D ... 23684+256*PEEK 23685:
    PRINT PAPER 7;"0":
    FOR ... poke 23606,t
    30 print at 10,0;0
    40 ...
    Dr BEEP Dr BEEP October 2010 Sinclair Basic
  • 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. …

    ... /> LET D=0
    140 PRINT AT 5,5; PAPER 7;" "
    Paddy Coleman Paddy Coleman October 2010 Sinclair Basic
  • 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. …

    ... : POKE 23606,f
    140 PRINT AT 5,5; PAPER 7;" "
    Dr BEEP Dr BEEP October 2010 Sinclair Basic
  • 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. …

    ... :
    POKE 23606,B:
    PRINT AT 5,5;" ":
    NEXT B ...
    Paddy Coleman Paddy Coleman October 2010 Sinclair Basic
<1…17181920212223…34>

Latest Posts

  • I am currently watching.....
    Paradigm Shifter on 12:49AM
  • New video about S-video modification on Issue two 48K Spectrum.
    Renegade on April 21
  • Fixed Speccy Software. And which games remained unfixed?
    John Elliott on April 21
  • Happy 40th Birthday to the Amstrad CPC464!
    rich_chandler on April 21
  • Another Birthday! The Game Boy Is 35!
    mel the bell on April 21
  • European Software Titles with an English version
    harriusherbartio on April 21
  • Elusive Strategy Games done by the Smaller or less Prolific Software Houses.
    harriusherbartio on April 21
  • 1992 Spectrum Software
    harriusherbartio on April 21
  • +3 Disk drive motor
    AndyC on April 21
  • Celebrity deaths...
    mel the bell on April 20

HitBox

Word Docs Hits
assembly 3.2K 4.3K
print 8.5K 20.4K
at 189.3K 276K

Related Threads

  • Not ZX related at all. Look at my watch!Aint it cooooool?<br /> <br /> This digital watch is in fact a wind-up watch! <br /> [url="htpp://www.myezboard.com/projects/ezboard/ezboard_userimag…
  • Dont all rush at once at this great ebay bargain....[url="http://cgi.ebay.co.uk/ws/eBayISAPI.dll?ViewItem&amp;category=3767&amp;item=5737477518&amp;rd=1"]http://cgi.ebay.co.uk/ws/eBayISAPI.dll?ViewItem…
  • print at line 22 and 23I have a faint recollection of POKES to allow print at 22,x and 23,x, anyone know what they are? (rather than using the print #0 #1 stuff..)
  • PRINT AT in assemblerHello everyone,<br /> <br /> I am very new to this forums. Like perhaps many others I had a Spectrum as a child and did pretty much simple BASIC prog…
  • Print ATHello,<br /> Can someone please tell me how to do a Print AT command?<br /> <br /> Thanks,
  • First attempt at coding a game in assemblyRight.... I've knocked up something with basic graphics using TommyGun/Spin and Pasmo...<br /> It's not strictly a game, mainly cos I don't have any…
  • BigBadMick's first ebook - Dark Isle (out in print at end of Sept 09)I've just published an ebook with Damnation Books.<br /> <br /> My website for the ebook's here:<br /> <br /> [url]http://bigbadmick.tripod.com/index…
  • Print at 128,87? :)The advanced search function didn't help me find the answer to this, and I don't remember seeing anything similar in magazines or books... so please …
  • Print text in assemblyHello,<br /> <br /> a perhaps simple question: I would like to print a text string on the screen and I wonder how to do that in the most easy way? <b…
  • Spectrumpedia featured at the Spectrum Day at the VIGAMUS, RomeThe Spectrum Day was held at the [URL="http://www.vigamus.com"]VIGAMUS (Video Game Museum)[/URL] in Rome last 2nd November. My intervention was about…

Related Searches

  • fix missing message at init
  • print a char in asm
  • five nights at freddy s
  • flicking bogeys at the sun
  • assembly games
  • assembly games listing
  • random assembly
  • print variables
  • print at 23
  • assembly print text
  • print text assembly
  • print assembly
  • print at text assembly
  • assembly print at
  • 01320 print at 0 paper 8 ink a message that is easy to read
  • 100 print at 0
  • print at
  • assembly routine print
  • print at channel 23
  • print at 0 b 1 flash

Copyright © 2024 World of Spectrum