PureBasic for the ARM...

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
User avatar
DoubleDutch
Addict
Addict
Posts: 3220
Joined: Thu Aug 07, 2003 7:01 pm
Location: United Kingdom
Contact:

PureBasic for the ARM...

Post by DoubleDutch »

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
https://deluxepixel.com <- My Business website
https://reportcomplete.com <- School end of term reports system
Sebe
Enthusiast
Enthusiast
Posts: 160
Joined: Sun Dec 19, 2004 10:55 pm
Location: Munich
Contact:

Post by Sebe »

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:
va!n
Addict
Addict
Posts: 1104
Joined: Wed Apr 20, 2005 12:48 pm

Post by va!n »

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? :wink:
va!n aka Thorsten

Intel i7-980X Extreme Edition, 12 GB DDR3, Radeon 5870 2GB, Windows7 x64,
DarkDragon
Addict
Addict
Posts: 2344
Joined: Mon Jun 02, 2003 9:16 am
Location: Germany
Contact:

Re: PureBasic for the ARM...

Post by DarkDragon »

DoubleDutch wrote:(hopefully for pocketpc/smartphone)
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.
bye,
Daniel
Trond
Always Here
Always Here
Posts: 7446
Joined: Mon Sep 22, 2003 6:45 pm
Location: Norway

Post by Trond »

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? :wink:
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.
DarkDragon
Addict
Addict
Posts: 2344
Joined: Mon Jun 02, 2003 9:16 am
Location: Germany
Contact:

Post by DarkDragon »

Trond wrote:
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? :wink:
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.
How about cloning Fred about 10 times? :roll:
bye,
Daniel
va!n
Addict
Addict
Posts: 1104
Joined: Wed Apr 20, 2005 12:48 pm

Post by va!n »

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.
...it was an ironic joke!
As Trond wrote...
va!n aka Thorsten

Intel i7-980X Extreme Edition, 12 GB DDR3, Radeon 5870 2GB, Windows7 x64,
Nik
Addict
Addict
Posts: 1017
Joined: Fri May 13, 2005 11:45 pm
Location: Germany
Contact:

Post by Nik »

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 8) 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
User avatar
DoubleDutch
Addict
Addict
Posts: 3220
Joined: Thu Aug 07, 2003 7:01 pm
Location: United Kingdom
Contact:

Post by DoubleDutch »

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
Dare2
Moderator
Moderator
Posts: 3321
Joined: Sat Dec 27, 2003 3:55 am
Location: Great Southern Land

Post by Dare2 »

Trond wrote:.. people will start asking for a LEG, EYE or maybe even an EAR version. .. will quickly become ASS versions and we don't want that.
LOL :lol:
@}--`--,-- A rose by any other name ..
akee
Enthusiast
Enthusiast
Posts: 496
Joined: Wed Aug 18, 2004 9:52 am
Location: Penang, Malaysia

Post by akee »

Yes... I would support the PureBasic for ARM anytime... Then I can start writing application for my O2 XDA II... :)
User avatar
DoubleDutch
Addict
Addict
Posts: 3220
Joined: Thu Aug 07, 2003 7:01 pm
Location: United Kingdom
Contact:

Post by DoubleDutch »

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.
https://deluxepixel.com <- My Business website
https://reportcomplete.com <- School end of term reports system
PB
PureBasic Expert
PureBasic Expert
Posts: 7581
Joined: Fri Apr 25, 2003 5:24 pm

Post by PB »

> 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:

Code: Select all

a$="MyFile"
DeleteFile(a$)
Converted to C64 Basic:

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
My C64 Basic may be a bit off (it's been years!) but you get the point. ;)
I compile using 5.31 (x86) on Win 7 Ultimate (64-bit).
"PureBasic won't be object oriented, period" - Fred.
Post Reply