FT_REBOOT

FT_REBOOT()
 Force a warm or cold boot

 Syntax

      FT_REBOOT( <nBootType> ) -> NIL

 Arguments

     <nBootType> is used to indicate the type of reboot.  A value of zero
     will cause a cold boot, while any other value will cause a warm boot.

 Returns

     NIL

 Description

     This function is valuable if you need to reboot the PC for some
     reason; e.g. an installation routine that modifies CONFIG.SYS or
     AUTOEXEC.BAT.

     The source code is written to adhere to Turbo Assembler's IDEAL mode.
     To use another assembler, you will need to rearrange the PROC and
     SEGMENT directives, and also the ENDP and ENDS directives (a very
     minor task).

 Examples

     #define COLD 0
     #define WARM 1

     // Issue a warm boot

     FT_Reboot(WARM)

 Source: REBOOT.ASM

 Author: Ted Means

 

Advertisements

One response to “FT_REBOOT

  1. Pingback: FT DOS/BIOS | Viva Clipper !

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.