EMU2: A simple text-mode x86 and DOS emulator
1–10 of 27 posts
Re: EMU2: A simple text-mode x86 and DOS emulator
#2Re: EMU2: A simple text-mode x86 and DOS emulator
#3It could support graphics (pop up a window if a program tries it). Another emulator does this- it's pretty easy with SDL:
https://github.com/adriancable/8086tiny
You can run the CP/M Turbo PASCAL in almost the exact same way with this:
Re: EMU2: A simple text-mode x86 and DOS emulator
#4I wonder whether this could´ve made that problem easier.
Re: EMU2: A simple text-mode x86 and DOS emulator
#5Is this just for a fun or is it actually better than dosemu2, dosbox and qemu in any way?
Re: EMU2: A simple text-mode x86 and DOS emulator
#6Is this just for a fun or is it actually better than dosemu2, dosbox and qemu in any way?
Suppose you have an ancient program written in MASM (Microsoft Assembler) and you want your Linux Makefile to be able to compile it (I mean run MASM from within the Makefile just as you would run gcc). Which emulator will get you there with the least amount of work?
dosemu was out because my host wasn't x86. dosbox was out because I wanted to run a process with filesystem access, not a whole system. qemu's system emulation has the same problem as dosbox, and qemu's user-mode emulation runs Linux programs, not MS-DOS programs.
Re: EMU2: A simple text-mode x86 and DOS emulator
#7Not portable. Oh, well. Nice idea.
Re: EMU2: A simple text-mode x86 and DOS emulator
#8"emulator for the Linux text console" Not portable. Oh, well. Nice idea.
Re: EMU2: A simple text-mode x86 and DOS emulator
#9Earlier quoted context omitted.
Suppose you have an ancient program written in MASM (Microsoft Assembler) and you want your Linux Makefile to be able to compile it (I mean run MASM from within the Makefile just as you would run gcc). Which emulator will get you there with the least amount of work?
I have literally used this emulator to run MASM in this way. I was traveling with an ARM Chromebook and wanted to mess with a retrocomputing project. dosemu was out because my host wasn't x86. dosbox was out because I wanted to run a process with filesystem access, not a whole system. qemu's system emulation has the same problem as dosbox, and qemu's user-mode emulation runs Linux programs, not MS-DOS programs.
Re: EMU2: A simple text-mode x86 and DOS emulator
#10My goal was to have a mechanism for bootstrapping a compiler, similar to the Stage0 [0] project, but with a lot more software already written for it and less focus on having it be verifiable. This was to eliminate one more external dependency for building my Linux distribution, which is already cross-compiled and double-compiled to verify that builds are reproducible, in order to ensure that a version can be maintained for a long time.