1. 32 bit - 8 bit
- Posted by =?iso-8859-1?B?7AQ=?= <mwfch at MWEB.CO.ZA> Oct 22, 2000
- 463 views
------=_NextPart_000_000A_01C03BEB.38A71040 charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Can`t Euphoria programs run on 8 bit systems ? A Game Boy has an old 8 = bit Z80 processor . Can an Euphoria program run on an 8 bit CPU ?! All I = want is to make an Euphoria program run on a Game Boy ! Please , please = , please ! I`ll do anything ! Thats all I ask .=20 Ferdinand ------=_NextPart_000_000A_01C03BEB.38A71040 charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META content=3D"text/html; charset=3Diso-8859-1" = http-equiv=3DContent-Type> <META content=3D"MSHTML 5.00.2614.3500" name=3DGENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=3D#ffffff> <DIV><FONT face=3DArial>Can`t Euphoria programs run on 8 bit systems ? A = Game Boy=20 has an old 8 bit Z80 processor . Can an Euphoria program run on an 8 bit = CPU ?!=20 All I want is to make an Euphoria program run on a Game Boy ! Please , = please ,=20 please !</FONT></DIV> <DIV>I`ll do anything ! Thats all I ask . </DIV> <DIV> </DIV> ------=_NextPart_000_000A_01C03BEB.38A71040--
2. Re: 32 bit - 8 bit
- Posted by mic _ <stabmaster_ at HOTMAIL.COM> Oct 22, 2000
- 440 views
>>Can an Euphoria program run on an 8 bit CPU ?! Sure, if someone compiles a GB-version of Euphoria. Though I don't think that'll happend. Why ? * GB can't do floating-point math. Sure, anything can be done with some work-arounds and approximisations. But on a GB? at acceptable speeds? me thinks not.. * GB has very little RAM. * GB is simply too slow for interpreted languages. I mean, it runs at what, 3MHz? I know that there's a free C-compiler for the GB called lcc. But to be able to compile Euphoria with it, Rob would have to make some big changes and to be honest, I don't belive he thinks it's worth it.. _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.com.
3. Re: 32 bit - 8 bit
- Posted by David Cuny <dcuny at LANSET.COM> Oct 22, 2000
- 439 views
mic wrote: >>Can an Euphoria program run on an 8 bit CPU ?! > > Sure, if someone compiles a GB-version of Euphoria. Euphoria uses the upper two bits of 32 bit integers to flag whether a value is an integer, a pointer to an atom, or a pointer to a sequence. Making it work in 8 bits would require more than a few changes to the internal library, so don't hold your breath. -- David Cuny
4. Re: 32 bit - 8 bit
- Posted by Kat <gertie at PELL.NET> Oct 22, 2000
- 485 views
On 22 Oct 2000, at 10:50, David Cuny wrote: > mic wrote: > > > >>Can an Euphoria program run on an 8 bit CPU ?! > > > > Sure, if someone compiles a GB-version of Euphoria. > > Euphoria uses the upper two bits of 32 bit integers to flag whether a value > is an integer, a pointer to an atom, or a pointer to a sequence. > > Making it work in 8 bits would require more than a few changes to the > internal library, so don't hold your breath. Why a GameBoy machine? Kat
5. Re: 32 bit - 8 bit
- Posted by mic _ <stabmaster_ at HOTMAIL.COM> Oct 23, 2000
- 435 views
>Why a GameBoy machine? > >Kat Cos ferdinand asked if Euphoria could run on a GB. _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.com.
6. Re: 32 bit - 8 bit
- Posted by mic _ <stabmaster_ at HOTMAIL.COM> Oct 23, 2000
- 444 views
>Euphoria uses the upper two bits of 32 bit integers to flag whether a value >is an integer, a pointer to an atom, or a pointer to a sequence. > >Making it work in 8 bits would require more than a few changes to the >internal library, so don't hold your breath. > Doesn't the GB have (at least) one 16-bit register? or maybe I'm confusing it with the SNES.. anyways, if it does, then we still could have the two upper bits signaling pointers, and have 14-bit integers :) Although, I'm not sure if you can do arithmetic with this/these registers or if they're just used for addressing.. oh well, doesn't matter. _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.com.
7. Re: 32 bit - 8 bit
- Posted by David Cuny <dcuny at LANSET.COM> Oct 23, 2000
- 450 views
mic _ wrote: >>Making it work in 8 bits would require more than a few changes to the >>internal library, so don't hold your breath. > > Doesn't the GB have (at least) one 16-bit register? Actually, there's a lot of different ways you could set up internal representation. For example, you could set up a data/value pair of 8/16/32 bit numbers, the first holding the data type, the second holding the data. Under this sort of scheme, you could just embed floats into the sequence, instead of sticking them in structures and pointing to them. Or you could just disallow floats entirely. -- David Cuny
8. Re: 32 bit - 8 bit
- Posted by Kat <gertie at PELL.NET> Oct 23, 2000
- 441 views
On 23 Oct 2000, at 8:23, mic _ wrote: > >Why a GameBoy machine? > > > >Kat > > Cos ferdinand asked if Euphoria could run on a GB. And then i asked "why a GameBoy?". Kat
9. Re: 32 bit - 8 bit
- Posted by mic _ <stabmaster_ at HOTMAIL.COM> Oct 24, 2000
- 442 views
>And then i asked "why a GameBoy?". > >Kat beats me.. if, for some odd reason, I'd like to do console programming in Euphoria, I'd at least pick a more powerful console (like DC/PSX2/GBA). _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.com.