OS/2 IBM

Driver VGA .A

IBM OS/2

/******************************************************************/

/*INSTALLATION SECTION*/ /******************************************************************/

.

.

when OVERALL_STATE = 2 then do

if RunInstall(x.s3video) == BAD_RC then exit Call RebootAndGotoState(3)

end

when OVERALL_STATE = 3 then do

if RunInstall(x.s3dspinstl) == BAD_RC then exit Call CheckBoot

end

.

.

/******************************************************************/

/*

ROUTINE SECTION

*/

/*

The following information should already exist in the LCU command file.

*/

/******************************************************************/

.

.

RebootAndGotoState: parse arg new_state, other

rc2 = SetState(new_state, 'RebootAndGotoState', 1) /* Set the state */

 

/* to go to in */

 

/* OVERALL_STATE */

Call SaveStates

/* Save the environment vars */

Call Reboot

/* Reboot the machine */

return

 

.

 

.

 

100

ASUS P2B-D2 User’s Manual