home *** CD-ROM | disk | FTP | other *** search
- TriangleOS 0.0.3 - README
- ===========================
-
- 0. Index
- =================================================
- 0. Index
- 1. Introduction
- 2. Compatibility
- 2.1 GUI (Graphical User Interface)
- 2.2 Networking
- 2.3 Mouse
- 2.4 Emulators (VMWare, Bochs, etc.)
- 2.4.1 VMWare
- 2.4.2 Bochs
- 3. Known problems/bugs
- 4. Installing TriangleOS
- 5. Starting and configuring TriangleOS
- 5.1 Boot
- 5.2 Configure TriangleOS
- 5.2.1 Networking
- 5.2.2 GUI
- 5.2.2.1 Mouse
- 5.3 Logging in
- 5.4 Starting applications
- 5.4.1 Text mode
- 5.4.2 GUI
- 6. FAQ
- 7. Special Thanks
- 8. Bye
-
- 1. Introduction
- =================================================
-
- This is TriangleOS 0.0.3. This is the third release, and as usual, a lot of changes have been made since
- the previous version (0.0.2). A lot of bugs have been fixed and new features were added. However, this
- is still no guarantee that T/OS is 100% bug free, so use at your own risk ;)
-
- 1.1 These are the current features of TriangleOS:
- ------------------------------------------------
-
- > 32-bit protected mode kernel for i386+ (paging, semaphores, critical sections, muteces, etc.)
- > Virtual File System
- > Kernel Modules
- > Drivers
- > [Storage ] Floppy Disk Driver
- > [Input ] Keyboard Driver
- > [Input ] Serial Mouse
- > [Input ] PS/2 Mouse
- > [Output ] PC Speaker
- > [Output ] Kernel Console
- > [Output ] Virtual Consoles
- > [Output ] Graphical 'text' Console
- > [Graphics ] VBE2 (VESA2+) driver
- > [Network ] NE2000 Driver
- > [Network ] RealTek 8139 Driver
- > Networking TCP/IP-Stack
- > Ethernet
- > IP
- > ARP
- > ICMP
- > TCP
- > UDP
- > DHCP Client
- > BSD Socket Interface
- > Triangle Graphical User Interface
- > Windows
- > Buttons
- > Bitmaps
- > Fonts
- > Desktop
- > Window Text
- > Wallpaper
- > Percent Bar
- > ScrollBars
- > MenuBar with menu and analog clock
- > Input Bar
- > TextField
- > ListBox
- > Screensaver
- > File Systems
- > TriangleFS (for floppies)
- > DevFS (Device Manager), SystemFS (Contains system information)
- > Block Cache
- > Multitasking (processes, threads). Very multithreaded.
- > User applications (COFF or ELF executable format). Compressed.
- + Native
- > Shell v1.3
- > Process Viewer
- > Bounce
- > Change Password
- > Network Setup program
- > Ping
- > Telnet
- > Telnet Server
- > HTTP Server
- > Login
- > Editor (GUI)
- > CPU Meter (GUI)
- > Calculator (GUI)
- > T/Eyes (GUI)
- > User Control Panel (GUI)
- > User list
- > Application crash simulation test
- + Ported
- > Chris Giese's Tetris
- > Dirk Verhagen's Breakout
- > Chris Giese's ANSI Invaders
- > grdc (Graphic Digital Clock)
- > sl (Steam Locomotive)
- > fortune
- > figlet
- > piano
- > Libraries
- > Fairly complete LIBC
- > Networking Library (including BSD Socket Library)
- > Curses for TriangleOS
- > Graphical User Interface-library.
- > Virtual 86 Mode (VM86)
- > Default protected mode functions (paging, protection, etc.)
-
- For a list of changes since the previous version of T/OS, see the changelog.
-
- 2. Compatibility
- =================================================
-
- TriangleOS should work on all x86 PC's (386 and above).
-
- 2.1 GUI (Graphical User Interface)
- ------------------------------------------------
- To use the GUI you need a VESA 2.0 compatible video card. Most of the recent
- video cards support this. You may select a resolution from 640x480x15bpp up
- to 1280x1024x32bpp but since the video driver just uses VESA, using no
- hardware acceleration whatsoever, don't be surprised if some video modes
- are somewhat slow.
-
- 2.2 Networking
- ------------------------------------------------
- TriangleOS supports NE2000 (PCI/ISA) compatible cards (such as the Winbond 89C940,
- RealTek 8029, etc.) and the RealTek 8139 PCI Family. Without these cards you'll
- only have the loopback interface ;)
-
- 2.3 Mouse
- ------------------------------------------------
- All PS/2 and serial mice should work OK. Please note that there's no USB-support yet.
- So if you use a USB port, you'll have to connect it to the PS/2 port to be able
- to use it.
-
- 2.4 Emulators (VMWare, Bochs, etc.)
- ------------------------------------------------
-
- It's best to run TriangleOS on a real PC, without using an emulator. You don't have to install
- TriangleOS, just create a TriangleOS boot floppy and start from it.
-
- 2.4.1 VMWare
- ------------------------------------------------
- I have no idea if T/OS will run with VMWare. I don't have VMWare here
- so there's no way for me to test this. I do know however, that last
- time I checked VMWare did not support VESA2 with LFB and I don't think it'll
- support a RealTek8139 or NE2000 network interface either, so I don't
- think you'll be able to run it under VMWare. Also, VMWare's floppy
- emulation is, like Bochs', very slow.
-
- 2.4.2 Bochs
- ------------------------------------------------
- Like VMWare, Bochs does not support VESA2 or a RealTek or NE2000 network
- interface (at least, my version doesn't, I'm not sure about the newest
- versions). Also note that the floppy emulation for Bochs is _VERY_ slow.
- Please keep in mind that the main goal of my OS is not to be compatible
- with emulators, but to be compatible with _real_ PC's.
-
- 3. Known problems/bugs
- =================================================
-
- At this moment there are no real major bugs I know of, except for some small rendering
- glitches in the GUI. Also, the TCP/IP stack still needs some work (e.g. the anti-SYN-flood
- code is not done yet). If you detect a bug, please e-mail me about it so I can try and fix it.
-
- 4. Installing TriangleOS
- =================================================
-
- There's no need to install TriangleOS. You can copy it to a
- floppy and boot from it. You don't have to touch your harddisks.
-
- 1 - Download the .ZIP file from the TriangleOS site.
- 2 - Unpack the .ZIP file. You now have the file tos-0.0.3-RELEASE.img
- which is exactly 1.44MB (the size of a floppy).
- 3 - Write the image directly to the floppy using a tool like 'rawrite'
- or 'dd'. If you are using Windows, you can find a link to Rawrite
- for Windows on my 'Links' page. If you use 'dd', type:
- dd if=tos-0.0.3-RELEASE.img of=/dev/fd0.
- 4 - Reboot the computer with the floppy in the floppy drive.
-
- 5. Starting and configuring TriangleOS
- =================================================
-
- 5.1 Boot
- ------------------------------------------------
-
- To boot TriangleOS, just insert the floppy you just created by writing the
- image to the floppy and reboot. The computer should boot from the disk.
- TriangleOS will load the kernel and after that you should see a percent bar,
- indicating it's starting.
-
- 5.2 Configure TriangleOS
- ------------------------------------------------
-
- 5.2.1 Networking
- ------------------------------------------------
-
- When the kernel is booted, and a network card has been detected (you need
- a NE2000-compatible or RealTek8139 network card, see 'Compatibility') the
- network setup program is started. Here you can set up your network interfaces
- by either entering the addresses manually or using DHCP.
- If you want to change your network settings later on, start /floppy/network.app
-
- The default hostname is `deuterium'. You can change this with the same network
- setup program (/floppy/network.app). /floppy/network.app -h myhost changes the
- hostname to `myhost'.
-
- 5.2.2 GUI
- ------------------------------------------------
-
- Now you can select which environment you wish to use: Text Mode or the Graphical User Interface.
- If you select Text Mode and want to use the GUI later on, go to the Debug Console (by pressing
- ALT-F10 and enter "gui").
-
- 5.2.2.1 Mouse
- ------------------------------------------------
- If you selected the GUI, you have to select the mouse type that's connected
- to your system. If you're not sure, select 'Autodetect'.
-
- 5.3 Logging in
- ------------------------------------------------
- Whether you use the GUI or Text Mode interface, you have to login first. When prompted
- for a login name and password, use the user 'admin' with password 'admin'.
-
- When you're telnetting to a TriangleOS server, you can't login with 'admin'. You need to create
- a normal user first, using either /floppy/chpass.app or using the 'Users' control panel
- in the GUI.
-
- 5.4 Starting applications
- ------------------------------------------------
-
- 5.4.1 Text mode
- ------------------------------------------------
-
- TriangleOS will load the shell program on the virtual consoles 2 to 8. You can switch between consoles
- by pressing ALT-Fx, where x is the corresponding number of the console. After the shells are started,
- console 1 contains the Kernel Statistics, console 10 the Kernel Debug console and the login programs
- are started on the other consoles. So, pressing ALT-F1 shows the kernel statistics, ALT-F2 to ALT-F9
- the login screens, and ALT-F10 the debug console. If the GUI is active, you can switch to it by
- pressing ALT-F12.
-
- After you log in (See 5.3 Logging in) you can run programs or invoke other shell
- commands. To get a list of shell commands, type 'help'. All applications are located in the directory
- /floppy. So, if you want to start an application named "example.app", change the current directory
- to /floppy by typing `cd /floppy'. Now run the application by typing its name ('example.app').
- Note: you may omit the .app when starting applications. Of course you can also start the program
- without changing the directory first by typing its full path instead (/floppy/example.app).
-
- To get a list of all files in the current directory, type 'ls'. Directories are green, symbolic
- links blue, applications you can start are red and objects are pink. If there are too many files
- to fit onto one screen, use 'ls /p'.
-
- Again, for more shell commands type 'help' on the shell prompt.
-
- 5.4.2 GUI
- ------------------------------------------------
-
- After selecting "Graphical User Interface" you may select a resolution. Note: this list is NOT
- a list of SUPPORTED modes. It's just a list of modes that the user is able to select.
- After choosing a resolution, TriangleOS will try to switch to it. If your video card does
- not support it, you can select another mode. After the GUI is started, you have to log in
- (See 5.3 Logging in). After logging in, you see the desktop and the menubar. You can launch
- programs via the menu, which is shown by pressing on the Triangle Button on the Menubar.
-
- You can also view the system status by clicking the 'System' button in the menu.
-
- 6. FAQ
- =================================================
-
- Q: TriangleOS doesn't boot. What's wrong?
- A: If you get errors such as 'error reading disk' make sure your floppy is OK. I've had a lot
- of experience with floppies and they tend to break quickly ;)
-
- Q: Whooah, a login prompt. What's the password?
- A: Try user 'admin' with password 'admin'.
-
- Q: If I use network applications like ping or telnet, using the name of the host doesn't work
- but the IP does. e.g. ping www.google.com doesn't work, but ping 216.239.37.99 does.
- A: Converting names to IP addresses is done by a DNS service. I have not yet written DNS support
- for TriangleOS. Therefore you can't use hostnames yet.
-
- Q: I'm sure my card is VESA2 compatible, but the GUI still doesn't work.
- A: Your card also has to support LFB (Linear Frame Buffer).
-
- Q: What graphics cards are supported?
- A: All VESA2 compatible cards with LFB support. Almost every recent videocard supports this.
- (e.g. testing machines here have a GeForce2 MX400 and a S3 Virge 86C375).
-
- Q: What network cards are supported?
- A: NE2000 compatible and RealTek8139 network cards are supported. TriangleOS lists these
- cards as ed and rl resp. Loopback device is listed as lo.
-
- Q: Does TriangleOS support DHCP?
- A: Yes, a built-in DHCP client is included.
-
- Q: My videocard is very fast, yet I think the GUI should be able to be a lot faster.
- A: The disadvantage of using a VESA2 driver is that it doesn't use any hardware acceleration
- of your videocard. I haven't had the time to write drivers for all kinds of different video
- cards, though they may be added later.
-
- Q: My USB mouse doesn't work. What's wrong?
- A: USB mice are not supported yet. Use a PS/2 or Serial Mouse, or use a convertor to insert your
- USB mouse in the PS/2 port.
-
- Q: Is there any more software available for TriangleOS?
- A: At the moment, no. All available applications (except for some ported ones) are included on the
- floppy disk. However more applications will be added. For example, I'm still planning on eventually
- writing a Web Browser, E-Mail client and a MP3-player for TriangleOS.
-
- Q: .... some other question
- A: See the other text in this readme.txt or e-mail me.
-
- 7. Special Thanks
- =================================================
- to Kevin Cools, for making the icons/images shown in the Status Bar
- (not the ugly ones, I made those myself :P) and the lay-out of the website.
- to Koen Rutten, for the "popcorn" speaker test.
- to Olef van de Stadt, for trying very hard to crash every version of T/OS ;)
- to all the other DJOE members, for beta testing and always giving me ("constructive") critics ;)
- to Chris Giese, for letting me port his tetris and invader game.
- to Dirk Verhagen, for letting me include his breakout killer app ;) in this package.
-
- 8. Bye
- =================================================
-
- Have fun ;)
- For bugs, questions, etc. please mail to w.cools [AT] chello [DOT] nl
- TriangleOS (C) Copyright 2001,2002,2003 by Wim Cools
- Last updated 29/04/2003 23:59 GMT+1
-