Rockbox Development > Feature Ideas

DOS emulator?

<< < (2/3) > >>

Llorean:
Wouldn't you want something more like DOSbox?

lolsack:
erm dosbox is written in C++, and im pretty sure rockbox is in C soo..... that just won't work, you would have to rewrite the code and i can't do it because i have no clue how to script in C

Llorean:
No, my point is there wouldn't be much point at all in running DOS or a DOS-like OS without an x86 emulator beneath it so you could run DOS software.

lolsack:
uhh you made my brain hurt D: please make simpler

AlexP:
DOS runs on x86 hardware - i.e. the type of chip architecture that is in your desktop PC.  The targets rockbox runs on are a variety of chip architectures (arm, coldfire, mips and sh) none of which are x86.  Therefore Llorean is suggesting that in order to be able to do anything useful at all with your "DOS environment" once you have it, you also need it to be a x86 emulator, i.e. something that can pretend to be a different type of hardware so that your programs run.  An operating system designed to run on x86 is not very useful.

Note that emulating hardware needs host hardware that is many times faster than that which it is trying to emulate.


--- Quote from: lolsack on September 28, 2009, 09:46:10 PM ---erm dosbox is written in C++, and im pretty sure rockbox is in C soo..... that just won't work, you would have to rewrite the code and i can't do it because i have no clue how to script in C

--- End quote ---

If you find something in C, it will have to be heavily modified if not rewritten (in this case) to be able to run on Rockbox - just finding something in C doesn't mean it will in any way whatsoever work.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version