Previous Thread
Next Thread
Print Thread
#56637 11/27/09 08:18 PM
Joined: Nov 2003
Posts: 186
Likes: 1
P
PhillHS Offline OP
Senior Member
OP Offline
Senior Member
P
Joined: Nov 2003
Posts: 186
Likes: 1
Hi all,

Can anyone tell me if the 80186 CPU emulation also emulates the built in periperal chips such as the DMA controler, timer/counter and address select unit ?

Or does it only emulate the processor core ?

Cheers,

Phill.

PhillHS #56644 11/28/09 02:15 PM
Joined: Aug 2009
Posts: 1,148
Likes: 12
Very Senior Member
Online Sleepy
Very Senior Member
Joined: Aug 2009
Posts: 1,148
Likes: 12
No, it emulates just the processor core, and iirc the version you are referring to is the AM186-EM / AM188-EM?

Kale #56648 11/28/09 06:33 PM
Joined: Dec 2004
Posts: 111
P
Senior Member
Offline
Senior Member
P
Joined: Dec 2004
Posts: 111
The peripherals were part of the original Intel 80186.

Joined: Sep 2004
Posts: 392
Likes: 4
A
Senior Member
Offline
Senior Member
A
Joined: Sep 2004
Posts: 392
Likes: 4
A good chunk of the peripherals are implemented in mame/audio/leland.c. Using that as a starting point would be a good idea.

Joined: Nov 2003
Posts: 186
Likes: 1
P
PhillHS Offline OP
Senior Member
OP Offline
Senior Member
P
Joined: Nov 2003
Posts: 186
Likes: 1
Originally Posted By AaronGiles
A good chunk of the peripherals are implemented in mame/audio/leland.c. Using that as a starting point would be a good idea.


That code looks very like the code in the mess compis driver, which I saw after posting my original query. I used that as a base.

I'm trying to reverse engineer the RM Nimbus 186 based PC, unfortunatly I don't have any documentation for the hardware, fortunatly I do have 2 working machines smile

Cheers,

Phill.

PhillHS #56662 11/30/09 11:25 AM
Joined: Mar 2005
Posts: 502
Senior Member
Offline
Senior Member
Joined: Mar 2005
Posts: 502
Awesome! I've actually been looking for an RM Nimbus to dump the roms from as I used many when I was at school.

They are kinda PC compatible but not fully, I remember them running a version of windows 3.1 for workgroups, a port of access and some RM logo app.

I guess I can call off the search now, thanks smile

PhillHS #56721 12/03/09 12:31 PM
Joined: Aug 2007
Posts: 26
T
Member
Offline
Member
T
Joined: Aug 2007
Posts: 26
Originally Posted By PhillHS
Originally Posted By AaronGiles
A good chunk of the peripherals are implemented in mame/audio/leland.c. Using that as a starting point would be a good idea.

That code looks very like the code in the mess compis driver, which I saw after posting my original query. I used that as a base.

Yes, the code was copied from the leland driver. However, it should have been cleaned up and also separated to a 186/188 module.

Tomas K #56812 12/06/09 03:17 PM
Joined: Nov 2003
Posts: 186
Likes: 1
P
PhillHS Offline OP
Senior Member
OP Offline
Senior Member
P
Joined: Nov 2003
Posts: 186
Likes: 1
Originally Posted By Tomas K
Originally Posted By PhillHS
Originally Posted By AaronGiles
A good chunk of the peripherals are implemented in mame/audio/leland.c. Using that as a starting point would be a good idea.

That code looks very like the code in the mess compis driver, which I saw after posting my original query. I used that as a base.

Yes, the code was copied from the leland driver. However, it should have been cleaned up and also separated to a 186/188 module.


***AND*** It should have meaningfull variable names in update_interrupt_state and handle_eoi for example, using i and j for the loops only serves to obscure the function of the code where something like priority and int_no would make much more sense.

Cheers.

Phill.

PhillHS #56830 12/06/09 11:03 PM
Joined: Sep 2004
Posts: 392
Likes: 4
A
Senior Member
Offline
Senior Member
A
Joined: Sep 2004
Posts: 392
Likes: 4
Feel free to fix it. I defer to your superior coding style.

Joined: Nov 2003
Posts: 186
Likes: 1
P
PhillHS Offline OP
Senior Member
OP Offline
Senior Member
P
Joined: Nov 2003
Posts: 186
Likes: 1
Originally Posted By AaronGiles
Feel free to fix it. I defer to your superior coding style.


I have in the rm driver smile

Phill.


Link Copied to Clipboard
Who's Online Now
2 members (robcfg, 1 invisible), 24 guests, and 1 robot.
Key: Admin, Global Mod, Mod
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Forum Statistics
Forums9
Topics9,103
Posts119,277
Members5,019
Most Online890
Jan 17th, 2020
Our Sponsor
These forums are sponsored by Superior Solitaire, an ad-free card game collection for macOS and iOS. Download it today!

Superior Solitaire
Forum hosted by www.retrogamesformac.com