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.026s
<1…12131415161718…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…

    ... 210
    140 LET b=INT (b/1.247330950103979):
    IF ... /> If you change b every time you end up having to ... 210
    180 LET b=INT (b/1.247330950103979):
    IF ...
    JamesD JamesD 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…

    ... /> If you change b every time you end up having to ... 210
    180 LET b=INT (b/1.247330950103979):
    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…

    ... 220
    190 LET b=INT (b/1.3):
    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…

    ... ;o
    THEN LET b=INT (b*p)
    160 GO ...
    180 REM Get Finish Time
    190 GO SUB 220 ... STOP
    220 REM Calculate Time
    230 LET a=(65536 ...
    280 REM Get Start Time
    290 GO SUB 220 ... code gives an average sort time of 15.7 seconds so ...
    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…

    ... >1 THEN LET b=INT (b/p+r)
    160 ... exist at that point (first time through).

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

    ... following generates an average run time of 12.07 seconds (over ... =1.3:
    LET b=INT (n/p)
    130 LET ...
    THEN
    LET b=INT (b/p):
    IF b
    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=Paddy Coleman;484023]
    [CODE]150 IF b>1
    THEN
    LET b=INT (b/p):
    IF b
    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…

    ... this reduced the average run time ~11.59 seconds.

    Paddy[/QUOTE]
    So INT rounds up if >= .5 ...
    JamesD JamesD 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…

    ... =1.3:
    LET b=INT (n/p)
    130 LET ...
    THEN
    LET b=INT (b/p):
    IF b
    JamesD JamesD 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…

    ... =1.3:
    LET b=INT (n/p)
    130 LET ... >1 THEN LET b=INT (b/p)
    160 GO ...
    170 REM Get Finish Time
    180 GO SUB 210 ... STOP
    210 REM Calculate Time
    220 LET a=(65536 ...
    270 REM Get Start Time
    280 GO SUB 210 ...
    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…

    ... .5
    120 LET b=INT n
    130 IF b ... >1 THEN LET b=INT (b/1.3)
    140 ... /> This executes in an average time of ~11.65 seconds.
    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…

    ... .5
    120 LET b=INT n
    130 IF b ... ;1 THEN
    LET b=INT (b/1.3)
    140 ... a sort.
    So first time 130 is always true.
    [code]
    130 LET b=INT (b/1.3)
    [/code ...
    Dr BEEP Dr BEEP 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…

    ... 5
    120 LET b=INT n
    130 IF ... 1 THEN
    LET b=INT (b/1.3)
    140 ... a sort.
    So first time 130 is always true.
    [code]
    130 LET b=INT (b/1.3)
    [/code ... 7
    120 LET b=INT n
    130 LET b ... =INT (b/1.3)
    ...
    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…

    ... can still define an [B]INT[/B] either.

    I ... ]B$>""[/B].
    The time averages under 11.5 seconds ...
    JamesD JamesD 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…

    ... version and got the sort time down to [B][COLOR="Red ... 8
    120 LET b=INT n
    130 IF b ... br /> THEN
    LET b=INT (b/1.4)
    140 ... br /> 160 REM Get Finish Time
    170 GO SUB ... /> STOP
    180 REM Calculate Time
    190 LET a=(65536 ...
    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…

    ... .8
    120 LET b=INT (n*.8):
    IF ba ... NEXT a:
    LET b=INT (b/1.4):
    IF ... /> STOP
    180 REM Calculate Time
    190 LET a=(65536 ...
    240 REM Get Start Time
    250 GO SUB 180 ...
    Einar Saukas Einar Saukas October 2010 Sinclair Basic
  • emulatorsplease help can we see clearly which emulator emaulates which hardware is there any that has a pc function key for the mulitface nmi button and the +…

    ... line of text at a time or with the spectrum ula ... of the screen at a time?(samode1 - moode2can use single line ... instead of rewriting it each time - full screen support drops the ... more than one vga adapter int he same machine? how does ...
    Roger Jowett Roger Jowett October 2010 Emulators
  • 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 …

    ... get "Transylvanian Tower" ready in time for Halloween, but that's ... SC
    PUSH [CONST] [NUM] [INT] 1000
    OP /
    FN ... INT
    OP -
    OP +
    ...
    Jimmy Jimmy October 2010 Sinclair Miscellaneous
  • Assembly Programming for IDIOTSOk are there any websites guides for what opcodes do in a z80 or books... but for really really thick people like me :-) Something along the lines …

    ... don't generate interrupts every time you move the stick, as ... that? It depends on the time consumed by other interrupt service ... +2A/+3 models, as the INT line is directly tight to ...
    mcleod_ideafix mcleod_ideafix October 2010 Sinclair Miscellaneous
  • Z88DK/SP1 library u_malloc() questionHi All, It may possibly be more appropriate for me to post this on the Z88DK forum, but I know quite a few WoSSers have used Z88DK, so here goes:- …

    ... /> Probably not for a long time. Right now the focus is ... , strings, etc), faster arithmetic (char, int, long) and a grown up ...
    Alcoholics Anonymous Alcoholics Anonymous December 2010 Development
  • Z88DK/SP1 library u_malloc() questionHi All, It may possibly be more appropriate for me to post this on the Z88DK forum, but I know quite a few WoSSers have used Z88DK, so here goes:- …

    ... may be candidates for compile-time options. Removing both would reduce ... will look at the compile time options to reduce sp1' ... [/URL] file linked last time there is also the possiblity ... :

    [code]
    int i;
    struct sp1_update *ua_list ...
    Alcoholics Anonymous Alcoholics Anonymous December 2010 Development
  • Z88DK/SP1 library u_malloc() questionHi All, It may possibly be more appropriate for me to post this on the Z88DK forum, but I know quite a few WoSSers have used Z88DK, so here goes:- …

    ... may be candidates for compile-time options. Removing both would reduce ... will look at the compile time options to reduce sp1's ... br />
    [QUOTE][code]
    int i;
    struct sp1_update *ua_list ... definitely not going to spend time to write a sprite engine ...
    Timmy Timmy December 2010 Development
  • Spanner seeks helpHello, and HNY, all. I am presently writing a game in BASIC. It's a bit - a lot - crap, but I'm enjoying it! Anyway, a couple of questions, if you …

    ... /> Multiply by 100, take the INT and then divide by 100 ... .

    LET f = INT(f*100)/100

    time to start thinking of more ...
    Alcoholics Anonymous Alcoholics Anonymous January 2011 Sinclair Basic
  • looking for a tap2wav coded in Python, Perl, Ruby or Luasince some months i started this project - [url]http://nitrofurano.altervista.org/experimental/webcampictureson8bitcomputers/index.html[/url] the pr…

    ... to get some free time :-P
    < ... Frequency of pulses
    PILOT_FREQ = int((2168.0 * WAV_FREQUENCY / ZX_FREQUENCY) ... 9,261
    ONE_BIT_FREQ = int((1710.0 * WAV_FREQUENCY / ZX_FREQUENCY) ...
    wave_data = SILENCE * int(WAV_FREQUENCY * .45)
    < ...
    SyX SyX January 2011 Development
  • Z80 Processor Interupt helpHi everyone, Currently designing a Z80 computer and i need a little help with these interupts. If i have an I/O device that sends a pulse to the int…

    ... assume you're asking about INT interrupts, not NMI interrupts.
    time (the fastest instruction) to something ... therefore, it can deactivate the INT line. Some I/O devices ... INTA cycle to deactivate the INT line. Others, as the ...
    mcleod_ideafix mcleod_ideafix January 2011 Hardware
  • Platformer BAS file?Does anyone have an example of a platformer in BASIC? Specifically one that uses drawn sprites, etc.

    ... UDG sets at the same time. Let's say you load ... />
    [code]9000 LET msb=INT(address/256): LET lsb=address ...
    na_th_an na_th_an January 2011 Sinclair Basic
  • Platformer BAS file?Does anyone have an example of a platformer in BASIC? Specifically one that uses drawn sprites, etc.

    ... UDG sets at the same time. Let's say you load ... />
    [code]9000 LET msb=INT(address/256): LET lsb=address ...
    Dr BEEP Dr BEEP January 2011 Sinclair Basic
  • Platformer BAS file?Does anyone have an example of a platformer in BASIC? Specifically one that uses drawn sprites, etc.

    ... UDG sets at the same time. Let's say you load ... />
    [code]9000 LET msb=INT(address/256): LET lsb=address ...
    olaf olaf January 2011 Sinclair Basic
  • Compiling Basic to MCHello, I have a lot of long Basic programs. These are mostly strategy programs, good but slow. I was thinking about how to speed them up without com…

    ... have spent quite a lot time polishing and trying to compile ... TO 9
    20 IF INT (a/2) = a/2 THEN ... ": NEXT a
    30 IF INT (a/2) a/2 THEN ...
    na_th_an na_th_an February 2011 Development
  • Fast LogsAnyone know of a fast ln function I can steal? The ROM function seems to be hideously slow. I wrote a look-up table dirty and less accurate sin func…

    ... -half’ three times and each time it has to unpack ‘zero ... three redundant memory checks each time. Removing this code accounts for ...
    20 IF SQR N = INT(SQR N) THEN PRINT N ...
    Geoff Geoff April 2011 Development
<1…12131415161718…34>

Latest Posts

  • I bought an accoustic guitar. How do you play it?
    dm_boozefreek on 7:51PM
  • Goodbye Z80
    zx1 on 7:11PM
  • 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
int 2.2K 6K
time 105K 136K

Related Threads

  • SpecBAS INT function vs Spectrum INT functionDunny's SpecOS (SpecBas) vs Normal Spectrum Basic.<br /> <br /> INT function<br /> <br /> The Spectrum rounds -ve INT values down (e.g. INT -2.2 = -3…
  • Zelda: Voyager of Time (fan made mode for Ocarina of Time)The eagerly awaited modded version of Zelda: Ocarina of Time, Voyager of Time, has been released. I haven't played it (I still haven't played OoT, ho…
  • Problem using with keys at same timeHi !<br /> <br /> I'm having some problems in my laptop, Compaq Armada E500 PIII 600Mhz, with Windows 98, using three keys at same time.<br /> <br />…
  • Problem using with keys at same timeHi !<br /> <br /> I'm having some problems in my laptop, Compaq Armada E500 PIII 600Mhz, with Windows 98, using three keys at same time.<br /> <br />…
  • Which game was more wasting time ?Actually, a lot of games were wasting time but I remember some that I played a lot without never see the end ...; for exemple:<br /> <br /> 1. Underw…
  • A Spectrum, a couple of felt tip pens and a lot of free time on Sunday afternoons...In my opinion the best part of having a Spectrum was drawing a game map of the latest Ultimate game in the back page of my geography text book thereb…
  • Horizons and Thro' The Wall- the greatest game of all time.I just got that Horizons tape in a charity shop, I'd never seen it before, and loaded the programs up. What a barrel of laughs that must have been on…
  • Help, Space-Time Productions's CNCS32.dll isn't working in w2000Hi, I know this is not a support forum, but as you were talking about remakes I decided to give it a try.<br /> <br /> However... (gosh! this looks l…
  • Strategy game "Time Lords"Does anyone know of an old strategy game by Julian Gollop, called "Time Lords". I can't find anything in the archives.
  • ahem!.. could I have a minute of everyones time please :)ok... here's the thing.<br /> <br /> I'm looking into sourcing some spare IC's for the whole range of Spectrums - mainly memory, as that's probably t…

Related Searches

  • longest playing time
  • time
  • time def
  • where time stood still mac
  • 128 bank time
  • int test
  • time wreck
  • time wreck maroc
  • fill screen line at a time
  • where time stood still
  • where time stood still amiga
  • land beyond time
  • time gate
  • time gate graphics
  • time gate graphics patch
  • screen buffer time
  • screen buffer compare time
  • buffer copy time
  • time comparison
  • time comparison einar

Copyright © 2024 World of Spectrum