posted by Eugenia Loli on Wed 5th Sep 2001 21:05 UTC
IconToday we are hosting an interview with Ville Turjanmaa, the creator of the Menuet Operating System. Menuet is a new, 32-bit OS, it fits to a single floppy (along with 10 or so more applications that come as standard with the OS). It features protection for the memory and code, it has a GUI running at 16,7 million colors, sound at 44.1 khz stereo, easy of use and easy low level API. And the most important and notable feature? The whole OS was written in 100%, pure 32-bit x86 assembly code.

1. You have wrote the whole OS in a x86 assembly. How much speed you think you gained by using asm-only when compared writting the source in C or C++?

Ville Turjanmaa: Parts of Linux was rewritten in assembly and the speed gain was 10-40%. That will give an idea.

2. Are there plans to support multiprocessing systems (SMP)?

Ville Turjanmaa: Yes, and plans to take it even further.

3. What kind of filesystem is Menuet using at the moment? Any plans for porting or writting a 64-bit, journal fs?

Ville Turjanmaa: The current support is only for Fat12 and Fat32. And we're currently designing the directory tree for different file systems.

4. Will Menuet eventually be able to be installed in a hard disk partition? Has work started about such a feature?

Ville Turjanmaa: The current distribution fits to a single floppy and I plan to keep the basic OS functions that way. With floppy distribution practically anyone can easily try out Menuet without going through the trouble of partitioning their hard drive. But hard disk booting can be done if wanted. Its really not a big job.

5. While Menuet is written in asm and that is fine with most of us, a lot of programmers would like to have a higher level C or (preffered) C++ API, in order to port or program application for the OS easier. Are steps taken towards offering this higher level API and maybe a port of GCC?

Ville Turjanmaa: This is mainly a question of principle. Porting C programs to Menuet may solve things in the short run, but I am not so sure this would be the case in the long run. However, basic tests have been made with C programs and everything looks ok.

Click for a larger version

6. Is Menuet fully optimized for the Penium/PII instructions, MMX and are the MTRRs turned on?

Ville Turjanmaa: We are now focusing in compatibility. So adding processor specific commands is not now at very high at the to-do list. But, because Menuet is distributed under the General Public Licence (GPL), people are quite free of doing what ever they want with the code.

7. Do you have plans to add to Menuet a full networking stack, like the one found on BSD or Linux?

Ville Turjanmaa: Yes, we are studying the tcp/ip protocol currently.

8. And speaking about unix, are there plans to add a Posix layer to the OS, so applications can be ported easier?

Ville Turjanmaa: Thats a very interesting question. If such a layer is implemented, the best way of starting would be writing a layer outside the os. The way Wine has done it for the Win32 API.

9. At the moment, Menuet is using a fixed font solution. Are there plans to add something like Freetype which enables TrueType font support?

Ville Turjanmaa: In general (not just font-wise), the GUI has a lot more to offer in the future, since Menuet has a basic design build on 16 Million colors. Something like Apple's Aqua, which looks very appealing.

10. Which hardware devices are top in your list that you want to support soon?

Ville Turjanmaa: Network, TV/radio etc
Menuet now supports user space driver functions and that will speed up driver development for any device. You don't have to touch the kernel anymore to get to your favourite device.

All driver development can be done inside Menuet using FASM, which has proven to be a very efficient assembler. In fact, there are plans on porting the kernel to FASM so no external compilers would be needed anymore.

11. Does Menuet have a mutlithreading and multitasking design? My understanding is that it is a realtime OS, which it may prove not the most elegant solution when it comes to a desktop OS (but a good solution when it comes to embedded devices). Also what about making the kernel more modular than being strictly monolithic?

Ville Turjanmaa: Menuet has a real time multitasking design, which most of the time makes life easier. But since an application is quite free of doing whatever it wants to, there might be some problems when eg. accessing a banked screen area, such as Vesa 1.2.

For multithreading there is no support now. But a standard that would allow a basic application to send threads to other computers in the net via tcp/ip interests me a gread deal. Ok, it's been done before, but only for scientifical goals, not as a basic function of application programming.

12. Which was the reason of starting writting Menuet? Please tell us a bit about the history of the OS and its future in general.

Ville Turjanmaa: I was curious if this could be done entirely in assembly. I've seen no assembly written graphical multitasking OSes for x86 processors before Menuet. So it was quite a challenge.

I just wanted an answer if this could be done. Now I have done so. :-)

The main distribution will be fully in assembly. There are some plans on porting major C apps. Plans to make Menuet even easier to use and plans of taking advantage of the native 16 M color design. At this stage of development we have to take one step at a time. Menuet is still quite young, 1 year and 4 months :-)

e p (0)    53 Comment(s)

Technology White Papers

See More