One thing that’s always bugged me about the Qemu 1.0 and higher is that they don’t print anything to the Win32 console. Â So you have to go digging around in stdout.txt or stderr.txt . Â Very annoying. Â And of course Windows users can’t have the nice ‘curses’ text mode interface. Â Or can they?
While I was re-updating the 4.4LiteBSD MIPS Qemu package, I turned off the normal SDLmain so that it now acts like a console binary, meaning that stdout/stdin now function properly. Â So if Qemu had a problem, you can see it!
And while I was in the source, I thought why not see how hard it is to manually turn on curses? Â It’s a quick one liner to config-host.mak (since it’s not detecting) then updating everywhere it has <curses.h> hard coded to use <ncurses.h> …. I guess I could have made a symlink, but whatever. Â It links and more importantly I can run text mode MS-DOS in text mode!
To activate simply use the -curses flag.
Rest assured that SDL is still in there as well. Â But now you can see error messages like this:
C:\qemu>qemu-system-i386.exe -L pc-bios -m 16 -soundhw sb16
dsound: Could not initialize DirectSoundCapture
dsound: Reason: No sound driver is available for use, or the given GUID is not a valid DirectSound device ID
So now you know there may or maynot be issues… In this case, I don’t care about recording audio, so it doesn’t matter.
I’ve updated the existing files on my server, so simply re-download. Â Otherwise for new people my i386 only package (~4MB) is here:
And the ‘full system’ package (~22MB) is here:
For the two of three people who like this kind of thing..
The two filelinks are the same. It should be a typo 🙂
I edited this thing like a dozen times, and wordpress keeps either undoing the URL’s alltogether or setting them to the same.. I had stuff to do so really no choice..
Hey this should enable WYSE UNIX to run on Qemu/Windows
Kind of what I was hoping…. 🙂 I’ve just been so damned busy. About all Ive had time to do is modify some make files, and walk away and see if I get an exe every few hours.. lol not the best way to get things done… as I write this on the train to work. sigh.
Yep, I just checked! It does run on Qemu but there is some issue with the default video emulation. I have an actual S3 ROM somewhere, I used to patch into Qemu, the CL-GD542x I may have to try that.
But yes, adding -curses does get a working text display. It boots up, and I can run the C compiler and everything!
The links seem to be down
Nevermind, your error page looks like a browser error so I didn’t even read it. got it now.
Yeah, sorry about that but I had to detract from spammers, and people who try to flag me. The corporate internet is more and more hostile to those who host stuff themselves.