Click Here
home features news forums classifieds faqs links search
6071 members 
Amiga Q&A /  Free for All /  Emulation /  Gaming / (Latest Posts)
Login

Nickname

Password

Lost Password?

Don't have an account yet?
Register now!

Support Amigaworld.net
Your support is needed and is appreciated as Amigaworld.net is primarily dependent upon the support of its users.
Donate

Menu
Main sections
» Home
» Features
» News
» Forums
» Classifieds
» Links
» Downloads
Extras
» OS4 Zone
» IRC Network
» AmigaWorld Radio
» Newsfeed
» Top Members
» Amiga Dealers
Information
» About Us
» FAQs
» Advertise
» Polls
» Terms of Service
» Search

IRC Channel
Server: irc.amigaworld.net
Ports: 1024,5555, 6665-6669
SSL port: 6697
Channel: #Amigaworld
Channel Policy and Guidelines

Who's Online
20 crawler(s) on-line.
 109 guest(s) on-line.
 2 member(s) on-line.


 agami,  matthey

You are an anonymous user.
Register Now!
 agami:  10 secs ago
 matthey:  4 mins ago
 amigakit:  1 hr 47 mins ago
 fordprefect:  2 hrs 21 mins ago
 redfox:  2 hrs 21 mins ago
 Karlos:  3 hrs 58 mins ago
 Rob:  3 hrs 59 mins ago
 RobertB:  4 hrs 25 mins ago
 kolla:  4 hrs 30 mins ago
 DiscreetFX:  4 hrs 35 mins ago

/  Forum Index
   /  Amiga Development
      /  First tutorial on ASM- and HW-coding
Register To Post

Goto page ( 1 | 2 Next Page )
PosterThread
Vikke 
First tutorial on ASM- and HW-coding
Posted on 10-Mar-2013 15:14:02
#1 ]
Regular Member
Joined: 22-Apr-2004
Posts: 106
From: Finland

So, let's see if there is any real interest in tutorials about coding the Amiga - the old way.

Assembled with ASM-ONE v1.20 and only tested on WinUAE at the moment.

The first code is about "copperbars", nothing really fancy, but I have to start somewhere, and nothing is more Amiga than copperbars.


The site: vikke.net


Many other codesnippets are planned, if people are interested in reading such things.

It is possible to download an LHA-package with all files (asm source, executable and resources)

Any questions regarding the code, or related things?

 Status: Offline
Profile     Report this post  
A1200 
Re: First tutorial on ASM- and HW-coding
Posted on 10-Mar-2013 15:15:37
#2 ]
Elite Member
Joined: 5-May-2003
Posts: 3090
From: Westhall, UK

@Vikke

This is very cool. I will be checking this out in the week. Thanks!

_________________
Amiga A1200, 3.1 ROMs, Blizzard 1230 MKIV 64MB & FPU, 4GB DoM SSD, Workbench 3.1

 Status: Offline
Profile     Report this post  
RNS-Amiga-Scientist 
Re: First tutorial on ASM- and HW-coding
Posted on 10-Mar-2013 15:51:09
#3 ]
Member
Joined: 12-Nov-2010
Posts: 84
From: Warsaw, Poland

@Vikke

This is great!

Quote:
So, let's see if there is any real interest in tutorials about coding the Amiga - the old way.

The old way - the better way. At least these software is fast and efficiently use computer's resources. If today programists code in asembler (or at least optimize it) the software would run at astronomic speed - this is especially related to recent Amiga software

 Status: Offline
Profile     Report this post  
ara 
Re: First tutorial on ASM- and HW-coding
Posted on 10-Mar-2013 16:20:48
#4 ]
Regular Member
Joined: 11-Jan-2006
Posts: 138
From: Unknown

@RNS-Amiga-Scientist
Quote:
If today programists code in asembler (or at least optimize it) the software would run at astronomic speed - this is especially related to recent Amiga software


"Extraordinary Claims Require Extraordinary Evidence"

 Status: Offline
Profile     Report this post  
lionstorm 
Re: First tutorial on ASM- and HW-coding
Posted on 10-Mar-2013 17:05:58
#5 ]
Super Member
Joined: 31-Jul-2003
Posts: 1588
From: the french side

@Vikke

thanks ! I am no coder at all, user only but appreciate the effort !

 Status: Offline
Profile     Report this post  
spotUP 
Re: First tutorial on ASM- and HW-coding
Posted on 10-Mar-2013 21:01:35
#6 ]
Elite Member
Joined: 19-Aug-2003
Posts: 2896
From: Up Rough Demo Squad

@vikke

Sweet! Maybe you should enable comments on the articles so that people can ask questions?

_________________
AOS4 Betatester, Peg2, G4@1ghz, Radeon 9250 256mb, 1gb RAM.

http://www.asciiarena.com
http://www.uprough.net

 Status: Offline
Profile     Report this post  
Sodapop 
Re: First tutorial on ASM- and HW-coding
Posted on 10-Mar-2013 21:44:02
#7 ]
Member
Joined: 13-May-2003
Posts: 50
From: France

@Vikke

Hey ! Very very good initiative !
I'll be reading the tutorials with great interest, since I'm back to asm coding through Winuae too !
By the way, it would have been nice to have the entire source codes, from libraries openings, to screen setup..... even if it takes a little more space, it's sometimes very useful for beginners !

Keep on the good work dude !

Last edited by Sodapop on 11-Mar-2013 at 10:07 PM.

 Status: Offline
Profile     Report this post  
Vikke 
Re: First tutorial on ASM- and HW-coding
Posted on 10-Mar-2013 22:15:40
#8 ]
Regular Member
Joined: 22-Apr-2004
Posts: 106
From: Finland

@Sodapop

You mean that the whole source would be shown on the website? Now it is downloadable in the LHA-package.

I can do that, but first I have to set up a HTML cleaner for the code that Sublime Text 2 exports. ST2 doesnt use CSS classes for the coloring of the syntax, but rather inline styles like style="bla bla bla", and this makes the HTML very large. I tested the output of about 440 rows of assembly ==> almost 500kB.

 Status: Offline
Profile     Report this post  
Overflow 
Re: First tutorial on ASM- and HW-coding
Posted on 11-Mar-2013 4:32:25
#9 ]
Super Member
Joined: 12-Jun-2012
Posts: 1628
From: Norway

@Vikke

I guess the opening of window/ screens isnt needed in general except in the downloadable sources since it will take up alot of space.

But it would be good to have one lesson showing how you open and shut down screens etc before diving into the actual code in the mainloop. Not sure if that made sense

Btw; very nice website and initiative, im going to setup my a1200 AND amiga forever+amikit to follow this tutorial.

Last edited by Overflow on 11-Mar-2013 at 04:39 AM.
Last edited by Overflow on 11-Mar-2013 at 04:33 AM.

 Status: Offline
Profile     Report this post  
Vikke 
Re: First tutorial on ASM- and HW-coding
Posted on 11-Mar-2013 5:35:27
#10 ]
Regular Member
Joined: 22-Apr-2004
Posts: 106
From: Finland

@spotUP

Commenting will be opened up later today.

 Status: Offline
Profile     Report this post  
Vikke 
Re: First tutorial on ASM- and HW-coding
Posted on 11-Mar-2013 6:04:35
#11 ]
Regular Member
Joined: 22-Apr-2004
Posts: 106
From: Finland

@Overflow

I can do a very simple tutorial for starting a program and exiting it.
This part will for the most part be the same in all coming tutorials, so it would be good to go through it once and not having to bother about it later on.

 Status: Offline
Profile     Report this post  
elwood 
Re: First tutorial on ASM- and HW-coding
Posted on 11-Mar-2013 11:49:34
#12 ]
Elite Member
Joined: 17-Sep-2003
Posts: 3428
From: Lyon, France

@Vikke

I would like to see PPC ASM coding as well and also see more demos

_________________
Philippe 'Elwood' Ferrucci
Sam460 1.10 Ghz
AmigaOS 4 betatester
Amiga Translator Organisation

 Status: Offline
Profile     Report this post  
hUMUNGUs 
Re: First tutorial on ASM- and HW-coding
Posted on 11-Mar-2013 14:23:14
#13 ]
Member
Joined: 27-Nov-2012
Posts: 45
From: Norway

@elwood

Thumbs up for PPC and Demos

 Status: Offline
Profile     Report this post  
Vikke 
Re: First tutorial on ASM- and HW-coding
Posted on 11-Mar-2013 14:38:53
#14 ]
Regular Member
Joined: 22-Apr-2004
Posts: 106
From: Finland

@elwood

Somebody else have to start a PPC assembly tutorial as I have never done any coding on a PPC. I don't think it would be particularly hard to learn to write code for the PPC, but then you really should use library-calls for everything to get the code standards compilant for AmigaOS. And knowing the libraries is a bigger task than learning to write assembly for a PPC.

Here, once again, if it would have been possible to get AmigaOS on the PS3, then I would probably today be coding on that instead. There is something fascinating with the CELL architecture, not to the same degree as the OSC on the Amiga, but a lot more than just any other CPU.

 Status: Offline
Profile     Report this post  
matthey 
Re: First tutorial on ASM- and HW-coding
Posted on 11-Mar-2013 19:41:13
#15 ]
Elite Member
Joined: 14-Mar-2007
Posts: 2008
From: Kansas

Quote:

elwood wrote:
@Vikke

I would like to see PPC ASM coding as well and also see more demos


The first 68k tutorial:

"... and that's all you need to know to program the 68k and the Amiga chipset."

The first PPC tutorial:

"... and that concludes the list of PPC instruction variations and their acronyms. In the next tutorial we will learn how to align reads and writes, pre-fetch data and explain how to use branches and loops with the use of the condition register, link register and count register."

Quote:

Vikke wrote:
Here, once again, if it would have been possible to get AmigaOS on the PS3, then I would probably today be coding on that instead. There is something fascinating with the CELL architecture, not to the same degree as the OSC on the Amiga, but a lot more than just any other CPU.


Yea, AmigaOS 4 on the PS3 was the one chance they had to get me to try PPC programming. Everything interesting and innovative seems to get shut down by politics and big money. It sounds odd but the AmigaOS classic and the 68k is all about freedom.

 Status: Online!
Profile     Report this post  
Sodapop 
Re: First tutorial on ASM- and HW-coding
Posted on 11-Mar-2013 22:33:57
#16 ]
Member
Joined: 13-May-2003
Posts: 50
From: France

@Vikke

Quote:

Vikke wrote:

You mean that the whole source would be shown on the website? Now it is downloadable in the LHA-package


Actually I meant it would have been nice to have the entire source inside the tutorial page, and not only as dowloadable file. I think that each line of an ASM program is important for a beginner, not only the main parts, so it could be interesting to include them as well.
But I understand it requires space ans efforts...

I'm really looking forward to reading the next chapters !
Thanks once again !

 Status: Offline
Profile     Report this post  
AmiDARK 
Re: First tutorial on ASM- and HW-coding
Posted on 11-Mar-2013 22:59:35
#17 ]
Regular Member
Joined: 28-Mar-2007
Posts: 469
From: South France

Vikke,
You have a good idea, continue what you have started, just like you wanted to ;)
Thank you.

Regards,
AmiDARK

 Status: Offline
Profile     Report this post  
Vikke 
Re: First tutorial on ASM- and HW-coding
Posted on 13-Mar-2013 16:20:15
#18 ]
Regular Member
Joined: 22-Apr-2004
Posts: 106
From: Finland

@Vikke

Is there anyone who can help me with getting on the ADA forum? I have registered and can log in, but not to the forums and I'm not shown as latest user on the site. My username there is the same as here: vikke

The next tutorial will be published within a few days. The code is ready, but I have to make some text for it as well.

I will also make an update to the first tutorial, I will include the whole source on the page, as I have made some modification to the generated HTML 500kB => 150kB for about 1000 lines.

 Status: Offline
Profile     Report this post  
Overflow 
Re: First tutorial on ASM- and HW-coding
Posted on 13-Mar-2013 19:05:47
#19 ]
Super Member
Joined: 12-Jun-2012
Posts: 1628
From: Norway

@Vikke

I remember the site owner had problems with spambots that kept flooding his forum, so he disabled registering.

I guess best way around that would be to email him to manually register you.
Hes quite active and friendly, so wont be much of a problem. Additionally he reads this thread too.

 Status: Offline
Profile     Report this post  
Sodapop 
Re: First tutorial on ASM- and HW-coding
Posted on 13-Mar-2013 21:56:32
#20 ]
Member
Joined: 13-May-2003
Posts: 50
From: France

@Vikke

Quote:
I will also make an update to the first tutorial, I will include the whole source on the page


Hey ! Fantastic news ! Glad to read this, thank you very much !
I can't wait to have a look at the next chapters !!!
Great effort dude !

 Status: Offline
Profile     Report this post  
Goto page ( 1 | 2 Next Page )

[ home ][ about us ][ privacy ] [ forums ][ classifieds ] [ links ][ news archive ] [ link to us ][ user account ]
Copyright (C) 2000 - 2019 Amigaworld.net.
Amigaworld.net was originally founded by David Doyle