On Wed, 30 Nov 2005 23:49:42 +0000 (UTC), in comp.lang.c , Richard
Heathfield <invalid@invalid.invalid> wrote:
[color=blue]
>Malcolm said:
>[color=green]
>>
>> "Bill Cunningham" <nospam@nspam.com> wrote[color=darkred]
>>> 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?
>>>[/color]
>> 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.[/color]
>
>Yes, you'll generally be disappointed by the results if you're using a
>protected-mode OS.[/color]
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 =----