Advertisement

Customize

Feb. 22nd, 2007

春节的无聊玩儿。

vmware-fusion

Haiku & Gnome (Archlinux)

Nov. 13th, 2006

Haiku OS at Parallels(OSX)

haiku os DR on the MacOSX Parallels
Tags:

Jun. 15th, 2006

Haiku R2 will adopt LittleCMS as its system-wide Color Management System

 I'm really glad to hear that. DarkWyrm, one of the haiku tearm leaders  told me that the reason LittleCMS has an MIT-style license and not GPL is haiku.

DarkWyrm said
Back in late 2002 I asked Marti Maria about it and not only did he give Haiku (then OpenBeOS) permission to incorporate it into the tree under the MIT license, but he changed Little CMS' license. Building it for BeOS isn't hard, either -- I have a copy of the 1.12 sources sitting on my hard drive, completely built.


I'm looking forward to Haiku R2 .
Tags: ,

Jun. 7th, 2006

Haiku midi_server

Now the Creative cards ( SBLive, Audigy, Audigy2) all have working gameport midi. Some testing on Haiku, and the midi_server is working nicely.

A few screenshots of some running apps that showing the published device .

           
Tags:

May. 13th, 2006

The Voice of MediaOS

I have created a new photo stream for my Haiku OS screenshots. The following image is my first screenshot about Haiku a opensource MediaOS .

the sound of haiku
Tags:

May. 11th, 2006

Haiku 的媒体播放器

Haiku 的媒体播放器终于放出一些 Screenshot 了,这是Haiku Media Player 的处女秀。目前,该播放器可以播放 .au, .avi, .mp3  .wav 格式的文件,视频文件还只能播放出声音,不过开发者很快就会加入视频回放功能。虽然,在 Google 的 SOC 中被拒绝,但是 Haiku OS 的开发团队仍然勇往直前。希望尽快完成 USB / Network stack 的工作,这样 Haiku R1 就可以达到一个 Beta 的状态了。





Tags:

BeOS 启动屏幕上的七个图标的含义

BeOS Splash Screen Icons
by Jonathan Mini, Networking Engineer


When you boot BeOS, you see a splash screen with various icons for a few seconds. As the boot process continues, each icon lights up in turn. The meaning of the icons is somewhat cryptic, but this article will explain what's actually going on as BeOS boots.

First, the Boot Sector

When you boot your computer the system ROM checks your hardware, then loads a small piece of code (512 bytes) from your hard drive that's called the master boot record. This code is responsible for selecting and loading your choice of a default OS into memory. When you first install BeOS, before the process completes Bootman appears and displays a panel where you select a default OS. A subsequent panel lets you decide to make a master boot record of your choice. When you boot again the master boot record finds the selected OS and loads another small chunk of code (again, 512 bytes) from your hard drive. This code, called the boot sector, loads the OS into memory and runs it. In this way, several operating systems that know nothing about each other can coexist on the same hard drive and still manage to boot.

512 bytes, however, just isn't enough room to load the BeOS kernel into memory, so the first thing the BeOS boot sector does is load the rest of itself from disk. It grabs those bits from zbeos. In addition to the code needed to load the BeOS kernel, zbeos contains the splash screen graphics, the boot options menu, and often extra drivers needed during boot. Once it's loaded, zbeos displays the BeOS splash screen with all the icons unlit and the BeOS version number.

Our Friend the Kernel (Icon 1)


The next step in starting up BeOS is loading the kernel into memory and starting it. While this happens, zbeos flashes the colors of a small box in the upper-left corner of the screen (you can see this especially well while loading the kernel from a boot floppy). At this time, you can press the space bar to access the boot options menu.

When the kernel starts, one of the first things it does is light up the first icon (the kernel icon -- a stylized picture of an atom). Its next task is to return the machine to its preferred state; that is, to check motherboard settings, take over handling of interrupts and DMA channels, reconfigure the system clocks, check the processors and configure itself for them, and obtain a listing of the devices present on the PCI bus.

Go-Go Gadget Processors (Icon 2)


If you have multiple processors, the lighting of the second icon is momentous: at this point, the kernel turns the processors on (you use only use one CPU to boot). It also checks that inter-CPU messaging works as it should, and tells the processors to hold on for just a bit while it does a little more housekeeping. This consists mainly of starting the BeOS virtual memory subsystem and configuring various protection and debugging systems. Once this is done, BeOS starts the scheduler (i.e., multitasking), and becomes a hardware-protected multi-threaded preemptive system (... and the buzzwords pile up).

Goodbye, BIOS (Icon 3)

The kernel turns on the next icon (a stylized lightning bolt) just before letting the other processors run. At this point, BeOS is an SMP system. After that it re-enables interrupts.

Up to now, the kernel has been concentrating on itself, setting things up so the processors can work properly. Now it's time to tune in to the real world and start configuring the rest of the hardware in your system.

Hello, Drivers (Icon 4)

After turning on the fourth icon (a stylized EEG machine), the kernel starts up the kernel_team and launches several threads needed to maintain system integrity. Then it starts the drivers linked to the kernel and those in zbeos. The drivers here are kept to a minimum, but several are needed because the kernel has reconfigured the machine in such a way that the BIOS services stored in the system ROM will no longer work, and it has to do everything itself. Disk, keyboard, and other basic drivers (such as the VESA compatibility display driver) and system services (such as support for bfs) are kept here for this reason.

Mounting the Disks (Icon 5)

Now that the kernel has loaded a device driver for your hard drive and knows how to locate your drives and read your filesystems (at least the one you're booting from), it proceeds to mount them.

Extra Toys (Icon 6)

There are many more drivers on your boot volume than are linked to the kernel or stored inside zbeos. These drivers operate your video card, sound card, network card, and other toys. Also, modules such as extra filesystem support (to access those Windows partitions, perhaps) or BONE are loaded at this point. BeOS only scans the drivers present and loads the ones it needs. In most cases, these modules are unloaded immediately, because they are not being used at the moment. Don't worry, though; the drivers are cached like all other files, so it's a snap to get them back.

After scanning and loading all the drivers and kernel modules on your boot volume, the kernel enables swapping (to the swap file on your boot volume).

On to Userland: the Bootscript (Icon 7)


The last step in starting BeOS is launching all the servers (like the media_server) and applications like Tracker and the Deskbar. This is done with the Bootscript (similar to /etc/rc in Unix), which is kept in /boot/beos/system/boot/Bootscript. The kernel launches a shell to execute it and lights up the last icon (a stylized BeBox).

At this point, you can see what the Bootscript is doing by reading through it. Among other things, it launches the app_server, which resets the video card and displays the desktop. "
Tags:

Mar. 23rd, 2006

BeOS 的过去现在和将来

wait。。。
即将开讲。。。

过去

BeOS
BeOS是个现代,面向对象的操作系统,轻量而强大,快速,超级易用。装备有优雅的图形用户界面和 bash 2.0 命令行外壳(shell),有人把BeOS描述为“优雅如Mac,强大如Unix。”然而,BeOS不是借用内核的Unix变种――它是从无到有,全新的OS设计。在其设计理念里首先考虑的是可用性和媒体执行效能。如果喜欢调整操作系统,但在尝试安装,配置,或使用Linux饱受失败,那么BeOS必将受您的欢迎。


1991 Gasse 带领包括AppleNewton开发员Steve Sakoman 在内的一众Apple的员工创建Be公司。Be开发了一个全新的操作系统,从设计之初就针对多CPU和多线程的应用程序,这就是BeOS。与此同时,Apple已陷入不能推出其新操作系统Copland的困境,正在寻找代替品。Gasse认为这是个黄金时机。


1996年,Gasse要价4亿美金,允许Apple Computer使用BeOS 。然而Apple估算Be公司的总值为8000万美金,故此出价1.2亿,后来上升到2亿。最终未能成交,Apple转而购买NeXTSTEP,同时重新得到Steve Jobs。Be公司于2001年8月被Palm公司以1100万收购。



Be Inc. 的BeOS开始是运行在BeBox硬件之上的。与其他同期的操作系统不同,BeOS是为了充分利用现代硬件的优点而编写。针对数字媒体工作优化,BeOS能够充分利用多处理器系统通过模块化的I/O带宽,多线程,抢断式的多任务和被称为BFS的定制64位日志文件系统。BeOS的GUI遵循清晰整洁的设计原理而开发。其API是用C++编写而成,非常容易编程。虽非源于Unix的操作系统,但其实现了POSIX兼容,并通过Bash shell 命令行界面来访问

BeOS 的优点
优秀的性能
易于安装配置
清晰的GUI, 强大的命令行
均衡的多处理技术
面向对象
32 个工作空间(桌面)64位
全日志的文件系统
类似数据库的文件系统
内存保护
无毒
遵循POSIX标准
支持各种不同的文件系统
整洁的编程API
优雅的内置通讯系统

BeOS 的缺点
有限的硬件支持
有限的可选应用程序
有限的办公文档兼容性
勉强的系统维护
非标准的web浏览器



现在、将来


Haiku OS
Haiku是开源的,试图重新创建BeOS R5 并以此为基础进行拓展。这个开发项目在2001年,Be被Palm公司收购后,以“OpenBeOS”作为开始。其名字“Haiku”意指优雅和简洁,正是这两个特点为BeOS吸引了许多人,当然这个名字也是直接参考颇具特色的在NetPositive,BeOS的默认web浏览器,已及其他许多的Be应用程序里出现的haiku错误信息。

BeOS的模块化设计也使得志愿的程序员各个小组无须依赖其他小组,对各个服务(servers)和APIs(在Haiku里被称为“kits”)。这些小组包括:
1. App/Interface(under which the Interface, App and Support kits fall);
2. BFS(目的在于重新创建Be File System - 这任务大部分都完成了,就是OpenBFS,现在不单单是Haiku,SkyOS也采用了它);
3. Game(开发Game Kit及其APIs);
4. Input Server(该服务处理输入设备,比如键盘和鼠标,以及和系统其它部分的沟通);
5. Kernel(内核,操作系统的核心);
6. Media(开发音频视频等多媒体及相关的APIs);
7. MIDI(实现MIDI音频标准);
8. Network(编写网络设备的驱动和与网络相关的APIs);
9. Preferences(重新创建BeOS的偏好设置套件);
10. Printing(打印服务及打印机驱动程序);
11. Screen Saver(实现屏幕保护功能);
12. Storage(开发需要的存储服务和驱动程序)。

部分kits被认为完成了,剩下的也处在多个不同的开发阶段。

Haiku的内核是NewOS的一个分支,NewOS是前Be工程师TravisGeiselbrecht编写的微内核系统,目前仍然在开发中。有许多的特性已经实现了,包括VFS层和基本的对称多处理器支持。

在2005年3月到4月的6个星期里出现了一系列的里程碑式的事件,比如第一个图形应用程序运行于Haiku自身(全2D加速模式运行),在Haiku上第一次使用浏览器(Links)。这两项都是没用使用任何属于Be Inc 的源代码和二进制代码,包括图形和网卡驱动。另外一个主要的里程碑出现在2005年7月,系统能够运行BeOS桌面shell,Tracker了。

2005年十月,Axel ,最多产的Haiku开发者之一,成为第一个全职的Haiku开发者,由社区捐献的基金出钱。其初始工作是CD的引导和SMP及其他内核工作。

Haiku目标是与BeOS在源码和二进制层次的兼容,允许为BeOS编写和编译的软件无需修改就可以编译和运行于Haiku之上。这可以为Haiku用户即刻提供供选择的软件库(即使是程序开发者不再经营或者无兴趣更新),另外可以让to allowing development of other applications to resume from where they had been terminated following the demise of Be, Inc.这个兼容处理也存在其缺点,Haiku只能使用的编译器只能停在GCC2.95,至2005年,这个版本已经6岁了。维护与BeOS R5.x兼容的另外一个不利因素是严格遵循Be原来的APIs和设计就成了必要的,这样,OS的有些bug也不得不重现而不能修复。Haiku的第二个主发布版本也就是被称为R2的版本,将打破向后兼容。

尽管有这些努力,一些使用了私有APIs的系统附件(add-ons)将不能实现。包括附加得文件系统驱动和多媒体codec附件(addons)

Haiku的主要目标可以概括为:
§ Administration free
§ 易用
§ 自由和开放
§ 快速,甚至在较旧的硬件上
§ 足够强力应付复杂的应用
§ 用起来很爽
Tags:

Jul. 7th, 2004

如何获得OBOS

撰文: Sikosis brie@g24.com.au
翻译:jcome jcome@spymac.com


在OpenBeOS IRC频道和邮件列表上最常被问到的问题之一就是:“我怎么样才能获得OBOS?”我们目前(仍)未提供有安装器的可引导CD,您可以获得并使用的OBOS是运行在已经存在的BeOS安装上的一套组件。


取得工具
首先,您需要一台运行着Be操作系统的计算机。如果您还没有获得PC上的BeOS,请查阅BeOS相关的网站,如http://bebits.com/ 和 http://betips.net/ 来获得帮助。接着,请保证已经安装下面的工具:
  • R5 Dev Tools (包含 gcc)
安装路径 -
下载地点http://www.bebits.com/app/2680
  • Cvs
安装路径/boot/home/config/bin
下载地点http://open-beos.sourceforge.net/dev.php
  • Ld
安装路径 /boot/home/config/bin
下载地点http://open-beos.sourceforge.net/dev.php
  • Jam
安装路径/boot/home/config/bin
下载地点http://open-beos.sourceforge.net/dev.php
  • ssh (仅开发者)
安装路径/boot/home/config/bin
下载地点http://open-beos.sourceforge.net/dev.php

请注意在上面站点找到的工具是Inter(x86)体系的,PPC版本的jam除外。


获取源码
一旦拥有了所有的这些工具,您就可以开始从SourceForge的CVS服务器下载源码了。现在,您将要在硬盘上创建目录来存贮OBOS源码。我通常的作法是直接在/boot/home目录下创建一个 OBOS目录。

  1.   打开一个终端窗口,创建目录 (mkdir OBOS),
  2.   改变当前目录到  /boot/home/OBOS (cd /boot/home/OBOS),
  3.   登陆CVS服务器:cvs –d:pserve:anonymous@cvs.sf.net:/cvsroot/open-beos login
  4.   当要求输入密码时按下Enter键。匿名(Anonymous)账号采用的是空密码,
  5.   现在我们使用下面的命令下载全部源码:cvs –z3 –d:pserver:anonymous@cvs.sf.net:/cvsroot/open-beos co current

如果您仅仅希望下载一个特定的模块,就用特定的模块取代 current。比如,想要pref 小程序,您将输入 current/src/prefs。如果您是第一次进行获取全部源码的动作,请考虑这可能要花一些时间,取决于您的互联网的连接速度。完整的源码,多于 2,000,000行的代码,要占掉300-600兆的硬盘空间。如果您以前已经获得过源码,并仅希望更新到最近和最好的,键入:
  • cvs update –d
一旦完成,您就可以准备开始建造。

Jammin’
No, not the Bob Marley classic track,但是软件构建工具使得构建简单的事变得更简单,复杂的事变得易处理。采用我们的特殊的包含在源码中的jam和jamfile用法说明,两个命令,您就可以构建OBOS。
在终端窗口中,改变目录(CD)到 /boot/home/OBOS/current,然后键入下面内容:
  • ./configure
接着:
  • jam
请注意,这将花费一些时间,时间长短取决于处理器的速度和内存数量。当(成功)完成后,您就拥有了来自最新源码的OBOS二进制包了。感觉不错,对吗?


引导软盘
想看看OBOS的样子?目前还没有很多东西可看,但您可以创建可引导的软盘,这可以让您运行各种命令行程序,但还没有图形用户界面。要创建一个可以引导的OBOS软盘,请插入一张空白磁盘到软驱中,执行下面的命令:
  • dd if=objects/x86.R1/floppy.x86 of=/dev/disk/floppy/raw bs=18k

从版本到版本
对于想尝试OBOS组件的,请回到终端窗口并改变目录(CD)到 distro。下面的屏幕快照(附件)显示了您可找到的一些组件。

Jam 包装!
在OBOS中,我们有一些Jam包,比如Matrox和nVidia视频驱动、Translation、网络工具箱(Networking Kits)和我们的PDF Writer 。要制作这些包,如此改变目录(cd):
  • cd /boot/home/OBOS/current
然后键入:
  • jam packages
这些包文件将创建在 /boot/home/OBOS/current/packages/x86.R1中。

Happy OBOSing!
Tags:

Advertisement

Customize