Home

About

News

Screenshots

Download


Developers

OS Development

Search

 


"No matter how certain its eventual coming, an event whose exact time and form of arrival are unknown vanishes when we picture the future.  We tend not to believe in the next big war or economic swing; we certainly don't believe in the next big software revolution."  - David Gelernter
 

INTRODUCTION

Visopsys (VISual OPerating SYStem) is an alternative operating system for PC-compatible computers, written "from scratch", and developed primarily by a single hobbyist programmer since late 1997.

Visopsys is free software and the source code is available under the terms of the GNU General Public License.  The libraries and header files are licensed under the terms of the GNU Lesser General Public License.

The bulk of Visopsys is a fully multitasking, 100% protected mode, virtual-memory, massively-monolithic-style kernel.  Added to this is a bare-bones C library and a minimal suite of applications together comprising a small but reasonably functional operating system which can operate natively in either graphical or text modes.  Though it's been in continuous development for a number of years, realistically the target audience remains limited to operating system enthusiasts, students, and assorted other sensation seekers.  The ISO and floppy images available from the download page can install the system, or operate in 'live demo' mode.

Other operating systems can do more than Visopsys; it doesn't include many applications.  Needless to say, it's not as good as Linux or even SkyOS or Syllable.  On the other hand, it's still a one-person project.

From the perspective of a user — the "but what the heck is it good for?" perspective — its primary selling point is a reasonably functional partition management program (the 'Disk Manager') in the vein of Symantec's Partition Magic.  It can create, format, delete, and move partitions, and modify their attributes. It can also copy hard disks, and has a simple and friendly graphical interface, but can fit on a bootable floppy disk (or CD-ROM, if you're feeling naughty).
 

GOALS

The primary goal of Visopsys is to cherry-pick the best ideas from other operating systems, preferably contribute a few new ideas, and hopefully avoid (re-) introducing some of the more annoying elements.

However many ideas Visopsys borrows from other products, it is not a Windows or UNIX lookalike, nor a clone of any other system.  On the other hand, much of what you see in Visopsys will be familiar.  There are a number of command line programs that are superficially UNIX- or DOS-like, so you shouldn't have too much trouble finding your way around.  It is compatible with existing filesystems, file formats, protocols, and encryption algorithms (among other things).

Some of the higher-level conceptual goals are as follows:

1. "Native" Graphical environment

  • The base-level graphics server (analogous to an 'X' server in Unix, but not X) is integrated into the kernel.  A default GUI environment runs "straight out of the box", with no setup procedure.
  • At a later stage, a new metaphor for the GUI environment.  While not intended to be revolutionary, the planned interface will eventually try to put a new spin on graphical shell design — without making it unfamiliar or non-intuitive.  The ideas are formed, but the code is not written.
  • To the greatest extent possible, the user should be able to perform all tasks, including administrative ones, using this "point and click" interface — no need to edit mysterious configuration files by hand.

2. Strong command line capabilities (text windows and scripting)

  • Users must be given the ability to operate in a text-based environment if they prefer to do so.
  • To the greatest extent possible, the user should be able to perform all tasks, including administrative ones, using the text interface. Configuring mysterious configuration files by hand is, therefore, optional.

3. Compatible.  Visopsys will conform to existing standards to the greatest extent possible.  It is not a goal for Visopsys to define new formats (such as a new filesystem type).  Examples of such standards include:

  • Filesystem types
  • Executable/object/library file formats
  • Image, sound, font, compression and (enhanced) text file formats
  • Encryption algorithms
  • Network protocols
  • Software development environment conventions
  • Hardware interface standards (e.g. VESA)
  • Some level of POSIX compliance, where possible, eventually.
     

STATUS

Visopsys is starting to look and feel like a 'real' operating system.  There's still a long way to go before Visopsys might be useful to the average person, but it's getting there little by little.

Coding work was begun as a part-time operation in late 1997.  The large majority of the code is written in C, with portions in x86 Assembly Language.  Following is a list of some of the implemented and unimplemented functionality.

Implemented Features: Currently unimplemented:
  • Graphical User Interface (GUI)
  • Fully 32 bits, "protected" mode
  • Fully pre-emptive multitasking and multi-threading
  • Virtual memory, and memory protection
  • Flat linear memory management
  • Graceful processor fault and exception handling
  • Good random number capability
  • Buffered, asynchronous disk I/O
  • ELF executable format
  • BMP and ICO image files
  • Filesystem support for:
    12, 16, and 32-bit FAT filesystems (commonly used by DOS and Windows)
    Read-only Ext2/Ext3 filesystems (commonly used by Linux)
    CD-ROM filesystems (ISO9660/Joliet)
  • Native command line shell
  • Small, native C library
  • Native installer program
  • Dynamic linking
  • Hard disk partitioning program (Disk Manager)
  • Multi-user operation
  • Inter-Process Communications (IPC) facility
  • IO Protection
  • FPU state saves (buggy)
  • Most network functionality
  • Filesystem support for:
    Writable Ext2/Ext3
    NTFS filesystems (commonly used by Windows NT/2000 and Linux)
    (others, as demand dictates)
  • JPG image files

The primary developer of Visopsys is Andy McLaughlin, a 32 year old programmer originally from Calgary, Canada.  A couple of years ago, I moved to London, UK, after a year in Boston and 2 years in San Jose, California. Like many other hobby OS writers, I build Visopsys in my spare time.

I am not actively seeking other programmers to assist in the development of Visopsys at this time, but I do gladly accept code submissions and suggestions.

An operating system kernel is a big enough challenge to be discouraging at times.  In comparison, the Pascal compiler I wrote over an eight month period is trivial.  On the other hand, since I do everything by myself I am able to keep the development on a unified path. The architecture that develops is — I hope — consistent (for better or worse) and thus the end product reflects the vision of a single programmer.  It can be argued that this is the good, old-fashioned way of producing software.
 

APPLICATIONS

The included Disk Manager does most of what you'd expect from your basic 'fdisk' tool, whilst maintaining safety through MBR backups and 'undo' functionality.  The slightly more sophisticated features, such as copying disks and moving partitions, are the beginnings of a project to create a free alternative to certain proprietary tools such as Partition Magic, Drive Image, and Norton Ghost; the same user-friendly GUI environment, yet still small enough to fit on a boot floppy.  What it currently lacks are easily accessible ways to error-check and resize filesystems.

A few other simple user applications are provided.  These include a 'Computer' browser; a 'File Browser'; a 'Program Manager'; a basic 'User Manager' for administering user accounts and passwords; a 'Keyboard Mapping' program which provides a choice between (currently) UK and US English keyboard layouts; a 'Display Properties' program for setting graphical boot, screen resolution, colours, background, etc.; and a 'Configuration Editor' for modifying the system's configuration files (since there isn't any kind of native text editor, yet!).  Additionally there are programs for installing Visopsys, viewing images, and making screen shots, as well as a simple command line shell and associated programs for viewing memory usage, managing processes, and plenty of other simple tasks.
 

HARDWARE SUPPORT

Hardware support is generally limited to devices that conform to popular hardware interface standards, such as VESA, PS2, ATA/ATAPI (IDE), plus all of the standard PC chipset components.  Graphics are provided through the (non-performant, but reasonably standard) VESA linear framebuffer interface.  At present there aren't any vendor-specific video drivers provided, though this is not so much a design choice as it is the result of limited manpower and time.  Memory requirements are small: approximately 5 MB in text mode, and generally less than 20MB in graphics mode depending on screen resolution, etc.

Visopsys supports all variations of FAT filesystem (12, 16, 32/VFAT) as well as read-only EXT2/3 and ISOFS.  Upcoming features include support for SATA, SCSI, serial mice, resizing filesystems, and writable EXT2. Ports of the Newlib C library, GNU Binutils and GCC will be available in the future as add-ons.

Supported hardware: Currently unsupported:
  • Single Pentium (or better) processor
  • RAM above 64Mb
  • Programmable Interrupt Controller (PIC)
  • System timer chip
  • Real-Time Clock (RTC) chip
  • Keyboard controller
  • Text console IO
  • Direct Memory Access (DMA) controller
  • Floppy disk drive
  • IDE hard disk drive
  • IDE CD-ROM
  • VESA 2.0 or greater video card with LFB
  • PS2 mouse
  • PCI bus devices
  • Lance ethernet (AMD PC-NET) network Cards
  • Multiple processors (multiprocessing)
  • 3DNow! and MMX processor extensions
  • Plug and play
  • SCSI
  • SATA
  • USB (including USB mice and keyboards)
  • 3D or accelerated graphics
  • Serial ports (UART chip) and serial mice
  • Modems
  • Other network Cards
  • Printers
  • (many others)

 

DEVELOPMENT ENVIRONMENT

Visopsys is still developed using SuSE Linux 9.3, using the included GNU C compiler and the NASM assembler, available at sourceforge.net.
 

ACKNOWLEDGEMENTS

I'd like to thank the following individuals who contribute (with or without their knowledge) to the success of this project:

Bibliography:

Andy McLaughlin
29/11/2005

 

Home   About   News   Screenshots   Download   Developers   OS Development   Search
This site is copyright © 1999-2006, J. Andrew (Andy) McLaughlin
Visopsys and Visopsys.org are trademarks of J. Andrew McLaughlin
Last updated on September 24, 2006