Welcome, Guest. Please login or register.

Author Topic: 68ooo assembly  (Read 3351 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline skywalkgrTopic starter

  • Jr. Member
  • **
  • Join Date: Jul 2002
  • Posts: 77
    • Show only replies by skywalkgr
68ooo assembly
« on: January 19, 2012, 09:37:59 AM »
Hello,

Could please someone help me? I am starting learning assembly in my amiga 5oo with the use of devpac and a book that i found on the internet *sams 68000,68010,68020 primer , stan kelly-bootle - bob fowler*. I am totally beginner is there sites i can visit and learn very basic things about assembly language?

Thanks
a12oo + blizzard 1230iV - 68030@50Mhz w/mmu- 10MbRam - Hitachi 2,5inch 40GB hard disk - OS 3.5
a5oo : Kickstart 1.3 , 512Kb of extra ram
 

Offline bloodline

  • Master Sock Abuser
  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 12114
    • Show only replies by bloodline
    • http://www.troubled-mind.com
Re: 68ooo assembly
« Reply #1 on: January 19, 2012, 10:28:50 AM »
I note you don't list your A500 in your sig ;)

Also, I learned Asm by building inline Asm functions in AMOS, kind of like how you would use ASM on the Sinclair machines... Might I suggest you use something like BlitzBasic and inline your ASM there first... That way you can learn how the instructions work without spending ages learning how to set the machine up (that can come later).

Also, you'll need a hardware ref, the Amiga custome chips have loads of registers you'll need to learn ;)

Offline kamelito

Re: 68ooo assembly
« Reply #2 on: January 19, 2012, 11:39:20 AM »
Quote from: skywalkgr;676522
Hello,

Could please someone help me? I am starting learning assembly in my amiga 5oo with the use of devpac and a book that i found on the internet *sams 68000,68010,68020 primer , stan kelly-bootle - bob fowler*. I am totally beginner is there sites i can visit and learn very basic things about assembly language?

Thanks

Well it depends you can do system programming or banging the hardware in the later case sure you'll need to learn the Amiga chipsets.
A better place to ask for 68k programming is at eab.abime.net but if you need help it's better to show that you tried your best to do it by yourself first.

http://eab.abime.net/showthread.php?t=21516

Kamel
 

Offline skywalkgrTopic starter

  • Jr. Member
  • **
  • Join Date: Jul 2002
  • Posts: 77
    • Show only replies by skywalkgr
Re: 68ooo assembly
« Reply #3 on: January 19, 2012, 12:39:36 PM »
Quote from: bloodline;676528
I note you don't list your A500 in your sig ;)

Also, I learned Asm by building inline Asm functions in AMOS, kind of like how you would use ASM on the Sinclair machines... Might I suggest you use something like BlitzBasic and inline your ASM there first... That way you can learn how the instructions work without spending ages learning how to set the machine up (that can come later).

Also, you'll need a hardware ref, the Amiga custome chips have loads of registers you'll need to learn ;)


Sig fixed ;) Thank you :)

I remember that i had somewhere the disks of AMOS Basic... but where... You remember which version is the latest? All the versions of AMOS are capable of running on a500? :)
a12oo + blizzard 1230iV - 68030@50Mhz w/mmu- 10MbRam - Hitachi 2,5inch 40GB hard disk - OS 3.5
a5oo : Kickstart 1.3 , 512Kb of extra ram
 

Offline skywalkgrTopic starter

  • Jr. Member
  • **
  • Join Date: Jul 2002
  • Posts: 77
    • Show only replies by skywalkgr
Re: 68ooo assembly
« Reply #4 on: January 19, 2012, 12:40:49 PM »
Quote from: kamelito;676541
Well it depends you can do system programming or banging the hardware in the later case sure you'll need to learn the Amiga chipsets.
A better place to ask for 68k programming is at eab.abime.net but if you need help it's better to show that you tried your best to do it by yourself first.

http://eab.abime.net/showthread.php?t=21516

Kamel


very nice link i would say :)
a12oo + blizzard 1230iV - 68030@50Mhz w/mmu- 10MbRam - Hitachi 2,5inch 40GB hard disk - OS 3.5
a5oo : Kickstart 1.3 , 512Kb of extra ram
 

Offline bloodline

  • Master Sock Abuser
  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 12114
    • Show only replies by bloodline
    • http://www.troubled-mind.com
Re: 68ooo assembly
« Reply #5 on: January 19, 2012, 01:11:21 PM »
Quote from: skywalkgr;676548
Sig fixed ;) Thank you :)

I remember that i had somewhere the disks of AMOS Basic... but where... You remember which version is the latest? All the versions of AMOS are capable of running on a500? :)
Amos Pro was the last I believe... But I wouldn't recommend it... Download BlitzBasic (now called Amiblitz), as that has much much better Asm support... Well, it's better in general :)

Offline skywalkgrTopic starter

  • Jr. Member
  • **
  • Join Date: Jul 2002
  • Posts: 77
    • Show only replies by skywalkgr
Re: 68ooo assembly
« Reply #6 on: January 19, 2012, 02:15:56 PM »
Quote from: bloodline;676553
Amos Pro was the last I believe... But I wouldn't recommend it... Download BlitzBasic (now called Amiblitz), as that has much much better Asm support... Well, it's better in general :)


thank you so much :D
a12oo + blizzard 1230iV - 68030@50Mhz w/mmu- 10MbRam - Hitachi 2,5inch 40GB hard disk - OS 3.5
a5oo : Kickstart 1.3 , 512Kb of extra ram
 

Offline bloodline

  • Master Sock Abuser
  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 12114
    • Show only replies by bloodline
    • http://www.troubled-mind.com
Re: 68ooo assembly
« Reply #7 on: January 19, 2012, 02:31:39 PM »
Quote from: skywalkgr;676560
thank you so much :D
Cool!

I suggest you start by writing a simple program in BlitzBasic that does something straightforward like bouncing a sprite around the screen... Then replace the core logic with Asm code... It's easy to do as you can mix basic and Asm in Blitz, that should start you off :)

Offline commodorejohn

  • Hero Member
  • *****
  • Join Date: Mar 2010
  • Posts: 3165
    • Show only replies by commodorejohn
    • http://www.commodorejohn.com
Re: 68ooo assembly
« Reply #8 on: January 19, 2012, 05:04:13 PM »
If you're the sort of person that learns by doing, it doesn't matter much whether you learn via doing inline in some other language or just straight-up coding assembler. If you want to take a whack at that, a good way to get started is to use a CPU simulator, so you can step through the code and watch exactly what it's doing. Easy68k is a pretty handy one - it includes a full assembler environment and a comprehensive help file with a full 68000 instruction-set reference.

(The editor's balky as hell, though, if I were you I'd just use Programmer's Notepad or Notepad++ and load the code into Easy68k from there.)
Computers: Amiga 1200, DEC VAXStation 4000/60, DEC MicroPDP-11/73
Synthesizers: Roland JX-10/MT-32/D-10, Oberheim Matrix-6, Yamaha DX7/FB-01, Korg MS-20 Mini, Ensoniq Mirage/SQ-80, Sequential Circuits Prophet-600, Hohner String Performer

"\'Legacy code\' often differs from its suggested alternative by actually working and scaling." - Bjarne Stroustrup
 

Offline skywalkgrTopic starter

  • Jr. Member
  • **
  • Join Date: Jul 2002
  • Posts: 77
    • Show only replies by skywalkgr
Re: 68ooo assembly
« Reply #9 on: January 19, 2012, 06:34:59 PM »
Quote from: bloodline;676562
Cool!

I suggest you start by writing a simple program in BlitzBasic that does something straightforward like bouncing a sprite around the screen... Then replace the core logic with Asm code... It's easy to do as you can mix basic and Asm in Blitz, that should start you off :)


I found BlitzBasic v2.10 (i think its for kickstart 2.0) but i will give it a try :D
a12oo + blizzard 1230iV - 68030@50Mhz w/mmu- 10MbRam - Hitachi 2,5inch 40GB hard disk - OS 3.5
a5oo : Kickstart 1.3 , 512Kb of extra ram
 

Offline skywalkgrTopic starter

  • Jr. Member
  • **
  • Join Date: Jul 2002
  • Posts: 77
    • Show only replies by skywalkgr
Re: 68ooo assembly
« Reply #10 on: January 19, 2012, 06:37:12 PM »
Quote from: commodorejohn;676570
If you're the sort of person that learns by doing, it doesn't matter much whether you learn via doing inline in some other language or just straight-up coding assembler. If you want to take a whack at that, a good way to get started is to use a CPU simulator, so you can step through the code and watch exactly what it's doing. Easy68k is a pretty handy one - it includes a full assembler environment and a comprehensive help file with a full 68000 instruction-set reference.

(The editor's balky as hell, though, if I were you I'd just use Programmer's Notepad or Notepad++ and load the code into Easy68k from there.)


I download easy68k and i will give it a try also :) i will not have the look and feel of workbench cause its for windows enviroment but i dont have problem at all :)
a12oo + blizzard 1230iV - 68030@50Mhz w/mmu- 10MbRam - Hitachi 2,5inch 40GB hard disk - OS 3.5
a5oo : Kickstart 1.3 , 512Kb of extra ram
 

Offline commodorejohn

  • Hero Member
  • *****
  • Join Date: Mar 2010
  • Posts: 3165
    • Show only replies by commodorejohn
    • http://www.commodorejohn.com
Re: 68ooo assembly
« Reply #11 on: January 19, 2012, 07:02:47 PM »
Quote from: skywalkgr;676579
I download easy68k and i will give it a try also :) i will not have the look and feel of workbench cause its for windows enviroment but i dont have problem at all :)
Right, and I wouldn't suggest using it for serious development. But for getting your feet wet with assembler, a simulator is a very handy thing to have.
Computers: Amiga 1200, DEC VAXStation 4000/60, DEC MicroPDP-11/73
Synthesizers: Roland JX-10/MT-32/D-10, Oberheim Matrix-6, Yamaha DX7/FB-01, Korg MS-20 Mini, Ensoniq Mirage/SQ-80, Sequential Circuits Prophet-600, Hohner String Performer

"\'Legacy code\' often differs from its suggested alternative by actually working and scaling." - Bjarne Stroustrup
 

Offline bloodline

  • Master Sock Abuser
  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 12114
    • Show only replies by bloodline
    • http://www.troubled-mind.com
Re: 68ooo assembly
« Reply #12 on: January 20, 2012, 08:00:35 AM »
Quote from: skywalkgr;676578
I found BlitzBasic v2.10 (i think its for kickstart 2.0) but i will give it a try :D
Do your developement on the A1200, but make sure you only use A500 features. That way you have the advantages of faster CPU and more memory why working out the bugs, but the resulting binary will run fine on the A500 :)

Offline Daedalus

  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 893
    • Show only replies by Daedalus
    • http://www.robthenerd.com
Re: 68ooo assembly
« Reply #13 on: January 20, 2012, 10:18:20 AM »
That's good advice from Bloodline! You will find memory is quite tight on the A500 with Blitz Basic, and might prevent you from running the debugger when you test your code. The debugger is a great help! Also, there is a newer version of Blitz available for free which has some improvements and should work on your A1200 too. It's called AmiBlitz 3 and you'll find it at http://www.amiforce.de
Engineers do it with precision
--
http://www.robthenerd.com
 

Offline thedocbwarren

  • Jr. Member
  • **
  • Join Date: Apr 2011
  • Posts: 55
    • Show only replies by thedocbwarren
Re: 68ooo assembly
« Reply #14 on: January 23, 2012, 03:08:34 AM »
I know this may sound like blasphemy, but have you thought of downloading a good Atari ST emulator and using one of the many excellent ASM editors for the ST.  It's a 68000 based system with no chipsets.  You learn all about the chip.  Yes, i get it, it's not an Amiga per say, but you would need to learn chipsets on the Amiga (Copper for one.)  And those chipsets are not 68000.

Just a thought.