English Amiga Board


Go Back   English Amiga Board > Coders > Coders. General > Coders. Tutorials

 
 
Thread Tools
Old 14 December 2014, 21:12   #41
Photon
Moderator
 
Photon's Avatar
 
Join Date: Nov 2004
Location: Eksjö / Sweden
Posts: 5,602
Np. And I have done some more episodes Next up is a new logo and music visualizers, just need to find the time. I've stupidly taken on some more time-eating projects... I should have the next one up next weekend, though.

Added two articles to Coppershade which is more about going from nothing to a running and working dev environment for assembly coding.

Get Started with WinUAE
(goes from nothing to a Workbench setup ready for use)

Amiga Development Environments
(goes from a Workbench setup to a development environment with tools)

Maybe they could be put in the first post, since it's a sort of obstacle to overcome before you can try out the code in tutorials etc. linked there?
Photon is offline  
Old 15 December 2014, 10:45   #42
AlfaRomeo
A1200 040 SAM440EP 667
 
AlfaRomeo's Avatar
 
Join Date: Jan 2008
Location: Lisbon / Portugal
Posts: 873
Many thanks for the video tutorials Photon
Great work, they are awesome
AlfaRomeo is offline  
Old 30 December 2014, 01:00   #43
Ultron
Something
 
Ultron's Avatar
 
Join Date: Feb 2006
Location: Amigaland, Nostalgia
Age: 48
Posts: 757
Stick out tongue

Quote:
Originally Posted by bippym View Post
A good looking 68k ASM guide. The author does megadrive programming, but this is pure 68k http://mrjester.hapisan.com/04_MC68/
Quote:
Originally Posted by Photon View Post
Disagree strongly, and the very scarce examples were confusing. I happened to click on "The ADD instruction" and the author goes into some silly talk about base16...
Quote:
Originally Posted by bippym View Post
Now I have read it fully I am inclined to agree.. He explains the usage of a few commands, but there are no real examples or tutorials.

Deleted from first post!


"A good looking 68k ASM guide"

It IS a very good 68k ASM guide.

Perfect for people who know nothing going in. People who come from C or other high languages. It's simple. It demystifies Assembler. It's very well explained and easy to understand, i don't even think i've even seen better. It litterally guides you through bits, bytes, word, etc in a very simple and easy to understand manner, making you understand everything that makes a computer tick: binary\bit operations. It's very complete too, and the adresses m68k instruction set thoroughly.
PHOTON: "Disagree strongly, and the very scarce examples were confusing. I happened to click on "The ADD instruction" and the author goes into some silly talk about base16..."
From the website :
(http://mrjester.hapisan.com/04_MC68/...t01/Index.html)

By now you may understand that FF is the highest number in a byte (in hex), just like 99 is the highest number out of a 2 digit decimal number. Adding 1 to 99 (in decimal) results in 100, for hex it would be the same thing, adding 1 to FF (in hex) results in 100.

But in the above examples, you may notice the example of “if d0 started with 222222FC”. You may think that adding 8 would result in 22222304, and this would normally be correct. But remember, we’re only adding a byte, so only the right byte is affected, and the nybble “2” is not increased by 1.

What's silly about any of this?

It's completely true.

And a person must understand the impact and different outcomes of ADDing either a byte, or a word, with two completely different consequences and outcomes.
Byp: "Now I have read it fully I am inclined to agree.. He explains the usage of a few commands, but there are no real examples or tutorials.

Deleted from first post!"
Seems like bowing down to a superior authority by reaction, he's completely wrong and you were completely right.
Ultron is offline  
Old 08 January 2015, 17:06   #44
nobody
Registered User
 
nobody's Avatar
 
Join Date: Dec 2013
Location: GR
Age: 46
Posts: 1,416
Quote:
Originally Posted by Lonewolf10 View Post
I'm surprised that typo has been there for so long without anyone noticing. Or has it just been left for prosperity?


Also, I'd recommend adding the Danish Assembler Course (available in English and Dutch) which helped me learn the finer points of ASM programming over a year and a half ago (I only just noticed that it doesn't appear to be in this thread):

http://www.palbo.dk/dataskolen/maskinsprog/


Regards,
Lonewolf10
Reading it now thanks for the link
nobody is offline  
Old 08 January 2015, 17:39   #45
Galahad/FLT
Going nowhere
 
Galahad/FLT's Avatar
 
Join Date: Oct 2001
Location: United Kingdom
Age: 50
Posts: 8,986
Really?

Quote:
By now you may understand that FF is the highest number in a byte (in hex), just like 99 is the highest number out of a 2 digit decimal number. Adding 1 to 99 (in decimal) results in 100, for hex it would be the same thing, adding 1 to FF (in hex) results in 100.
Wrong.

If you add 1 to $ff, you don't get $100, you get ZERO, as its on a byte boundary, and he quite explicitly is stating about bytes.

You would only get $100 if you were dealing with a word or a longword.
Galahad/FLT is offline  
Old 19 February 2015, 13:17   #46
turrican3
Moon 1969 = amiga 1985
 
turrican3's Avatar
 
Join Date: Apr 2007
Location: belgium
Age: 48
Posts: 3,913
finally is this good to learn or not ??? http://mrjester.hapisan.com/04_MC68/
turrican3 is offline  
Old 20 February 2015, 20:36   #47
BippyM
Global Moderator
 
BippyM's Avatar
 
Join Date: Nov 2001
Location: Derby, UK
Age: 48
Posts: 9,355
I don't think it'll do any harm... It seems relatively simplified so may be useful..
BippyM is offline  
Old 11 June 2015, 00:19   #48
Photon
Moderator
 
Photon's Avatar
 
Join Date: Nov 2004
Location: Eksjö / Sweden
Posts: 5,602
Just uploaded the next part, [ Show youtube player ]

The video mentions my Amiga Future Magazine article series, "Developing Demo Effects" which started in January and continues until December 2016 - so the Youtube tutorials sort of lead up to those, even though they overlap a bit for the first articles. Either way the magazine articles go a bit further and full sources are included on the CD - some of the code has already and will trickle down to relevant topical articles on coppershade.org.
Photon is offline  
Old 11 June 2015, 15:05   #49
AlfaRomeo
A1200 040 SAM440EP 667
 
AlfaRomeo's Avatar
 
Join Date: Jan 2008
Location: Lisbon / Portugal
Posts: 873
@ Photon

Great work mate, I´ve learn a lot from it.
Thanks for your effort
AlfaRomeo is offline  
Old 11 June 2015, 22:57   #50
Photon
Moderator
 
Photon's Avatar
 
Join Date: Nov 2004
Location: Eksjö / Sweden
Posts: 5,602
Thanks AlfaRomeo

Here's the next part, grab my startup if you want and make a nice demo [ Show youtube player ]

The startup is an improved one from the AF articles that you can use as a simple double buffering template, or just use the wrapper to plug in perhaps less system friendly existing code into, as I do in the video.
Photon is offline  
Old 18 July 2015, 10:01   #51
roondar
Registered User
 
Join Date: Jul 2015
Location: The Netherlands
Posts: 3,408
I'd also like to thank you, I've watched all the episodes (some twice ) with great interest and am now enjoying your article series in Amiga Future, great stuff!

Learned quite a few tricks and noticed how much I over engineer stuff when I try my hand at things.
roondar is offline  
Old 03 November 2015, 19:32   #52
BippyM
Global Moderator
 
BippyM's Avatar
 
Join Date: Nov 2001
Location: Derby, UK
Age: 48
Posts: 9,355
Guys,

Found some old lectures from McGill University.. Anyway there's a mixture of stuff from C to 68k to Java.

http://www.cs.mcgill.ca/~cs573/fall2002/notes/lec273/

Also there's more stuff to look at here >> http://www.cs.mcgill.ca/~cs573/fall2002/notes/

Not sure if it's any use
BippyM is offline  
Old 15 December 2016, 13:34   #53
ascp
Pastafarian
 
Join Date: Sep 2010
Location: Uppsala/Sweden
Posts: 290
The other day I spent quite some time searching for old assembler coding resources for amiga on the web, as I wanted to preserve them. The plan is that I will have webpage with resources at some point and I have a lot of material now. However, quite a few resources seems lost forever, as the Internet archive didn't back them up. Does anyone have the content offline that once were to be found at these addresses?:

http://www.mways.co.uk/amiga/howtocode/
(It widely available in text or pdf, but this site had a nice html version)

http://www.algonet.se/~davsjo/amigaasm.html
http://legolas.mdh.se/~dat95jed/prog/?prog68000.htm
http://www.algonet.se/~chaozer/assembler.shtml

http://www.stanford.edu/class/cs110/handouts/
http://hepo.cc.lut.fi/~pora/code/
http://www.scm.tees.ac.uk/users/a.clements/pofc2.htm

http://members.xoom.fr/scorpion
https://jetsetskippy.blogspot.se/201...resources.html
http://retroreaders.makii.pl/dload.p...ategory&id=108

Thanks for any help in finding a backup of the above.

Last edited by ascp; 15 December 2016 at 17:43.
ascp is offline  
Old 26 November 2017, 22:44   #54
Photon
Moderator
 
Photon's Avatar
 
Join Date: Nov 2004
Location: Eksjö / Sweden
Posts: 5,602
Amiga Hardware Programming #41 is up, the demo is converted to Dual Playfield Mode:

[ Show youtube player ]
Photon is offline  
Old 30 January 2018, 22:39   #55
AwoLStill
Registered User
 
Join Date: Jan 2018
Location: Gloucester
Posts: 83
@Photon
Cheers for the coppershade.org stuff!
I dabbled with 68k when I was younger, but gave up very easily. In the last few days I found this thread, and your posts, and I've just started working my way through this:
http://coppershade.org/articles/Code...Dream_in_Code/

I'm using DevPac 3.04 for this, and had to make a few tweaks to the first bit of code to get it to assemble.

The first two issues I encountered were related to this line:
bne.s .l

and this line:
.l: move.l 4(a6),d1

which was fixed easily by modiyfing both ".l" to a longer set of characters. (I used ".lard" )

I have spotted code further on that also references .l

I guess these are likely limitations of DevPac 3.04?

- I am aware of other assemblers / vasm / phxass etc, but DevPac is familiar

Anyway, cheers!


.l
AwoLStill is offline  
Old 31 January 2018, 11:33   #56
malko
Ex nihilo nihil
 
malko's Avatar
 
Join Date: Oct 2017
Location: CH
Posts: 4,856
I didn't see it on you list.
So, here is another link providing lectures for Amiga Assembler. Some are for beginners, some for more advanced coders
Don't hesitate to browse the site. There is more to read .
Enjoy!
malko is offline  
Old 31 January 2018, 11:56   #57
StingRay
move.l #$c0ff33,throat
 
StingRay's Avatar
 
Join Date: Dec 2005
Location: Berlin/Joymoney
Posts: 6,863
Quote:
Originally Posted by AwoLStill View Post
I guess these are likely limitations of DevPac 3.04?
Yes, it's a DevPac problem, it doesn't like single character labels.
StingRay is offline  
Old 21 August 2019, 17:54   #58
malko
Ex nihilo nihil
 
malko's Avatar
 
Join Date: Oct 2017
Location: CH
Posts: 4,856
Didn't re-read the whole thread to see if the following links have already been posted. But as we say : "Better twice than not at all"

- http://alanclements.org/68k.html

- https://www.reaktor.com/blog/crash-c...y-programming/
(from here)

- https://simpledevcode.wordpress.com/...y-programming/
malko is offline  
Old 07 September 2019, 23:46   #59
malko
Ex nihilo nihil
 
malko's Avatar
 
Join Date: Oct 2017
Location: CH
Posts: 4,856
A French book : "Programmation en assembleur du 68000 (Frank Brown)"
see here
malko is offline  
Old 12 October 2019, 23:37   #60
malko
Ex nihilo nihil
 
malko's Avatar
 
Join Date: Oct 2017
Location: CH
Posts: 4,856
An English book : "68000 microprocessor handbook (Gerry Kane)"

see here
malko is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
AmigaDOS scripting resources Photon Coders. System 26 19 March 2018 14:51
Blitz 2: Resources r0ber7 Coders. Tutorials 14 24 January 2013 23:58
Indexed image (CLUT) programming resources Unch Coders. General 2 27 January 2008 16:17
Resources?? DDNI project.WHDLoad 5 25 April 2007 20:42
More WHDLoad Resources on Emule/Edonkey DeCreator Amiga scene 11 23 February 2004 12:31

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 15:45.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.11386 seconds with 15 queries