Amiga.org
Operating System Specific Discussions => Amiga OS => Amiga OS -- Development => Topic started by: Twin 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.
-
UAE is perfectly fine for programming. :-)
-
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.
-
Except for the fact that UAE doesn't include the functions of an MMU, which is essential for debugging...
-
Nor can you run PPC code...
-
Nor can you run MorphOS !
-
Nor can you run Solaris!
(Sorry, that's really silly. I'm going to bed now.)
-
zzzzzZZZZZzzzzzZZZzzzZzzZZ
-
...By the way 'hapiest' has two Ps :-)
-
:lol:
Thank's for that, I was thinking about that the other day ... I thought it was a bit strange! ;-)
-
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 ?) :-)
-
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.
-
>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.
-
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 ;-)
-
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 ;-)
-
Ive now got gcc installed and working on WinUAE, but it seems I need OS headers?
Where can I get these? At the moment I need clib/intuition_protos.h
-
Hi,
I use AF5.3 and program with Arexx...With JIT Amiga flies on my Gateway laptop..
www.cloanto.com (http://www.cloanto.com)
Sarkis :-P :-P :-P
-
Where can I get these? At the moment I need clib/intuition_protos.h
You need an AmigaOS Developer CD all the headers/libs you might need are there.
-
going to use c or ansi c or c++ ?? , i recomend ANSI C and i recomend u to stay away from STORM C and use GCC ..
and i recomend you to get a developer cd (preferrably a later one).
tell us what you are planning on to do as we might guide you to direct places easier then :)
goodluck...
-
ftp://ftp.uni-paderborn.de/ftp/aminet/pub/priv/completetrial061103.lzx
Is what I would advise (carefull it is a 86MB download).
See http://home.arcor.de/dtmrelrt/projects/golded/index.ht (http://home.arcor.de/dtmrelrt/projects/golded/index.ht)
for further info.
This will get you:
GoldED, the best editor there is. It is only a trial-version limited to
500 lines, but that should be enough to get you started.
A fully installed gcc-compiler for 68k and PPC (PuP/WOS/MorphOS), a complete
set of includes&autodocs, easy to use hothelp on all keyword (functions,typedefs,
structures), and and .....
-
Hmm.. NDK 3.9 used to be available for free on amiga.com, but can't see it anymore. Does anyone know what happened to it? It contained the OS includes so that you didn't have to buy dev cd necessary.
-
ftp://ftp.uni-paderborn.de/ftp/aminet/pub/priv/completetrial061103.lzx
Is what I would advise (carefull it is a 86MB download).
See http://home.arcor.de/dtmrelrt/projects/golded/index.ht
------------
Sorry, I can't get those links to work. Does that 86mb file include the OS headers, I have already got gcc working, I just need the headers.