"Hello, Dawn!" protected mode boot sector
- From: "look and see" <mikegonta@xxxxxxxxxxx>
- Date: Sun, 16 Oct 2005 15:06:19 -0400
This is the "Hello, Dawn!" protected mode boot sector with no bios calls.
It's written in 32 bit assembly language, and uses the 640X480X16 graphics
mode.
After executing the minimum five real mode instructions required to enter
protected mode, the floppy disk motor is turned off, the graphics mode is
changed, the screen is cleared, and the resident 8X16 rom font is located
and used to print "Hello, Dawn!" to the screen.
"press any key!" to reboot the PC. No bios calls are used at any time.
This improved version includes a better search routine to locate the font
and a better method of resetting the PC.
The code is optimized for a Pentium class machine (no delaying for
input/output instructions), using only the 80386 instruction set.
The graphics resolution is the highest available without video bios calls.
The boot sector image is available at
http://parallelos.com/HelloDawn/BOOTIMG.BIN
The file size is 512 bytes plus an 80 byte file footer for the copyright
notice.
The image file can be used as named to create a 1.44 MB floppy disk
emulation bootable CD.
Mike Gonta - mikegonta@xxxxxxxxxxx
look and see - many look but few see
.
- Follow-Ups:
- Re: "Hello, Dawn!" protected mode boot sector
- From: Frank Kotler
- Re: "Hello, Dawn!" protected mode boot sector
- Prev by Date: Re: HLA v1.78 is now available
- Next by Date: Re: LLDT, LGDT/LIDT, SGDT, SIDT, SLDT Instructions
- Previous by thread: LLDT, LGDT/LIDT, SGDT, SIDT, SLDT Instructions
- Next by thread: Re: "Hello, Dawn!" protected mode boot sector
- Index(es):
Relevant Pages
|