PureBasic 4.00 for AmigaOS (OpenSource)

Developed or developing a new product in PureBasic? Tell the world about it.
Fred
Administrator
Administrator
Posts: 14379
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

PureBasic 4.00 for AmigaOS (OpenSource)

Post by Fred »

Hi Folks,

As the AmigaOS version of PureBasic is not actively supported anymore, we decided to open as much code as we could do. Therefore, the whole commandset of PureBasic (beware, written completely in 680x0 assembly), the IDE and some other tools are available for modification. As the compiler source is shared between all the versions of PureBasic, it remains closed. If you do a bug fix, an improvement or anything else which could make PureBasic for AmigaOS better, don't hesitate to send us your patch, it will be included in the next release. We don't plan to work on the AmigaOS libraries anymore, but the compiler has been ported using the lastest v4.00 branch, so we will support any future version of the compiler, but without implementing CPU specific features. For example, the "Macros" are available on AmigaOS 4.00 compiler, as it's a compiler feature, but "quad" and "double" are not, as they need a CPU specific implementation.

Change list against the last official version (2.90):

Code: Select all

    Added: Macros
    Added: Interfaces
    Added: Character support (.c) for ascii (not for unicode)
    Added: SizeOf(), OffsetOf() etc.
    Added: Build-in constants like #PB_Compiler_Home, #PB_Compiler_OS, #PB_Compiler_Date
    Added: Variable arguments for procedures
    Added: Direct variable access for procedure numeric arguments (faster procedure call)
    Added: Commandset reworked to preserves d2-d7 and a2-a6 registers like OS functions (by Doobrey)
    Added: Improved stability, all the standard PB unit-tests pass for the compiler
    Added: 32bits divide for 68000 processors (by Doobrey)
    Added: DirectoryEntryAttributes(), DirectoryEntrySize(), IsDirectory(), IsFile() (by Doobrey)
    Added: GetExtensionPart(), Red(), Green(), Blue(), RGB() (by Doobrey)

    Removed: InitRequester(), now automatically called

    Renamed: 'DefType' to 'Define'
    Renamed: GetCLIArgs() and CountCLIArgs() to ProgramParameter()
    Renamed: Red() to ScreenRed(), Blue() to ScreenBlue(), Green() to ScreenGreen()
    Renamed: PalRGB() to PaletteRGB(), RGB() to ScreenRGB() 
    Renamed: OpenNetworkConnexion() to OpenNetworkConnection()
    Renamed: CloseNetworkConnexion() to CloseNetworkConnection()
It can be downloaded directly on the download page. More informations can be found in the Sources/ directory of the package.

Have fun ! 8)

The Fantaisie Software Team.
Last edited by Fred on Sun Dec 10, 2006 7:25 pm, edited 1 time in total.
User avatar
Psychophanta
Addict
Addict
Posts: 4698
Joined: Wed Jun 11, 2003 9:33 pm
Location: Spa, relaxing and thinking, and learning...
Contact:

Post by Psychophanta »

First saying thanks.
I hope someone is interested on it.
http://www.zeitgeistmovie.com

While world=business:world+mafia:Wend
rsts
Addict
Addict
Posts: 2736
Joined: Wed Aug 24, 2005 8:39 am
Location: Southwest OH - USA

Post by rsts »

While this might not be the best news to Amiga users (or perhaps the open source aspect will please them), - I'm happy that you're allowing yourself more time for the other supported platforms.

cheers
User avatar
Rescator
Addict
Addict
Posts: 1769
Joined: Sat Feb 19, 2005 5:05 pm
Location: Norway

Post by Rescator »

Gah! I'm almost tempted to dust off the old A1200 to mess around...

As a old Amiga user I thank you Fred, a very nice gesture.
And yes I do hope this breathes some new life and future improvements into PB on the Amiga :)
Dare
Addict
Addict
Posts: 1965
Joined: Mon May 29, 2006 1:01 am
Location: Outback

Post by Dare »

Although I am not interested in the Amiga, I think this is a great gesture.

Thanks!
Dare2 cut down to size
User avatar
Flype
Addict
Addict
Posts: 1542
Joined: Tue Jul 22, 2003 5:02 pm
Location: In a long distant galaxy

Post by Flype »

Thank you Fred for this Amiga-Christmas-Gift, very nice.
I will test it as soon as possible... just for fun.

By the way Fred,
Where can we all discuss with Doobrey who seems to be an important/helpful guy ? (forum, irc, ...)
No programming language is perfect. There is not even a single best language.
There are only languages well suited or perhaps poorly suited for particular purposes. Herbert Mayer
traumatic
PureBasic Expert
PureBasic Expert
Posts: 1661
Joined: Sun Apr 27, 2003 4:41 pm
Location: Germany
Contact:

Re: PureBasic 4.00 for AmigaOS (OpenSource)

Post by traumatic »

great move!
Good programmers don't comment their code. It was hard to write, should be hard to read.
akee
Enthusiast
Enthusiast
Posts: 448
Joined: Wed Aug 18, 2004 9:52 am
Location: Penang, Malaysia
Contact:

Post by akee »

Wow! But I don't have an Amiga... :(
the_off_topic_guy
User
User
Posts: 24
Joined: Fri Dec 08, 2006 5:15 pm
Location: Off Topic

Post by the_off_topic_guy »

You can emulate an Amiga.. Look for WinUAE or if you are using Linux then look for UAE.
The Off Topic Guy strikes back, if you dared to stop his hack...
Bonne_den_kule
Addict
Addict
Posts: 841
Joined: Mon Jun 07, 2004 7:10 pm

Post by Bonne_den_kule »

Where is my old A500...
dracflamloc
Addict
Addict
Posts: 1648
Joined: Mon Sep 20, 2004 3:52 pm
Contact:

Post by dracflamloc »

Haha, neat, I should mess around with this when I get some free time. Thanks Fred. Hows about that OGRE source eh?
freddix
Enthusiast
Enthusiast
Posts: 100
Joined: Sun Feb 08, 2004 7:22 pm
Location: South France
Contact:

Post by freddix »

really interesting ...
xperience2003
Enthusiast
Enthusiast
Posts: 105
Joined: Tue Oct 05, 2004 9:05 pm
Location: germany
Contact:

Post by xperience2003 »

Image alphasnd ruuulezZ Image
Niffo
Enthusiast
Enthusiast
Posts: 495
Joined: Tue Jan 31, 2006 9:43 am
Location: France

Post by Niffo »

Great news ... even if that means the total abandon of Amiga 68K. Any chance to see a support of the PPC plate-forms (AmigaOS4, Morphos) any day ? ... at least for the compiler ?
Last edited by Niffo on Wed Jul 29, 2009 3:56 pm, edited 2 times in total.
Niffo
User avatar
Flype
Addict
Addict
Posts: 1542
Joined: Tue Jul 22, 2003 5:02 pm
Location: In a long distant galaxy

Post by Flype »

Flype wrote:By the way Fred,
Where can we all discuss with Doobrey who seems to be an important/helpful guy ? (forum, irc, ...)
*bump*
No programming language is perfect. There is not even a single best language.
There are only languages well suited or perhaps poorly suited for particular purposes. Herbert Mayer
Post Reply