Back to index

Hey, I did it!

This page hosts some of the things I've authored - nothing that deserves particular mention, however they record what I learn from time to time (and often forget in a while).

Some food for your computer

I would like to be a hacker (in the exact meaning of the term) but I am too lazy. However, as I write some code snippet which IMHO may have some interest I will put it here. All code is released under GPL unless explicitly stated otherwise.

Disclaimer

The software published on this page is provided "as is". It is distributed WITHOUT ANY WARRANTY; especially, without even the warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. The user MUST be aware that the use of provided code may, and WILL, cause damage. The author assumes NO LIABILITY WHATSOEVER for damages arising from any use of compiled and/or source code published on this page.

Low-level stuff

Some examples of bootsectors for PC. Since you may SEVERELY damage your computer by running low-level code lixtke bootsectors I invite you to download Bochs or purchase VMWare and run the code on a virtual machine instead that on your real computer. You also need NASM to assemble code, refer to the bookmarks section. I am reckoning on writing a ONA tutorial to fix the acquired knowledge before it vanishes (and, boy, it's already happening).

To assemble the protect mode bootsector you need the useful macros for GDT entry composition, written by John Fine (refer the bookmarks section). You can download a copy of the include file from here.

Scripts

This is my first bash script. I am soooooo proud!!! It is very short and just copies my html files in the Apache directory replacing every occurrence of the keyword "date" (capitalized) with the current date. You can read it for an instant course on sed, time and the escaping/quoting features of bash. The latter features are nice, and I think that any programming language should have facilities for metaprogramming. Once you start using macros, quoting and unquoting you will become addicted to metaprogramming. Not convinced? So lurk at TUNES and convince yourself.

Other stuff

Valid XHTML 1.0!

Updated: 2004-01-08 23:33 UTC