PureBasic for the ARM...
- DoubleDutch
- Addict
- Posts: 3220
- Joined: Thu Aug 07, 2003 7:01 pm
- Location: United Kingdom
- Contact:
PureBasic for the ARM...
Fred: After v4 is ready, is it likely that a version for the ARM will be released? (hopefully for pocketpc/smartphone).
I know its been covered on the forum before, but the reason I'm now asking is because I just noticed this extension to fasm:
http://board.flatassembler.net/topic.php?t=4191
It probabily makes the job easier?
-Anthony
I know its been covered on the forum before, but the reason I'm now asking is because I just noticed this extension to fasm:
http://board.flatassembler.net/topic.php?t=4191
It probabily makes the job easier?
-Anthony
https://deluxepixel.com <- My Business website
https://reportcomplete.com <- School end of term reports system
https://reportcomplete.com <- School end of term reports system
I'd like to have PB for ARM. Especially for this: http://www.gp2x.com/product/product.asp
Dual ARM Processors, 64 MB RAM, Linux and they use a slightly changed SDL as DevKit *starts2dreaming* :roll:
Dual ARM Processors, 64 MB RAM, Linux and they use a slightly changed SDL as DevKit *starts2dreaming* :roll:
i would like to have purebasic for...
- Atari 2600
- C64 / C128
- Texas Instruments Calculators
- For my toaster
looool
sorry ppl,
i think fred should concentrate to fix/finish actual OS/CPU versions of purebasic and adding some missing advanced features instead starting one more project...!? Dont you think so?
- Atari 2600
- C64 / C128
- Texas Instruments Calculators
- For my toaster

looool
sorry ppl,
i think fred should concentrate to fix/finish actual OS/CPU versions of purebasic and adding some missing advanced features instead starting one more project...!? Dont you think so?

va!n aka Thorsten
Intel i7-980X Extreme Edition, 12 GB DDR3, Radeon 5870 2GB, Windows7 x64,
Intel i7-980X Extreme Edition, 12 GB DDR3, Radeon 5870 2GB, Windows7 x64,
-
- Addict
- Posts: 2344
- Joined: Mon Jun 02, 2003 9:16 am
- Location: Germany
- Contact:
Re: PureBasic for the ARM...
GBA!!! GBA!!! GBA Programming is very very easy in C, so Fred could do that.DoubleDutch wrote:(hopefully for pocketpc/smartphone)
@va!n: TI Calculators can be programmed already with the integrated basic. I did a ping pong game already.
bye,
Daniel
Daniel
Yes definetely. People always wants more and more and more. As soon as he makes an ARM version people will start asking for a LEG, EYE or maybe even an EAR version. But since it's impossible for one person to maintain a good, bug-free program for all those processors all versions will quickly become ASS versions and we don't want that.va!n wrote:i would like to have purebasic for...
- Atari 2600
- C64 / C128
- Texas Instruments Calculators
- For my toaster
looool
sorry ppl,
i think fred should concentrate to fix/finish actual OS/CPU versions of purebasic and adding some missing advanced features instead starting one more project...!? Dont you think so?
-
- Addict
- Posts: 2344
- Joined: Mon Jun 02, 2003 9:16 am
- Location: Germany
- Contact:
How about cloning Fred about 10 times? :roll:Trond wrote:Yes definetely. People always wants more and more and more. As soon as he makes an ARM version people will start asking for a LEG, EYE or maybe even an EAR version. But since it's impossible for one person to maintain a good, bug-free program for all those processors all versions will quickly become ASS versions and we don't want that.va!n wrote:i would like to have purebasic for...
- Atari 2600
- C64 / C128
- Texas Instruments Calculators
- For my toaster
looool
sorry ppl,
i think fred should concentrate to fix/finish actual OS/CPU versions of purebasic and adding some missing advanced features instead starting one more project...!? Dont you think so?
bye,
Daniel
Daniel
...it was an ironic joke!DarkDragon wrote: - Atari 2600
- C64 / C128
- Texas Instruments Calculators
- For my toaster
GBA!!! GBA!!! GBA Programming is very very easy in C, so Fred could do that.
@va!n: TI Calculators can be programmed already with the integrated basic. I did a ping pong game already.
As Trond wrote...
va!n aka Thorsten
Intel i7-980X Extreme Edition, 12 GB DDR3, Radeon 5870 2GB, Windows7 x64,
Intel i7-980X Extreme Edition, 12 GB DDR3, Radeon 5870 2GB, Windows7 x64,
For marketing issues Fred could "port" PB to FreeBSD it's the same API as Linux and so on there even were rumors PB can run on Free BSD out of the Box
Or QNX these are probably things he can do in less than a week maybe even a day. (If GTK available^^ otherwise just API and Console would be fine(especially because these are Server Systems)) What would be even cooler is to port PB to Linux for PowerPC as all new libaries (because of the Mac OS X Version should be written in C it would be something like the Mac OS X Compiler with the Linux libs recompiled don't know if that's really that easy but it's definitley easier than porting to ARM.
bye Nik

bye Nik
Visit www.sceneproject.org
- DoubleDutch
- Addict
- Posts: 3220
- Joined: Thu Aug 07, 2003 7:01 pm
- Location: United Kingdom
- Contact:
The only reason I suggested the ARM and pocketPC is that the OS calls are very similar to windows and as Fred has said in the past the internals to PB are processor independant - so he can switch to a new processor quite easily.
https://deluxepixel.com <- My Business website
https://reportcomplete.com <- School end of term reports system
https://reportcomplete.com <- School end of term reports system
- DoubleDutch
- Addict
- Posts: 3220
- Joined: Thu Aug 07, 2003 7:01 pm
- Location: United Kingdom
- Contact:
Its the point that the OS is extremely similar - 99% of the OS calls are the same as windows (mainly its just some gadgets are missing) - that might make it easier to convert to than most people suspect.
Its the processor thats different (a BIG difference), but I'm sure that Fred has mentioned that the compiler internally generates code thats broadly processor independant.
Otherwise, if you want an easy way to program for PocketPC and Windows Mobile, then take a look at Pelles C - its really good.
Its the processor thats different (a BIG difference), but I'm sure that Fred has mentioned that the compiler internally generates code thats broadly processor independant.
Otherwise, if you want an easy way to program for PocketPC and Windows Mobile, then take a look at Pelles C - its really good.
https://deluxepixel.com <- My Business website
https://reportcomplete.com <- School end of term reports system
https://reportcomplete.com <- School end of term reports system
> i would like to have purebasic for...
> C64 / C128
That wouldn't be so hard, actually. Just a matter of writing some subroutines
to handle "windows" (eg. POKEing and PEEKing the display) and so on, and
then just convert the PureBasic source code to Basic for the C64/C128.
PureBasic:
Converted to C64 Basic:
My C64 Basic may be a bit off (it's been years!) but you get the point. 
> C64 / C128
That wouldn't be so hard, actually. Just a matter of writing some subroutines
to handle "windows" (eg. POKEing and PEEKing the display) and so on, and
then just convert the PureBasic source code to Basic for the C64/C128.
PureBasic:
Code: Select all
a$="MyFile"
DeleteFile(a$)
Code: Select all
10 a$="MyFile"
20 Gosub 1000 ; The line for the emulated "DeleteFile" command.
30 End
1000 Open 15,8,15,"s0:"+a$
1010 Close 15
1020 Return

I compile using 5.31 (x86) on Win 7 Ultimate (64-bit).
"PureBasic won't be object oriented, period" - Fred.
"PureBasic won't be object oriented, period" - Fred.