Re: Where do I add my peripherals?

"Stanislav" <[email protected]> Sun, 17 Jul 2016 21:52:27 +0300
Newsgroups gmane.comp.emulators.bochs.devel
Message-ID <[email protected]>
Hi,

 

Normally you should add your macro into config.h.in with some default value and let configure script to modify it when generating config.h

But doing configure script is the last thing you need to bother, start with adding your macro into config.h and make it working first.

 

Thanks,

Stanislav

 

From: Javier Fileiv [mailto:[email protected]] 
Sent: Tuesday, July 12, 2016 3:55 PM
To: Stanislav Shwartsman <[email protected]>
Cc: Volker Ruppert <[email protected]>; [email protected]
Subject: Re: [Bochs-developers] Where do I add my peripherals?

 

Hi, it's me again. I'm trying to add a define macro to the configure script, and even though I have well created the ./configure --help output (modifiying configure.in <http://configure.in> ), I can't get it on my config.h .

Any ideas?

Thank a lot in advance

 

2016-07-11 11:28 GMT+02:00 Javier Fileiv <[email protected] <mailto:[email protected]> >:

Regarding to the device model, I'm looking for the precise moment where, for example, an address is put on the bus to read/write on some devices/memory. Because is there were I need to interface it with my target devices I already have model-ed.

Would you be able to help me with that or should I ask Volker?

 

2016-07-11 10:29 GMT+02:00 Javier Fileiv <[email protected] <mailto:[email protected]> >:

Thank you very much Stanislav!

 

2016-07-11 10:26 GMT+02:00 Stanislav Shwartsman <[email protected] <mailto:[email protected]> >:

If you complied with CPU level=6 you could configure Pentium through RC file (look cpu model option).

For 486 you need to recompile with CPU level=4.

 

 

 

On Mon, Jul 11, 2016 at 11:24 AM, Javier Fileiv <[email protected] <mailto:[email protected]> > wrote:

Hi, thanks for your reply!

I had enable cpu level = 6, but how to launch in 486, and in pentium mode only changing some parameter on the rc file? I would like to launch different machines without needing to re compile it. Is that possible? Because what you just said needs a new building and I would like to be able to launch different machine types with only one building.

How can I contact Volker?

Thanks a lot for your advice

 

 

2016-07-11 6:20 GMT+02:00 Stanislav <[email protected] <mailto:[email protected]> >:

Ø  is it possible with only one compilation and different rc files, launch bochs in 486 and pentium emulation?

 

Of course it is, this is “default” mode.

When compiling --enable-cpu-level=5 you get Pentium (with or without MMX)

When compiling --enable-cpu-level=4 you get 486

 

Ø  I was able to find out where the rc config file is being processed but I can't find where does it instantiate all the hardware peripheral (e.g. PIC, PCI, RAM, etc)

All is done through config.cc and paramtree. You need to ask Volker for more details.

 

From: Javier Fileiv [mailto:[email protected] <mailto:[email protected]> ] 
Sent: Friday, July 08, 2016 11:06 AM
To: [email protected] <mailto:[email protected]> 
Subject: [Bochs-developers] Where do I add my peripherals?

 

Hello everyone, I need to modify bochs source code in order to add some peripheral to match it with my targer board.

I was able to find out where the rc config file is being processed but I can't find where does it instantiate all the hardware peripheral (e.g. PIC, PCI, RAM, etc)

Also I would like to know... is it possible with only one compilation and different rc files, launch bochs in 486 and pentium emulation?

Thank you all

BR

------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports.http://sdm.link/zohodev2dev

_______________________________________________
bochs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bochs-developers