amiga support

Just starting out? Need help? Post your questions and find answers here.
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by willinyork.

I've finished my program at last (thanks to all those that helped!), and have one question - how to I compile it to run on an Amiga? My prog works perfectly on the PC, and I've used commans which the help html for purebasic says are compatible with Windows and Amiga, but I can't find an option to compile to an Amiga exe? And would a compiled Amiga exe work on a bog standard A1200 with 8meg of fast ram? I ask this because my brother wants a copy of my program, but doesn't have a PC. thanks!
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by PB.
I've finished my program at last (thanks to all those that helped!), and have one question - how to I compile it to run on an Amiga?
If you're a registered user, you have to E-Mail Fred and request the Amiga
compiler. Then, run the compiler on your Amiga with your source to create
an Amiga executable.


PB - Registered PureBasic Coder
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by plouf.

some minor changes may also required
a little work will be needed in the amiga side too :)
if the program isn't too big and you dont know about
the amiga side send t too me (if you wand) but i dont
garantee nothink

Christos
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by willinyork.

Hi Plouf! I got the Amiga compiler from Fred (I am registered), but it's an LZX archive and my Ami won't unpack it :( My source code is about 15k - if I sent it to you, would you be able to do an Amiga compilation of my program? You will get credit of course :) Please email me at [url]mailto:q@qlab.swinternet.co.uk[/url] thanks!
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by fred.
Hi Plouf! I got the Amiga compiler from Fred (I am registered), but it's an LZX archive and my Ami won't unpack it :( My source code is about 15k - if I sent it to you, would you be able to do an Amiga compilation of my program? You will get credit of course :) Please email me at [url]mailto:q@qlab.swinternet.co.uk[/url] thanks!
Why your Amiga won't unpack the lzx archive ? LZX can be found anywhere on aminet..

Fred - AlphaSND
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by willinyork.

Hi again! Sorry to keep bothering everyone... I got lzx (plus free official keyfile) from animet ad unpakced the archive. When it comes to compiling the code I wrote on the PC version (bearing in mind I used commands which would work on win AND amiga), it starts to compile and then brings up a requester with an "ok" button (no other text!) and fails to compile, or create an executable. Any ideas? My A1200 is very un-upgraded, so I don;t know whetehr I am missing a library or upgrade or something. Any advice is greatly appreciated. If you want to see the code, I can email it (15k).
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by plouf.

The code is the same but some minor changes should be made
take a look at the guide for how all command work in amiga
i.e. windows => OpenScreen(640,480,8,"MyScreen")
amigaos => OpenScreen(0,640,480,8,TagListID())
see in amiga you should also init initscreen(#screens)
and inittaglist(#maxnumberoftags) changes needed due to
difference of OSes

btw i do not look at the forum every day (connection/bill problems)
and my e-mail is [url]mailto:rigit@europe.com[/url]
Post Reply