"Hello, Dawn!" protected mode boot sector



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



.



Relevant Pages

  • Re: Q [x86] INT in protected mode?
    ... > the right way to access BIoS info? ... that real-mode addressing is simply _incompatible_ with protected mode ... just didn't care) was that the "device drivers" of all these OSes were ... manufacturers automatically write the Windows drivers and make them ...
    (alt.lang.asm)
  • Re: Missing user in windows explorer. Virus?
    ... this is not a Windows problem at all nor is it a boot sector problem. ... said BIOS instead of boot sector, ... that this is a virus, it could be but I think it's unlikely to be a CMOS ... the file I wanted to print through windows explorer, but the Mike user ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: Need to reinstall WinXP after changing bios parameters?
    ... I did not change any hardware, I only changed some bios parameters (PEG Link ... Spontaneous reboots, sometimes graphics driver stuck in infinite loop, ... when PEG Link Mode is set to a value other than Slow ...
    (microsoft.public.windowsxp.setup_deployment)
  • Re: BISECTED: 2.6.29-rc2 regression: hibernation hang on eeepc-701
    ... It doesn't hang if I use the shutdown method (either 'echo shutdown ... 8086:2792 Mobile 915 Express Graphics Controller ... It seems that the BIOS doesn't expect it to be in D3 while entering S4, ... successful hibernation under Windows on this hardware. ...
    (Linux-Kernel)
  • Re: Fully Functional IMSAI-8080 boot CP/M 80 for sale on e-bay
    ... Allison J. Parent, when I am writing to someone in particular, you are ... especially to contradict me without any ... Did I ever said that one needed to duplicate exactly the graphics ... code often known as CBIOS or simplified to BIOS. ...
    (comp.os.cpm)