most impressive 512 byte boot sector
- AndrewAPrice
- Member
- Posts: 2302
- Joined: Mon Jun 05, 2006 11:00 pm
- Location: USA (and Australia)
most impressive 512 byte boot sector
What is the most impressive 512 byte bootsector you have seen?
I don't mean a boot loader that loads another OS, but the most featured OS in 512 bytes? Has anyone tried embedding a game into the bootsector?
I don't mean a boot loader that loads another OS, but the most featured OS in 512 bytes? Has anyone tried embedding a game into the bootsector?
My OS is Perception.
- Brynet-Inc
- Member
- Posts: 2426
- Joined: Tue Oct 17, 2006 9:29 pm
- Libera.chat IRC: brynet
- Location: Canada
- Contact:
IMNSHO, what a person knows and whether you can trust that person are two quite disjunct things.
The OpenSSL people, for example, have probably forgotten more about breaking security than I will ever learn. I still trust that OpenSSL is secure software.
The OpenSSL people, for example, have probably forgotten more about breaking security than I will ever learn. I still trust that OpenSSL is secure software.
Every good solution is obvious once you've found it.
The best i have seen is a 32bit pmode, vesa 640x480x32bpp gui menu, vesa fonts, basic ATAPI driver, keyboard and a built in CDplayer.
But than again i am bias, because i made it .
We had a compo to see who could comeup with the best, and i came second
A multi-tasking demo came first.
screen shot
http://www.dex4u.com/cdpod.htm
Also heres a bootsector teris game, one of the entrys (its the one i voted for).
But than again i am bias, because i made it .
We had a compo to see who could comeup with the best, and i came second
A multi-tasking demo came first.
screen shot
http://www.dex4u.com/cdpod.htm
Also heres a bootsector teris game, one of the entrys (its the one i voted for).
- Attachments
-
- TETROS.ZIP
- (2.28 KiB) Downloaded 34 times
I made a boot sector that takes up 271 out of the available 512 bytes for FAT12 filesystem, and what it does is to load binary anywhere in 4GB address space (to change the copying address one has to modify the source). It also uses unreal mode and also has a snippet of code that allows it to optionally start in graphics or text mode.
Not very impressive maybe, but at least could be for practical use due to the good deal of available space given it already does everything a basic boot sector should do.
Not very impressive maybe, but at least could be for practical use due to the good deal of available space given it already does everything a basic boot sector should do.
Re: most impressive 512 byte boot sector
The very first virus that was only discovered when somebody found out that their floppies all had "Brain" written on them.MessiahAndrw wrote:What is the most impressive 512 byte bootsector you have seen?
I don't mean a boot loader that loads another OS, but the most featured OS in 512 bytes? Has anyone tried embedding a game into the bootsector?
http://en.wikipedia.org/wiki/(c)Brain
- Brynet-Inc
- Member
- Posts: 2426
- Joined: Tue Oct 17, 2006 9:29 pm
- Libera.chat IRC: brynet
- Location: Canada
- Contact:
Re: most impressive 512 byte boot sector
And now.. The original writers of that boot sector virus own & operate http://brain.net.pk/Candy wrote:The very first virus that was only discovered when somebody found out that their floppies all had "Brain" written on them.
http://en.wikipedia.org/wiki/%28c%29Brain
From the looks of it.. It was a non-malicious "virus" that was installed when a program was illegally installed? :S
(It's better to use %28 & %29 Candy..)..
-
- Member
- Posts: 2566
- Joined: Sun Jan 14, 2007 9:15 pm
- Libera.chat IRC: miselin
- Location: Sydney, Australia (I come from a land down under!)
- Contact:
Ahhh... My version of DJGPP only has 2.161. Maybe if I upgrade?
The other thing is, I hate the GAS syntax! Someone ought to put Z80 support into NASM. Last I heard, NASM is open source, doesn't that mean I could download the source, add Z80 support and then use it then?
On second thoughts... the GAS syntax isn't that bad .
The other thing is, I hate the GAS syntax! Someone ought to put Z80 support into NASM. Last I heard, NASM is open source, doesn't that mean I could download the source, add Z80 support and then use it then?
On second thoughts... the GAS syntax isn't that bad .
- Brynet-Inc
- Member
- Posts: 2426
- Joined: Tue Oct 17, 2006 9:29 pm
- Libera.chat IRC: brynet
- Location: Canada
- Contact:
You'll have to setup a Z80 cross-compiler target... Binutils can only be compiled for one target at a time..pcmattman wrote:Ahhh... My version of DJGPP only has 2.161. Maybe if I upgrade?
The other thing is, I hate the GAS syntax! Someone ought to put Z80 support into NASM. Last I heard, NASM is open source, doesn't that mean I could download the source, add Z80 support and then use it then?
On second thoughts... the GAS syntax isn't that bad .