![](_gb_images/_gb_sitenav_spacer.gif) |
![](_gb_images/_gb_clear.gif) |
Motorola 68k assembly emulator?
|
![](_gb_images/_gb_clear.gif) |
|
![](_gb_images/_gb_clear.gif) |
Forum Regular
Join Date: Sep 2000
Location: Ronneby, Sweden
Status:
Offline
|
|
I wonder if there exists a m68k emulator for Mac OS X. I need to do a small program (in assembler) for a course I am doing at the moment but havn't found anything like it.
|
|
|
|
|
|
![](_gb_images/_gb_clear.gif) |
|
![](_gb_images/_gb_clear.gif) |
Mac Elite
Join Date: Sep 2000
Location: Edmond, OK USA
Status:
Offline
|
|
Well, there used to be one built into Mac OS 7.1.2 when the first PowerPC's arrived, and I am pretty sure that it is still there. I don't know how you activate it, but I have seen enough stack traces in MacsBug on my PPC 6100/60 to now that it is there. It might only reside in Classic, however.
|
|
|
|
|
|
![](_gb_images/_gb_clear.gif) |
|
![](_gb_images/_gb_clear.gif) |
Mac Elite
Join Date: Sep 2001
Location: Chico, CA and Carlsbad, CA.
Status:
Offline
|
|
I dug up this thread with hopes that I'll have more luck than the original poster. I'm taking an Assembly Programming course at my university and we're going to be using the 68000 family microprocessors. The professor detailed several Windows solutions for simulating the 68k linker/assembler ( easy68k for example), but I'd rather use my Linux, Mac OS X, or hell, even the department's Solaris boxes.
Anyone know of anything like this? Numerous searches on google reveal references/tools for coding assembly ON old Macs and Classic Mac emulators for PC, but nothing I can use.
Thanks. ![Smilie](http://forums.macnn.com/images/smilies/oldschool/smile.gif)
|
"In Nomine Patris, Et Fili, Et Spiritus Sancti"
|
|
|
|
|
![](_gb_images/_gb_clear.gif) |
|
![](_gb_images/_gb_clear.gif) |
Mac Elite
Join Date: Jul 2002
Status:
Offline
|
|
Who the hell teaches 68000 assembly nowadays? Most universities teach PPC or another RISC assembly language.
|
|
|
|
|
|
![](_gb_images/_gb_clear.gif) |
|
![](_gb_images/_gb_clear.gif) |
Mac Elite
Join Date: Sep 2001
Location: Chico, CA and Carlsbad, CA.
Status:
Offline
|
|
Originally posted by Thinine:
Who the hell teaches 68000 assembly nowadays? Most universities teach PPC or another RISC assembly language.
The professor said that 68000 is a good architecture to learn assembly on.
I guess that the class is designed to point out the model that all programming languages really follow, that it all ends up as zeros and ones in the end, whether you're using an interpreted language like Java or HTML, a compiled language like C++, or if you're actually flipping switches on the front of some mainframe. It's kinda like how in the first few programming classes they make you code a linked list, a stack, a queue, etc... then you learn that you've got the Standard Template Library and you'll never have to write your own again.
|
"In Nomine Patris, Et Fili, Et Spiritus Sancti"
|
|
|
|
|
![](_gb_images/_gb_clear.gif) |
|
![](_gb_images/_gb_clear.gif) |
Mac Elite
Join Date: Jul 2002
Status:
Offline
|
|
I know why they have you learn assembly, but at least it should be some sort of modern version. PPC would be best, since a lot of it would work on processors that are over a decade old.
|
|
|
|
|
|
![](_gb_images/_gb_clear.gif) |
|
![](_gb_images/_gb_clear.gif) |
Professional Poster
Join Date: Jun 2001
Location: Northwest Ohio
Status:
Offline
|
|
Originally posted by absmiths:
Well, there used to be one built into Mac OS 7.1.2 when the first PowerPC's arrived, and I am pretty sure that it is still there. I don't know how you activate it, but I have seen enough stack traces in MacsBug on my PPC 6100/60 to now that it is there. It might only reside in Classic, however.
The 680x0 emulator is still present in Classic. What you need is a compiler that will work under Mac OS 9.2.2 from those old days.
|
|
|
|
|
|
![](_gb_images/_gb_clear.gif) |
|
![](_gb_images/_gb_clear.gif) |
Addicted to MacNN
Join Date: Jun 1999
Location: Las Vegas, NV, USA
Status:
Offline
|
|
Not sure, but check Basilisk II. It says it runs under X11.
|
|
|
|
|
|
![](_gb_images/_gb_clear.gif) |
|
![](_gb_images/_gb_clear.gif) |
Mac Elite
Join Date: Sep 2001
Location: Chico, CA and Carlsbad, CA.
Status:
Offline
|
|
Originally posted by Thinine:
I know why they have you learn assembly, but at least it should be some sort of modern version. PPC would be best, since a lot of it would work on processors that are over a decade old.
I'll take your word for it.
Originally posted by Person Man:
The 680x0 emulator is still present in Classic. What you need is a compiler that will work under Mac OS 9.2.2 from those old days.
Some version of CodeWarrior 5 or Apple's MPW, I presume. I'll probably end up just using the lab at school. Maybe I could get Wine running on my Gentoo box, it's beefy enough.
Originally posted by chabig:
Not sure, but check Basilisk II. It says it runs under X11.
Basilisk II is a 68k emulator, I might as well use Classic if I'm going to be emulating anything. I really just need an IDE with a 68k assembler and some way to look at registers and stacks, etc.
I'm gonna look into Basilisk II anyways, just because it looks cool. ![Wink](http://forums.macnn.com/images/smilies/oldschool/wink.gif)
|
"In Nomine Patris, Et Fili, Et Spiritus Sancti"
|
|
|
|
|
![](_gb_images/_gb_clear.gif) |
|
![](_gb_images/_gb_clear.gif) |
Grizzled Veteran
Join Date: Apr 2001
Status:
Offline
|
|
When I took assembly in college, it was taugh on 8086's, even though Pentium II was current at the time.
The instructor is right - 68000 is a good architecture for learning CISC assembly. Presumably, more advanced courses will also teach assembly on a RISC chip.
Wade
|
|
|
|
|
|
![](_gb_images/_gb_clear.gif) |
|
![](_gb_images/_gb_clear.gif) |
Grizzled Veteran
Join Date: Apr 2001
Status:
Offline
|
|
|
|
|
|
|
|
![](_gb_images/_gb_clear.gif) |
|
![](_gb_images/_gb_clear.gif) |
hayesk
|
|
Originally posted by Thinine:
I know why they have you learn assembly, but at least it should be some sort of modern version. PPC would be best, since a lot of it would work on processors that are over a decade old.
Why? They're teaching it so you have an understanding on how machine code works. The quality of the CPU matters, but not the popularity or currency of it. It's not so you can run out and get one of those numerously abundant assembly programmer jobs.
|
|
|
|
|
|
![](_gb_images/_gb_clear.gif) |
|
![](_gb_images/_gb_clear.gif) |
Mac Elite
Join Date: Sep 2001
Location: Chico, CA and Carlsbad, CA.
Status:
Offline
|
|
That looks like it should fit the bill, but I can't get it to compile on SunOS or Panther 10.3.7. I don't really even know where to start debugging the makefile/sourcecode to get it up to date for a modern gcc (it's at least 7 years old).
|
"In Nomine Patris, Et Fili, Et Spiritus Sancti"
|
|
|
|
|
![](_gb_images/_gb_clear.gif) |
|
![](_gb_images/_gb_clear.gif) |
Fresh-Faced Recruit
Join Date: Nov 2001
Location: home
Status:
Offline
|
|
How difficult would it be to write one's own 68k assembler and emulator? Doesn't seem terribly complicated if one is used to writing higher language parsers.
|
|
|
|
|
|
![](_gb_images/_gb_clear.gif) |
|
![](_gb_images/_gb_clear.gif) |
Dedicated MacNNer
Join Date: Sep 2003
Location: Pittsburgh, Pennsylvania
Status:
Offline
|
|
Originally posted by Thinine:
I know why they have you learn assembly, but at least it should be some sort of modern version. PPC would be best, since a lot of it would work on processors that are over a decade old.
When I took assembly in college we learned assembly on the MIPS platform. (SGI chips..) RISC chips are much easier and cleaner than the intel stuff. I've taken at look at some PPC assembly recently and my MIPS experience translates very well.
The point of assembly classes in college isn't to teach a language, but how to think with a different mindset. Assembly gives the programmer a lower level look at how the computer works. I took some classes where we learned ML, Prolog, and others, just to break your mind out of the same paradigm. Being able to look at a problem from many different angles is a huge advantage.
Best of luck on the assembler, I know there was a discussion about CodeWarrior on the mac68k NetBSD mailing list a few months ago, places to obtain it. Keep us posted.
|
|
|
|
|
|
![](_gb_images/_gb_clear.gif) |
|
![](_gb_images/_gb_clear.gif) |
Addicted to MacNN
Join Date: Dec 1999
Location: Tampa, Florida
Status:
Offline
|
|
Is was taught 68hc11 in my undergrad EE. The school where I am getting my Masters teaches 68hc11 too. The 68k course was available to the CpE majors only
Surely using a Mac in the engineering profession is tricky. If you find that the Mac 68k emulators are of less quality, simply settle for Virtual PC and the standard Wintel solution. And there is no shame in owning a cheap PC besides a cheap Mac.
|
|
|
|
|
|
![](_gb_images/_gb_clear.gif) |
|
![](_gb_images/_gb_clear.gif) |
Mac Elite
Join Date: Sep 2001
Location: Chico, CA and Carlsbad, CA.
Status:
Offline
|
|
|
"In Nomine Patris, Et Fili, Et Spiritus Sancti"
|
|
|
|
|
![](_gb_images/_gb_clear.gif) |
|
![](_gb_images/_gb_clear.gif) |
Junior Member
Join Date: Mar 2002
Status:
Offline
|
|
I am using CodeWarrior 4 (old stuff) on OS9 and it works fine. I think you could download Apples MPW Workshop and use that assembler too, and it is free. It should also run just fine under Classic.
|
|
|
|
|
|
![](_gb_images/_gb_clear.gif) |
![](_gb_images/_gb_clear.gif) |
|
![](_gb_images/_gb_clear.gif) |
|
|
|
![](_gb_images/_img_misc/_gb_mb_previousthread-off.gif)
|
|
![](_gb_images/_gb_clear.gif) |
Forum Rules
|
![](_gb_images/_gb_clear.gif) |
![](_gb_images/_gb_clear.gif) |
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
![](_gb_images/_gb_clear.gif) |
![](_gb_images/_gb_clear.gif) |
![](_gb_images/_gb_clear.gif) |
![](_gb_images/_gb_clear.gif) |
|
![](_gb_images/_gb_sitenav_spacer.gif) |