Welcome, Guest. Please login or register.

Author Topic: Suggestions on where to start programming needed  (Read 3238 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline cpfutureTopic starter

  • Full Member
  • ***
  • Join Date: Feb 2006
  • Posts: 246
    • Show only replies by cpfuture
Suggestions on where to start programming needed
« on: December 12, 2007, 09:11:16 PM »
Hi,

I would like to get 'into' Amiga (system) programming. I have all the Amiga Reference Manuals and I've got the Amiga Programmer's Handbook Volumes I and II from Sybex, but all these books seem to be primarily reference books and I really don't know where to begin.

What I'd really like is a hands on book (or online tutorial) that gradually introduces me to programming for the Amiga. I can find my way around C, but what I'd really like to try is 68000 assembler programming.

I have no specific project in mind or anything and just want to do this for the fun of it. I want to experience what makes this wonderful machine of my youth tick. All the programming I did on the Amiga when I was a teenager was in AMOS. I'd really like to get down 'n dirty with the Amiga now...   ;-)

Thanks in advance for any book or URL suggestions!



Offline 4pLaY

  • Hero Member
  • *****
  • Join Date: Apr 2002
  • Posts: 779
  • Country: no
  • Gender: Male
    • Show only replies by 4pLaY
    • https://www.amigalife.org
Re: Suggestions on where to start programming needed
« Reply #1 on: December 12, 2007, 09:28:52 PM »

Offline AMC258

  • Hero Member
  • *****
  • Join Date: Jan 2007
  • Posts: 877
    • Show only replies by AMC258
    • http://www.AMC258.com/
Re: Suggestions on where to start programming needed
« Reply #2 on: December 14, 2007, 01:22:05 AM »
I seriously recommend reading the Libraries and Devices book beginning to end.  I got my big Amiga start reading that book for OS1.3.  I couldn't have done without it.  Every now and then I pull that book out to read the first portion just to keep from forgetting anything.  There are a lot of basic fundamentals that are VERY important and should not be skipped.  You need to be *very* familiar with Exec and Intuition.  Then you can go on to DOS if need be.  But, I don't know of a good source for information on that other than the DOS Autodocs.  And those can leave you scratching your head.
If you have programmed on other platforms, clear your head of anything you learned before you start learning Amiga.  Don't try and make AmigaOS work like MS-DOS or Windows.  Amiga is a different animal and it works really good if you work it the way it was designed.
Get up!  Get up!  Get outta here!  GONE!
  - Bob Uecker
 

Offline dfreniche

  • Jr. Member
  • **
  • Join Date: Mar 2006
  • Posts: 87
    • Show only replies by dfreniche
    • http://blog.freniche.com
Re: Suggestions on where to start programming needed
« Reply #3 on: December 14, 2007, 09:49:15 AM »
Thanks for the link!
Very good, and lots of info!

I really want to start coding anything in C (tired of Java, EJBs, etc.). I will use GNU GCC compiler, I think. But I don't have any book. Anyone knows where can I buy / download / obtain info to program in C?

BTW: don't want to hijack this thread, sorry !
A1200D(Blizzard 68030,32MB,Wifi,IdeFix,CDROM), A1200D(Apollo 68030,8MB),A600,A500
I maintain a site on everything, Amiga too (in Spanish)
Regards to all amiga fans!   :-)
 

Offline Homer

  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 1166
    • Show only replies by Homer
    • http://www.graingerweb.net
Re: Suggestions on where to start programming needed
« Reply #4 on: December 14, 2007, 10:10:20 AM »
Oh, this ones easy ! Its all 0's & 1's, so you just need lots of them  :lol:
Let X = X
{(c) Laurie Anderson}
 

Offline Hans_

Re: Suggestions on where to start programming needed
« Reply #5 on: December 14, 2007, 08:02:55 PM »
There were some good tutorials at http://www.liquido2.com/tutorial/intro.html, but the link is dead. Use archive.org to get and download them.

Hans
http://hdrlab.org.nz/ - Amiga OS 4 projects, programming articles and more. Home of the RadeonHD driver for Amiga OS 4.x project.
 

Offline cpfutureTopic starter

  • Full Member
  • ***
  • Join Date: Feb 2006
  • Posts: 246
    • Show only replies by cpfuture
Re: Suggestions on where to start programming needed
« Reply #6 on: December 14, 2007, 08:32:35 PM »
Thanks for all the suggestions and links everyone. @Hans: I just checked the link you gave in archive.org and it looks like a nice introduction! @AMC258: Thanks, I'll start digging into the big Libraries and Device book come X-Mas time.

I think I'll start off in C to get a little acquainted with the Amiga API. Then when I feel comfortable enough with that I'll dig into ASM. Should be fun!

@dfreniche: No need to apologize. The more the merrier! ;-) There are really tons of tutorials that'll get you started in C. The one Hans gave should be a very good starting point though because it gets into Amiga programming in C with a GCC compiler. Good luck!


Offline Rob

Re: Suggestions on where to start programming needed
« Reply #7 on: December 14, 2007, 08:54:14 PM »
@cpfuture

Assembler

Amiga Assember Insider Guide by Paul Overaa

ISBN: 1-873308-27-2

Mastering  Amiga Assembler by Paul Overaa

ISBN: 1-873308-11-6

C

Mastering Amiga System by Paul Overaa

ISBN: 1873308-06-X

Mastering Amiga C by Paul Overaa

ISBN: 1-873308-04-6

I'm not sure how likely you are to find these books but hopefully having the ISBN numbers will help.
 

Offline AMC258

  • Hero Member
  • *****
  • Join Date: Jan 2007
  • Posts: 877
    • Show only replies by AMC258
    • http://www.AMC258.com/
Re: Suggestions on where to start programming needed
« Reply #8 on: December 14, 2007, 11:33:47 PM »
Way back when I got my first Amiga and decided to start programming it and stop programming my peecee, I fully intended to learn 68k ASM, as I was well versed in x86 ASM (of which I've forgotten already!), and 65xx ASM (self-taught by TRIAL AND ERROR).  But, even back then when '060 boards weren't quite available, there was this talk of getting away from 68k and moving Amiga to some alternate CPU.

I recommend sticking to C (as much as I despise that language) for the sake of compatibility and portability.  If tomorrow someone develops some CPU that obsoletes all CPUs on the market and we start running AmigaOS 6.0 on it, there will still be a C compiler for that.
Get up!  Get up!  Get outta here!  GONE!
  - Bob Uecker
 

Offline da9000

  • Hero Member
  • *****
  • Join Date: Mar 2005
  • Posts: 922
    • Show only replies by da9000
Re: Suggestions on where to start programming needed
« Reply #9 on: December 14, 2007, 11:49:20 PM »
Hi cp,

here are my recommendations:

http://product.half.ebay.com/Amiga-Machine-Language_W0QQtgZinfoQQprZ1183610

This one is a very short book, but it'll get your hands dirty with assembly and the Amiga hardware very quickly! You'll be playing sounds and doing graphics stuff by working directly with the hardware or AmigaOS libraries. It was a fun read, although it has a few typographical errors (I think because the author is German and the translator didn't do such a good job).

http://product.half.ebay.com/Amiga-Assembly-Language-Programming_W0QQprZ814212QQtgZinfo

This one you have to read, not only because the author's name is Commander :) hahahaha, love it, but because it also teaches some proper computer science methodologies (like the software lifecycle, etc). It was a fun read as well and not too big a book either. Not so good as far as hands-on stuff, in other words the programs it gives you aren't anywhere close to as fun as the other book, but it will teach you the basics of 68k assembly pretty well.

Cheers
 

Offline pjhutch

  • Sr. Member
  • ****
  • Join Date: Mar 2002
  • Posts: 452
  • Country: england
  • Gender: Male
  • Amiga user and developer
    • Show only replies by pjhutch
    • http://www.pjhutchison.org
Re: Suggestions on where to start programming needed
« Reply #10 on: December 20, 2007, 12:57:39 PM »
I have an Amiga C tutorial on my website:

http://www.pcguru.plus.com/programming.html

Its got links for C references, a Amiga C tutorial, and links for other resources.
 

Offline countzero

  • Hero Member
  • *****
  • Join Date: Mar 2005
  • Posts: 1938
    • Show only replies by countzero
    • http://blog.coze.org
Re: Suggestions on where to start programming needed
« Reply #11 on: December 20, 2007, 01:31:25 PM »
A couple of beginner level tutorials for ASM

http://www.algonet.se/~chaozer/asmtut.shtml (this one has basic instructions how to use an assembler (asm-one or pro))

http://www.algonet.se/~davsjo/amigaasm.html (this one has downloadable sources that you can see how stuff works)

http://amigacoding.gamecult.eu/index.php/Main_Page (amiga coding wiki, lots of good links)
I believe in mt. Fuji
 

Offline bloodline

  • Master Sock Abuser
  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 12113
    • Show only replies by bloodline
    • http://www.troubled-mind.com
Re: Suggestions on where to start programming needed
« Reply #12 on: December 20, 2007, 06:53:46 PM »
Blitz Basic 2 it should be simple learning curve from AMOS, it allows system legal programing, supports real data structures and also allows inline assembler.

Ideal for your needs IMHO :-)

Offline motorollin

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show only replies by motorollin
Re: Suggestions on where to start programming needed
« Reply #13 on: December 20, 2007, 06:57:35 PM »
Quote
Homer wrote:
Oh, this ones easy ! Its all 0's & 1's, so you just need lots of them  :lol:

You also have to put them in the right order :-)

--
moto
Code: [Select]
10  IT\'S THE FINAL COUNTDOWN
20  FOR C = 1 TO 2
30     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NAAAA
40     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NA-NA-NAAAAA
50  NEXT C
60  NA-NA-NAAAA
70  NA-NA NA-NA-NA-NA-NAAAA NAAA-NAAAAAAAAAAA
80  GOTO 10
 

Offline cpfutureTopic starter

  • Full Member
  • ***
  • Join Date: Feb 2006
  • Posts: 246
    • Show only replies by cpfuture
Re: Suggestions on where to start programming needed
« Reply #14 on: December 20, 2007, 07:12:47 PM »
Thanks for the extra suggestions, everyone. I got 2 books on 68000 programming in the mail that I bought second hand recently and am now reading up on the 68000. Sure is nice to at least be able to read 68000 assembly properly and to learn about the CPU itself.

I'm also reading some relevant chapters in the 'Amiga ROM Kernel Reference: Libraries' book, which will be followed by 'Devices' of the same series.

I think I have some original SAS/C disks somewhere that came with an A3000 I bought last year and a cutdown version of DevPac2 on an Amiga Format coverdisk, which should get me started soon. Hope to get some more spare time during the holidays and actually try some 'classic' coding.