[comp.sys.amiga.hardware] Atart-ST emulator & Assembly prog.

herrj@valnet (Jonathan R. Herr) (08/10/90)

jdege@ (Jeff Dege) writes:

> In article <54074@iuvax.cs.indiana.edu> amhartma@silver.ucs.indiana.edu (Andy
> >I was wondering that, with all the talk of an ST emulator, can you program
> >I have to take a 68000 assembly class (taught on STs) and was wondering
> >if I could use one of these emulators to do my homework at home on my Ami.
> >
> >Thanks all,
>    I don't see why you couldn't just write your programs on the Amiga.  After
> all, 68000 assembly is 68000 assembly.  I can't imagine that an introductory
> assembly language class will get so involved in machine-specifics that portin
> from one machine to another would be terribly difficult.  Write a machine
> specific subroutine to access every OS routine you need for each machine,
> and use those subroutines in your code.  I did something like this for a
> graphics class where the final code had to run on a Mac.  It isn't tough
> if you think it through, and it is good experience.
>  

Actually, you will get into some hardware specifics in the class but
not until the end of it.  You should be okay until you get into
trapping interupts.  After that you're going to have to go to the
lab.  Still, it is an excellent course!  You'll come out with a
pretty complete knowledge of the 68000 family of cpu's.  If I
remember correctly, you'll work on a UN*X platform.  The one thing I
can't tell you is what type of assignments to expect.  The professor
that taught the course while I was there has left since then ( a real
shame, IMHO ).  Our final project was a pretty simple print spooler.
If you need any help with it, let me know.  It's the only course in
the department that I managed to pull an A out of.  It was a lot of
work but was a lot of fun at the same time.  It was the major
influence to my decision to take the C421 & C422 senior sequence in
digital design (another excellent course set!).

          Have fun!



_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
= Jonathan R. Herr || Father/Husband/Student/Housekeeper/Babysitter/????=
=-----------------------------------------------------------------------=
= #include disclaim.h  || #include quote.h || flames > dev_null         =
=-----------------------------------------------------------------------=
= Internet: herrj@silver.ucs.indiana.edu || UUCP: ...valnet!herrj       =
-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-

amhartma@silver.ucs.indiana.edu (Andy Hartman - AmigaMan) (08/11/90)

I was wondering that, with all the talk of an ST emulator, can you program
assembly on an amiga while emulating an ST?

What I mean is, when emulating an ST, can you program the machine AS an ST?
I have to take a 68000 assembly class (taught on STs) and was wondering
if I could use one of these emulators to do my homework at home on my Ami.

Thanks all,
AMH
* Andy Hartman       | I'd deny half of this crap anyway!| "Somedays, you just
* Indiana University |-----------------------------------|  can't get rid of a
*    //	 Amiga Man   |   amhartma@silver.ucs.indiana.edu |  bomb!" 
*  \X/	 At Large!   |   AMHARTMA@rose.ucs.indiana.edu   | - Batman (original)

* Andy Hartman       | I'd deny half of this crap anyway!| "Somedays, you just
* Indiana University |-----------------------------------|  can't get rid of a
*    //	 Amiga Man   |   amhartma@silver.ucs.indiana.edu |  bomb!" 
*  \X/	 At Large!   |   AMHARTMA@rose.ucs.indiana.edu   | - Batman (original)

jdege@ (Jeff Dege) (08/11/90)

In article <54074@iuvax.cs.indiana.edu> amhartma@silver.ucs.indiana.edu (Andy Hartman - AmigaMan) writes:
>I was wondering that, with all the talk of an ST emulator, can you program
>I have to take a 68000 assembly class (taught on STs) and was wondering
>if I could use one of these emulators to do my homework at home on my Ami.
>
>Thanks all,
   I don't see why you couldn't just write your programs on the Amiga.  After
all, 68000 assembly is 68000 assembly.  I can't imagine that an introductory
assembly language class will get so involved in machine-specifics that porting
from one machine to another would be terribly difficult.  Write a machine
specific subroutine to access every OS routine you need for each machine,
and use those subroutines in your code.  I did something like this for a
graphics class where the final code had to run on a Mac.  It isn't tough
if you think it through, and it is good experience.
 
   To help you along, you might want to take a look at a book titled
"Assembly Language Programming for the 68000 Family" by Thomas P. Skinner,
1988, John Wiley & Sons, ISBN 0 471-85357-7.  It covers 68000 assembly
using the Amiga, the ST, and the Mac.  It includes basic startup code and
I/O routines for all three machines, aside from this, all of the code is
identical for each machine.
 
/***********
What, you want a signature?