Home Page
Posted By: PhillHS Adding PC isa device. - 11/03/20 10:27 PM
Hi All,

Now I've got the source to compile I want to go about adding an ISA bused decice for the PC type drivers. I've started out by copying and modifying a device .cpp/.h similar to the one I'm trying to add.
I have also added the new .h file to isa_cards.cpp (and added it to the two structures for ISA8 and ISA16).

However when I try and build I get a linker error. I guess because I need to add a refference to a file somwhere to get the .cpp to compile, what file do I need to add my .cpp to?

Cheers.

Phill.
Posted By: Pernod Re: Adding PC isa device. - 11/03/20 11:10 PM
Hi Phill,

You'll need to add the references for the new files in scripts/src/bus.lua, in the section for BUSES["ISA"].
Posted By: PhillHS Re: Adding PC isa device. - 11/05/20 02:24 AM
Originally Posted by Pernod
Hi Phill,

You'll need to add the references for the new files in scripts/src/bus.lua, in the section for BUSES["ISA"].

Thanks for that, compiles and links now smile

Cheers.

Phill.
© Forums