[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: rmll - grub2 presentation

From: Vincent Pelletier
Subject: Re: rmll - grub2 presentation
Date: Tue, 05 Jul 2005 22:26:37 +0200
User-agent: Debian Thunderbird 1.0.2 (X11/20050602)

Hash: SHA1

Yoshinori K. Okuji wrote:
> I won't go

Oh no :( .
I was planning to make a surprise : I've implemented last night a "play"
command in grub that plays on the standard buzzer a tune read from an
on-disk file.

I grabbed some code from hurd's generic-speaker driver, and some from
grub 2 itself (outb, inb, used skeleton of 'cat' command).

I have 7 tunes this far, most taken from the hurd file :) :
FSF song
Indiana Jones theme
I Feel Pretty
Star Trek: The Next Generation
Beverly Hills Cop.
Tetris theme <- home-made from a mid file

I had the idea when I was talking with Marco who reminded me his idea
about a tetris module for grub. I asked if the tetris theme would be
played while gaming, and I realized that it was possible, because of the
internal speaker...

To handle the note length, I use grub_get_rtc, so it would be easy to do
something else while waiting for the timeout (like handling tetris blocs
:) )

Now I don't know if it is pertinent to submit it as a patch...
On the one hand, there is no space to loose, and making it a module
would make it noticeable.
On the other hand, having the FSF song as an easter egg (and maybe
others) could be fun.

Another problem would be the portability. Although the hurd code says it
can be used in a wide range of architectures, I think the won't like my
inb & outb...

Vincent Pelletier
Version: GnuPG v1.4.1 (GNU/Linux)



Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger 
Téléchargez cette version sur

reply via email to

[Prev in Thread] Current Thread [Next in Thread]