beautypg.com

Ibm os/2 – Asus P2B-D2 User Manual

Page 100

background image

ASUS P2B-D2 User’s Manual

100

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

.

.

IBM OS/2

A. VGA Driver