Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Re: Boot sector "toy" OS - with no bios calls

3 views
Skip to first unread message

Annie

unread,
Oct 13, 2005, 5:06:12 AM10/13/05
to

On 2005-10-12 mike...@hotmail.com said:

> This is a 32 bit protected mode assembly language, 640X480X16
> graphics mode, fat 12 compatible, floppy disk boot sector "toy"
> OS with no bios calls.
>
> 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. Pressing any key will reboot. No bios calls are used at
> any time.
>
> Save this message as boot.uue and extract the uuencoded boot sector
> image with WinZip, WinRar or your favorite uudecoder software.
>
> Try it with Bochs or real hardware.
>
> [ ... snip UUENCODE ... ] _____
((( `\
It works...sort of. I used _ _`\ )
it with REAL hardware. Only (^ ) )
wussies use Bochs. Hehehe! ~-( )
_'((,,,)))
I first tried it on an old ,-' \_/ `\
486SX. It switched to pro- ( , |
tected mode, switched to `-.-'`-.-'/|_|
graphics mode with a blue \ / | |
background, but only displayed =()=: / ,' aa
a yellow rectangle in the
center of the screen where the text should be. At
that point, it 'hung' the computer.

Then I tried it on a Pentium II, and it worked as
expected.

I didn't examine your code at the byte level. Are
you using 586 or math co-processor instructions?
That would account for the 'hang' on a 486SX.

Not an "OS," really; it's basically a boot sector
program...but it's fun to futz around with stuff
like this, isn't it. Nice work. Hehe!

#2pencil

unread,
Oct 13, 2005, 9:59:45 AM10/13/05
to
Where could I get a copy of this, & possibly the source code?

I am wanting to learn about boot loaders & protected mode, etc etc...

-#2pencil-

Bill Marcum

unread,
Oct 13, 2005, 3:13:02 PM10/13/05
to
["Followup-To:" header set to alt.lang.asm.]
On 13 Oct 2005 06:59:45 -0700, #2pencil
<number...@gmail.com> wrote:
> Where could I get a copy of this, & possibly the source code?
>
It was uuencoded in the first message of this thread. Something that
small shouldn't be hard to disassemble. Since google doesn't archive
binaries, you might need to find a real news server, or maybe the OP can
post it on a web site.


--
Don't marry for money; you can borrow it cheaper.
-- Scottish Proverb

Message has been deleted
Message has been deleted

#2pencil

unread,
Oct 17, 2005, 8:32:23 AM10/17/05
to
> The boot sector image will be mirrored temporarily at
> http://parallelos.com/HelloDawn/boot.img

Is the source available for viewing, or is a disassemble the only
option?

-#2pencil-

James T. Sprinkle

unread,
Oct 19, 2005, 2:14:49 PM10/19/05
to

"look and see" <mike...@hotmail.com> wrote in message
news:NJ54f.8557$vD4.5...@news20.bellglobal.com...

> The boot sector image will be mirrored temporarily at
> http://parallelos.com/HelloDawn/boot.img while my domain is being
> reorganized.
>
> Mike Gonta - mike...@hotmail.com
> look and see - many look but few see
>
>

Cool! Works on VMWare 5.

JaYmZ


0 new messages