MB> How the CS:IP is set *does* vary. I've used the 0:7c00
MB> syntax for a long time, thinking that this did not vary. But
MB> then I encountered a BIOS which did not work this way, and I
MB> decided to include a far jump at the start of my code, to
MB> make sure it ran on this type of BIOS too.
I'm sorry, but that cannot possibly be true. 7C00 is defined as
standard for IBM PC-compatibles, and most bootsectors including
DOS, Windows95 etc assumes 7C00. If it wouldn't be 7C00 on a
computer (i.e it isn't a PC!) then those operating systems
probably would not even boot.
If there would be a bios that does not use 7C00 you certanly
don't have to support it, since it is a bug and should be
returned to the manufacturer so that you could have yourself
a new, bugfixed motherboard.
The only sane reason why it shouldn't be 7C00 is that there
is a virus active that has loaded the sector elsewere. A pretty
lame virus though...
[peter]
--- FMail 1.02
---------------
* Origin: Server*7GB* D0S.0S2.WiN USR33600 0300-13564 (2:203/253)
|