jhhoward / WolfensteinCGA

Wolfenstein 3D with a CGA renderer
325 stars 10 forks source link

NEC V20/V30 Support? #15

Open jdredd87 opened 1 year ago

jdredd87 commented 1 year ago

Would there be any ASM that could be boosted by NEC V20/V30 CPU upgrades?

I have the 8mhz NEC V30 8086 installed. Things like the ISA>USB CH375 have drivers that take advantage of NEC V20/V30 CPU's to get speed increases.

jhhoward commented 1 year ago

So this is actually an interesting topic. Wolfenstein 3D required a 286 processor but the instructions in the ASM code were actually introduced in the 80186 instruction set which the V20 supported. The parts that I had to change for 8088 support were shift / rotate bit instructions and push / pop.

Potentially there could be a bit of a speed boost by having an 80186 / V20 build although I'm not sure how much it would actually be without having real hardware to benchmark on.

jdredd87 commented 12 months ago

Well if ever get around to it, i will be sure to try it out.

It is very playable as is. But just makes me ponder what kind of improvement if any, there would be on my V30 cpu.