Oh! sorry i did not realize you upload source to github, I already downloaded and im preparing djgpp, thanks for tips
About PCem, believe me, is FAR ... VERY FAR from be similar to real hardware
I have more than 20+ working DOS computers in my house, from 8088 to Pentium 4, but mostly 386,486 and pentium. S3, nvidia, cirrus, trident, etc video cards, SBpro to AWE64, GUS, Opti, CMI, ESS ISA cards... etc
PCEm did not wmeulate ANY of this machines correctly, yes, very close but many things that in PCEm work fine in real hardware no always and opposite, thats why i give up for now of my idea of have a powerfull PC emulating with PCem and still keep all this computers in working order instead of just dissasemble and save space
thanks!