Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.sys.acorn.programmer > #1243

Re: BBC BASIC 64bit integers (RISC OS)

Subject Re: BBC BASIC 64bit integers (RISC OS)
Newsgroups comp.sys.acorn.programmer
From Christopher Bazley <cs99cjb@gmail.com>
Message-ID <8889384b52.chris@blueyonder.co.uk> (permalink)
References (3 earlier) <LwPDq.217308$Vv5.177597@newsfe05.ams2> <4ee1c942$0$2528$ba4acef3@reader.news.orange.fr> <nwlEq.92875$Rz.33798@newsfe29.ams2> <jbvgdg$jsi$1@dont-email.me> <fe667820-8270-468e-8d90-d16c76b3f975@4g2000yqu.googlegroups.com>
Organization virginmedia.com
Date 2012-01-02 11:39 +0000

Show all headers | View raw


In message <fe667820-8270-468e-8d90-d16c76b3f975@4g2000yqu.googlegroup 
s.com>
          Gerph <gerph@gerph.org> wrote:

> On Dec 10, 11:39 am, druck <n...@druck.org.uk> wrote:
>> On 09/12/2011 10:34, Steve Drain wrote:
>>
>>> On 09/12/2011 08:39, Rick Murray wrote:
>>>> On 07/12/2011 20:53, Steve Drain wrote:
>>
>>>> Could be a way to use this sort of info in BASIC?
>>
>> In the case of the free space calls, you'd be better off with a couple
>> of lines of assembler to turn the 64bit byte value in to a 32bit
>> megabyte or gigabyte value, and return that to BASIC.

> If you want to use a sledgehammer to crack a nut, yes you could.
> If you were feeling less insane you'd just do the maths in BASIC:

> megabytes% = (low% >>> 20) OR (high% << 12)
> gigabytes% = (low% >>> 30) OR (high% << 2)

I wish usenet had a 'like' button. Too much time spent on Facebook.

-- 
Chris Bazley
Star Fighter 3000: http://starfighter.acornarcade.com/

Back to comp.sys.acorn.programmer | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

BBC BASIC 64bit integers (RISC OS) cferris@freeRemoveuk.com.invalid - 2011-11-26 12:25 +0000
  Re: BBC BASIC 64bit integers (RISC OS) Martin Bazley <martin.bazley@blueyonder.co.uk> - 2011-11-26 12:40 +0000
    Re: BBC BASIC 64bit integers (RISC OS) Jim Lesurf <jcgl@audiomisc.co.uk> - 2011-11-26 13:58 +0000
      Re: BBC BASIC 64bit integers (RISC OS) Steve Drain <steve@kappa.me.uk> - 2011-11-26 17:12 +0000
        Re: BBC BASIC 64bit integers (RISC OS) Steve Fryatt <news@stevefryatt.org.uk> - 2011-11-26 17:52 +0000
        Re: BBC BASIC 64bit integers (RISC OS) Erik G <erikg@noname.invalid> - 2011-11-27 12:52 +0100
    Re: BBC BASIC 64bit integers (RISC OS) jgharston <jgh@arcade.demon.co.uk> - 2011-11-26 15:12 -0800
      Re: BBC BASIC 64bit integers (RISC OS) Steve Drain <steve@kappa.me.uk> - 2011-12-07 19:53 +0000
        Re: BBC BASIC 64bit integers (RISC OS) Rick Murray <heyrickmail-usenet@yahoo.co.uk> - 2011-12-09 09:39 +0100
          Re: BBC BASIC 64bit integers (RISC OS) Steve Drain <steve@kappa.me.uk> - 2011-12-09 10:34 +0000
            Re: BBC BASIC 64bit integers (RISC OS) druck <news@druck.org.uk> - 2011-12-10 11:39 +0000
              Re: BBC BASIC 64bit integers (RISC OS) Gerph <gerph@gerph.org> - 2011-12-11 11:08 -0800
                Re: BBC BASIC 64bit integers (RISC OS) Christopher Bazley <cs99cjb@gmail.com> - 2012-01-02 11:39 +0000
                Re: BBC BASIC 64bit integers (RISC OS) Rick Murray <heyrickmail-usenet@yahoo.co.uk> - 2012-01-02 20:50 +0100

csiph-web