On Wed, 30 Nov 2005 23:49:42 +0000 (UTC), in comp.lang.c , Richard
Heathfield <in*****@invalid.invalid> wrote:
Malcolm said:
"Bill Cunningham" <no****@nspam.com> wrote Can a small C program it put at int 19 and look at 0x7c00? This may or
may not be considered a C question I guess. Or is C too small to reside
in MBR?
Most C compilers will allow you to set a pointer to an absolute address.
However this is of course completely non-portable, and it might not
produce the results you expect, depending on the system.
Yes, you'll generally be disappointed by the results if you're using a
protected-mode OS.
Depends. Some people find dialog boxes advising you about illegal
memory access etc quite exciting....
--
Mark McIntyre
CLC FAQ <http://www.eskimo.com/~scs/C-faq/top.html>
CLC readme: <http://www.ungerhu.com/jxh/clc.welcome.txt>
----== Posted via Newsfeeds.Com - Unlimited-Unrestricted-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups
----= East and West-Coast Server Farms - Total Privacy via Encryption =----