Mail Archives: djgpp/1998/02/01/05:18:54
Charlie Root (cp79095 AT alumni DOT csie DOT nctu DOT edu DOT tw) writes:
> Does any body know how to use djgpp to enter 32bit protection mode
> under dos? I know Phar Lap TNT can do it. But I need a free software.
Simple. Compile something with DJGPP. It will automatically run in 32-bit
protected mode, and only in 32-bit protected mode!
To test this, write a short program that mallocks about six megabytes, and
compile and run it, using DJGPP. It will work without a NULL return unless
you use a really really tiny computer :-)
Then try a program that casts a random number to a pointer and writes
through it, and watch the stack trace print on your screen (instead of
some unpredictable weird event like a hang or a crash&burn).
--
.*. Friendship, companionship, love, and having fun are the reasons for
-() < life. All else; sex, money, fame, etc.; are just to get/express these.
`*' Send any and all mail with attachments to the hotmail address please.
Paul Derbyshire ao950 AT freenet DOT carleton DOT ca pgd73 AT hotmail DOT com
- Raw text -