GZboot Bootloader

This forums is for OS project announcements including project openings, new releases, update notices, test requests, and job openings (both paying and volunteer).
Post Reply
User avatar
gzaloprgm
Member
Member
Posts: 141
Joined: Sun Sep 23, 2007 4:53 pm
Location: Buenos Aires, Argentina
Contact:

GZboot Bootloader

Post by gzaloprgm »

Hi!

I've done a simple fat12 protected mode bootloader, which loads a file from floppy at 1mb and executes it.

It's based on Teemu Voipio floppy driver and my fat12 driver implementation. Also I'm using Chris Giese mode13 set up code.

It works with qemu, bochs, virtualbox (slow but ok) and my pc.

Can anyone else test it? The kernel is just a file that says "Hello!!!" in top left of the screen.

Thanks,
Gonzalo
Attachments
gzboot-rc1.tar.gz
(49.38 KiB) Downloaded 83 times
Visit https://gzalo.com : my web site with electronic circuits, articles, schematics, pcb, calculators, and other things related to electronics.
User avatar
Stevo14
Member
Member
Posts: 179
Joined: Fri Mar 07, 2008 3:40 am
Location: Arad, Romania

Post by Stevo14 »

Works well in Qemu. Like you said, a little slow but it works well.
chezzestix
Member
Member
Posts: 118
Joined: Mon May 05, 2008 5:51 pm

Post by chezzestix »

Your going to hear this alot until its fixed:
You have some optimization ahead of you. Granted I have seen Tiny Linux Distro boots take that long but then again they do a little more than output Hello on my screen.

However it does work on Virtualbox.
User avatar
gzaloprgm
Member
Member
Posts: 141
Joined: Sun Sep 23, 2007 4:53 pm
Location: Buenos Aires, Argentina
Contact:

Post by gzaloprgm »

Yes, I know, I just made this "proof of concept" bootloader I can use to load files bigger than 64 KiB at 1MB and also a ramdisk and some other things.

And yes, you are right, I should optimize it. Most of the time is waiting 100ms after seeking, 10 ms for both writing and reading commands to the fdc and the actually read.

Cheers,
Gonzalo
Visit https://gzalo.com : my web site with electronic circuits, articles, schematics, pcb, calculators, and other things related to electronics.
User avatar
lukem95
Member
Member
Posts: 536
Joined: Fri Aug 03, 2007 6:03 am
Location: Cambridge, UK

Post by lukem95 »

if you look at GRUB sources you may be able to find more accurate times (probably significantly less)

EDIT: woop 400 posts :) im so cool.
~ Lukem95 [ Cake ]
Release: 0.08b
Image
Post Reply