flat assembler
Message board for the users of flat assembler.

Index > MenuetOS > just wondering...

Author
Thread Post new topic Reply to topic
Czubin



Joined: 27 Oct 2003
Posts: 51
Location: Belgium
Czubin
Would it be possible to write an emulator for MeOS programs???
Post 27 Jan 2004, 22:57
View user's profile Send private message MSN Messenger Reply with quote
spideros1



Joined: 17 Jan 2004
Posts: 77
Location: Poland
spideros1
I was trying to write MenuetOS emulator for DOS one year ago (under DJGPP), but I gave up. It could start basic applications. Not all functions were supported (e.g. you couldn't execute another application). I used Allegro for graphic library and DPMI for setting int 0x40 vector and memory handling.
Emulator simply created LDT descriptors for code and data, set up int 0x40 vector and simulate iret to MenuetOS code.
Post 28 Jan 2004, 09:44
View user's profile Send private message Visit poster's website Reply with quote
fasm9



Joined: 19 Jun 2003
Posts: 439
fasm9
How about to use Cooperative Linux as MenuetOS' VM?

Quote:
Cooperative Linux is the first working free and open source method for optimally running Linux on Microsoft Windows natively.
i would recommend that modify it for MenuetOS.

then you can run MenuetOS on winnt..
Post 29 Jan 2004, 01:21
View user's profile Send private message Reply with quote
spideros1



Joined: 17 Jan 2004
Posts: 77
Location: Poland
spideros1
It would be better to emulate MenuetOS kernel. I don't know how to do it under WinNT (emulation of syscall handler). LINE does this by replacing every int 0x80 with int 0x3 (db 0xCD,0x03 - long form).
Post 29 Jan 2004, 07:42
View user's profile Send private message Visit poster's website Reply with quote
Czubin



Joined: 27 Oct 2003
Posts: 51
Location: Belgium
Czubin
Well , it would be interesting to be able to emulate MeOS applications on windows , then i could test my program's outside MeOS
Post 29 Jan 2004, 15:37
View user's profile Send private message MSN Messenger Reply with quote
Gomer73



Joined: 29 Nov 2003
Posts: 151
Gomer73
Why not use bochs?

To create an emulator for windows would take a lot of programming resources away from working on the OS itself.
If you use bochs, not only will it do Menuetos, but other OS's as well.

I thought I tried bochs at one time and there was something about the resolution on menuetos I thought I didn't like though.

...Gomer
Post 31 Jan 2004, 22:44
View user's profile Send private message Reply with quote
fasm9



Joined: 19 Jun 2003
Posts: 439
fasm9
i guess BOCHS is slower than colinux.

ring 0 vs just emulation..
Post 01 Feb 2004, 00:31
View user's profile Send private message Reply with quote
Czubin



Joined: 27 Oct 2003
Posts: 51
Location: Belgium
Czubin
bochs is extremely slow here Neutral
Post 01 Feb 2004, 14:21
View user's profile Send private message MSN Messenger Reply with quote
GregSmith



Joined: 16 Feb 2004
Posts: 2
GregSmith
I had some good luck with bochs as an emulator for menuetos. I created an image of the menuetOS floppy using WinImage and made some slight mods to the sample config file. It loads very fast, but the graphics are slow. and the mouse support is sketchy.

this might be a decent environment for testing non-time-critical apps.

greg

_________________
-greg
Post 19 Feb 2004, 17:02
View user's profile Send private message AIM Address Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.

Website powered by rwasa.