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.017s
<1234567…34>
  • New Functions for Sinclair BasicA total of 52 new functions can be added to Sinclair BASIC; 26 numeric functions (A-Z) and 26 string functions (A$-Z$). Owing to the internal structu…

    ... because dealing with 16-bit numbers in BASIC would be tortuously slow ... /> [i]posint8[/i] = 8-bit positive integer (0-255)
    [i ... ]posint16[/i] = 16-bit positive integer (0-65535)
    [i ...
    chev chev November 2004 Sinclair Basic
  • Project: M.u.l.e.Wokani came up with a great idea about trying an open-development approach for spectrum games, and I thought why not try with a game I have under dev…

    ... gained larger positive range at the expense of losing all negative numbers) which ... an ascii string (similar to basic's STR$) and writes the ... end of string "s". The basic equivalent to this would be ... of random number generators like basic's RND and C's ...
    Alcoholics Anonymous Alcoholics Anonymous July 2007 Development
  • Best way to store vector images in Sinclair BASIC?Let's forget for a moment that Sinclair BASIC is slow. If I have a picture made entirely of vector images, what would be the best way to store that d…

    ... do you go about storing negative numbers in memory if you're ... indicator of positive or negative displacement?[/QUOTE]

    the BASIC's internal ...
    Fikee Fikee May 2009 Sinclair Basic
  • Xor-shift random number generator for Z80[QUOTE=Patrik Rak;320244]Come on, people, [URL="http://www.jstatsoft.org/v08/i14/paper"]xor-shift generators[/URL] devised by Marsaglia, that's the w…

    ... Sinclair forgot to add to BASIC. In other dialects, it's ... this way: for positive numbers, it just removes decimals. For negative numbers, it removes ...
    na_th_an na_th_an December 2011 Development
  • Can anyone show a slight diagram of how pokes work in a jet set willy game for example?I know its kind of something to do with machine code and Memory addresses etc but would be nice to see a youtube video or some drawings etc ? .Many t…

    ... how to define UDGs in BASIC. It's worth trying a ... ..127 as positive, and 128..255 as their equivalent negative numbers, which are ... range to allow for the negative numbers.

    But what's ...
    joefish joefish January 2016 Games
  • "ZX80 Brain" RPN CalculatorIt is at times like [url=https://www.worldofspectrum.org/forums/discussion/54176/depression]when threads such as this are posted[/url] that I get the…

    ... with junk in 128/+3 BASIC. (It's annoying, because I ... convert any value to always positive (which was really a result ... taking logarithms of zero or negative numbers
    - pi key
    - reciprocal ... the Spectrum's functions in BASIC, I've just made them ...
    The Mighty Dopethrone The Mighty Dopethrone March 2017 Sinclair Basic
  • bast, the Basic tapemaker for LinuxAnnouncing a new utility, [b]bast[/b], the BASIC Tapemaker. Now available: version 0.2.3 (alpha) for Linux. At: [url]http://github.com/ec429/bast/do…

    ... utility, [b]bast[/b], the BASIC Tapemaker.
    Now available: ... plain text files containing Sinclair BASIC source code, and produces ... given a source file without numbers (only labels) and directed ... as not only line-numbers of BASIC statements but also their ...
    AY Chip AY Chip September 2010 Sinclair Basic
  • random number generator without using rnd in basicwhat is the simplest way to generate random numbers in basic (0-255), without using the rnd statement? i also want it to always generate the same…

    what is the simplest way to generate random numbers in basic (0-255), without using the rnd statement?

    i also want it to always generate the same numbers over and over again.
    digital digital June 2019 Development
  • I would like to write emulatorHi guys, I'm new to this forum but I realise that you must get loads of posts from people asking "how do I write an emulator" so I'll try and be spe…

    ... and 8 bits, only the numbers -127 to +127 can be ... handles positive numbers it can be 239. If you want to handle negative numbers ...
    Dr BEEP Dr BEEP September 2004 Development
  • Sprite adviceHello. So, I'm slowly getting to grips with Z80 assembly - currently equal parts frustration and enjoyment. Now looking for some advice to help shift…

    ... ZERO result.

    However, negative numbers, I think, are causing me ... t work, because of how negative numbers are represented (-4=1111 ... /> sub b
    jr nc, positive

    cpl
    ... inc a

    positive:

    and 248
    Fikee Fikee August 2006 Development
  • Best way to store vector images in Sinclair BASIC?Let's forget for a moment that Sinclair BASIC is slow. If I have a picture made entirely of vector images, what would be the best way to store that d…

    ... do you go about storing negative numbers in memory if you're ... to serve as indicator of positive or negative displacement?
    zxbruno zxbruno May 2009 Sinclair Basic
  • Best way to store vector images in Sinclair BASIC?Let's forget for a moment that Sinclair BASIC is slow. If I have a picture made entirely of vector images, what would be the best way to store that d…

    ... do you go about storing negative numbers in memory if you're ... to serve as indicator of positive or negative displacement?[/QUOTE]

    Dunny Dunny May 2009 Sinclair Basic
  • Beepola v1.01A new version of Beepoa, v1.01, is now available for download from:- [URL]http://freestuff.grok.co.uk/beepola/Beepola_v1.01.00.zip[/URL] (650KiB) …

    ... /51)...
    ; To convert a Basic BEEP duration into our assembled ... value,
    ; Assembled Duration = INT(Basic duration in Sec / (1/51 ... as BASIC but with 60 added
    ; This avoids messing with negative numbers ...
    kgmcneil kgmcneil June 2010 Announcements
  • PLOT and DRAW in machine codeHow do you go about it? If I posted a really simple BASIC instruction could someone do a machine code routine so I could learn from it? I wouldnt k…

    ... complement numbers which interprets 0-127 as positive and 128-255 as negative ... (corresponding to -128 to -1 respectively; negative numbers ... the same hardware as unsigned numbers.

    Other standard interpretations ...
    Alcoholics Anonymous Alcoholics Anonymous January 2012 Development
  • PLOT and DRAW in machine codeHow do you go about it? If I posted a really simple BASIC instruction could someone do a machine code routine so I could learn from it? I wouldnt k…

    Negative numbers in binary work by wrapping-round numbers.

    ... although one byte stores numbers 0-255. Go one ... positive and 128..255 as being negative, representing the numbers ... positive numbers can only go up to +127, but negative numbers can ...
    joefish joefish January 2012 Development
  • number padding functionI wrote a number padding function in BASIC a while ago, but when I came to want it again I couldn't find it, so I've done this enhanced [url=http://w…

    ... used to use exactly that BASIC function, but there are several ... .
    * It doesn't pad negative numbers correctly.
    * It doesn't ... pad/align numbers with decimal fractions correctly.
    Battle Bunny Battle Bunny May 2012 Sinclair Basic
  • Graph Plothi! please, help with code: [PHP]For x=-100 To 100 For y=-100 To 100 If (x/2-25)*(x/2-25)+(y-50)*(y-50)<200 Or (x/2+25)*(x/2+25)+(y-50)*(y-50)<200 th…

    ... , so I wrote a quicker BASIC version then an assembler version ... simple register arithmetic but the negative numbers proved to be rather awkward ...
    Battle Bunny Battle Bunny November 2012 Development
  • Raising to the powerA curiosity of ZX Basic I found yesterday is that you can't do this: [code] 10 LET x=-3 20 LET y=x^2 [/code] While you can for example do LET y=-3^…

    ... and as 'e' is a positive number ( approx. 2.718 ) it ... '^' function won't work for negative numbers and repetitive multiplication has to ...
    Battle Bunny Battle Bunny April 2013 Sinclair Basic
  • Trigonometric find angleHi guys, anyone knows a formula to calculate an angle between two coordinates, using basic?s function ATN , recent programming tools have ATAN2(dy,dx…

    ... now i don?t have negative numbers, only zero:

    print ... actual value of the angle,positive or negative

    maybe this ...
    Valz Valz July 2013 Development
  • Full 16*16-digit BASIC multiplicationI liked Andre Adrian's 32-bit long multiplication routine so much that I decided to a decimal version. After all, 2^63 is only 9223372036854775808, a…

    ... be declared sequentially in the BASIC, as the program expects them ... gets confusing.

    For negative numbers it's only necessary to ... de,NUMBERS
    call FIND
    ;transfer the 8 BASIC variables into ...
    Battle Bunny Battle Bunny July 2013 Sinclair Basic
  • Why no PLOT, etc. on bottom two lines?I was pondering if there was any way to get PLOT, etc. to address the full screen from BASIC without having to write a few lines of assembler to bypa…

    ... other ROM's ie: SE-Basic / JGH Basic remove this restriction *[/QUOTE ... . The latest version of SE Basic enables you to PLOT and ... with existing programs by using negative numbers to represent the lower 16 ... save a full SCREEN$ from BASIC, because it doesn't use ...
    chev chev August 2014 Sinclair Basic
  • Memory questionsQuestion 1: PRINT PEEK 23732+256*PEEK 23733 returns 65535 for a 48K Spectrum and 32767 for a 16K Spectrum. PRINT PEEK 16388+256*PEEK 16389 return…

    ... the amount of memory from BASIC all you need is:
    Remembering that BASIC variables are signed 16-bit ... 32767 will be displayed as negative numbers.
    GReW GReW March 2017 Sinclair Miscellaneous
  • z88dk multicolour enginesI've been trying to work out how the multicolour sprite engines have been implemented in z88dk. It's not obvious. Looking in the source, I found …

    ... and sign extensions of small numbers. The "if"s converting ... out if one quantity goes negative; instead I do one ... char to catch both negative and positive bounds checks using a ... single comparison. Negative quantities will show ...
    Alcoholics Anonymous Alcoholics Anonymous July 2017 Development
  • Things that people >= 40 (ish) would recognize (and others would likely not)#1: Used to see these all over the place, usually right above the bath tub. [img]http://www.constructionphotography.com/ImageThumbs/A052-01718/3/A0…

    ... )

    Obviously both negative and positive x are solutions to those ... . 10 of them are complex numbers though

    https://en ...
    Paradigm Shifter Paradigm Shifter August 2022 Chit chat
  • Things that people >= 40 (ish) would recognize (and others would likely not)#1: Used to see these all over the place, usually right above the bath tub. [img]http://www.constructionphotography.com/ImageThumbs/A052-01718/3/A0…

    ... )

    Obviously both negative and positive x are solutions to those ... . 10 of them are complex numbers though

    https://en ...
    briscaF1 briscaF1 August 2022 Chit chat
  • Things that people >= 40 (ish) would recognize (and others would likely not)#1: Used to see these all over the place, usually right above the bath tub. [img]http://www.constructionphotography.com/ImageThumbs/A052-01718/3/A0…

    ... )

    Obviously both negative and positive x are solutions to those ... . 10 of them are complex numbers though

    https://en ...
    Paradigm Shifter Paradigm Shifter August 2022 Chit chat
  • Stop me from blowing up my original Spectrum 128!I have a Spectrum 128 (not the +2), and I want to play some of those old classic games again. The trouble is this. I still have the original Power Su…

    ... is the wrong way round (positive, negative), the Speccy will blow.
    negative centre?

    ie. +o)- positive centre, negative outer
    or -o)+ negative centre, positive outer.
    Spector Spector January 2001 Sinclair Miscellaneous
  • There's a bug in my Speccy, Dear Liza, Dear Liza...Hi guys, Just me being annoying again - Can anyone out there in 'Internetland' help me with ideas about what could be causing a bug in my Speccy em…

    ... , then the problems start. Line numbers are OK, but as soon ... on seem fine, even with negative numbers, and all the (IY + D ...
    Speculator Speculator December 2004 Development
  • Ferguson MA20 via SCART to modern TVHello, I am a newbie here but I visit this forum on regular basis to find interesting informations about computers of my life - Speccies. I have a s…

    ... /> Does it mean this is negative or positive sync ?
    If my ...
    ikci ikci June 2012 Hardware
  • DivMMC EnJOY! I do enjoy!!!!!Hi all! Ok, so I grew up in the UK in the 80?s and convinced my parents to buy a 48k Spectrum ?to help with homework? lol. Well now I am older and ha…

    ... correct polarity. ( inner being negative, outer positive ) The Plug fits perfectly into ...
    RSwipeCA RSwipeCA May 2014 Hardware
<1234567…34>

Latest Posts

  • 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
  • I am currently watching.....
    Paradigm Shifter on 12:49AM
  • New video about S-video modification on Issue two 48K Spectrum.
    Renegade 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
  • 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

HitBox

Word Docs Hits
negative 2.1K 2.5K
numbers 5.6K 7.2K
positive 2.2K 2.5K
basic 24.7K 39K

Related Threads

  • Switch from 128k BASIC to 48k BasicHello,<br /> <br /> Is there a way to start off running a program in 128k basic (so that you can use the ramdisk facilities) but then switch back dow…
  • (Basic) Sinclair BASIC mode for EmacsI saw this [URL=http://www.worldofspectrum.org/forums/showthread.php?t=14622]post[/URL] regarding a Sinclair BASIC editing mode along with some Fuse …
  • Help with Visual Basic 6.0 vs Visual Basic.netI have a program that auto generates VB.Net code..... I know VB.net syntax and am happy with the code generated.<br /> <br /> However, I have been as…
  • What did Spectrum BASIC lack (and was BBC BASIC so good?)Over the years, I've read in various multi-format magazines, that BBC BASIC was probably the best BASIC available on an 8-bit machine. I've never use…
  • 48K BASIC to ZX81 BASIC conversion possible?Looking for an automated way of converting a BASIC program done on a<br /> 48K Spectrum to one for the ZX81. It's obvious that some things cannot<br …
  • ZX Basic 1.2.5 - a BASIC CompilerWell, my old post about ZX BASIC seems to be gone (maybe this phorum purges old threads?), so I started a new one.<br /> <br /> After more than 6 mon…
  • Basic BASIC help needed RNDHi all,<br /> <br /> I have recently re-discovered an old program I wrote in the early 90s which would do generate random lottery numbers.<br /> <br …
  • Star BASIC or *BASIC??? Anyone heard of this?Does anyone remember a thing called Star Basic or *basic?<br /> <br /> It was a tape that extended the BASIC instruction set and from memory you put …
  • Encode two positive int numbers into one?Hi guys)<br /> <br /> Recently I've been trying to simulate short lists in Basic, but the point is that using limited values, say, 0-99 or 0-999, I r…
  • Loading basic from basic?Hi Guys,<br /> <br /> Could you please help me. I want to create a menu on my plus 3 disks. If I use the line below I just get "c nonsense in basic…

Related Searches

  • rst8 return to basic
  • rst8 basic
  • return to basic
  • basic tips tricks
  • best basic manual
  • writing music in basic
  • play in basic
  • play command in basic
  • basic upper lower case
  • basic toupper tolower
  • basic lcase ucase
  • basic change upper lower case
  • basic
  • basic flicker
  • prime numbers basic
  • negative numbers
  • basic line numbers
  • stack calculator negative numbers
  • calculator negative numbers
  • basic stores numbers

Copyright © 2024 World of Spectrum