delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/07/26/01:47:27

From: mwood AT indyvax DOT iupui DOT edu (Mark H. Wood)
Newsgroups: comp.os.msdos.djgpp
Subject: *jump* into real-address mode?
Message-ID: <1997Jul25.134712.28907@indyvax.iupui.edu>
Date: 25 Jul 97 13:47:12 -0500
Lines: 16
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

I'm writing a little goodie that needs to reboot the system when it is
finished.  This requires jumping to 0xFFFF:0 in real-address mode.  What's the
simplest way to do that in DJGPP?  aTdHvAaNnKcSe

(Note:  I don't give a hoot about cached writes etc. because my program just
rewrote the partition table using only BIOS calls, so if there *is* any cache
its contents are irrelevant.  This thing is essentially a special-purpose,
noninteractive version of FDISK, to be used for wiping a machine's first fixed
drive to a known state for unattended (re)installation of Windows NT.  It boots
so that DOS (from a diskette) will see the FAT partition it just created. 
Suggestions that avoid this troublesome reboot would be welcome.)
-- 
Mark H. Wood, Lead Systems Programmer    +1 317 274 0749   [@disclaimer@]
MWOOD AT INDYVAX DOT IUPUI DOT EDU                  Finger for more information.
Thank goodness we've left behind the bad old days, before computers were
transformed from reliable business machines into performance art.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019