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.010s
<1234567…34>
  • MOD calculator function?How do I for example, do LET a=(MOD n,9). I can do it a long winded way using cross-addition until the answer is a single digit. So 13763 MOD 9 wou…

    The calculator's n-mod-m function ... leaves two results on the calculator stack - the DIV value on top ... the function to print FP numbers and both results were required ... storage location would have allowed negative numbers to be used.

    Geoff Geoff January 2010 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) …

    ... Stack via Rom routine
    RST $28 ; use the floating point calculator ... This avoids messing with negative numbers while storing data
    calculator
    DEFB $E3 ... use the floating point calculator
    DEFB $03 ...
    kgmcneil kgmcneil June 2010 Announcements
  • 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…

    ... by not using the FP calculator but I expect that it ... simple register arithmetic but the negative numbers proved to be rather awkward ...
    Battle Bunny Battle Bunny November 2012 Development
  • "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…

    ... ZX81 Brain versions of the calculator;
    - ZX Printer ... taking logarithms of zero or negative numbers
    - pi key
    - ... really struggles with a full stack, particularly when executing a ... the values entered into the stack.


    [ ...
    The Mighty Dopethrone The Mighty Dopethrone March 2017 Sinclair Basic
  • 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.

    If you ... , although one byte stores numbers 0-255. Go one ... negative, representing the numbers from -128 up to -1. (on a calculator ... go up to +127, but negative numbers can go down to -128 ...
    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…

    ... an obscure bug regarding unpadded negative numbers) but in a more satisfying ...

    ;reorganise the machine stack so that this string
    Battle Bunny Battle Bunny May 2012 Sinclair Basic
  • 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…

    ... gets confusing.

    For negative numbers it's only necessary to ... (SAVEHL),hl
    ld de,NUMBERS
    call FIND
    ;transfer ... ;STK_ST_0
    ;reorganise the machine stack so that this string
    Battle Bunny Battle Bunny July 2013 Sinclair Basic
  • Is there a way to suppress error R Tape Loading Error in Basic when trying to load only part of fileHi, is there a way to suppress error R Tape Loading Error in Basic when trying to load only part of file. E.g.: I have a Tape-Code-File Start f…

    ... length & start from the calculator stack and prepare the file data ... BASIC can address the calculator stack thus:
    for numbers: eg. LET bc ... any string expression) on the calculator stack (a$ is set to null ...
    Battle Bunny Battle Bunny September 2017 Sinclair Basic
  • 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
  • Assembler code from tutorial, problem!I was wondering if anyone could help me decipher this z80 assembler code? ORG 60000 LOAD 60000 EA60 21BCEA LD …

    ... is a random collection of numbers at NUMBRS, say 1,5 ... I'll hazard the following: Negative numbers may have something to do ...
    Arjun Arjun August 2001 Sinclair Miscellaneous
  • 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 ... . If you want to handle negative numbers as well, it can be ...
    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…

    ... the difference between the two numbers is greater than 7 ... ZERO result.

    However, negative numbers, I think, are causing me ... t work, because of how negative numbers are represented (-4=1111 1100 ... a way of converting a negative number to its absolute ...
    48K 48K August 2006 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 1100 ... a way of converting a negative number to its absolute ... to recognize if number is negative or just above 127.< ...
    Fikee Fikee August 2006 Development
  • Spectrum Basic InterpreterHello. I started this days a strange project: an interpreter of the Spectrum Basic that can run in a Spectrum. Here is a very preliminar version: […

    ... names longer than a letter, negative numbers, + operator to concatenate strings, one ...
    NotFound NotFound January 2007 Development
  • Oneliner contestHello to you all, I dare you to make a program on 1 BASIC line. Here is the place to sent your ONELINERS [url]http://www.zxspectrum.00freehost.co…

    ... /> PRINT AT also works with negative numbers, so ABS is not needed ...
    Dr BEEP Dr BEEP July 2007 Development
  • 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…

    ... expense of losing all negative numbers) which is just too ... the same functionality for long numbers.

    ...
    u_binomial() generates random numbers that are binomially distributed. This ... to generate uniformly distributed numbers from 0..RANDMAX (0 ...
    Alcoholics Anonymous Alcoholics Anonymous July 2007 Development
  • Oneliner contestHello to you all, I dare you to make a program on 1 BASIC line. Here is the place to sent your ONELINERS [url]http://www.zxspectrum.00freehost.co…

    ... the array, I dispensed with negative numbers altogether , and instead now represent ...
    Digital Prawn Digital Prawn September 2007 Development
  • Oneliner contestHello to you all, I dare you to make a program on 1 BASIC line. Here is the place to sent your ONELINERS [url]http://www.zxspectrum.00freehost.co…

    ... error whilst trying exponentiation of negative numbers, which is due to the ...
    Digital Prawn Digital Prawn October 2007 Development
  • Oneliner contestHello to you all, I dare you to make a program on 1 BASIC line. Here is the place to sent your ONELINERS [url]http://www.zxspectrum.00freehost.co…

    ... error whilst trying exponentiation of negative numbers, which is due to the ...
    Einar Saukas Einar Saukas October 2007 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…

    ... indicate FLASH, you can use negative numbers -p.
    Einar Saukas Einar Saukas February 2008 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…

    ... indicate FLASH, you can use negative numbers -p.[/QUOTE]

    Yes ...
    Digital Prawn Digital Prawn February 2008 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 ... 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 ... as indicator of positive or negative displacement?[/QUOTE]

    If ...
    Dunny Dunny 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 ... as indicator of positive or negative displacement?[/QUOTE]

    the ...
    Fikee Fikee May 2009 Sinclair Basic
  • Jokes (not corny or sick)A drunken man staggers in to a Catholic church, sits down in a confessional box and says nothing. The bewildered priest coughs to attract his attent…

    Dad teaches his son negative numbers :
    - In a bus there are 4 passengers. 6 passengers get out, how many passengers have to get in to bus was empty ?
    bohusk bohusk August 2009 Chit chat
  • Jokes (not corny or sick)A drunken man staggers in to a Catholic church, sits down in a confessional box and says nothing. The bewildered priest coughs to attract his attent…

    ... ;378656]Dad teaches his son negative numbers :
    - In a bus there ...
    ZnorXman ZnorXman August 2009 Chit chat
  • Req' Help with Random numbersHello all, im new to the forum, i hope im putting this in the right place ... I would like to ask a question in the hope someone will be able to as…

    ... I input a string of numbers and program it so the ... rounding errors creep in
    [*] negative numbers require a modified version of ...
    BloodBaz BloodBaz November 2009 Sinclair Basic
  • Machine code issue...Hi Folks, My trials with MCODE continue and I am stuck. I wrote the following program in BASIC to simply POKE an attribute byte in to a "box" on th…

    ... 't preserve the sign for negative numbers. I suppose you can do ...
    Matt_B Matt_B September 2010 Sinclair Basic
  • Simultaneous key presses in BASICIs there a way to check for 2 simultaneous key presses in BASIC? I use if inkey$="z" then goto... but that only lets me check for 1 key press at a…

    ... the keyboard bits, although with negative numbers shown.
    10 PRINT AT ...
    FrankT FrankT September 2010 Sinclair Basic
  • Help :) (FLAGS)ok a question about the 8080 so if anybody can help me. do the flags only change for the accumulator or are they affected for the other registers a…

    ... the 'usual' way) correspond to negative numbers: 255 = -1, 254 = -2 and ...
    gasman gasman November 2010 Sinclair Miscellaneous
<1234567…34>

Latest Posts

  • Happy 40th Birthday to the Amstrad CPC464!
    dmsmith on 12:41AM
  • i am currently listening to........
    dmsmith on April 15
  • I am currently watching.....
    zx1 on April 15
  • Fixed Speccy Software. And which games remained unfixed?
    harriusherbartio on April 15
  • Cooperative Games.
    harriusherbartio on April 15
  • Celebrity deaths...
    mel the bell on April 15
  • Minor British Sports that did become games on the ZX Spectrum
    dm_boozefreek on April 15
  • Elusive Strategy Games done by the Smaller or less Prolific Software Houses.
    harriusherbartio on April 15
  • Inside No.9 favourite episodes
    Maroc's Other Projection on April 15
  • How we became brainwashed by social media
    Scottie_uk on April 15

HitBox

Word Docs Hits
stack 7.2K 10.4K
calculator 1K 1.5K
negative 2.1K 2.5K
numbers 5.6K 7.2K

Related Threads

  • logical operators and the calculator stackI was wondering if there was a utility which would provide the list of commands needed for the ROM calculator to evaluate a logical expression. For e…
  • random numbersCan you write a piece of code that gets you a truly random number from the Spectrum, or is it only capable of generating a pseudo-random number (ie. …
  • Solution for overwritten stack in 48k SNA filesIt has been known for quite some time now that the 48k SNA file format has one serious fault, which is described in the file formats section on the W…
  • Serial numbersHi,<br /> <br /> I have a 48k rubber key with the serial number D01-306635. Anyone know what the D is for? My other 48k models don't have it. I've ha…
  • Spectrum board Issue numbersWhilst cataloging my spectrums I am documenting the issue numbers of the motherboards.<br /> so far I have (all spectrum or smegtrum + <br /> <br /> …
  • Game from an ancient old calculatorOne for the mathematicians, this (possibly).<br /> <br /> Bear with me on this one...<br /> <br /> Many, many years ago, when I was a nipper, I had a…
  • Sinclair Calculator TV AdvertI recently come across this old Sinclair advert on a tape I got sent, not sure if it covers this site but it's very interesting to see anyway!<br /> …
  • the exploding calculator?!hi <br /> i am trying to find out a little bit more about the sinclair pocket calculator and a story i heard which involved one exploding in the pock…
  • Hit-Squad games collection numbersHello everybody i was wondering haw many hit squad games where released and what numbers they all where<br /> <br /> if you have any hit-squad rerele…
  • Proving a negativeThis could be fun: prove to me that there is no such thing as flying reindeer.<br /> <br /> If I had a million dollars, I'd bet that you can't.

Related Searches

  • stack
  • serial numbers
  • 2 numbers in address
  • 2 numbers in address debugger
  • spectaculator yellow numbers
  • 2 issue numbers
  • 2 issue board numbers
  • bverstee stack zx spectrum
  • calculator stack
  • stack pointer location
  • stack pointer location asm
  • passing parameters on the calculator stack
  • negative numbers positive basic
  • rom calculator stack extravagant
  • rom calculator stack
  • negative numbers
  • stack calculator
  • stack calculator draw
  • stack calculator radians
  • calculator negative numbers

Copyright © 2024 World of Spectrum