Re: Where do I add my peripherals?
Javier Fileiv <[email protected]> Mon, 11 Jul 2016 11:28:10 +0200
| Newsgroups | gmane.comp.emulators.bochs.devel |
|---|---|
| Message-ID | <CABvwO2Bc7TzEdXRHzE=BW-e=XgxDOCGQ_BmSc7LHXYcqnJjHBg@mail.gmail.com> |
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]>: > Thank you very much Stanislav! > > 2016-07-11 10:26 GMT+02:00 Stanislav Shwartsman <[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]> >> 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]>: >>> >>>> Ø 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]] >>>> *Sent:* Friday, July 08, 2016 11:06 AM >>>> *To:* [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 >>>> >>> >>> >> > ------------------------------------------------------------------------------ Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San Francisco, CA to explore cutting-edge tech and listen to tech luminaries present their vision of the future. This family event has something for everyone, including kids. Get more information and register today. http://sdm.link/attshape _______________________________________________ bochs-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/bochs-developers