Page 1 of 2

PureBasic 4.00 for AmigaOS (OpenSource)

Posted: Sun Dec 10, 2006 6:23 pm
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.

Posted: Sun Dec 10, 2006 6:42 pm
by Psychophanta
First saying thanks.
I hope someone is interested on it.

Posted: Sun Dec 10, 2006 6:42 pm
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

Posted: Sun Dec 10, 2006 10:04 pm
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 :)

Posted: Sun Dec 10, 2006 10:30 pm
by Dare
Although I am not interested in the Amiga, I think this is a great gesture.

Thanks!

Posted: Mon Dec 11, 2006 10:42 am
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, ...)

Re: PureBasic 4.00 for AmigaOS (OpenSource)

Posted: Mon Dec 11, 2006 10:46 am
by traumatic
great move!

Posted: Mon Dec 11, 2006 6:37 pm
by akee
Wow! But I don't have an Amiga... :(

Posted: Mon Dec 11, 2006 8:24 pm
by the_off_topic_guy
You can emulate an Amiga.. Look for WinUAE or if you are using Linux then look for UAE.

Posted: Mon Dec 11, 2006 8:45 pm
by Bonne_den_kule
Where is my old A500...

Posted: Mon Dec 11, 2006 8:56 pm
by dracflamloc
Haha, neat, I should mess around with this when I get some free time. Thanks Fred. Hows about that OGRE source eh?

Posted: Tue Dec 12, 2006 6:31 pm
by freddix
really interesting ...

Posted: Wed Dec 13, 2006 12:54 pm
by xperience2003
Image alphasnd ruuulezZ Image

Posted: Wed Dec 13, 2006 1:47 pm
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 ?

Posted: Wed Dec 13, 2006 6:29 pm
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*