Re: PC/MS DOS emulator?
Posted: Tue Oct 15, 2024 1:35 am
For what it's worth the game I'm porting to the CX16, Another World, is a 16-bit game. And yes it is quite difficult, as the original also used 32-bit data types. There is also a port of the Sierra AGI Game engine, which was also 16-bit.
SO it's not completely unrealistic to consider it might be possible... Obviously the 32-bit DOS is probably out of the question, but an earlier version of DOS could potentially be emulated.
It definitely wouldn't be easy. DOS has a more complicated memory structure and addressing method, which allows for up to 1mb of memory (the CX16 only has 512kb base version), so that would be very tricky to navigate (it's not "banked" like the CX16, it's segmented). Not to mention it would be very slow. Probably 10 times slower. All the instructions are 16-bit. Sound and IO would be very tricky too.
It would need someone who is an expert in 65c02 assembly, and 8086 assembly, and a deep understanding of both architectures.
Basically, yes it can be done, but without any incentive there's literally no reason to undertake such a massive project.
SO it's not completely unrealistic to consider it might be possible... Obviously the 32-bit DOS is probably out of the question, but an earlier version of DOS could potentially be emulated.
It definitely wouldn't be easy. DOS has a more complicated memory structure and addressing method, which allows for up to 1mb of memory (the CX16 only has 512kb base version), so that would be very tricky to navigate (it's not "banked" like the CX16, it's segmented). Not to mention it would be very slow. Probably 10 times slower. All the instructions are 16-bit. Sound and IO would be very tricky too.
It would need someone who is an expert in 65c02 assembly, and 8086 assembly, and a deep understanding of both architectures.
Basically, yes it can be done, but without any incentive there's literally no reason to undertake such a massive project.