GLaBIOS icon indicating copy to clipboard operation
GLaBIOS copied to clipboard

Added simple 286 detection code

Open andreas-jonsson opened this issue 1 year ago • 2 comments

Added simple 286 detection code.

This does not actually do anything except for informing the user that they have (presumable) a 286 acceleration board in there PC/XT machine.

~~I'm submitting this mainly for reference as I expect you would like to refactor the CPU detection code and generalize the CPU detection. There is a lot of things that seems to assume NOT 8088(6) means V20. So I don't have the guts to rewrite that atm. :)~~

andreas-jonsson avatar Oct 15 '24 10:10 andreas-jonsson

Thanks for that! I have actually written the code to do 8086/V30/V40 specific detection, but it's not included due to the code size (>100 bytes IIRC) not able to fit into the main builds. I absolutely will keep this as reference since I do still want to get into a possible 286 version at some point soon. :)

640-KB avatar Oct 16 '24 00:10 640-KB

@640-KB What do you think? Can it find its way in to mainline?

andreas-jonsson avatar Aug 29 '25 15:08 andreas-jonsson