Amiga.org

Amiga computer related discussion => Amiga Software Issues and Discussion => Topic started by: SamOS39 on August 26, 2008, 09:36:49 PM

Title: Right! I want to learn 68k assembler!
Post by: SamOS39 on August 26, 2008, 09:36:49 PM
I want to learn 68k assembler so i can get into the amiga demo scene! I also want to get into the sega megadrive scene too but want to learn with my amiga first!

Im trying to find a book written for beginners pace or an introduction i can work from! also something with examples!

I am completely new to assembler but i have learn how to use basic so i have some understanding to some degree of how programming works.. :-P

But i want to find a book written for programming assembler on amiga so i can learn by experimenting on winuae and my A1200

Has anyone got any old books i could buy off them? i have tried ebay but i only found a book for the atariST  :roll:

Cheers

Sam
Title: Re: Right! I want to learn 68k assembler!
Post by: ZeBeeDee on August 26, 2008, 09:42:04 PM
You could start with some basic projects like those listed here (http://www.algonet.se/~davsjo/amigaasm.html) or here (http://www.amigau.com/c-programming/assembler/assemblertut.htm)

Books on this subject are a bit on the rare side these days ... people tend to hoard them for their own coding efforts.
Title: Re: Right! I want to learn 68k assembler!
Post by: SamOS39 on August 26, 2008, 09:46:15 PM
Hi cheers! but id really prefer reading a book!
i have favored this page for later though!  :-)
Title: Re: Right! I want to learn 68k assembler!
Post by: ZeBeeDee on August 26, 2008, 09:51:07 PM
Try this:

Go to Amazon.co.uk and enter Amiga Assembler in the search box  :-)

*Addendum*

This was also discussed in another thread on A.org here (http://www.amiga.org/forums/showthread.php?t=37041)

Hope it helps!
Title: Re: Right! I want to learn 68k assembler!
Post by: SamOS39 on August 26, 2008, 10:04:22 PM
ah ha! right ok!
uh oh i have to become a member of amazon  :-o

i could put an ad on amibench .. wait a minute :boohoo:
Title: Re: Right! I want to learn 68k assembler!
Post by: Kronos on August 26, 2008, 10:16:39 PM
Back in the days (1991 or so...) I started with Asm-One which came with a small binder including some basic tutorials. Not that that old version of Asm-One would be any good today (checking out the more current and free versions would be a good idea), but such a manual could help you with 1st steps.


Once you passed that you will need a book on the 68000 and the RKMs (any Dev-CD should do here if you can't source the printed version). On top of that you should try to source some of the more scene-oriented mags from the 86-94-era as these often had demo-tutorials.

All that would cover OCS, information on AGA might be bit harder to source.
Title: Re: Right! I want to learn 68k assembler!
Post by: SamOS39 on August 26, 2008, 10:21:08 PM
So i should learn with OCS and ASM-one?
Title: Re: Right! I want to learn 68k assembler!
Post by: Nostalgiac on August 26, 2008, 10:47:00 PM
How's your german  :-P

I have a Markt & Technics book I could let go :-D

Tom UK

serious: I do...
Title: Re: Right! I want to learn 68k assembler!
Post by: bloodline on August 26, 2008, 11:25:18 PM
Quote

SamOS39 wrote:
So i should learn with OCS and ASM-one?


Learning the Amiga Hardware is probably the most tedious part of the process... remembering the register set is harder than 68K asm itself...

Just get hold of a copy of BlitzBasic 2, start there... then inline ASM...
Title: Re: Right! I want to learn 68k assembler!
Post by: TheMagicM on August 27, 2008, 01:08:22 AM
I have the Amiga ROM Kernel Reference manuals..just sittin here collecting dust.  I have to ship a few things that I sold on ebay, after I get that done and you're interested, pay for postage and you can keep the RKRM's.

-Alex
Title: Re: Right! I want to learn 68k assembler!
Post by: SamuraiCrow on August 27, 2008, 01:09:00 AM
Quote

bloodline wrote:
Just get hold of a copy of BlitzBasic 2, start there... then inline ASM...


The Assembly inlining functions of AmigaE are pretty good also.
Title: Re: Right! I want to learn 68k assembler!
Post by: SamOS39 on August 27, 2008, 10:09:28 AM
Does blitz basic allow input of asm?

and about the RKRM .. is that what im looking for ..?

Im really thinking about getting one of the books on amazon (well i better wait until i get payed first)  :lol:
Title: Re: Right! I want to learn 68k assembler!
Post by: bloodline on August 27, 2008, 10:24:40 AM
Quote

SamOS39 wrote:
Does blitz basic allow input of asm?


Yes, you can inline the ASM with the Blitz code... I think it's abetter option for you... I'm assuming you have no coding experience... and 90% of what you need is experience coding, before you even begin to worry about the internals of the Amiga or any language (I wouldn't use ASM now unless I really had to... C++ is your friend).

Quote

and about the RKRM .. is that what im looking for ..?

Im really thinking about getting one of the books on amazon (well i better wait until i get payed first)  :lol:


By the way: paid not payed... :-D

I don't think the RKMs are going to help you much... a Hardware Ref is better...



Title: Re: Right! I want to learn 68k assembler!
Post by: niklasni1 on August 27, 2008, 11:47:56 AM
I learned a lot from the tutorials that come with the Tandem assembly environment, which can be found on Aminet. It's also a nice environment in itslef.
Title: Re: Right! I want to learn 68k assembler!
Post by: wawrzon on August 27, 2008, 01:10:35 PM
by the way there is fresh updated version of amiblitz3 (succesor of blitz basic 2) maintained by some german devs on this site:
http://amiblitz3.amiforce.de/
u can download it for free.

unfortunatelly the site is all in german:-(, (otherwise it would maybe cought some more attention already)

there is also dedicated forum on
http://www.amiforce.de/main.php
u can sure count on help from the devs themselves if you speak up there. but ab3 comes already with nice bunch of docs, examples and includes itself.
Title: Re: Right! I want to learn 68k assembler!
Post by: Lonewolf10 on October 05, 2008, 02:07:15 AM

Hi,

I started learning 68K ASM in June of this year. I have picked it up very easily, thanks to these books:

Amiga Machine Language, published by Abacus, ISBN 1-55755-025-5

Amiga Hardware Reference Manual (from 1989), ISBN 0-201-18157-6


The former helped me quickly learn ASM, but it's index and command index at the back of the book are appaling :(  Commands such a Dbra I learned from an experienced coder as they don't seem to be mentioned in the book!

The later is an excellent guide to the hardware, whether you just want it for technical knowledge or simply to locate the registers and find out how to use them.


Sorry, not selling either books as I need them. I am currently coding my own AMOS Basic commands in ASM. Yes, AMOS can also be used to intergrate ASM whether in AMOS Banks or as your own commands which can be used by others :)
I'm certainly not a pro at ASM, but I am slowly learning how to optimise my code :)


Regards,
Lonewolf10
Title: Re: Right! I want to learn 68k assembler!
Post by: asymetrix on October 05, 2008, 05:46:54 AM

One way I started Assembler was by looking at old Amiga disk mags, they have tutorials.

Disk mags and lsd disks
http://hipooniosamigasite.ath.cx/hipoonios/amigadocs/

Amiga documentation :
http://tbs-software.com/guide/
http://amiga.sourceforge.net/amigadevhelp/

Amiga Demo Scene
http://ada.untergrund.net/forum/index.php

RKRM - The Amiga manuals
http://pub.elowar.com/AmigaDev/