Welcome, Guest. Please login or register.

Author Topic: Programming on the Amiga  (Read 4695 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline TwinTopic starter

  • Full Member
  • ***
  • Join Date: Dec 2003
  • Posts: 106
    • Show only replies by Twin
Programming on the Amiga
« on: December 04, 2003, 04:09:57 AM »
Hi Everybody

When I was younger I used to program in AMOS on my Amiga 1200 (I also had an A2000 and a couple of A500's), however I had to go to windows in 2000.

Anyway, now I am a qualified PC programmer but I hate PC's I want to program on the Amiga again.

Ive read about compilers and the like, but my question (its probably a stupid one) is can I program using WinUAE on my PC or shall I buy an A1200 again (Ive been looking out for one but its hard to find a good one down under).

Thanks for any help you can give me.
 

Offline iamaboringperson

  • Hero Member
  • *****
  • Join Date: Jun 2002
  • Posts: 5744
    • Show only replies by iamaboringperson
Re: Programming on the Amiga
« Reply #1 on: December 04, 2003, 04:13:56 AM »
UAE is perfectly fine for programming. :-)
 

Offline that_punk_guy

  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 4526
    • Show only replies by that_punk_guy
Re: Programming on the Amiga
« Reply #2 on: December 04, 2003, 04:23:44 AM »
Some people prefer UAE for development because you can change configurations and things to see how the program works with different ROMs, on different CPUs, how it copes with more or less memory, etc... lots of benefits.
 

Offline Roj

  • Sr. Member
  • ****
  • Join Date: Jun 2002
  • Posts: 361
    • Show only replies by Roj
    • http://amiga.org/modules/mylinks/visit.php?lid=247
Re: Programming on the Amiga
« Reply #3 on: December 04, 2003, 04:46:09 AM »
Except for the fact that UAE doesn't include the functions of an MMU, which is essential for debugging...
I sold my Amiga for a small fortune, but a part of my soul went with it.
 

Offline that_punk_guy

  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 4526
    • Show only replies by that_punk_guy
Re: Programming on the Amiga
« Reply #4 on: December 04, 2003, 04:53:20 AM »
Nor can you run PPC code...
 

Offline iamaboringperson

  • Hero Member
  • *****
  • Join Date: Jun 2002
  • Posts: 5744
    • Show only replies by iamaboringperson
Re: Programming on the Amiga
« Reply #5 on: December 04, 2003, 04:55:14 AM »
Nor can you run MorphOS !
 

Offline that_punk_guy

  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 4526
    • Show only replies by that_punk_guy
Re: Programming on the Amiga
« Reply #6 on: December 04, 2003, 05:00:48 AM »
Nor can you run Solaris!

(Sorry, that's really silly. I'm going to bed now.)
 

Offline iamaboringperson

  • Hero Member
  • *****
  • Join Date: Jun 2002
  • Posts: 5744
    • Show only replies by iamaboringperson
Re: Programming on the Amiga
« Reply #7 on: December 04, 2003, 05:03:01 AM »
zzzzzZZZZZzzzzzZZZzzzZzzZZ
 

Offline that_punk_guy

  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 4526
    • Show only replies by that_punk_guy
Re: Programming on the Amiga
« Reply #8 on: December 04, 2003, 05:04:03 AM »
...By the way 'hapiest' has two Ps :-)
 

Offline iamaboringperson

  • Hero Member
  • *****
  • Join Date: Jun 2002
  • Posts: 5744
    • Show only replies by iamaboringperson
Re: Programming on the Amiga
« Reply #9 on: December 04, 2003, 05:06:06 AM »
:lol:

Thank's for that, I was thinking about that the other day ... I thought it was a bit strange! ;-)
 

Offline Karlos

  • Sockologist
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 16879
  • Country: gb
  • Thanked: 5 times
    • Show only replies by Karlos
Re: Programming on the Amiga
« Reply #10 on: December 04, 2003, 05:12:37 AM »
Not really, I've often considered Melbourne to be the hapiest (pron: Haypiest) place there is :-)

Oh yeah, coding....

WinUAE is ok for 680x0 target coding, as long as you don't mind not having an MMU when it comes to a spot of tricky debugging. Mind you, I think people reach for the debug way too early - 99% of all the errors in stuff I've written have been fixed using coffee and going carefully through my source...

Sorry, digressing again - probably because I'm coding right now (why else did you expect I was sat at my computer at 4:30am ?) :-)

int p; // A
 

Offline TwinTopic starter

  • Full Member
  • ***
  • Join Date: Dec 2003
  • Posts: 106
    • Show only replies by Twin
Re: Programming on the Amiga
« Reply #11 on: December 04, 2003, 06:31:03 AM »
Thanks alot, I think I will use WinUAE and keep my eye out for a good A1200 and then use both.

Once Ive got 680x0 coding down OK, I will look at moving onto PPC. As I will probably be purchasing an AmigaOne once OS4 comes out.
 

Offline Dietmar

  • Full Member
  • ***
  • Join Date: Nov 2002
  • Posts: 220
    • Show only replies by Dietmar
    • http://devplex.awardspace.biz
Re: Programming on the Amiga
« Reply #12 on: December 04, 2003, 07:40:59 AM »
>Except for the fact that UAE doesn't include the functions of an MMU, which is essential for debugging...

No MMU is needed for debugging and Amiga debuggers run fine on UAE (like codeprobe from SAS/C). As to Enforcer, which is the only tool that comes to mind if the MMU is mentioned, WinUAE does have its own Enforcer called "winuaeenforcer". All other debugging tools like mungwall, sushi etc. run fine with UAE, too. I see absolutely no reason to not use WinUAE for development. I use it all the time. The good thing with UAE is that it's impossible to corrupt the file system (which runs on the Windows side): You can write to a log file on the hard disk even if you know that your program will crash during the process.
 

Offline Gerbinist

Re: Programming on the Amiga
« Reply #13 on: December 04, 2003, 09:11:17 AM »
Be carefull when programming on u.a.e. not to create "sluggish" code though. Otherwise you must add stuff like: runs on Amiga, but actually needs UAE to your readme.

Anyway, nice to hear that people start coding though ;-)
Current: OS 3.1.4, Blizzard 1260/50, 64 MB, AGA, CF, Ryś MKII, PCMCIA/CNET
Storage: Elbox E/BOX 1200, SCSI Kit IV, Mediator SX, Voodoo3/4/5, RTL8139 Ethernet, Spider USB 2.0, PixelView PlayTV MPEG2, Terratec 512i, MAS MP3 Player
 

Offline Karlos

  • Sockologist
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 16879
  • Country: gb
  • Thanked: 5 times
    • Show only replies by Karlos
Re: Programming on the Amiga
« Reply #14 on: December 04, 2003, 09:32:33 AM »
A good way to do that, if your PC is pretty powerful, is to run your code in interpreted mode rather than JIT. That keeps the PC throttled back sufficiently to better judge code performance ;-)
int p; // A