Stylistic 1000 Technical Reference Guide -...

128
Stylistic 1000 Technical Reference Guide

Transcript of Stylistic 1000 Technical Reference Guide -...

Page 1: Stylistic 1000 Technical Reference Guide - Fujitsusolutions.us.fujitsu.com/www/content/pdf/st1000trg.pdfFujitsu Personal Systems, Inc. No part of this publication may be copied, reproduced,

Stylistic 1000Technical Reference Guide

Page 2: Stylistic 1000 Technical Reference Guide - Fujitsusolutions.us.fujitsu.com/www/content/pdf/st1000trg.pdfFujitsu Personal Systems, Inc. No part of this publication may be copied, reproduced,
Page 3: Stylistic 1000 Technical Reference Guide - Fujitsusolutions.us.fujitsu.com/www/content/pdf/st1000trg.pdfFujitsu Personal Systems, Inc. No part of this publication may be copied, reproduced,

Stylistic 1000Technical Reference Guide

Page 4: Stylistic 1000 Technical Reference Guide - Fujitsusolutions.us.fujitsu.com/www/content/pdf/st1000trg.pdfFujitsu Personal Systems, Inc. No part of this publication may be copied, reproduced,

Fujitsu Personal Systems, Inc., has made every effort to ensure the accuracy and completeness of this document. However, because ongoing development efforts are continually improving the capabilities of our products, we cannot guarantee the accuracy of the contents of this document. We disclaim liability for errors, omissions, or future changes herein.

Stylistic 1000 is a trademark of Fujitsu Personal Systems, Inc.

The following are registered trademarks of IBM Corporation: IBM, IBM-AT, IBM PS/2.

The following are registered trademarks of Microsoft Corporation: MS, MS-DOS, Microsoft. The following are trademarks of Microsoft Corporation: Windows for Workgroups, Windows 95, and Windows for Pen Computing.

PCMCIA is a trademark of the Personal Computer Memory Card International Association.

Phoenix is a trademark of Phoenix Technologies, Ltd.

Advanced Power Management is a registered trademark of Intel Corporation and Microsoft Corporation.

RBRC is a trademark of the Rechargeable Battery Recycling Corporation.

All other products are trademarks or registered trademarks of their respective companies.

Copyright 1996Fujitsu Personal Systems, Inc.

No part of this publication may be copied, reproduced, or translated, without the prior written consent of Fujitsu Personal Systems, Inc. No part of this publication may be stored or transmitted in any electronic form without the prior written consent of Fujitsu Personal Systems, Inc.

Page 5: Stylistic 1000 Technical Reference Guide - Fujitsusolutions.us.fujitsu.com/www/content/pdf/st1000trg.pdfFujitsu Personal Systems, Inc. No part of this publication may be copied, reproduced,

Table of Contents

About This Guide .............................................................................................................................. xiiiOrganization....................................................................................................................................................... xiiiRelated Documentation...................................................................................................................................... xiiiObtaining Other Related Specifications ........................................................................................................... xv

Chapter 1Overview and Specifications ............................................................................................................ 1-1

System Overview............................................................................................................................................... 1-1Supported Operating Systems .......................................................................................................................... 1-1Pen Support ..................................................................................................................................................... 1-1

Windows 95 Pen Support .................................................................................................................... 1-1Windows for Workgroups Pen Support ........................................................................................... 1-2MS-DOS Pen Support............................................................................................................................ 1-2

Development Tools and Utilities ....................................................................................................................... 1-2PCMCIA Support ............................................................................................................................................ 1-3System Unit Specifications ................................................................................................................................ 1-3Digitizer Specifications ..................................................................................................................................... 1-7System Resource Allocation.............................................................................................................................. 1-8

IRQ Assignments................................................................................................................................... 1-8Upper Memory Allocation .................................................................................................................... 1-9

Port Replicator ................................................................................................................................................. 1-9System Interface Port (Port Replicator Connector) .......................................................................................... 1-9Peripheral Connectors........................................................................................................................................ 1-12

Video Port .............................................................................................................................................. 1-13RS-232 Serial Port ................................................................................................................................. 1-14Rx/Tx Serial Port ................................................................................................................................ 1-14Parallel Port............................................................................................................................................ 1-15Keyboard Port ........................................................................................................................................ 1-15Mouse Port (Port Replicator Only)...................................................................................................... 1-16Floppy Drive Connector ........................................................................................................................ 1-17DC Power Input .................................................................................................................................... 1-18

IrDA Port ........................................................................................................................................................... 1-18IrDA Drivers for Windows for Workgroups ......................................................................................... 1-18IrDA Drivers for Windows 95 ............................................................................................................... 1-18

Chapter 2Power Management ....................................................................................................................... 2-1

System Power States and State Transitions ..................................................................................................... 2-1Power Management BIOS Configuration Options ........................................................................................... 2-2Application Design for Power Management ................................................................................................... 2-2

MS-DOS APM Interface ..................................................................................................................... 2-3State Transitions in MS-DOS .............................................................................................................. 2-3Windows for Workgroups Power Management Interface ................................................................... 2-3Windows 95 Power Management Interface .......................................................................................... 2-3Windows 95 Power Message ............................................................................................................... 2-4

Chapter 3Save to Disk ..................................................................................................................................... 3-1

Save to Disk Features ...................................................................................................................................... 3-1Partition and File Considerations....................................................................................................................... 3-1

Save-to-Disk Partition .......................................................................................................................... 3-1Save-to-Disk File ................................................................................................................................. 3-2

Configuring the Stylistic 1000 for Save to Disk .............................................................................................. 3-2

iii

Page 6: Stylistic 1000 Technical Reference Guide - Fujitsusolutions.us.fujitsu.com/www/content/pdf/st1000trg.pdfFujitsu Personal Systems, Inc. No part of this publication may be copied, reproduced,

Using Save to Disk .............................................................................................................................. 3-2Resume From Disk .............................................................................................................................. 3-2Save to Disk During System Activity .................................................................................................. 3-2

PHDISK Hard Disk Preparation Utility ........................................................................................................... 3-3Command Line Options ....................................................................................................................... 3-3CREATE Option .................................................................................................................................. 3-4

Automatic Memory Size Calculation .............................................................................................. 3-4Specify Memory Size......................................................................................................................... 3-4/PARTITION or /P ........................................................................................................................... 3-5/FILE or /F ....................................................................................................................................... 3-5/CREATE Option Syntax ................................................................................................................. 3-5

REFORMAT Option ............................................................................................................................ 3-6/REFORMAT Option Syntax ............................................................................................................ 3-6

DELETE Option .................................................................................................................................. 3-6/DELETE Option Syntax ................................................................................................................... 3-6

INFO Option ....................................................................................................................................... 3-6/INFO Option Syntax......................................................................................................................... 3-6

Messages .............................................................................................................................................. 3-7PHDISK Sign-on Message ................................................................................................................ 3-7Help Screen ...................................................................................................................................... 3-7Unrecognized Option ....................................................................................................................... 3-7Fatal Error .......................................................................................................................................... 3-7Not Enough Disk Space..................................................................................................................... 3-8Save to Disk Partition Exists ............................................................................................................. 3-8Too Many Bad Sectors .................................................................................................................... 3-8First Two Sectors Bad........................................................................................................................ 3-8PHDISK /CREATE Failed to Execute .............................................................................................. 3-8Good Sector Map Corrupted.............................................................................................................. 3-8Not Enough System Memory ............................................................................................................ 3-9File Already Exists .......................................................................................................................... 3-9

Chapter 4Programmable System Functions ................................................................................................... 4-1

Accessing Programmable Functions Using I/O................................................................................................. 4-1Programmable Hotpad .................................................................................................................................... 4-1Display Contrast Setting ................................................................................................................................. 4-2Display Backlight Setting ............................................................................................................................... 4-3

Chapter 5Static Library Functions for MS-DOS Application Development .............................................. 5-1

FJSYS.LIB ........................................................................................................................................................ 5-1Permanent and Current Settings ............................................................................................................ 5-1Session Buffer........................................................................................................................................ 5-1

bReLD Parameter .............................................................................................................................. 5-2Function Error Codes ........................................................................................................................... 5-2

fFJSys_Init ....................................................................................................................................... 5-2FJSys_Exit ....................................................................................................................................... 5-2

Programmable Hotpad Function .......................................................................................................... 5-3fGetHotPad_Status............................................................................................................................. 5-3

BIOS Configuration Functions ............................................................................................................ 5-3fSetBootSequence ............................................................................................................................. 5-4fGetBootSequence .......................................................................................................................... 5-4fSetDisplaySetupPrompt ................................................................................................................. 5-4fGetDisplaySetupPrompt ................................................................................................................. 5-4fSetPOSTErrors ................................................................................................................................ 5-5fGetPOSTErrors ............................................................................................................................... 5-5fSetSummaryScreen ......................................................................................................................... 5-5fGetSummaryScreen ........................................................................................................................ 5-6fSetNumLockState ........................................................................................................................... 5-6fGetNumLockState .......................................................................................................................... 5-6fSetSerialA_Address ........................................................................................................................ 5-6fGetSerialA_Address ....................................................................................................................... 5-7

iv

Page 7: Stylistic 1000 Technical Reference Guide - Fujitsusolutions.us.fujitsu.com/www/content/pdf/st1000trg.pdfFujitsu Personal Systems, Inc. No part of this publication may be copied, reproduced,

fSetSerialB_Device .......................................................................................................................... 5-7fGetSerialB_Device ......................................................................................................................... 5-7fSetSerialB_Address ....................................................................................................................... 5-8fGetSerialB_Address ...................................................................................................................... 5-8fSetLPT_Address ............................................................................................................................ 5-8fGetLPT_Address ........................................................................................................................... 5-8fSetLPT_Mode ................................................................................................................................. 5-9fGetLPT_Mode ................................................................................................................................ 5-9fSetDisplay_Select .......................................................................................................................... 5-9fGetDisplay_Select ......................................................................................................................... 5-10fSetGraphic_Video_Mode ............................................................................................................... 5-10fGetGraphic_Video_Mode .............................................................................................................. 5-10fSetText_Video_Mode....................................................................................................................... 5-11fGetText_Video_Mode ................................................................................................................... 5-11fSetSpeaker ...................................................................................................................................... 5-11fGetSpeaker .................................................................................................................................... 5-11fSetHDD_BootSector ..................................................................................................................... 5-12fGetHDD_BootSector .................................................................................................................... 5-12fSetHDD_HeadRetract ...................................................................................................................... 5-13fGetHDD_HeadRetract...................................................................................................................... 5-13fSetHDD_Timeout ........................................................................................................................... 5-14fGetHDD_Timeout ......................................................................................................................... 5-14fSetVideo_Timeout ......................................................................................................................... 5-15fGetVideo_Timeout ........................................................................................................................ 5-16fSetAutoSuspend_Timeout ............................................................................................................. 5-16fGetAutoSuspend_Timeout ............................................................................................................ 5-16fSetCPU_Speed ............................................................................................................................... 5-17fGetCPU_Speed................................................................................................................................. 5-17fSetCPU_IdleMode .......................................................................................................................... 5-17fGetCPU_IdleMode ........................................................................................................................ 5-18fSetPwrMgmtMode ........................................................................................................................ 5-18fGetPwrMgmtMode ......................................................................................................................... 5-18fSetStandby_Timeout ..................................................................................................................... 5-18fGetStandby_Timeout ...................................................................................................................... 5-19fSetSuspend_Mode .......................................................................................................................... 5-19fGetSuspend_Mode ........................................................................................................................ 5-19fSetResumeOnModemRing ........................................................................................................... 5-20fGetResumeOnModemRing ........................................................................................................... 5-20fSetResumeTime .............................................................................................................................. 5-20fGetResumeTime ............................................................................................................................. 5-21fSetHotPad_Access .......................................................................................................................... 5-21fGetHotPad_Access ......................................................................................................................... 5-21

Chapter 6APIs for 16-Bit Windows Applications .......................................................................................... 6-1

Dynamically Linked Libraries for 16-Bit Application Development ..............................................................6-1HOTPAD.DLL .................................................................................................................................................. 6-1

SetHotpadNotification ..................................................................................................................... 6-2Return Value .................................................................................................................................. 6-2Comments ...................................................................................................................................... 6-2

KillHotPadNotification .................................................................................................................... 6-3Return Value .................................................................................................................................. 6-3

ST1SETUP.DLL ............................................................................................................................................. 6-3Permanent and Current Settings .......................................................................................................... 6-3Session Buffer ...................................................................................................................................... 6-4

fFJSys_Init ...................................................................................................................................... 6-4FJSys_Exit ......................................................................................................................................... 6-4Return Values and Error Codes ....................................................................................................... 6-5

Programmable Hotpad Function............................................................................................................ 6-5fGetHotPad_Status............................................................................................................................. 6-5

BIOS Configuration APIs...................................................................................................................... 6-5fSetBootSequence.............................................................................................................................. 6-5

v

Page 8: Stylistic 1000 Technical Reference Guide - Fujitsusolutions.us.fujitsu.com/www/content/pdf/st1000trg.pdfFujitsu Personal Systems, Inc. No part of this publication may be copied, reproduced,

fGetBootSequence ............................................................................................................................. 6-6fSetDisplaySetupPrompt.................................................................................................................... 6-6fGetDisplaySetupPrompt ................................................................................................................... 6-6fSetPOSTErrors ................................................................................................................................. 6-7fGetPOSTErrors................................................................................................................................. 6-7fSetSummaryScreen........................................................................................................................... 6-7fGetSummaryScreen.......................................................................................................................... 6-8fSetNumLockState............................................................................................................................. 6-8fGetNumLockState ............................................................................................................................ 6-8fSetSerialA_Address.......................................................................................................................... 6-8fGetSerialA_Address ......................................................................................................................... 6-9fSetSerialB_Device............................................................................................................................ 6-9fGetSerialB_Device ........................................................................................................................... 6-9fSetSerialB_Address.......................................................................................................................... 6-10fGetSerialB_Address ......................................................................................................................... 6-10fSetLPT_Address............................................................................................................................... 6-10fGetLPT_Address .............................................................................................................................. 6-11fSetLPT_Mode................................................................................................................................... 6-11fGetLPT_Mode.................................................................................................................................. 6-11fSetDisplay_Select............................................................................................................................. 6-12fGetDisplay_Select .......................................................................................................................... 6-12fSetGraphic_Video_Mode ............................................................................................................... 6-12fGetGraphic_Video_Mode ................................................................................................................ 6-13fSetText_Video_Mode ..................................................................................................................... 6-13fGetText_Video_Mode .................................................................................................................... 6-13fSetSpeaker ...................................................................................................................................... 6-13fGetSpeaker ....................................................................................................................................... 6-14fSetHDD_BootSector ...................................................................................................................... 6-14fGetHDD_BootSector ..................................................................................................................... 6-14fSetHDD_Timeout............................................................................................................................. 6-14fGetHDD_Timeout .......................................................................................................................... 6-15fSetVideo_Timeout .......................................................................................................................... 6-16fGetVideo_Timeout ......................................................................................................................... 6-16fSetAutoSuspend_Timeout .............................................................................................................. 6-16fGetAutoSuspend_Timeout ............................................................................................................. 6-17fSetCPU_Speed ............................................................................................................................... 6-17fGetCPU_Speed .............................................................................................................................. 6-17FSetCPU_IdleMode ......................................................................................................................... 6-18fGetCPU_IdleMode ........................................................................................................................... 6-18fSetPwrMgmtMode ......................................................................................................................... 6-18fGetPwrMgmtMode ......................................................................................................................... 6-19fSetStandby_Timeout ...................................................................................................................... 6-19fGetStandby_Timeout ..................................................................................................................... 6-19fSetSuspend_Mode .......................................................................................................................... 6-20fGetSuspend_Mode ......................................................................................................................... 6-20fSetResumeOnModemRing ............................................................................................................. 6-20fGetResumeOnModemRing ............................................................................................................ 6-21fSetResumeTime .............................................................................................................................. 6-21fGetResumeTime ............................................................................................................................. 6-21fSetHotPad_Access .......................................................................................................................... 6-22fGetHotPad_Access ......................................................................................................................... 6-22

Chapter 7APIs for 32-Bit Windows Applications ........................................................................................ 7-1

Dynamically Linked Libraries for 32-Bit Application Development ..............................................................7-1HOTPAD32.DLL ........................................................................................................................................... 7-1

SetHotpadNotification ....................................................................................................................... 7-1Return Values ................................................................................................................................ 7-2Comments ...................................................................................................................................... 7-2

KillHotPadNotification .................................................................................................................... 7-2Return Value .................................................................................................................................. 7-2

ST1SET32.DLL ............................................................................................................................................... 7-3

vi

Page 9: Stylistic 1000 Technical Reference Guide - Fujitsusolutions.us.fujitsu.com/www/content/pdf/st1000trg.pdfFujitsu Personal Systems, Inc. No part of this publication may be copied, reproduced,

Session Buffer ...................................................................................................................................... 7-3SetupInitialize .................................................................................................................................. 7-3SetupExit .......................................................................................................................................... 7-3Return Values and Error Codes ....................................................................................................... 7-4

BIOS Configuration Functions ............................................................................................................ 7-4GetPermanent and SetPermanent....................................................................................................... 7-4

GetPermanent Return Values......................................................................................................... 7-6SetPermanent Return Values ......................................................................................................... 7-6

GetCurrent and SetCurrent .............................................................................................................. 7-6GetCurrent Return Values ............................................................................................................. 7-6SetCurrent Return Values .............................................................................................................. 7-7

SetResumeTime ............................................................................................................................... 7-8Return Values ................................................................................................................................ 7-9

GetResumeTime .............................................................................................................................. 7-9Return Value .................................................................................................................................. 7-9

Chapter 8BIOS Configuration Options ......................................................................................................... 8-1

BIOS Configuration Options Reference Table ................................................................................................ 8-1

Chapter 9STPENSET BIOS Configuration Utility ...................................................................................... 9-1

Starting STPENSET .......................................................................................................................................... 9-1Boot Options Menu............................................................................................................................................ 9-1Devices Menu .................................................................................................................................................... 9-2Power Savings Menu ......................................................................................................................................... 9-2

Power Savings Field .............................................................................................................................. 9-2Hard Disk Timeout Field ....................................................................................................................... 9-2Video Timeout Field.............................................................................................................................. 9-2Auto Suspend Timeout Field ................................................................................................................. 9-2CPU Idle Mode Field............................................................................................................................. 9-2Standby Timeout Field........................................................................................................................... 9-3Suspend Mode Field .............................................................................................................................. 9-3CPU Speed Field.................................................................................................................................... 9-3Resume on Modem Ring Field .............................................................................................................. 9-3Resume on Time Field ........................................................................................................................... 9-3HDD Head Retract Field........................................................................................................................ 9-3

Other Menu........................................................................................................................................................ 9-4Hard Disk Boot Sector Field.................................................................................................................. 9-4Hotpad Access Field .............................................................................................................................. 9-4

STPENSET Command Line Interpreter ............................................................................................................ 9-4Syntax ................................................................................................................................................................ 9-4

Example ................................................................................................................................................. 9-4

Chapter 10MFGCONF BIOS Configuration Utility ...................................................................................... 10-1

MFGCONF Command Line Syntax ................................................................................................................ 10-1MFGCONF Help Screen ..................................................................................................................... 10-1

vii

Page 10: Stylistic 1000 Technical Reference Guide - Fujitsusolutions.us.fujitsu.com/www/content/pdf/st1000trg.pdfFujitsu Personal Systems, Inc. No part of this publication may be copied, reproduced,

viii

Page 11: Stylistic 1000 Technical Reference Guide - Fujitsusolutions.us.fujitsu.com/www/content/pdf/st1000trg.pdfFujitsu Personal Systems, Inc. No part of this publication may be copied, reproduced,

List of Figures

Figure Page 0

Figure 1-1. System Interface Port Connector .................................................................................................. 1-10Figure 2-1. Power Management State Transitions ................................................................................................. 2-1Figure 4-1. Hotpad Locations .............................................................................................................................. 4-1

ix

Page 12: Stylistic 1000 Technical Reference Guide - Fujitsusolutions.us.fujitsu.com/www/content/pdf/st1000trg.pdfFujitsu Personal Systems, Inc. No part of this publication may be copied, reproduced,

x

Page 13: Stylistic 1000 Technical Reference Guide - Fujitsusolutions.us.fujitsu.com/www/content/pdf/st1000trg.pdfFujitsu Personal Systems, Inc. No part of this publication may be copied, reproduced,

List of Tables

Table Page 0

Table 1-1. Stylistic 1000 System Unit Specifications ......................................................................................... 1-3Table 1-2. Digitizer Specifications ..................................................................................................................... 1-7Table 1-3. System IRQ Assignments ................................................................................................................... 1-8Table 1-4. Upper Memory Allocation ................................................................................................................. 1-9Table 1-5. System Interface Port Connector Pin Assignments ......................................................................... 1-10Table 1-7. External Video Modes ....................................................................................................................... 1-13Table 1-6. Video Port Connector Pin Assignments............................................................................................... 1-13Table 1-8. RS-232 Serial Port Connector Pin Assignments.................................................................................. 1-14Table 1-9. Rx/Tx Serial Port Connector Pin Assignments .................................................................................... 1-14Table 1-10. Parallel Port Connector Pin Assignments ............................................................................................ 1-15Table 1-11. Keyboard Port Connector Pin Assignments......................................................................................... 1-15Table 1-12. Mouse Port Connector Pin Assignments.............................................................................................. 1-16Table 1-13. Floppy Disk Drive Connector Pin Assignments .................................................................................. 1-17Table 1-15. IrDA Port Specifications .................................................................................................................... 1-18Table 1-14. DC Power Input Connector Pin Assignments ...................................................................................... 1-18Table 2-1. System Power States ....................................................................................................................... 2-2Table 2-2. Windows 95 WM_POWERBROADCAST Message Parameters ....................................................... 2-4Table 3-1. PHDISK Command Line Options........................................................................................................ 3-3Table 3-2. PHDISK /CREATE Option.................................................................................................................. 3-5Table 3-3. PHDISK /REFORMAT Option ........................................................................................................... 3-6Table 3-4. PHDISK /DELETE Option .................................................................................................................. 3-6Table 3-5. PHDISK /INFO Option........................................................................................................................ 3-6Table 4-1. Programmable Hotpad Control Register ........................................................................................... 4-1Table 4-2. Contrast Control Register .................................................................................................................. 4-2Table 4-3. Backlight Control Register ................................................................................................................ 4-3Table 7-1. Parameters for Permanent BIOS Settings .......................................................................................... 7-5Table 7-2. Parameters for Current and Permanent BIOS Settings ....................................................................... 7-7Table 8-1. BIOS Configuration Options Reference Table .................................................................................. 8-1Table 9-1. Processor Speed ................................................................................................................................. 9-3Table 9-2. STPENSET Command Line Options ................................................................................................. 9-5Table 10-1. MFGCONF Command Options ......................................................................................................... 10-2

xi

Page 14: Stylistic 1000 Technical Reference Guide - Fujitsusolutions.us.fujitsu.com/www/content/pdf/st1000trg.pdfFujitsu Personal Systems, Inc. No part of this publication may be copied, reproduced,

xii

Page 15: Stylistic 1000 Technical Reference Guide - Fujitsusolutions.us.fujitsu.com/www/content/pdf/st1000trg.pdfFujitsu Personal Systems, Inc. No part of this publication may be copied, reproduced,

About This Guide

This guide provides technical information on the Stylistic 1000 primarily for users involved in application development and implementation. The guide gives information on the development libraries and utilities included on the Stylistic 1000 Developer Utilities disk in particular. Third-party hardware and software developers can also refer to this guide for details on Stylistic 1000 interfaces.

The information in this guide is supplemental to information in the Stylistic 1000 User’s Guide. Most details covered in the user’s guide are not covered in this technical reference. Information presented in this technical reference assumes that you have read the Stylistic 1000 User’s Guide. It is strongly recommended that you read the Stylistic 1000 User’s Guide to gain a working knowledge of the Stylistic 1000 before using the information presented in this technical reference.

Organization 0

This guide is organized as follows:

• Chapter 1 “Overview and Specifications” gives an overview of the Stylistic 1000 and provides detailed specifications for the system unit, port replicator, and peripheral connectors.

• Chapter 2 “Power Management” describes how power management is implemented on the Stylistic 1000. Power management interfaces for MS-DOS, Windows for Workgroups, and Windows 95 are also described.

• Chapter 3 “Save to Disk” provides information on using Save to Disk and gives details on using PHDISK to create a Save to Disk partition or file.

• Chapter 4 “Programmable System Functions” gives details on hardware registers that control the display contrast, display backlight, and programmable hotpad.

• Chapter 5 “Static Library Functions for MS-DOS Application Development” describes functions included in FJSYS.LIB, a static C library available for Stylistic 1000 application development.

• Chapter 6 “16-Bit Application Programming Interfaces” describes 16-bit dynamically linked libraries for the Stylistic 1000 that allow developers to access hardware-specific system functions from 16-bit Windows applications.

• Chapter 7 “32-Bit Application Programming Interfaces” describes 32-bit dynamically linked libraries for the Stylistic 1000 that allow developers to access hardware specific system functions from 32-bit Windows applications.

• Chapter 8 “BIOS Configuration Options” is provided as a reference for use with any of the BIOS configuration utilities for the Stylistic 1000.

• Chapter 9 “STPENSET BIOS Configuration Utility” gives details on using STPENSET to configure BIOS options.

• Chapter 10 “MFGCONF Configuration Utility” gives details on using the MFGCONF BIOS Configuration Utility to configure BIOS options. This utility can be used to configure the complete set of BIOS options. (Other utilities allow you to configure only a partial set of BIOS options.)

Related Documentation 0

The documents listed below contain additional information about the Stylistic 1000.

Stylistic 1000 User’s Guide (part number 58-0436-00)This manual gives instructions on using the Stylistic 1000 and also provides details on system configuration, installing options, connecting peripherals, and troubleshooting. Refer to the Stylistic 1000 User’s Guide for details on using Stylistic 1000 features that are not covered in this technical reference.

xiii

Page 16: Stylistic 1000 Technical Reference Guide - Fujitsusolutions.us.fujitsu.com/www/content/pdf/st1000trg.pdfFujitsu Personal Systems, Inc. No part of this publication may be copied, reproduced,

Stylistic 1000 External Battery Charger Operating Instructions (part number 58-0440-00)This instruction sheet is included with the external battery charger and provides details on operating the external battery charger (Fujitsu order number FMW24BC1) that can be used to charge the Stylistic 1000 battery pack.

Stylistic 1000 Accessories Guide (part number 58-0441-00)This guide provides instructions on using various accessories with the Stylistic 1000. The accessories covered in this guide are listed below (along with their Fujitsu order numbers).

• Desk Stand (FMWDS2)• Slip Case (FMWCC11)• Harsh Environment Case (FMWCC12)• Combination Carrying Case for Computer and Keyboard

(FMWCC13)• Hand Strap (FMWHS3)

PCMPlus User’s Manual and Technical Reference (part number 58-0430-00)(Order number: FMWRM1)This manual provides information on using PCMPlus software. PCMPlus software is included when you purchase Windows for Workgroups with your system; it provides drivers and configuration utilities for using PCMCIA cards.

Programmers Guide to Pen Services for Microsoft Windows 95 (ISBN 1-55615-835-1) This manual provides details on pen support for Microsoft Windows 95 and is available from Microsoft Press (1-800-MSPRESS). Note that Microsoft Windows for Workgroups and Windows 95 use the same API to provide pen support, so you can refer to this manual for details on application design for Windows for Workgroups as well as Windows 95.

Microsoft Developers Network CD-ROMThis CD-ROM provides details on application programming interfaces (APIs) used with Microsoft Windows and Windows 95. To order a copy of this CD-ROM, please call the Microsoft Developers Network at 800-759-5474 or send email to [email protected].

Advanced Power Management (APM) BIOS Interface Specification Revision 1.1The Stylistic 1000 is an APM 1.1 compliant system as defined in this specification. Application developers should refer to this specification for details on designing APM 1.1 compliant software. This specification is available from either Intel Corporation or Microsoft Corporation (Intel order number: 241704-001 or Microsoft part number: 781-110-X01). To order a copy of this specification, please contact one of the following:

• Intel CorporationLiterature Distribution CenterP.O. Box 7641Mt. Prospect, IL 60056-7641800-548-4725

• Microsoft CorporationHardware Vendor Relations Group1 Microsoft WayRedmond, WA 98052206-882-8080

xiv About This Guide

Page 17: Stylistic 1000 Technical Reference Guide - Fujitsusolutions.us.fujitsu.com/www/content/pdf/st1000trg.pdfFujitsu Personal Systems, Inc. No part of this publication may be copied, reproduced,

PCMCIA StandardsThe Stylistic 1000 and supporting system software comply with the PCMCIA Standards specifications up to and including PCMCIA Standard Release 2.1. PCMCIA Standards are published by: Personal Computer Memory Card International Association, 1030 East Duane Avenue, Suite G, Sunnyvale, CA 94086, 408-720-0107.

IrDA StandardsThe IrDA port on the Stylistic 1000 is compliant with IrDA (Infrared Data Association) Standard Version 1.0 published by: Infrared Data Association, 1776 Ygnacio Valley Road, Suite 212, Walnut Creek, CA 94598, 510-943-6546, http://www.irda.org.

Obtaining Other Related Specifications 0

The companies listed below manufacture various components built into the Stylistic 1000. To obtain specifications for specific components, such as integrated circuits (ICs), contact the component manufacturer directly. Refer to Table 1-1 to determine which ICs are manufactured by which companies.

Cirrus Logic, Inc.3100 West Warren AvenueFremont, CA 94538USA510-226-2323http://www.cirrus.com

Chips and Technologies, Inc.2950 Zanker RoadSan Jose, CA 95134USA408-434-0600

Standard Micro Systems, Inc.2107 North First StreetSuite 660San Jose, CA 95131USA408-441-0455

AMP, Inc.Harrisburg, PA 17105-3608USA800-522-6752

Obtaining Other Related Specifications xv

Page 18: Stylistic 1000 Technical Reference Guide - Fujitsusolutions.us.fujitsu.com/www/content/pdf/st1000trg.pdfFujitsu Personal Systems, Inc. No part of this publication may be copied, reproduced,

xvi About This Guide

Page 19: Stylistic 1000 Technical Reference Guide - Fujitsusolutions.us.fujitsu.com/www/content/pdf/st1000trg.pdfFujitsu Personal Systems, Inc. No part of this publication may be copied, reproduced,

Chapter 1

Overview and Specifications

This chapter gives an overview of the Stylistic 1000 features. Technical specifications for various system features are also provided. For details on using the Stylistic 1000, refer to the Stylistic 1000 User’s Guide.

System Overview 1

The Stylistic 1000 is a tablet computer designed to be IBM-AT compatible. An electromagnetic digitizer and stylus comprise the primary input device and user interface; an optional keyboard can also be attached. The system uses a 486 microprocessor that operates at a maximum speed of 100 MHz. The Stylistic 1000 is designed for mobile computing applications and is powered by a rechargeable lithium ion battery pack.

Supported Operating Systems 1

The following operating systems are supported by the Stylistic 1000:

• Windows 95 with Pen Services 2.0 and CIC HRS 5.0

• MS-DOS 6.2 and Windows for Workgroups 3.11 with Pen Extensions 1.0 and CIC HRS 4.01

Pen Support 1

Various utilities and drivers provide pen support for the Stylistic 1000. Pen support software for each operating system environment supported by the Stylistic 1000 is described below. (Some of these utilities are included on the Stylistic 1000 Developer Utilities disk while others can be ordered separately.)

Windows 95 Pen Support 1

Pen support for Windows 95 is provided by Pen Services 2.0. Pen Services 2.0 as provided with the Stylistic 1000 includes several files developed by Microsoft plus the following files developed by Fujitsu Personal systems to support the Stylistic 1000 specifically:

• VPENDC.VXDA virtual device driver for the pen

• PENC.DRVA pen device driver installed during system initialization

For details on application design for pen computing in the Windows 95 operating system, refer to the Programmers Guide to Pen Services for Microsoft Windows 95 (ISBN 1-55615-835-1) available from Microsoft Press (1-800-MSPRESS).

1-1

Page 20: Stylistic 1000 Technical Reference Guide - Fujitsusolutions.us.fujitsu.com/www/content/pdf/st1000trg.pdfFujitsu Personal Systems, Inc. No part of this publication may be copied, reproduced,

Windows for Workgroups Pen Support 1

Pen support for Windows for Workgroups is provided by Microsoft Pen Extensions 1.0. Pen Extensions 1.0 as provided with the Stylistic 1000 includes several files developed by Microsoft plus the following files developed by Fujitsu Personal Systems to support the Stylistic 1000 specifically:

• VKPEND.386A virtual device driver for the pen

• KPEN.DRVA pen device driver installed during system initialization

Note that Windows for Workgroups and Windows 95 both use the same 16-bit Application Programming Interface (API) to provide pen support, so refer to the Programmers Guide to Pen Services for Microsoft Windows 95 available from Microsoft Press for details on application design for pen computing using Windows for Workgroups APIs.

MS-DOS Pen Support 1

The following programs provide pen support for the Stylistic 1000 in the MS-DOS environment.

• PENMOUSE (included with Stylistic 1000 Developer Utilities)A pen driver that emulates the Microsoft Mouse driver version 6.2.

• Popup keyboard (included with Stylistic 1000 Developer Utilities)A TSR that divides the screen into two parts with an on-screen keyboard in the lower half and the MS-DOS command line in the upper half.

• PenDOS 2.2 (sold separately, order number FMWOS4)This utility allows you to use pen-based as well as mouse-based MS-DOS applications by providing an on-screen keyboard and a window for handwriting recognition input. PenDOS as provided by Fujitsu Personal Systems includes TDCML.EXE, a PenDOS driver specific to the Stylistic 1000. Refer to the documentation provided with this software for details on using PenDOS.

• PenRight! Runtime (sold separately, order number PQ-3114)This software is required to run PenRight! Pro or padBase applications. The PenRight! driver for the Stylistic 1000 is P_ST1000.RSC.

Development Tools and Utilities 1

The development tools and utilities listed below provide application developers with access to special system functions. (Development libraries and configuration utilities that are included with Stylistic 1000 Developer Utilities software are covered in Chapters 3 through 10 of this guide.)

• PenRight! Pro Toolkit (sold separately, order number PQ-3113)This kit includes development tools for pen-based Windows and MS-DOS application design. Note that PenRight! Runtime is required for each system unit running an application developed with PenRight! Pro Toolkit.

• HOTPAD.DLL (included with Stylistic 1000 Developer Utilities)This dynamically linked library (DLL) allows 16-bit Windows applications to access the programmable hotpad.

• HOTPAD32.DLL (included with Stylistic 1000 Developer Utilities)This dynamically linked library (DLL) allows 32-bit Windows applications to access the programmable hotpad.

• HPADTASK.EXE (included with Stylistic 1000 Developer Utilities) This is a sample Windows application that uses HOTPAD.DLL. Refer to the file HPADTASK.TXT for information on how to run this sample application.

1-2 Overview and Specifications

Page 21: Stylistic 1000 Technical Reference Guide - Fujitsusolutions.us.fujitsu.com/www/content/pdf/st1000trg.pdfFujitsu Personal Systems, Inc. No part of this publication may be copied, reproduced,

• ST1SETUP.DLL (included with Stylistic 1000 Developer Utilities)This is a 16-bit DLL that includes functions which allow 16-bit Windows applications to configure BIOS options.

• ST1SET32.DLL (included with Stylistic 1000 Developer Utilities)This is a 32-bit DLL that includes functions which allow 32-bit Windows applications to configure BIOS options.

• FJSYS.LIB (included with Stylistic 1000 Developer Utilities)This is a static library that includes functions which allow MS-DOS applications to configure BIOS options.

• MFGCONF.COM (included with Stylistic 1000 Developer Utilities)This is a program that can be used to configure most permanent (CMOS) BIOS options.

• PHDISK.EXE (included with Stylistic 1000 Developer Utilities) This program allows you to configure your system to use Save to Disk suspend mode.

• STPENSET.EXE (included with Stylistic 1000 Developer Utilities) This program allows you to configure most permanent and current BIOS options.

PCMCIA Support 1

The Stylistic 1000 has two PCMCIA slots that are compliant with electrical and physical specifications in PCMCIA Standard Release 2.1. In the Windows for Workgroups environment, support for the card services and socket services specifications in PCMCIA Standard Release 2.1 is provided by Phoenix CARD Manager Plus software version 3.x. In the Windows 95 environment, support for the card services and socket services specifications in PCMCIA Standard Release 2.1 is provided by the Windows 95 operating system.

System Unit Specifications 1

Specifications for the Stylistic 1000 system unit are given in Table 1-1.

Table 1-1. Stylistic 1000 System Unit Specifications

Feature Specification Comments

Dimensions 7.3" x 11.0" x 1.6"

185mm x 279mm x 40mm

Weight Color (DSTN) model: 3.74 lbs (1.70 Kg)

Monochrome (transmissive and transflective) models: 3.67 lbs (1.67 Kg)

With battery pack and hard disk drive

Architecture IBM-AT compatible

Microprocessor AMD Am486® DX4, 100 MHz8 KB on-chip cacheIntegrated math coprocessor

Memory

ROM 512 KB Flash BIOS

PCMCIA Support 1-3

Page 22: Stylistic 1000 Technical Reference Guide - Fujitsusolutions.us.fujitsu.com/www/content/pdf/st1000trg.pdfFujitsu Personal Systems, Inc. No part of this publication may be copied, reproduced,

RAM 8 MB DRAM

Upgradeable to 12 MB, 16 MB, 24 MB, or 40 MB

RAM is upgraded by installing one of the following:

4 MB DIMM card (FMW3EM4)

8 MB DIMM card (FMW3EM8)

16 MB DIMM card (FMW3EM16)

32 MB DIMM card (FMW3EM32)

Expansion Slots

ATA One ATA slot (mass storage) Accepts Type III PCMCIA-ATA hard disk card or Type II/III PCMCIA solid-state flash card: SanDisk models SDP-xx and SDPA-xx (where xx is capacity in megabytes).

PCMCIA Two PCMCIA slots

Compliant with PCMCIA Standard Revision 2.1

Accepts two Type II PCMCIA cards or one Type III PCMCIA card.

Display

DSTN color LCD Backlit, 8" (197mm) diagonal 0.25mm dot pitch640 x 480 VGA resolution256 colors1:1 aspect ratio

See video port specifications later in this table for video controller specifications.

Transflective monochrome LCD

Backlit, 8" (200mm) diagonal0.25mm dot pitch640 x 480 VGA resolution64 gray shades 1:1 aspect ratio

Transflective display is best suited for outdoor use.

Transmissive monochrome LCD

Backlit, 8" (200mm) diagonal0.25mm dot pitch640 x 480 VGA resolution64 gray shades1:1 aspect ratio

External Connectors and Interfaces

Keyboard 6-pin PS/2-style Supports Fujitsu low-power keyboard and most PS/2-style keyboards.

Mouse 6-pin PS/2-style Only with port replicator.

Parallel 25-pin D connector

Operational modes: output only, ECP, bidirectional

I/O controller IC used*:Standard Micro SystemsFDC37C665IR

Table 1-1. Stylistic 1000 System Unit Specifications (Continued)

Feature Specification Comments

1-4 Overview and Specifications

Page 23: Stylistic 1000 Technical Reference Guide - Fujitsusolutions.us.fujitsu.com/www/content/pdf/st1000trg.pdfFujitsu Personal Systems, Inc. No part of this publication may be copied, reproduced,

Video* Standard 15-pin video connector

VESA-compatible VGA controller with SVGA enhancements

1 MB built-in VRAM

External monitor only or simultaneous with LCD.

Video controller IC used*: Chips and Technologies 65545 VGA Controller

RS-232 serial port 9-pin RS-232C

NS 16C550 compatible

(Serial port A)

I/O controller IC used*:Standard Micro SystemsFDC37C665IR

IrDA port

See “IrDA Port” later in this chapter for more details.

Infrared LED built into system unit.

Compliant with IrDA Standard Revision 1.0

Disabled when Rx/Tx serial port (on port replicator) is selected for serial port B device.

I/O controller IC used*:Standard Micro SystemsFDC37C665IR

Rx/Tx serial port (only on port replicator)

9-pin connector on port replicator only

NS 16C550 compatible (receive and transmit functionality only)

Disabled when IrDA port is selected for serial port B device.

I/O controller IC used*:Standard Micro SystemsFDC37C665IR

System interface port 72-pin connector For port replicator.

External floppy disk drive

26-pin connector Battery pack must be removed for access to floppy disk drive connector on system unit.

Note that floppy driver connector on port replicator is recommended for connecting floppy drive.

DC power input + tip / - sleeve16 volts DC ±10%, 2.5 A

For use with AC adapter or auto adapter.

Battery charge contacts

2 surface contacts (+ and -) near system interface port connector. 16 volts DC ±10%, 2.5 A

For use with custom battery charging device.

Power

Battery pack Rechargeable lithium ion battery pack9 cells, 10.8 volts3750 mAh continuous current4100 mAh peak current (on:off ratio 4:5)500 charge cycles

Normal charge time (suspend or off): approx. 3 hours (90% charge) approx. 4 hours (99% charge) approx. 5 hours (100% charge)

Slow charge time (system running): approx. 15 to 20 hours (100% charge)

Battery life is 3-6 hours (application dependent).Battery capacity decreases to 60% of rated capacity after 500 full charge cycles.

Charge times are with FMWAC3A, FMWAC3B, or FMWAC3C AC adapter.

Table 1-1. Stylistic 1000 System Unit Specifications (Continued)

Feature Specification Comments

System Unit Specifications 1-5

Page 24: Stylistic 1000 Technical Reference Guide - Fujitsusolutions.us.fujitsu.com/www/content/pdf/st1000trg.pdfFujitsu Personal Systems, Inc. No part of this publication may be copied, reproduced,

* To order specifications on integrated circuits used in the Stylistic 1000, contact the manufacturer of the specific IC. See “Obtaining Other Related Specifications” in the “About This Guide” section of this manual for a list of IC manufacturers’ addresses and phone numbers.

DC input 16 volts DC ±10%, 2.5 A External power can be connected to DC input connector on the system unit or the port replicator.

Bridge battery Nickel-cadmium7.2 volts, 80 mAh, 6 cells

Replaceable, can be removed for recycling.

Real time clock battery

Built-in lithium battery

AC adapter Autosensing 100-240 VAC, 50/60 Hz AC power cable differs for North American and European models.

Power management Save to Disk, Suspend, and Standby modes

Supports Intel and Microsoft APM (Advanced Power Management) Revision 1.1

Environmental Specifications

Temperature Operating: 0° to 35°C (32° to 95°F) Nonoperating: -20° to 60°C (-4° to 140°F)

Humidity Operating: 20% to 85% RH (noncondensing) Nonoperating: 8% to 95% RH (noncondensing)

Altitude Operating: -200 ft. to 10,000 ft.(-61m to 3,047m)Nonoperating: 40,000 ft. maximum(12,189m)

Agency Approvals

Emissions FCC Class B, DOC Class B, CISPR 22 Class B

Immunity CE (IEC801-2, IEC801-3, IEC801-4)

Safety UL 1950, CSA 950, TUV IEC950

Table 1-1. Stylistic 1000 System Unit Specifications (Continued)

Feature Specification Comments

1-6 Overview and Specifications

Page 25: Stylistic 1000 Technical Reference Guide - Fujitsusolutions.us.fujitsu.com/www/content/pdf/st1000trg.pdfFujitsu Personal Systems, Inc. No part of this publication may be copied, reproduced,

Digitizer Specifications 1

The Stylistic 1000 digitizer consists of the stylus, a sensor grid, and supporting controller circuitry. The sensor grid is built into the system unit behind the display screen and receives an electromagnetic signal from the stylus. The stylus transmits an electromagnetic signal that reveals the stylus location relative to the sensor grid. The stylus signal is received by the sensor grid when the stylus is within a minimum proximity of 0.375 inches from the the screen surface. This allows the stylus to control the cursor position without touching the screen surface. Switch information on the stylus is determined by the characteristics of the signal transmitted from the pen. Left and right mouse button functions are simulated with pen tip and pen button, respectively. Digitizer specifications are given in Table 1-2.

Note: The stylus tip switch must be pressed to initiate normal stylus mode (stylus transmitting). The stylus enters idle mode when the stylus timeout expires (a period of time with no tip switch activation).

Table 1-2. Digitizer Specifications

Feature Specification Comments

Proximity 0.375 in(9.53 mm)

Minimum distance from stylus tip to screen surface.

Active area 122 mm x 162 mm

Resolution 1016 points/in(40 points/mm)

Maximum sampling rate 133 points per second

Interface Serial

System interrupt IRQ15

Communications port COM4

Stylus switches Tip switch: 55 grams maximum activation force. Minimum life 5,000,000 actuations.

Side: 160 grams maximum activation force. Minimum life 500,000 actuations.

Tips are replaceable.

Replacement tip order number: FMWPNT2.

Stylus battery 1.5 volt, alkaline, AAAA size

Voltage range: 1.1 to 1.6 volts

Suggested battery: Eveready model E96.

Continuous running time: 1190 hours (1674 hours typical).

Typical battery life is 80 weeks (20 hours of use per week).

Stylus power consumption Normal mode: 380 uA max (270 uA typical)

Idle mode: 3.5 uA max (1.5 uA typical)

Stylus is in idle mode unless tip switch is pressed. (Pressing the side switch alone will not initiate normal operation.) Stylus will enter idle mode when 3.5 to 10 minutes (5 minutes nominal) elapse with no tip switch activity.

Stylus circuitry is protected against battery reverse polarity.

Digitizer Specifications 1-7

Page 26: Stylistic 1000 Technical Reference Guide - Fujitsusolutions.us.fujitsu.com/www/content/pdf/st1000trg.pdfFujitsu Personal Systems, Inc. No part of this publication may be copied, reproduced,

System Resource Allocation 1

System resources for the Stylistic 1000 are allocated as described below when the system ships from the factory. If you install additional PCMCIA cards, or reconfigure system resources, ensure that system resources do not conflict.

IRQ Assignments 1

Table 1-3 shows IRQ assignments for the Stylistic 1000. Any additional feature cards installed in your system should use IRQs that are listed as Available in this table and should not use IRQs assigned to other feature cards. IRQs cannot be shared.

Table 1-3. System IRQ Assignments

* IRQ5 is the factory setting for the integrated spread spectrum radio permanently installed in the Stylistic 1000 RF.

† IRQ15 and COM4 are reserved for use by the digitizer. Do not change resource assignments for IRQ15 and COM4.

IRQ Device

00 System timer

01 Keyboard

02 Programmable interrupt controller

03 Serial port B (Rx/Tx serial port or IrDA port). IRQ assignment for serial port B device is selected in BIOS.

04 Serial Port A (RS-232 Serial Port).IRQ assignment for serial port A can be selected in the BIOS.

05 Available*

06 Floppy disk controller

07 Parallel port

08 Real time clock

09 Available

10 PCMCIA controller

11 Available

12 Mouse (when port replicator and PS/2-style mouse are used)

13 Numeric data processor

14 Hard disk controller

15 Digitizer†

1-8 Overview and Specifications

Page 27: Stylistic 1000 Technical Reference Guide - Fujitsusolutions.us.fujitsu.com/www/content/pdf/st1000trg.pdfFujitsu Personal Systems, Inc. No part of this publication may be copied, reproduced,

Upper Memory Allocation 1

When you are running Windows for Workgroups, system hardware, cards, and drivers installed in your system must be allocated to unique and exclusive upper memory address space. Table 1-4 shows memory areas that are available and memory that is allocated to system functions. If you install additional cards and drivers, ensure that they are configured to use memory that is available and does not conflict with other drivers installed in your system. To determine whether a specific upper memory area is free, use the Microsoft diagnostics application MSD.EXE.

Table 1-4. Upper Memory Allocation

* This is the default upper memory area used by MS-DOS and Windows for Workgroups PCMCIA drivers.

† This is the factory setting for the integrated spread spectrum radio permanently installed in the Stylistic 1000 RF.

Port Replicator 1

The Stylistic 1000 port replicator is an optional hardware component that provides quick connection to peripheral devices. The port replicator duplicates peripheral connectors on the system unit and provides an additional Rx/Tx serial port and a mouse port. Connectors that are duplicated by the port replicator are connected to the same signal lines as corresponding connectors on the system unit.

Specifications on the interfaces provided by the port replicator are given later in this chapter. For information on using the port replicator, see the Stylistic 1000 User’s Guide.

System Interface Port (Port Replicator Connector) 1

The system interface port that connects to the port replicator uses a 72-pin AMP connector. AMP part numbers for the system interface port connectors are:

• AMP part number 179136-1 Female connector on system unit

• AMP part number 179139-1 Male connector on port replicator

These connectors have a rated useable life of 5,000 insertions. For detailed specifications on these connectors, see “Obtaining Other Related Specifications” in the “About This Guide” section of this manual for information on the connector manufacturer.

Address Range System Function

A000 - BFFF Video RAM (This area is the memory window for built in 1 MB VRAM.)

C000 - C7FF Video BIOS(The video BIOS is shadowed in this memory area.)

C800 - CAFF Available*

CB00 - CFFF Available

D000 - D3FF Available†

D400 - EFFF Available

F000 - FFFF BIOS (The system BIOS is shadowed in this memory area.)

Port Replicator 1-9

Page 28: Stylistic 1000 Technical Reference Guide - Fujitsusolutions.us.fujitsu.com/www/content/pdf/st1000trg.pdfFujitsu Personal Systems, Inc. No part of this publication may be copied, reproduced,

Figure 1-1 shows the pin locations for the system interface port connector.

Figure 1-1. System Interface Port Connector

Note: Connectors on the system unit for peripheral interfaces should not be used when the port replicator is attached to the system unit.

The pin assignments on this connector are provided in Table 1-5 as reference information for third-party hardware developers. Signals designated with the # symbol are active low; all other signals are active high. Note that the system interface port connector is not a “hot pluggable” connector. You must fully power down the system unit or put it in suspend mode before connecting the port replicator or any other peripheral devices to the system interface port.

Table 1-5. System Interface Port Connector Pin Assignments

Pin SignalInput/

Output/Bus

Level Description Port or Connector

1 KCLKPR Bus +3/+5 V Clock Keyboard port

2 3VKB Out +3.3 V Power for Fujitsu low-power keyboard Keyboard port

3 MSDATA Bus +5 V Mouse data Mouse port

4 FDIRC# Out +5 V Direction control Floppy disk drive port

5 FTRK0# Out +5 V Track 00 Floppy disk drive port

6 FSTEP# Out +5 V Step pulse Floppy disk drive port

7 FDATCH# Out +5 V Floppy disk drive attached Floppy disk drive port

8 FINDEX# Out +5 V Index Floppy disk drive port

9 FDSEL# Out +5 V Drive select Floppy disk drive port

10 FRDDT# Out +5 V Read disk data Floppy disk drive port

11 RIA In (V.28) Ring indicator RS-232 serial port

12 DSRA In (V.28) Data set ready RS-232 serial port

13 SINA# In (V.28) Receive data RS-232 serial port

14 SOUTA# Out (V.28) Transmit data RS-232 serial port

15 PAFD# Out +5 V Auto feed Parallel port

16 PACK# In +5 V Acknowledge Parallel port

17 POW1 In +16 V DC power input External power connector

18 POW1 In +16 V DC power input External power connector

19 KBSMIPR In +3/+5 V SMI request Keyboard port

20 KDATAPR Bus +3/+5 V Serial data Keyboard port

1193755

18365472

1-10 Overview and Specifications

Page 29: Stylistic 1000 Technical Reference Guide - Fujitsusolutions.us.fujitsu.com/www/content/pdf/st1000trg.pdfFujitsu Personal Systems, Inc. No part of this publication may be copied, reproduced,

21 MSCLK Bus +5 V Mouse clock Mouse port

22 FDCHG# Out +5 V Disk change Floppy disk drive port

23 FWG# Out +5 V Write gate Floppy disk drive port

24 FWP# Out +5 V Write protected Floppy disk drive port

25 FWD# Out +5 V Write data Floppy disk drive port

26 FSIDE# Out +5 V Head select Floppy disk drive port

27 TXDB# Out (V.28) Transmit data Rx/Tx serial port

28 RXDB# In (V.28) Receive data Rx/Tx serial port

29 CTSA In (V.28) Clear to send RS-232 serial port

30 DTRA Out (V.28) Data terminal ready RS-232 serial port

31 DCDA Out (V.28) Carrier detect RS-232 serial port

32 PSLIN# Out +5 V Select input Parallel port

33 PSLCT In +5 V Select Parallel port

34 PRD7 Buss +5 V Data bit 7 Parallel port

35 POW1 In +16 V DC power input External power connector

36 POW1 In +16 V DC power input External power connector

37 GND Ground

38 GND Ground

39 5VMAIN Out +5 V 5-Volt power

40 GND Ground

41 FMODE# Out +5 V Floppy mode select Floppy disk drive port

42 GND Ground

43 FMOTOR# Out +5 V Motor on Floppy disk drive port

44 GND Ground

45 PORTREP# In +5V Port replicator detect System interface port

46 RTSA Out (V.28) Request to send RS-232 serial port

47 PINIT# Out Initialize Parallel port

48 PPE In Paper out Parallel port

49 PRD0 +5V Data bit 0 Parallel port

50 PRD2 +5V Data bit 2 Parallel port

51 PRD4 +5V Data bit 4 Parallel port

52 PRD6 +5V Data bit 6 Parallel port

Table 1-5. System Interface Port Connector Pin Assignments (Continued)

Pin SignalInput/

Output/Bus

Level Description Port or Connector

System Interface Port (Port Replicator Connector) 1-11

Page 30: Stylistic 1000 Technical Reference Guide - Fujitsusolutions.us.fujitsu.com/www/content/pdf/st1000trg.pdfFujitsu Personal Systems, Inc. No part of this publication may be copied, reproduced,

# Indicates active low signal.

Signals designated as In are inputs to the system unit, and signals designated as Out are outputs from the system unit.

All GND signals are connected to a common ground.

Peripheral Connectors 1

Specifications for peripheral connectors on the Stylistic 1000 system unit and port replicator are given below. (Note that the specifications for connectors on the system unit are the same as those for connectors on the port replicator.) For details on using these connectors with peripheral devices, refer to the Stylistic 1000 User’s Guide.

53 GND Ground

54 GND Ground

55 GND Ground

56 GND Ground

57 5VMAIN Out +5V 5-Volt power

58 VGAB Out Analog Blue analog video output Video port

59 GND Ground

60 VGAG Out Analog Green analog video output Video port

61 GND Ground

62 VGAR Out Analog Red analog video output Video port

63 VGAVS Out Analog Vertical sync Video port

64 VGAHS Out Analog Horizontal sync Video port

65 PERR In +5V Error Parallel port

66 PBUSY In +5V Busy Parallel port

67 PSTB Out +5V Strobe Parallel port

68 PRD1 Buss +5V Data bit 1 Parallel port

69 PRD3 Buss +5V Data bit 3 Parallel port

70 PRD5 Buss +5V Data bit 5 Parallel port

71 GND Ground

72 GND Ground

Table 1-5. System Interface Port Connector Pin Assignments (Continued)

Pin SignalInput/

Output/Bus

Level Description Port or Connector

1-12 Overview and Specifications

Page 31: Stylistic 1000 Technical Reference Guide - Fujitsusolutions.us.fujitsu.com/www/content/pdf/st1000trg.pdfFujitsu Personal Systems, Inc. No part of this publication may be copied, reproduced,

Video Port 1

The video port on the Stylistic 1000 provides a standard VGA connector that allows you to use the Stylistic 1000 with an external monitor alone or simultaneously with the system’s display screen. Pin assignments for the video port connector are shown in Table 1-6.

The video controller in the Stylistic 1000 is a VESA (Video Electronics Standards Association) compatible VGA controller that supports all standard VGA modes plus “super” VGA or SVGA enhancements. (See the video port specifications in Table 1-1 earlier in this chapter for information on the video controller chip manufacturer.) An external monitor connected to the video port can operate simultaneously with the system unit display at 640x480 resolution. The video controller in the Stylistic 1000 can drive an external monitor at higher resolutions (up to 1024x768). However, driving an external monitor at resolutions higher than 640x480 will disable the system unit display. Table 1-7 shows video modes that the video controller supports with an external monitor. Note that this table shows only some of the more common video modes; the video controller is capable of operating in several other video modes. Your video driver software may not be capable of operating the video controller in all of these video modes.

Table 1-7. External Video Modes

Table 1-6. Video Port Connector Pin Assignments

Connector Pin Locations Pin Signal

1 Red analog video output (VGAR)

2 Green analog video output (VGAG)

3 Blue analog video output (VGAB)

4 Not used

5 – 8 Ground

9 Not used (no pin in connector)

10 Ground

11 Not used

12 Not used

13 Horizontal sync (VGAHS)

14 Vertical sync (VGAVS)

15 Not used

Resolution Colors Horizontal Frequency

Vertical Frequency

640x480 256 31.5 KHz 60 Hz

640x480 32,000 31.5 KHz 60 Hz

640x480 64,000 31.5 KHz 60 Hz

640x480 16,000,000 27.1 KHz 51.6 Hz

800x600 256 37.5 KHz 60 Hz

1024x768 256 48.5 KHz 60 Hz

Peripheral Connectors 1-13

Page 32: Stylistic 1000 Technical Reference Guide - Fujitsusolutions.us.fujitsu.com/www/content/pdf/st1000trg.pdfFujitsu Personal Systems, Inc. No part of this publication may be copied, reproduced,

RS-232 Serial Port 1

The RS-232 serial port is a male 9-pin D connector that provides full RS-232 functionality. Pin assignments for the RS-232 serial port are shown in Table 1-8.

Rx/Tx Serial Port 1

The Rx/Tx serial port provides only receive and transmit serial communications. It is not a full function RS-232 serial port. (You must select the Rx/Tx serial port as the serial port B device to enable the Rx/Tx serial port.) Table 1-9 shows the pin assignments for the Rx/Tx serial port connector.

* Resistor connected between this pin and system ground internally.

Table 1-8. RS-232 Serial Port Connector Pin Assignments

Connector Pin Locations Pin Signal

1 Carrier detect (CD)

2 Receive data (RxD)

3 Transmit data (TxD)

4 Data terminal ready (DTR)

5 Ground (GND)

6 Data set ready (DSR)

7 Request to send (RTS)

8 Clear to send (CTS)

9 Ring indicator (RI)

Table 1-9. Rx/Tx Serial Port Connector Pin Assignments

Connector Pin Locations Pin Signal

1 No connection

2 Receive data (RxD)

3 Transmit data (TxD)

4 Pull down resistor* (10K ohms)

5 Ground (GND)

6 No connection

7 Pull down resistor* (10K ohms)

8 No connection

9 No connection

1-14 Overview and Specifications

Page 33: Stylistic 1000 Technical Reference Guide - Fujitsusolutions.us.fujitsu.com/www/content/pdf/st1000trg.pdfFujitsu Personal Systems, Inc. No part of this publication may be copied, reproduced,

Parallel Port 1

The parallel port connector on the Stylistic 1000 is a 25-pin female D connector. Pin assignments are shown in Table 1-10.

# Indicates active-low signal.

Keyboard Port 1

The keyboard port on the Stylistic 1000 has a PS/2-style keyboard connector. This keyboard port is compatible with most PS/2-style keyboards. Note however, that signals on pins 2 and 6 are not used by standard PS/2-style keyboards. The Fujitsu low-power keyboard is powered by 3.3 volts on pin 6. Conventional PS/2-style keyboards are powered by 5 volts on pin 4. The keyboard port pin assignments are shown in Table 1-11.

Table 1-10. Parallel Port Connector Pin Assignments

Connector Pin Locations Pin Signal

1 Strobe

2 – 9 Data bits 0 – 7, respectively

10 Acknowledge#

11 Busy

12 Paper out

13 Select

14 Auto feed#

15 Error#

16 Initialize#

17 Select input#

18 – 25 Ground

Table 1-11. Keyboard Port Connector Pin Assignments

Connector Pin Locations Pin Signal

1 Serial data

2 SMI request

3 Ground

4 5-Volt power

5 Clock

6 +3.3-Volt power

Sleeve Ground

Peripheral Connectors 1-15

Page 34: Stylistic 1000 Technical Reference Guide - Fujitsusolutions.us.fujitsu.com/www/content/pdf/st1000trg.pdfFujitsu Personal Systems, Inc. No part of this publication may be copied, reproduced,

Mouse Port (Port Replicator Only) 1

The mouse port on the port replicator is compatible with the PS/2-style mouse interface. Pin assignments are shown in Table 1-12.

Table 1-12. Mouse Port Connector Pin Assignments

Connector Pin Locations Pin Signal

1 Serial data

2 No connection

3 Ground

4 5-volt power

5 Clock

6 No connection

Sleeve Ground

1-16 Overview and Specifications

Page 35: Stylistic 1000 Technical Reference Guide - Fujitsusolutions.us.fujitsu.com/www/content/pdf/st1000trg.pdfFujitsu Personal Systems, Inc. No part of this publication may be copied, reproduced,

Floppy Drive Connector 1

The floppy drive connector is compatible with the Fujitsu FMWFD2 floppy disk drive. Pinouts for the floppy drive connector are given in Table 1-13.

# Indicates active-low signal.

Table 1-13. Floppy Disk Drive Connector Pin Assignments

Connector Pin Locations Pin Signal

1 Ground

2 Ground

3 Head select (FSIDE#)

4 Read disk data (FRDDT#)

5 Floppy disk drive attached (FDATCH#)

6 Write data (FWD#)

7 Mode select (FMODE#)

8 No connection

9 Drive select (FDSEL#)

10 5-Volt power (5VMAIN)

11 5-Volt power (5VMAIN)

12 5-Volt power (5VMAIN)

13 Index (FINDEX#)

14 Write protected (FWP#)

15 Track 00 (FTRK0#)

16 Ground

17 Write gate (FWG#)

18 Ground

19 No connection

20 Step pulse (FSTEP#)

21 Direction control (FDIRC)

22 Motor on (FMOTOR#)

23 No connection

24 Disk change (FDCHG#)

25 GND

26 No connection

25 23 21 19 17 15 13 11 9 7 5 3 1

26 24 22 20 18 16 14 12 10 8 6 4 2

Peripheral Connectors 1-17

Page 36: Stylistic 1000 Technical Reference Guide - Fujitsusolutions.us.fujitsu.com/www/content/pdf/st1000trg.pdfFujitsu Personal Systems, Inc. No part of this publication may be copied, reproduced,

DC Power Input 1

The DC power connector connects to the AC adapter or auto adapter to power the system unit and charge the battery pack and bridge battery. The DC power input connector is a two conductor connector with a center pin and sleeve. The DC power input connector on the system unit and port replicator is manufactured by Hosiden (Hosiden part number HEC3900-01-010). Pin assignments for this connector are given in Table 1-14.

When a DC power source is connected to the port replicator, the port replicator filters DC power and provides protection against reverse polarity at the DC input before DC power is supplied to the system unit via the system interface port. A fuse built into the port replicator provides circuit overload protection. This fuse is not user serviceable.

When a DC power source is connected to the DC power input on the system unit, circuitry built into the system unit provides protection against reverse polarity and overload.

IrDA Port 1

The IrDA port on the Stylistic 1000 is compliant with the Infrared Data Association (IrDA) Standard Revision 1.0. Before you can use the IrDA port, the serial port B device BIOS option must be set to infrared. Specifications for the IrDA port on the Stylistic 1000 are given in Table 1-15.

Table 1-15. IrDA Port Specifications

IrDA Drivers for Windows for Workgroups 1

Puma Technology’s TranXit is the IrDA driver that is provided when you purchase Windows for Workgroups with your system. For information on using TranXit, open TranXit Help by double tapping on the TranXit Help icon.

IrDA Drivers for Windows 95 1

IrDA drivers for Windows 95 are included with Windows 95 operating system software. Refer to Windows 95 on-line help for details on enabling infrared interfaces.

Table 1-14. DC Power Input Connector Pin Assignments

Conductor Description

Center Pin 16 Volts DC (+)

Sleeve GND

Feature Specification

Standard supported IrDA Standard Revision 1.0

Distance 1 to 100 cm point to point

Conveyable wave Infrared rays (wavelength 875 nm)

Signal Send data / Receive data

Modulation IrDA SIR

Data rate 2.4 to 115.2 Kbps (half duplex)

Angle 15° off center (30° viewing angle)

1-18 Overview and Specifications

Page 37: Stylistic 1000 Technical Reference Guide - Fujitsusolutions.us.fujitsu.com/www/content/pdf/st1000trg.pdfFujitsu Personal Systems, Inc. No part of this publication may be copied, reproduced,

Chapter 2

Power Management

The Stylistic 1000 is compliant with the Advanced Power Management (APM) BIOS Interface Specification Revision 1.1. This specification was developed jointly by Intel and Microsoft corporations. If you are developing an APM-aware application, obtain a copy of this specification from Intel or Microsoft for specific information about APM 1.1. See “Related Documentation” in the “About This Guide” section of this manual for details on how to order the APM specification.

System Power States and State Transitions 2

Power management is achieved by controlling transitions between the following system states: fully on, idle, standby, suspend, and off. Figure 2-1 illustrates transitions between system power states and describes events that trigger transitions from one state to the next.

Figure 2-1. Power Management State Transitions

Fully On

Idle Suspend

Standby

Off

• BIOS determines that all applications are idle

• Main power switch turned on after system shutdown or Save to Disk suspend

• Suspend button (after Windows 95 shutdown)

State

State State

State

State

• Main power switch • Windows 95 shutdown• Suspend button (Save to

Disk suspend mode)

• Suspend button (normal suspend mode)

• APM suspend request • Critically low battery

• Suspend button• Resume on time• Resume on modem ring

• System activity detected (pen, keyboard, mouse, serial I/O, parallel I/O, floppy drive, HDD, PCMCIA)

• System activity detected (pen, keyboard, mouse, serial I/O, parallel I/O, floppy drive, HDD, PCMCIA)

• Autosuspend timeout expires

• Standby timeout expires

Note: The system can be suspended by pressing the suspend button when in the fully on state, idle state, or standby state. Further power control over individual devices, such as the hard disk drive, is achieved through device timeouts.

2-1

Page 38: Stylistic 1000 Technical Reference Guide - Fujitsusolutions.us.fujitsu.com/www/content/pdf/st1000trg.pdfFujitsu Personal Systems, Inc. No part of this publication may be copied, reproduced,

System activity for each system power state is described in Table 2-1. These power management states correspond with the system power states defined in the APM 1.1 specification. Options selected in your system’s BIOS and operating system determine whether all or a subset of system power states are utilized. If your system is configured to use Save to Disk, the system enters the off state rather than the suspend state when the suspend button is pressed or a suspend request is issued. To restore the system after a save-to-disk operation, you must toggle the main power switch off and then on.

Table 2-1. System Power States

* To use CPU idle mode, the CPU speed BIOS option must be set to fast and the CPU idle mode BIOS option must be enabled.

Power Management BIOS Configuration Options 2

The simplest way to customize power usage for your application is by setting power management BIOS configuration options. The Stylistic 1000 BIOS allows you to enable or disable power management features and set timeouts for individual devices and state transitions. The configuration option settings that are best for your application depend on such factors as how often the system is used, the amount of processing power required by your application, and the nature of the tasks that the user must perform. For a list of BIOS configuration options for power management, see Chapter 8 “BIOS Configuration Options.”

Application Design for Power Management 2

The APM BIOS allows application developers to gain control over system state transitions by designing APM-aware applications. APM-aware applications are applications that monitor or respond to power management events or request power management state transitions. For example, when the suspend timeout expires, or the suspend button is pressed, a suspend request is generated by the BIOS. A power-aware application can block the suspend request and prevent the system from entering suspend mode or allow the suspend operation to be executed (provided no other applications block the suspend request). This is useful if your application performs critical tasks such as data transfers that should not be

System State System Activity

Fully On System is running. CPU is at 100MHz when CPU speed is Fast; 50 MHz if CPU speed is Slow.

Idle*(CPU Idle Mode)

System is running. CPU speed drops to 50MHz when CPU Idle Mode is enabled. (The BIOS determines when the system is idle by monitoring system activity. When 16 seconds have elapsed with a lack of system activity, the system enters idle mode.)

Standby System is running. Display backlight is turned off. CPU speed is 50MHz when CPU Idle Mode is enabled. Hard disk drive is spun down.

Suspend System is not running. Display and video controller are off. CPU is off, other system circuitry is powered down or in low-power state. Hard disk drive is off. Peripheral interfaces are turned off. RAM is powered. PCMCIA sockets are powered if resume on modem ring is enabled.

Off

System is fully powered down. RAM is not powered.

2-2 Power Management

Page 39: Stylistic 1000 Technical Reference Guide - Fujitsusolutions.us.fujitsu.com/www/content/pdf/st1000trg.pdfFujitsu Personal Systems, Inc. No part of this publication may be copied, reproduced,

interrupted. Note that a critical suspend event, which occurs when the battery reaches a critically low level, cannot be blocked by applications.

The Stylistic 1000 complies with the APM model for power management events by allowing applications to issue and respond to the suspend request and other APM broadcast messages. To incorporate APM broadcast messages in your application design, use the operating system’s power management interface.

Note: To set BIOS power management configuration options from your application you can, use the development libraries in the Stylistic 1000 Developer Utilities (described in Chapters 5, 6, and 7).

Different operating systems use different mechanisms to communicate power management messages between applications, the operating system, and the BIOS. The APM interface for each operating system supported with the Stylistic 1000 is described below.

MS-DOS APM Interface 2

The APM interface for MS-DOS is provided by POWER.EXE. POWER.EXE is located in the C:\DOS directory. Your CONFIG.SYS file contains an entry for POWER.EXE that causes POWER.EXE to load as a driver when you boot MS-DOS. (Note that POWER.EXE can also be used as an MS-DOS command. For details, see your MS-DOS user documentation.)

Note: The APM driver POWER.EXE from Microsoft is compliant with the Advanced Power Management Specification Revision 1.0.

State Transitions in MS-DOS 2

MS-DOS power management state transitions are broadcast through software interrupt INT 2Fh. This allows APM-aware MS-DOS applications to prepare for state changes. For example, an application can reject a suspend request if a critical process is under way or the application can allow the suspend request to proceed. MS-DOS applications must intercept INT 2F and check the CPU registers to receive APM broadcast messages. Refer to MS-DOS Power Management documentation for details on APM broadcast messages and events.

Windows for Workgroups Power Management Interface 2

The APM driver for Windows for Workgroups is POWER.DRV. To enable the power management interface, POWER.DRV must be listed in the drivers= entry in your SYSTEM.INI file. This driver allows Windows applications to receive power event notification through the WM_POWER message.

Note: The APM driver POWER.DRV from Microsoft is compliant with the Advanced Power Management Specification Revision 1.0.

When a suspend or resume event occurs, the message WM_POWER is sent to all top-level windows. APM-aware applications can respond to this message and prepare for or block the system from entering suspend mode. See your Windows programming documentation for details on the WM_POWER message.

Windows 95 Power Management Interface 2

The APM driver for Windows 95 is POWER.DRV. (Note that this file is different from the APM driver for Windows for Workgroups.) Windows 95 allows 32-bit applications to submit a suspend request using the Win32 API function SetSystemPowerState. Refer to the Microsoft Developers Network CD-ROM for details on the Win32 API.

Application Design for Power Management 2-3

Page 40: Stylistic 1000 Technical Reference Guide - Fujitsusolutions.us.fujitsu.com/www/content/pdf/st1000trg.pdfFujitsu Personal Systems, Inc. No part of this publication may be copied, reproduced,

Windows 95 Power Message 2

Windows 95 sends information on power management events to all applications via the WM_POWERBROADCAST message. Parameters for the WM_POWERBROADCAST message that indicate various power management events are listed in Table 2-2 with a brief description of each.

Table 2-2. Windows 95 WM_POWERBROADCAST Message Parameters

wParam Description

PBT_APMPOWERSTATUSCHANGE Sent to indicate system power status change.

PBT_APMQUERYSUSPEND Sent to request permission to suspend.

PBT_APMSUSPEND Sent immediately before the system enters suspend.

PBT_APMQUERYSUSPENDFAILED Sent when a suspend request is denied.

PBT_APMRESUMESUSPEND Sent when system operation is restored (resume) after a suspend operation.

PBT_APMRESUMECRITICAL Sent when system operation is restored (resume) after a critical suspend operation.

2-4 Power Management

Page 41: Stylistic 1000 Technical Reference Guide - Fujitsusolutions.us.fujitsu.com/www/content/pdf/st1000trg.pdfFujitsu Personal Systems, Inc. No part of this publication may be copied, reproduced,

Chapter 3

Save to Disk

The Stylistic 1000 BIOS allows you to configure your system in two different suspend modes: suspend or Save to Disk. When you select Save to Disk mode, all data in system memory is stored on the hard disk drive when the system is suspended and system power is turned off completely. (Compare to normal suspend mode, which maintains power to RAM and some other devices depending on BIOS settings.) When the system resumes from Save to Disk mode, system memory is restored using the data saved on the hard disk drive and any application that was interrupted resumes at the same point program execution stopped, returning program flow back to the application.

Save to Disk Features 3

Save to Disk has the following features:

• Save-to-disk partition and MS-DOS file support for save-to-partition or save-to-file configurations• Real-time mode select

The suspend mode can be selected using any of the BIOS configuration utilities or the Power Management control panel applet. (A save-to-disk file or partition must already exist.)

• High performanceThe Stylistic 1000 runs Save to Disk in local cached memory.

• High-speed algorithmMemory is copied to the hard disk drive in 512 KB blocks. A test is performed to determine whether data in each block contains all zeros. Blocks that contain all zeros are mapped into a table rather than copied to the hard disk drive when Save to Disk is performed.

Partition and File Considerations 3

You can configure your system to store save-to-disk data in either a partition or in an MS-DOS file. Issues you should consider before configuring your system with a save-to-disk partition or file are discussed below.

Save-to-Disk Partition 3

You must back up all data on the hard disk before you create a save-to-disk partition. Creating or resizing a save-to-disk partition will reformat the entire hard disk erasing all data stored on the disk. Once the partition is created, you must restore any valuable hard disk data from the backup you created. You can avoid the task of backing up and restoring data if you use a save-to-disk file instead of a partition.

The size of your save-to-disk partition or file must be adequate for the amount of memory installed in your system. If you create a save-to-disk partition, and later add memory to your system, you will need to create a new save-to-disk partition or file.

Once you have created a save-to-disk partition, the hard disk space occupied by that partition will remain unusable by the operating system. If, at a later date, you decide to reconfigure your system to use a file instead of a partition, you will need to delete the save-to-disk partition and reformat the entire hard disk if you want to use the hard disk space occupied by the save-to-disk partition. When both a save-to-disk partition (of adequate size) and a save-to-disk file exist, data is stored in the partition first and any excess data is stored in the save-to-disk file.

3-1

Page 42: Stylistic 1000 Technical Reference Guide - Fujitsusolutions.us.fujitsu.com/www/content/pdf/st1000trg.pdfFujitsu Personal Systems, Inc. No part of this publication may be copied, reproduced,

When using a partition, save-to-disk maps bad spots on the hard disk drive in your save-to-disk partition and avoids storing data in sections of the hard disk that contain bad spots.

Save-to-Disk File 3

When you create or resize a save-to-disk file, an MS-DOS file is created without reformatting the hard disk or erasing any data stored on the hard disk. This eliminates the need to restore data to the hard disk drive after you create a save-to-disk file.

Note: Although you can create a save-to-disk file without backing up and restoring hard disk data, it is advisable to maintain a backup of valuable data in case of a hard disk failure.

Configuring the Stylistic 1000 for Save to Disk 3

Before you can use Save to Disk, you must create a save-to-disk partition or file on your hard disk using the PHDISK utility. See “PHDISK Hard Disk Preparation Utility” later in this chapter for details. Once you have created a save-to-disk partition or file, you can configure your system to use Save to Disk mode by running the Power Management control panel applet, PenSETUP, or any other BIOS setup utility.

Using Save to Disk 3

When your system is configured to use Save to Disk, all system operations that suspend the system will put the system in Save to Disk mode including pressing the suspend button and auto suspend timeout.

Resume From Disk 3

To resume from disk, you must turn the main system power switch off and then on again. Note that the resume on time and resume on modem ring functions will not resume the system when it is configured to use Save to Disk mode.

Save to Disk During System Activity 3

The Stylistic 1000 BIOS allows Save to Disk to occur by interrupting the active application program in a seamless manner, even while the active application is writing to the hard disk or communicating through a modem, or a serial or parallel port.

Note: • Save to Disk cannot be executed when the active application will not let the chipset enter the Idle State. This can occur during fast I/O operations. Conditions like these can interfere with critical signals such as Critically Low Battery.

• Communication is interrupted when the system is in suspend mode. If your system is connected to a network, you may be disconnected from the network if the network has an idle time limit.

• Applications that block the APM 1.1 suspend request can also block the system from entering Save to Disk mode.

3-2 Save to Disk

Page 43: Stylistic 1000 Technical Reference Guide - Fujitsusolutions.us.fujitsu.com/www/content/pdf/st1000trg.pdfFujitsu Personal Systems, Inc. No part of this publication may be copied, reproduced,

PHDISK Hard Disk Preparation Utility 3

The PHDISK hard disk preparation utility is included with Stylistic 1000 Developer Utilities software. It can be used to prepare either a dedicated partition or a hidden MS-DOS file for storing system configuration data, and system and video memory during Save to Disk operation.

Command Line Options 3

Table 3-1 lists the PHDISK command line options and additional parameters. The PHDISK options can be called using only the first letter of each option and parameter. For instance, either PHDISK /REFORMAT or PHDISK /R invoke the reformat option.

The example below shows the type of information that is displayed when PHDISK is called without a command line option. This example displays both the Save to Disk FILE INFORMATION and save-to-disk PARTITION INFORMATION headers. These headers are displayed only when both a Save to Disk partition and a Save to Disk file exist. (The USAGE and OPTIONS headers are displayed in several screens displayed by PHDISK).

Caution

Creating a save-to-disk partition will reformat the hard disk drive, erasing all data on the disk. Back up your hard disk before using PHDISK to create a save-to-disk partition.

Table 3-1. PHDISK Command Line Options

Option Parameters Description

None Displays the PHDISK Opening Screen.

/CREATE /PARTITION Creates a save-to-disk partition. (Entire hard disk is reformatted.)

/FILE If no save-to-disk partition exists, PHDISK creates a save-to-disk file large enough for the current system configuration.

If a save-to-disk partition exists, PHDISK creates a save-to-disk file large enough to supplement the existing save-to-disk partition space. (The file created provides additional disk space required for Save to Disk operation.)

/DELETE /PARTITION Deletes all data in the save-to-disk partition and renders disk space occupied by the save-to-disk partition unusable. (You must reformat the entire hard disk to use the hard disk space occupied by the deleted partition.)

/FILE Delete save-to-disk file.

/INFO /PARTITION Displays data about the save-to-disk partition.

/FILE Displays data about the save-to-disk file.

/REFORMAT /PARTITION Reformat the save-to-disk partition after an error is detected.

PHDISK Hard Disk Preparation Utility 3-3

Page 44: Stylistic 1000 Technical Reference Guide - Fujitsusolutions.us.fujitsu.com/www/content/pdf/st1000trg.pdfFujitsu Personal Systems, Inc. No part of this publication may be copied, reproduced,

Note: When a save-to-disk partition and file both exist, save-to-disk data is stored in the partition first and any excess data is stored in the save-to-disk file. It is recommended that you configure your system to use either a save-to-disk partition exclusively or a save-to-disk file exclusively. This ensures that your save-to-disk data is stored in contiguous disk space.

PHDISK 2.2 -- Phoenix NoteBIOS 4.0 (TM) Save to Disk Preparation UtilityCopyright (c) Phoenix Technologies Ltd. 1995. All rights Reserved.

Save to Disk file information:Your Save to Disk file is named C:\SAVE2DSK.BIN and has a sizeof xxxx KBytes. It has System, Hidden, and Read Only attributes.

Save to Disk partition information:Partition starts at sector xxxxx (head xx, cylinder xx, sector xx)Partition size: xxxx KBytes total

Current System Status:You currently need a Save to Disk area of xxxx KBytes. PhDisk willalso require additional overhead and will automatically calculate theactual required space.

You have both a file and a partition. Save to Disk will default to file. Either delete the file, or the partition.

Usage:PHDISK [options]/CREATE (/FILE or /PARTITION) -- Create STD file or partition/DELETE (/FILE or /PARTITION) -- Delete existing STD file or partition./INFO -- Information on STD disk area(s)/REFORMAT /PARTITION -- Reformat existing STD partition

This utility configures a hard disk to utilize the Phoenix NoteBIOS 4.0Save to Disk feature. Please refer to your user manual for information regarding Save to Disk.

CREATE Option 3

The CREATE option measures the amount of on-board memory, and partitions a segment of the hard disk drive large enough to store all the data that might be there. The CREATE option formats the save-to-disk partition or file, marking bad spots on the hard disk drive as they are found.

Automatic Memory Size Calculation 3

PHDISK automatically measures all system and video memory and calculates the exact amount of hard disk space required to store the maximum amount of data the memory might contain. The result of this measurement, [SIZE], is displayed on the PHDISK screen.

The total amount of system and video memory is calculated by the following formula:

Calculated memory = Physical System Memory + VESA memory + 0.3 KBytes (Save to Disk overhead)

Hard disk space is allocated by cluster, therefore, the save-to-disk partition may exceed [SIZE] by nearly one cluster. This space is used, as needed, for the bad-sector replacement pool.

Specify Memory Size 3

The amount of disk space required to store all system and video memory is calculated automatically whenever the CREATE option is used. If you specify a specific amount of memory, [SIZE], equal to or larger than the calculated space required, the amount of memory specified by the [SIZE] parameter is

3-4 Save to Disk

Page 45: Stylistic 1000 Technical Reference Guide - Fujitsusolutions.us.fujitsu.com/www/content/pdf/st1000trg.pdfFujitsu Personal Systems, Inc. No part of this publication may be copied, reproduced,

allocated. [SIZE] is measured in kilobytes (the measurement notation K, or KB, or KBytes, is not entered in the command line).

• If [SIZE] is larger than or equal to the calculated space required:Save to Disk disk space allocated = [SIZE].

• If [SIZE] is smaller than the calculated space required:[SIZE] is ignored, no Save to Disk disk space is allocated, and an error message is displayed.

/PARTITION or /P 3

PARTITION creates a hard disk partition where only save-to-disk data is stored.

Note: The hard disk drive boot sector BIOS configuration option must be set to normal to create a save-to-disk partition.

/FILE or /F 3

The /FILE parameter creates a file in the hard disk’s MS-DOS partition that is used to store only save-to-disk data. When a save-to-disk partition already exists, a file large enough to supplement the save-to-disk partition is created by default.

When the system and video memory outgrows the [SIZE] of the save-to-disk partition, the /FILE option can be used to re-allocate disk space. Using /FILE eliminates the user's need to create a new save-to-disk partition, and also eliminates the time consuming task of backing up the entire hard disk drive before running PHDISK /CREATE /PARTITION.

If you want to use a save-to-disk file exclusively to store save-to-disk data, you must first delete any existing save-to-disk partition before creating a save-to-disk file.

/CREATE Option Syntax 3

The syntax of the PHDISK /CREATE option is:

PHDISK /CREATE [SIZE][/FILE][/PARTITION]

Table 3-2 lists valid examples of the PHDISK /CREATE option.

Table 3-2. PHDISK /CREATE Option

Command Description

PHDISK /CREATE /FILE (or PHDISK /C /F)

If no save-to-disk partition exists, PHDISK creates a save-to-disk file large enough for the current system configuration.

If a save-to-disk partition exists, PHDISK creates a save-to-disk file large enough to supplement the existing save-to-disk partition space. (The file created provides additional disk space required for save-to-disk operation.)

PHDISK /CREATE /PARTITION (or PHDISK /C /P)

Creates a save-to-disk partition using the amount of memory required as calculated by PHDISK. (Entire hard disk is reformatted.)

PHDISK /CREATE 10240 /FILE (or PHDISK /C 10240 /F)

Creates a 10 MB save-to-disk file. The [SIZE] variable is 10240.

PHDISK Hard Disk Preparation Utility 3-5

Page 46: Stylistic 1000 Technical Reference Guide - Fujitsusolutions.us.fujitsu.com/www/content/pdf/st1000trg.pdfFujitsu Personal Systems, Inc. No part of this publication may be copied, reproduced,

REFORMAT Option 3

The /REFORMAT option resets the pointers in a save-to-disk partition. Use this option after a save-to-disk operation is terminated by a read or write error.

Note: Only save-to-disk partitions can be reformatted; save-to-disk files cannot. If a hard disk error occurs while writing to a save-to-disk file, use PHDISK /DELETE /FILE to delete the save-to-disk file. Then, use PHDISK /CREATE /FILE to create a new save-to-disk file.

/REFORMAT Option Syntax 3

Table 3-3 lists an example of the PHDISK /REFORMAT option.

DELETE Option 3

When DELETE is specified, the pointers and data in the specified save-to-disk partition or file are deleted. Use DELETE when bad data is displayed after a Resume From Disk operation.

/DELETE Option Syntax 3

Table 3-4 lists valid examples of the PHDISK /DELETE option.

INFO Option 3

The /INFO option displays data about the save-to-disk partition or file.

/INFO Option Syntax 3

Table 3-5 lists valid examples of the PHDISK /INFO option.

An example of the /INFO screen when a save-to-disk partition exists is shown below:

Table 3-3. PHDISK /REFORMAT Option

Command Description

PHDISK /REFORMAT /PARTITION (or PHDISK /R /P)

Reformats the save-to-disk partition.

Table 3-4. PHDISK /DELETE Option

Command Description

PHDISK /DELETE /FILE (or PHDISK /D /F)

Deletes the contents of the save-to-disk file.

PHDISK /DELETE /PARTITION (or PHDISK /D /P)

Deletes the contents of the save-to-disk partition.

Table 3-5. PHDISK /INFO Option

Command Description

PHDISK /INFO /FILE (or PHDISK /I /F)

Displays the size (in kilobytes) of the save-to-disk file size.

PHDISK /INFO /PARTITION (or PHDISK /I /P)

Displays the PHDISK /INFO screen.

3-6 Save to Disk

Page 47: Stylistic 1000 Technical Reference Guide - Fujitsusolutions.us.fujitsu.com/www/content/pdf/st1000trg.pdfFujitsu Personal Systems, Inc. No part of this publication may be copied, reproduced,

PHDISK 2.2 -- Phoenix NoteBIOS 4.0 (TM) Save to Disk Preparation Utility

Copyright (c) Phoenix Technologies Ltd. 1995. All rights Reserved.

Save to Disk partition information:

Partition starts at sector xxxxx (head xx, cylinder xx, sector xx)

Partition size: xxxx KBytes total

Current System Status:

You currently need a Save to Disk area of xxxx KBytes. PhDisk will

also require additional overhead and will automatically calculate the

actual required space.

Messages 3

PHDISK returns various informational messages, not all of which are listed here. The following listing emphasizes the error messages, including a possible course of action.

PHDISK Sign-on Message 3

This message is displayed at system startup.

PHDISK X.X - Phoenix NoteBIOS 4.0 (tm) Save to Disk Preparation Utility Copyright (c) Phoenix Technologies Ltd. 1995. All rights reserved.

Help Screen 3

The HELP screen is displayed when PHDISK is called without options. The following text is displayed when a save-to-disk partition already exists.

Usage:PHDISK [options]/CREATE (/FILE or /PARTITION) -- Create STD file or partition/DELETE (/FILE or /PARTITION) -- Delete existing STD partition./INFO -- Information on STD disk area(s)/REFORMAT /PARTITION -- Reformat existing STD partition

This utility configures a hard disk to utilize the Phoenix NoteBIOS 4.0Save to Disk feature. Please refer to your user manual for information regarding Save to Disk.

Unrecognized Option 3

The following text is displayed when an invalid option is entered at the command line.

Error: (User option) is an unrecognized command line option.

For a command line summary, invoke PHDISK without any parameters.

Run the PHDISK command again in this case.

Fatal Error 3

The following text is displayed when a hard disk error is detected during any save-to-disk operation.

Error: A fatal hard disk error has occurred.

Check your hardware configuration and re-execute PHDISK.

Run a hard disk utility to determine the source of the error, then reexecute the PHDISK command.

PHDISK Hard Disk Preparation Utility 3-7

Page 48: Stylistic 1000 Technical Reference Guide - Fujitsusolutions.us.fujitsu.com/www/content/pdf/st1000trg.pdfFujitsu Personal Systems, Inc. No part of this publication may be copied, reproduced,

Not Enough Disk Space 3

The following text is displayed when the amount of unused disk space available is less than the amount required to create the save-to-disk partition.

Error: Not enough free disk space exists to create the suspend to disk partition. Refer to the user manual for possible suggestions on increasing the amount of free disk space for the suspend to disk partition.

Delete unused files, backup the DOS partition, reformat the disk, then run PHDISK /CREATE /PARTITION to create a larger partition.

Save to Disk Partition Exists 3

The following text is displayed when a PHDISK /CREATE /PARTITION operation is attempted while a save-to-disk partition exists.

Error:Phoenix NoteBIOS Save to Disk partition already exists. To resize the partition, delete the existing partition with PHDISK/DELETE and create the partition with PHDISK/CREATE.

Reallocate the save-to-disk partition if needed, or use the /CREATE /FILE option instead.

Too Many Bad Sectors 3

The following text is displayed when the save-to-disk partition is too small because of an increasing number of bad sectors.

Error: Too many errors exist in the Phoenix NoteBIOS (tm) Save to Disk partition. Check your hardware configuration and rerun PHDISK.

Execute PHDISK /CREATE /FILE to create a save-to-disk file.

First Two Sectors Bad 3

The following text is displayed when the save-to-disk partition cannot be used.

Error: The first two sectors in the Save to Disk partition are both unusable. This disk is unsuitable for the Phoenix NoteBIOS Save to Disk feature.

Execute PHDISK /DELETE /PARTITION, and PHDISK /REFORMAT /PARTITION.

PHDISK /CREATE Failed to Execute 3

The following text is displayed when no save-to-disk partition exists, or the partition table on head 0, cylinder 0, sector 1 is corrupted.

Error: The Phoenix NoteBIOS (tm) Save to Disk partition doesn't exist or the hard disk partition table on head 0, cylinder 0, sector 1 is corrupted. Invoke PHDISK/CREATE to create the Save to Disk partition.

Execute PHDISK /CREATE /PARTITION.

Good Sector Map Corrupted 3

The following text is displayed when a save-to-disk partition exists but the GSM is corrupted.

3-8 Save to Disk

Page 49: Stylistic 1000 Technical Reference Guide - Fujitsusolutions.us.fujitsu.com/www/content/pdf/st1000trg.pdfFujitsu Personal Systems, Inc. No part of this publication may be copied, reproduced,

Error: The "Good sector map" (GSM) in the Phoenix NoteBIOS Save to Disk partition is bad. Invoke PHDISK /REFORMAT to rebuild this table.

Use PHDISK /PARTITION /REFORMAT to reset the GSM flags.

Not Enough System Memory 3

The following text is displayed when not enough system memory is available to execute PHDISK.

Error: Couldn't allocate additional memory required to execute PHDISK.

Add more system memory, then try the PHDISK command again.

File Already Exists 3

The following text is displayed when the PHDISK /CREATE /FILE command is entered when a save-to-disk file already exists.

PHDISK X.X -- Phoenix NoteBIOS 4.0 (tm) Save to Disk Preparation Utility

Copyright (c) Phoenix Technologies Ltd. 1995. All rights reserved.

Save to Disk file information:

Your Save to Disk file is named C:\SAVE2DSK.BIN and has a size

of xxxx KBytes. It has System, Hidden, and Read Only attributes.

The system will now be reset to allow the BIOS to

recognize the changes. If the system fails to reboot,

please reset the system manually.

Press any key to reset the system ...

Delete the current file, using PHDISK /DELETE /FILE, before creating another save-to-disk file.

PHDISK Hard Disk Preparation Utility 3-9

Page 50: Stylistic 1000 Technical Reference Guide - Fujitsusolutions.us.fujitsu.com/www/content/pdf/st1000trg.pdfFujitsu Personal Systems, Inc. No part of this publication may be copied, reproduced,

3-10 Save to Disk

Page 51: Stylistic 1000 Technical Reference Guide - Fujitsusolutions.us.fujitsu.com/www/content/pdf/st1000trg.pdfFujitsu Personal Systems, Inc. No part of this publication may be copied, reproduced,

Chapter 4

Programmable System Functions

The Stylistic 1000 has programmable system functions that allow developers to customize some system features. This chapter discusses low level programming methods that you can use to access the programmable hotpad and change the display backlight and contrast settings. See also Chapters 5, 6, and 7 for information on BIOS configuration functions included with developer libraries for the Stylistic 1000 that also allow you to change these settings.

Accessing Programmable Functions Using I/O 4

The programmable functions discussed in this chapter are controlled by an integrated circuit that is accessed using I/O ports FD62h and FD63h. The value in I/O port FD62h is interpreted as an index to individual function registers, and the value in I/O port FD63h is interpreted as data. Values can be read from and written to these I/O ports using the assembly instructions IN and OUT, respectively.

Programmable Hotpad 4

The programmable hotpad register on the Stylistic 1000 allows developers to write applications that respond to a pen tap on the programmable hotpad. The location of the programmable hotpad is shown in Figure 4-1.

Figure 4-1. Hotpad Locations

The programmable hotpad register is accessed by loading an index value of 0Fh in I/O port FD62 and reading the value of bit D0 in I/O port FD63 as shown in Table 4-1. A D0 value of 1 indicates that the hotpad has been pressed (a hotpad event). After reading the data value, your application must reset D0 back to 0 if a hotpad event has occurred and periodically check the value of D0 to determine whether a hotpad event has occurred.

Table 4-1. Programmable Hotpad Control Register

I/O Port FD63 Register Contents Hotpad Event Occurred

D7 D6 D5 D4 D3 D2 D1 D0

Bits D1 through D7 reserved for other system functions, do not use

0 No

1 Yes

Programmable DisplaySelect

Down Up

Speaker Normal/ReverseVideo Mode(monochromesystems only)

Contrast

Down Up

Brightness

Slow SlowFast Fast

4-1

Page 52: Stylistic 1000 Technical Reference Guide - Fujitsusolutions.us.fujitsu.com/www/content/pdf/st1000trg.pdfFujitsu Personal Systems, Inc. No part of this publication may be copied, reproduced,

Note: Some functions included in the development libraries for the Stylistic 1000 allow an application to check the status of the programmable hotpad. You are encouraged to use the development libraries rather than access the hotpad register directly. The libraries simplify the task of programming the system and reduce the risk of programming errors accidently disabling other system functions. See Chapters 5, 6, and 7 for details.

Display Contrast Setting 4

The display contrast level can be set by loading an index value of 03h in I/O port FD62h and writing a data value to I/O port FD63h. The data value determines the contrast level with 0000 0000b (00h) as the minimum and 1111 1111b (FFh) as the maximum as shown in Table 4-2.

Table 4-2. Contrast Control Register

Note: Extreme contrast levels will cause the screen to appear blank. If you change these values, avoid extreme values. The default adjustable range is approximately: 80h to F0h for color display systems, 20h to FEh for transmissive display systems, and 02h to CEh for transflective display systems.

I/O Port FD63 Register Contents Contrast Setting

D7 D6 D5 D4 D3 D2 D1 D0

0 0 0 0 0 0 0 0 Contrast minimum

0

0

0

.

.

.

0

0

0

.

.

.

0

0

0

.

.

.

0

0

0

.

.

.

0

0

0

.

.

.

0

0

0

.

.

.

0

1

1

.

.

.

1

0

1

.

.

.

Increasing contrast

1 1 1 1 1 1 1 1 Contrast maximum

4-2 Programmable System Functions

Page 53: Stylistic 1000 Technical Reference Guide - Fujitsusolutions.us.fujitsu.com/www/content/pdf/st1000trg.pdfFujitsu Personal Systems, Inc. No part of this publication may be copied, reproduced,

Display Backlight Setting 4

The display backlight level can be set by loading an index value of 26h in I/O port FD62 and changing the value of bits D0, D1, and D2 in I/O port FD63h as shown in Table 4-3. Note that bits D3 through D7 are reserved for other system functions and should not be used.

Table 4-3. Backlight Control Register

I/O Port FD63 Register Contents Backlight Setting

D7 D6 D5 D4 D3 D2 D1 D0

Bits D3 through D7 reserved for other system functions, do not use

0 0 0 Backlight maximum

0 0 1 Decreasing brightness

0 1 0

0 1 1

1 0 0

1 0 1

1 1 0

1 1 1 Backlight minimum

Display Backlight Setting 4-3

Page 54: Stylistic 1000 Technical Reference Guide - Fujitsusolutions.us.fujitsu.com/www/content/pdf/st1000trg.pdfFujitsu Personal Systems, Inc. No part of this publication may be copied, reproduced,

4-4 Programmable System Functions

Page 55: Stylistic 1000 Technical Reference Guide - Fujitsusolutions.us.fujitsu.com/www/content/pdf/st1000trg.pdfFujitsu Personal Systems, Inc. No part of this publication may be copied, reproduced,

Chapter 5

Static Library Functions for MS-DOS Application Development

FJSYS.LIB 5

The static library FJSYS.LIB includes functions that allow MS-DOS application developers to write programs that configure Stylistic 1000 BIOS parameters and other features. To include these functions in your application, you must include the header file FJSYS.H in your application source code. FJSYS.H includes the symbol definitions for functions that use symbols for parameter arguments. (These files are included with Stylistic 1000 Developer Utilities.)

Note: This library is compiled as a small model library. Your application must also be compiled as a small model library to avoid memory addressing errors while linking with the library.

Permanent and Current Settings 5

Some BIOS configuration functions can be used to query or set permanent or current settings. Changes to permanent settings are written to the flash BIOS memory and take affect when you reboot the system. Changes to current settings are written to RAM and take affect when you call the exit function fFJSys_Exit.

BIOS configuration functions that accept the parameter bPermanent can change permanent or current BIOS settings depending on the value passed as described below. (Functions that do not accept the bPermanent parameter affect only permanent settings.)

Session Buffer 5

Changes you make to BIOS parameters are stored in a session buffer when you use BIOS configuration functions included in FJSYS.LIB. For this reason, you must call the fFJSys_Init function to establish the session buffer before you can call any BIOS configuration functions. Once the session buffer is established, any BIOS configuration functions can be called and changes to permanent and current BIOS settings can be made. After all desired changes are made to BIOS options, you must call the FJSys_Exit function and either load or discard the changes stored in the session buffer. This process is outlined below:

1. Establish the session buffer by calling fFJSys_Init.

2. Call any desired BIOS configuration functions in FJSYS.LIB.

3. Exit the session using the FJSys_Exit function and save changes if desired.

Note that after you call the FJSys_Exit function and save or discard your changes, the session buffer is no longer active. In this situation, you must reestablish the session buffer if you are going to make additional BIOS configuration changes.

bPermanent Value Description

0 Set or query current parameter values.

1 Set or query permanent parameter values.

5-1

Page 56: Stylistic 1000 Technical Reference Guide - Fujitsusolutions.us.fujitsu.com/www/content/pdf/st1000trg.pdfFujitsu Personal Systems, Inc. No part of this publication may be copied, reproduced,

bReLD Parameter 5

Functions that query BIOS configuration settings accept a parameter named bReLD. This parameter allows you to specify whether the configuration parameter value stored in CMOS RAM or the session buffer is read.

Note: This parameter is used in several different functions in FJSYS.LIB. The values for this parameter are the same for all functions that accept it.

Function Error Codes 5

All functions in FJSYS.LIB return a short integer value. A zero or positive return value indicates that the function is successful or provides the function output (depending on the type of function). Negative return values indicate that an error has occurred as described below:

fFJSys_Init 5

This function reads all BIOS configuration parameter settings and creates a session buffer that holds the configuration data. This function must be called once to establish the session buffer before any BIOS configuration functions included in the FJSYS.LIB can be called. A prototype of the function is given below:

short fFJSys_Init(void);

Return values for this function are the same as those described in “Function Error Codes” later in this chapter.

FJSys_Exit 5

This function either saves or discards changes stored in the session buffer. A prototype of the function is given below:

short fFJSys_Exit(BYTE bSaveSettings);

bReLD value Description

0 Read the value stored in the session buffer.

1 Read the value stored in CMOS RAM.

Return Value Description

0 Function is successful.

-1 Bad parameter passed to function.

-2 Internal error.

-3 BIOS mismatch.

Applications that include functions in FJSYS.LIB must run on a system with a compatible version of the Stylistic 1000 BIOS. Refer to the release notes for the version of FJSYS.LIB that you are using to determine the BIOS revision level required.

5-2 Static Library Functions for MS-DOS Application Development

Page 57: Stylistic 1000 Technical Reference Guide - Fujitsusolutions.us.fujitsu.com/www/content/pdf/st1000trg.pdfFujitsu Personal Systems, Inc. No part of this publication may be copied, reproduced,

The bSaveSettings parameter value determines whether BIOS settings stored in the session buffer are saved or discarded as described below:

Return values for this function are the same as those described in “Function Error Codes” earlier in this section.

Programmable Hotpad Function 5

The function fGetHotPad_Status is provided for MS-DOS application developers who need to interface with the programmable hotpad on the Stylistic 1000.

Note: The fGetHotPad_Status function does not use the session buffer. You can call this function at any time without calling the fFJSys_Init or fFJSys_Exit functions.

To interface with the programmable hotpad in 16-bit and 32-bit Windows applications, see “HOTPAD.DLL” in Chapter 6 of this manual.

fGetHotPad_Status 5

This function allows an application to monitor the programmable hotpad on the Stylistic 1000 by periodically polling the function and checking the return value. A prototype of fGetHotPad_Status is shown below.

short fGetHotPad_Status(void);

The value returned by fGetHotPad_Status is a short integer and indicates whether a hotpad event has occurred since the last instance of fGetHotPad_Status as described below:

BIOS Configuration Functions 5

The functions described below query or set BIOS configuration parameters. Functions that include Set in the function name allow you to set BIOS parameters. BIOS configuration functions that include Get in the function name allow you to query BIOS settings and determine how BIOS configuration options are set.

Note: • You must call the fFJSys_Init function before calling any of these functions to establish a session buffer to store the results. See “Session Buffer” earlier in this chapter for details.

• See “bReLD Parameter” earlier in this chapter for a description of the bReLD parameter used in the functions below.

• Some parameters used in functions accept symbols rather than integer values. You must include the header file FJSYS.H in your source code to include the symbol definitions.

bSaveSettings Value Description

FJEXIT_SAVE Write session buffer to CMOS.

FJEXIT_RELOAD_PREV Overwrite the session buffer with configuration data stored in CMOS. (All previous configuration changes are lost.)

FJEXIT_ABORT Close the session without saving changes.

Return Value Description

0 Returned if a hotpad event has not occurred since the last instance of fGetHotPad_Status.

1 Returned if a hotpad event has occurred since the last instance of fGetHotPad_Status.

FJSYS.LIB 5-3

Page 58: Stylistic 1000 Technical Reference Guide - Fujitsusolutions.us.fujitsu.com/www/content/pdf/st1000trg.pdfFujitsu Personal Systems, Inc. No part of this publication may be copied, reproduced,

fSetBootSequence 5

The fSetBootSequence function configures the BIOS boot sequence option. (This function affects only permanent BIOS settings.) A prototype of the function is shown below:

short fSetBootSequence(BYTE bSequence);

The value of the parameter that you pass to this function determines the boot sequence setting:

fGetBootSequence 5

This function queries the BIOS for the boot sequence setting. A prototype of the fGetBootSequence function is shown below:

short fGetBootSequence(BYTE FAR *pbSequence, BYTE bReLD);

This function accepts a parameter that is a FAR pointer to a memory location where the function output is stored. The function stores a BYTE value in this memory location that indicates the boot sequence setting:

fSetDisplaySetupPrompt 5

The fSetDisplaySetupPrompt function is used to enable or disable the PenSETUP prompt. A prototype of the function is given below:

short fSetDisplaySetupPrompt (BYTE bDisplayIt);

This function accepts a BYTE value as a parameter that determines whether the PenSETUP prompt will be enabled or disabled:

fGetDisplaySetupPrompt 5

The fGetDisplaySetupPrompt function queries the BIOS for the PenSETUP prompt setting. A prototype of the function is shown below:

short fGetDisplaySetupPrompt (BYTE FAR *pbDisplayIt, BYTE bReLD);

bSequence Value Description

BOOT_A_THEN_C A: then C:

BOOT_C_THEN_A C: then A:

BOOT_C_ONLY C: only

Value Stored in *pbSequence Memory Location Description

0

1

2

A: then C:

C: then A:

C: only

bDisplayIt Value Description

0 Disable PenSETUP prompt.

1 Enable PenSETUP prompt.

5-4 Static Library Functions for MS-DOS Application Development

Page 59: Stylistic 1000 Technical Reference Guide - Fujitsusolutions.us.fujitsu.com/www/content/pdf/st1000trg.pdfFujitsu Personal Systems, Inc. No part of this publication may be copied, reproduced,

This function accepts a parameter that is a FAR pointer to a memory location where the function output is stored. The function stores a BYTE value in this memory location that indicates the PenSETUP prompt setting:

fSetPOSTErrors 5

The fSetPOSTErrors function configures the POST Errors setting. A prototype of the function is given below:

short fSetPOSTErrors (BYTE bDisplay_F1Prompt);

This function accepts a BYTE value that determines whether the POST errors option is enabled:

fGetPOSTErrors 5

The fGetPOSTErrors function queries the BIOS for the POST Errors setting. A prototype of the function is given below:

short fGetPOSTErrors (BYTE FAR *pbDisplay_F1Prompt, BYTE bReLD);

This function accepts a parameter that is a FAR pointer to a memory location where the function output is stored. The function stores a BYTE value in this memory location that indicates the Post Errors setting:

fSetSummaryScreen 5

The fSetSummaryScreen function configures the Summary Screen setting. A prototype of the function is given below:

short fSetSummaryScreen (BYTE bDisplayIt);

This function accepts a BYTE value that determines whether the POST errors option is enabled:

Value Stored in *pbDisplayIt Memory Location Description

0 Disabled

1 Enabled

bDisplay_F1Prompt Value Description

0 Disable POST errors.

1 Enable POST errors.

Value Stored in *pbDisplay_F1Prompt Memory Location Description

0 Disabled

1 Enabled

bDisplayIt Value Description

0 Disabled

1 Enabled

FJSYS.LIB 5-5

Page 60: Stylistic 1000 Technical Reference Guide - Fujitsusolutions.us.fujitsu.com/www/content/pdf/st1000trg.pdfFujitsu Personal Systems, Inc. No part of this publication may be copied, reproduced,

fGetSummaryScreen 5

The fGetSummaryScreen function queries the BIOS for the Summary Screen setting. A prototype of the function is shown below:

short fGetSummaryScreen(BYTE FAR *pbDisplayIt, BYTE bReLD);

This function accepts a parameter that is a FAR pointer to a memory location where the function output is stored. The function stores a BYTE value in this memory location that indicates the Summary Screen setting:

fSetNumLockState 5

The fSetNumLockState function configures the Numlock State setting. A prototype of the function is given below:

short fSetNumLockState (BYTE bState);

This function accepts a BYTE value that determines how the numlock option is configured:

fGetNumLockState 5

The fGetNumlockState function queries the BIOS for the Numlock State setting. A prototype of the function is shown below:

short fGetNumLockState(BYTE FAR *pbState, BYTE ReLD);

This function accepts a parameter that is a FAR pointer to a memory location where the function output is stored. The function stores a BYTE value in this memory location that indicates the Numlock State setting:

fSetSerialA_Address 5

The fSetSerialA_Address function configures the I/O address for the RS-232 serial port (serial port A). A prototype of the function is given below:

short fSetSerialA_Address (BYTE bSelection);

Value Stored in *pbDisplayIt Memory Location Description

0 Disabled

1 Enabled

bState Value Description

NUMLOCK_AUTO Auto

NUMLOCK_ON On

NUMLOCK_OFF Off

Value stored in *pbState Description

0 Auto

1 On

2 Off

5-6 Static Library Functions for MS-DOS Application Development

Page 61: Stylistic 1000 Technical Reference Guide - Fujitsusolutions.us.fujitsu.com/www/content/pdf/st1000trg.pdfFujitsu Personal Systems, Inc. No part of this publication may be copied, reproduced,

This function accepts a BYTE value that determines the I/O address setting:

fGetSerialA_Address 5

The fGetSerialA_Address function queries the BIOS for the I/O address setting for the RS-232 serial port (serial port A). A prototype of the function is shown below:

short fGetSerialA_Address(BYTE FAR *pbSelection, BYTE ReLD);

This function accepts a parameter that is a FAR pointer to a memory location where the function output is stored. The function stores a BYTE value in this memory location that indicates the I/O address setting:

fSetSerialB_Device 5

The fSetSerialB_Device function selects the serial port B device. A prototype of the function is given below:

short fSetSerialB_Device(BYTE bSelection, BYTE bPermanent);

This function accepts a parameter that determines the serial port B device setting:

fGetSerialB_Device 5

The fGetSerialB_Device function queries the BIOS for the serial port B device setting. A prototype of the function is shown below:

short fGetSerialB_Device(BYTE FAR *pbSelection, BYTE bPermanent, BYTE ReLD);

This function accepts a parameter that is a FAR pointer to a memory location where the function output is stored. The function stores a BYTE value in this memory location that indicates the serial port B device setting:

bSelection Value Description

SERIALA_DISABLED Disabled

SERIALA_3F8_IRQ4 3F8 IRQ4

SERIALA_2F8_IRQ3 2F8 IRQ3

SERIALA_3E8_IRQ4 3E8 IRQ4

Value Stored in *pbSelection Memory Location Description

0 Disabled

1 3F8 IRQ4

2 2F8 IRQ3

3 3E8 IRQ4

bSelection Value Description

SERIALB_INFRARED IrDA Port

SERIALB_3_PIN RX/TX Serial Port

Value Stored in *pbSelection Memory Location Description

0 IrDA port

1 Rx/Tx serial port

FJSYS.LIB 5-7

Page 62: Stylistic 1000 Technical Reference Guide - Fujitsusolutions.us.fujitsu.com/www/content/pdf/st1000trg.pdfFujitsu Personal Systems, Inc. No part of this publication may be copied, reproduced,

fSetSerialB_Address 5

The fSetSerialB_Address function configures the I/O address for serial port B. A prototype of the function is given below:

short fSetSerialB_Address (BYTE bSelection);

This function accepts a BYTE value that determines the I/O address setting:

fGetSerialB_Address 5

The fGetSerialB_Address function queries the BIOS for the I/O address setting for serial port B. A prototype of the function is shown below:

short fGetSerialB_Address(BYTE FAR *pbSelection, BYTE ReLD);

This function accepts a parameter that is a FAR pointer to a memory location where the function output is stored. The function stores a BYTE value in this memory location that indicates the I/O address setting:

fSetLPT_Address 5

The fSetLPT_Address function configures the I/O address for the LPT port. A prototype of the function is given below:

short fSetLPT_Address (BYTE bSelection);

This function accepts a BYTE value that determines the I/O address setting:

fGetLPT_Address 5

The fGetLPT_Address function queries the BIOS for the I/O address setting for the LPT port. A prototype of the function is shown below:

bSelection Value Description

SERIALB_DISABLED Disabled

SERIALB_3F8_IRQ4 3F8 IRQ4

SERIALB_2F8_IRQ3 2F8 IRQ3

SERIALB_3E8_IRQ4 3E8 IRQ4

Value Stored in *pbSelection Memory Location Description

0 Disabled

1 3F8 IRQ4

2 2F8 IRQ3

3 3E8 IRQ4

bSelection Value Description

LPT_DISABLED Disabled

LPT_378_IRQ7 378 IRQ7

LPT_278_IRQ7 278 IRQ7

LPT_378_IRQ5 378 IRQ5

LPT_278_IRQ5 278 IRQ5

5-8 Static Library Functions for MS-DOS Application Development

Page 63: Stylistic 1000 Technical Reference Guide - Fujitsusolutions.us.fujitsu.com/www/content/pdf/st1000trg.pdfFujitsu Personal Systems, Inc. No part of this publication may be copied, reproduced,

short fGetLPT_Address(BYTE FAR *pbSelection, BYTE ReLD);

This function accepts a parameter that is a FAR pointer to a memory location where the function output is stored. The function stores a BYTE value in this memory location that indicates the I/O address setting:

fSetLPT_Mode 5

The fSetLPT_Mode function configures the operational mode for the LPT port. A prototype of the function is given below:

short fSetLPT_Mode (BYTE bSelection);

This function accepts a BYTE value that determines the LPT mode setting:

fGetLPT_Mode 5

The fGetLPT_Mode function queries the BIOS for the operational mode setting for the LPT port. A prototype of the function is shown below:

short fGetLPT_Mode(BYTE FAR *pbSelection, BYTE ReLD);

This function accepts a parameter that is a FAR pointer to a memory location where the function output is stored. The function stores a BYTE value in this memory location that indicates the LPT mode setting:

fSetDisplay_Select 5

The fSetDisplay_Select function selects the system display. A prototype of the function is given below:

short fSetDisplay_Select(BYTE bSelection, BYTE bPermanent);

Value Stored in *pbSelection Memory Location Description

0 Disabled

1 378 IRQ7

2 278 IRQ7

3 378 IRQ5

4 278 IRQ5

bSelection Value Description

LPTMODE_OUTPUTONLY Output only

LPTMODE_BIDIRECT Bidirectional

LPTMODE_ECP ECP (Extended Capabilities Port)

Value Stored in *pbSelection Memory Location Description

0 Output only

1 Bidirectional

3 ECP (Extended Capabilities Port)

FJSYS.LIB 5-9

Page 64: Stylistic 1000 Technical Reference Guide - Fujitsusolutions.us.fujitsu.com/www/content/pdf/st1000trg.pdfFujitsu Personal Systems, Inc. No part of this publication may be copied, reproduced,

This function accepts a parameter that determines the display select setting:

fGetDisplay_Select 5

The fGetDisplay_Select function queries the BIOS for the display select setting. A prototype of the function is shown below:

short fGetDisplay_Select(BYTE FAR *pbSelection, BYTE bPermanent, BYTE ReLD);

This function accepts a parameter that is a FAR pointer to a memory location where the function output will be stored. The function stores a BYTE value in this memory location that indicates the display select setting:

fSetGraphic_Video_Mode 5

The fSetGraphic_Video_Mode function sets the video mode for graphics. A prototype of the function is given below:

short fSetGraphic_Video_Mode(BYTE bSelection, BYTE bPermanent);

This function accepts two BYTE values, the first of which determines the graphics video mode setting:

fGetGraphic_Video_Mode 5

The fGetGraphic_Video_Mode function queries the BIOS for the graphic video mode setting. A prototype of the function is shown below:

short fGetGraphic_Video_Mode(BYTE FAR *pbSelection, BYTE bPermanent, BYTE ReLD);

This function accepts a parameter that is a FAR pointer to a memory location where the function output is stored. The function stores a BYTE value in this memory location that indicates the graphic video mode setting:

bSelection Value Description

DISPLAY_LCD LCD

DISPLAY_MONITOR Monitor

DISPLAY_SIMULTAN Both

Value Stored in *pbSelection Memory Location Description

0 LCD

1 Monitor

2 Both

bSelection Value Description

GRAPHICS_NORMAL Normal

GRAPHICS_REVERSED Reverse

Value Stored in *pbSelection Memory Location Description

0 Normal

1 Reverse

5-10 Static Library Functions for MS-DOS Application Development

Page 65: Stylistic 1000 Technical Reference Guide - Fujitsusolutions.us.fujitsu.com/www/content/pdf/st1000trg.pdfFujitsu Personal Systems, Inc. No part of this publication may be copied, reproduced,

fSetText_Video_Mode 5

The fSetText_Video_Mode function sets the video mode for text. A prototype of the function is given below:

short fSetText_Video_Mode(BYTE bSelection, BYTE bPermanent);

This function accepts a parameter that determines the text video mode setting:

fGetText_Video_Mode 5

The fGetText_Video_Mode function queries the BIOS for the text video mode setting. A prototype of the function is shown below:

short fGetText_Video_Mode(BYTE FAR *pbSelection, BYTE bPermanent, BYTE ReLD);

This function accepts a parameter that is a FAR pointer to a memory location where the function output is stored. The function stores a BYTE value in this memory location that indicates the text video mode setting:

fSetSpeaker 5

The fSetSpeaker function sets the speaker setting. A prototype of the function is given below:

short fSetSpeaker(BYTE bEnableIt, BYTE bPermanent);

This function accepts a parameter that determines the speaker setting:

fGetSpeaker 5

The fGetSpeaker function queries the BIOS for the speaker setting. A prototype of the function is shown below:

short fGetSpeaker(BYTE FAR *pbSelection, BYTE bPermanent, BYTE ReLD);

bSelection Value Description

TEXT_NORMAL Normal

TEXT_REVERSED Reverse

Value Stored in *pbSelection Memory Location Description

0 Normal

1 Reverse

bSelection Value Description

0 Off

1 On

FJSYS.LIB 5-11

Page 66: Stylistic 1000 Technical Reference Guide - Fujitsusolutions.us.fujitsu.com/www/content/pdf/st1000trg.pdfFujitsu Personal Systems, Inc. No part of this publication may be copied, reproduced,

This function accepts a parameter that is a FAR pointer to a memory location where the function output is stored. The function stores a BYTE value in this memory location that indicates the speaker setting:

fSetHDD_BootSector 5

The fSetHDD_BootSector function sets the hard disk drive boot sector setting. A prototype of the function is given below:

short fSetHDD_BootSector(BYTE bSelect);

This function accepts a BYTE value that determines the hard disk drive boot sector setting:

fGetHDD_BootSector 5

The fGetHDD_BootSector function queries the BIOS for the operational mode setting for the HDD boot sector setting. A prototype of the function is shown below:

short fGetHDD_BootSector(BYTE FAR *pbSelect, BYTE ReLD);

This function accepts a parameter that is a FAR pointer to a memory location where the function output is stored. The function stores a BYTE value in this memory location that indicates the hard disk drive boot sector setting:

Value Stored in *pbEnableIt Memory Location Description

0 Off

1 On

bSelect Value Description

HDDSECTOR_NORMAL Normal

HDDSECTOR_WRITEPR Write protect

Value Stored in *pbSelect Memory Location Description

0 Normal

1 Write protect

5-12 Static Library Functions for MS-DOS Application Development

Page 67: Stylistic 1000 Technical Reference Guide - Fujitsusolutions.us.fujitsu.com/www/content/pdf/st1000trg.pdfFujitsu Personal Systems, Inc. No part of this publication may be copied, reproduced,

fSetHDD_HeadRetract 5

The fSetHDD_HeadRetract function sets the hard disk drive head-retract timeout. A prototype of the function is given below:

short fSetHDD_HeadRetract(BYTE bSelect);

This functions accepts one value that determines the head-retract timeout setting:

fGetHDD_HeadRetract 5

The fGetHDD_HeadRetract function queries the BIOS for the hard disk drive head-retract timeout setting. A prototype of the function is shown below:

short fGetHDD_HeadRetract(BYTE FAR *pbSelect, BYTE ReLD);

bSelect Value Description

HDDRET_DEFAULT Hard disk drive default

HDDRET_DISABLED Disable head retract

HDDRET_1SEC 1 second

HDDRET_2SEC 2 seconds

HDDRET_3SEC 3 seconds

HDDRET_4SEC 4 seconds

HDDRET_5SEC 5 seconds

HDDRET_6SEC 6 seconds

HDDRET_7SEC 7 seconds

HDDRET_8SEC 8 seconds

HDDRET_9SEC 9 seconds

HDDRET_10SEC 10 seconds

HDDRET_15SEC 15 seconds

HDDRET_20SEC 20 seconds

FJSYS.LIB 5-13

Page 68: Stylistic 1000 Technical Reference Guide - Fujitsusolutions.us.fujitsu.com/www/content/pdf/st1000trg.pdfFujitsu Personal Systems, Inc. No part of this publication may be copied, reproduced,

The first parameter accepted by this function is a FAR pointer to a memory location where the function output is stored. This function stores a BYTE value in this memory location that indicates the hard disk drive head-retract timeout setting:

fSetHDD_Timeout 5

The fSetHDD_Timeout function sets hard disk drive timeout. A prototype of the function is given below:

short fSetHDD_Timeout(BYTE bSelection, BYTE ReLD);

This function accepts a BYTE values, that determines the hard disk drive timeout setting:

fGetHDD_Timeout 5

The fGetHDD_Timeout function queries the BIOS for the hard disk drive timeout setting. A prototype of the function is shown below:

short fGetHDD_Timeout(BYTE FAR *pbSelect, BYTE ReLD);

Value Stored in *pbSelect Memory Location Description

0 Hard disk drive default

1 Disable head retract

2 1 second

3 2 seconds

4 3 seconds

5 4 seconds

6 5 seconds

7 6 seconds

8 7 seconds

9 8 seconds

10 9 seconds

11 10 seconds

12 15 seconds

13 20 seconds

bSelection Value Description

HDD_TO_OFF Off

HDD_TO_5_SEC 5 seconds

HDD_TO_10_SEC 10 seconds

HDD_TO_30_SEC 30 seconds

HDD_TO_1_MIN 1 minute

HDD_TO_2_MIN 2 minutes

HDD_TO_4_MIN 4 minutes

HDD_TO_6_MIN 6 minutes

HDD_TO_8_MIN 8 minutes

HDD_TO_10_MIN 10 minutes

HDD_TO_15_MIN 15 minutes

HDD_TO_20_MIN 20 minutes

5-14 Static Library Functions for MS-DOS Application Development

Page 69: Stylistic 1000 Technical Reference Guide - Fujitsusolutions.us.fujitsu.com/www/content/pdf/st1000trg.pdfFujitsu Personal Systems, Inc. No part of this publication may be copied, reproduced,

This function accepts a parameter that is a FAR pointer to a memory location where the function output is stored. The function stores a BYTE value in this memory location that indicates the hard disk drive timeout setting:

fSetVideo_Timeout 5

The fSetVideo_Timeout function sets the video timeout. A prototype of the function is given below:

short fSetVideo_Timeout(BYTE bSelect, BYTE bPermanent);

The first parameter accepted by this function determines the video timeout setting:

The second parameter determines whether the current or permanent BIOS setting is affected:

Value Stored in *pbSelect Memory Location Description

0 Off

1 5 seconds

2 10 seconds

3 30 seconds

4 1 minute

5 2 minutes

6 4 minutes

7 6 minutes

8 8 minutes

9 10 minutes

10 15 minutes

11 20 minutes

bSelection Value Description

VID_TO_OFF Off

VID_TO_30_SEC 30 seconds

VID_TO_1_MIN 1 minute

VID_TO_2_MIN 2 minutes

VID_TO_4_MIN 4 minutes

VID_TO_6_MIN 6 minutes

VID_TO_8_MIN 8 minutes

VID_TO_10_MIN 10 minutes

VID_TO_15_MIN 15 minutes

VID_TO_20_MIN 20 minutes

bPermanent Value Description

0 Current

1 Permanent

FJSYS.LIB 5-15

Page 70: Stylistic 1000 Technical Reference Guide - Fujitsusolutions.us.fujitsu.com/www/content/pdf/st1000trg.pdfFujitsu Personal Systems, Inc. No part of this publication may be copied, reproduced,

fGetVideo_Timeout 5

The fGetVideo_Timeout function queries the BIOS for the hard disk drive timeout setting. A prototype of the function is shown below:

short fGetVideo_Timeout(BYTE FAR *pbSelect, BYTE bPermanent, BYTE ReLD);

This function accepts a parameter that is a FAR pointer to a memory location where the function output is stored. The function stores a BYTE value in this memory location that indicates the video timeout setting:

fSetAutoSuspend_Timeout 5

The fSetAutoSuspend_Timeout function sets the autosuspend timeout. A prototype of the function is given below:

short WINAPI fSetAutoSuspend_Timeout(BYTE bSelect, BYTE bPermanent);

This function accepts a parameter that determines the autosuspend timeout setting:

fGetAutoSuspend_Timeout 5

The fGetAutoSuspend_Timeout function queries the BIOS for the autosuspend timeout setting. A prototype of the function is shown below:

short fGetAutoSuspend_Timeout(BYTE FAR *pbSelect, BYTE bPermanent, BYTE ReLD);

Value Stored in *pbSelect Memory Location Description

0 Off

1 30 seconds

2 1 minute

3 2 minutes

4 4 minutes

5 6 minutes

6 8 minutes

7 10 minutes

8 15 minutes

9 20 minutes

bSelection Value Description

AUTOSUS_TO_OFF Off

AUTOSUS_TO_5_MIN 5 minutes

AUTOSUS_TO_10_MIN 10 minutes

AUTOSUS_TO_15_MIN 15 minutes

AUTOSUS_TO_20_MIN 20 minutes

AUTOSUS_TO_30_MIN 30 minutes

AUTOSUS_TO_40_MIN 40 minutes

AUTOSUS_TO_60_MIN 60 minutes

5-16 Static Library Functions for MS-DOS Application Development

Page 71: Stylistic 1000 Technical Reference Guide - Fujitsusolutions.us.fujitsu.com/www/content/pdf/st1000trg.pdfFujitsu Personal Systems, Inc. No part of this publication may be copied, reproduced,

This function accepts a parameter that is a FAR pointer to a memory location where the function output is stored. The function stores a BYTE value in this memory location that indicates the autosuspend timeout setting:

fSetCPU_Speed 5

The fSetCPU_Speed function sets the CPU speed. A prototype of the function is given below:

short fSetCPU_Speed(BYTE bSelect);

This function accepts a BYTE value that determines the CPU speed setting:

fGetCPU_Speed 5

The fGetCPU_Speed function queries the BIOS for the CPU speed. A prototype of the function is shown below:

short fGetCPU_Speed(BYTE FAR *pbSelect, BYTE ReLD);

This function accepts a parameter that is a FAR pointer to a memory location where the function output is stored. The function stores a BYTE value in this memory location that indicates the CPU speed setting:

fSetCPU_IdleMode 5

The fSetCPU_IdleMode function sets the CPU idle mode. A prototype of the function is given below:

short fSetCPU_IdleMode(BYTE bEnableIt, BYTE bPermanent);

This function accepts a parameter that determines the CPU idle mode setting:

Value Stored in *pbSelect Memory Location Description

0 Off

1 5 minutes

2 10 minutes

3 15 minutes

4 20 minutes

5 30 minutes

6 40 minutes

7 60 minutes

bSelect Value Description

CPUSPD_SLOW Slow (50 MHz)

CPUSPD_FAST Fast (100 MHz)

Value Stored in *pbSelect Memory Location Description

0 Slow (50 MHz)

1 Fast (100 MHz)

bEnableIt Value Description

0 Disable

1 Enable

FJSYS.LIB 5-17

Page 72: Stylistic 1000 Technical Reference Guide - Fujitsusolutions.us.fujitsu.com/www/content/pdf/st1000trg.pdfFujitsu Personal Systems, Inc. No part of this publication may be copied, reproduced,

fGetCPU_IdleMode 5

The fGeCPU_IdleMode function queries the BIOS for the CPU Idle mode setting. A prototype of the function is shown below:

short fGetCPU_IdleMode(BYTE FAR *pbEnableIt, BYTE bPermanent, BYTE ReLD);

This function accepts a parameter that is a FAR pointer to a memory location where the function output will be stored. The function stores a BYTE value in this memory location that indicates the CPU idle mode setting:

fSetPwrMgmtMode 5

The fSetPwrMgmtMode function sets the system power management mode. A prototype of the function is given below:

short fSetPwrMgmtMode(BYTE bSelection, BYTE bPermanent);

This function accepts a parameter that determines the power management mode setting:

fGetPwrMgmtMode 5

The fGetPwrMgmtMode function queries the BIOS for the power management mode setting. A prototype of the function is shown below:

short fGetPwrMgmtMode(BYTE FAR *pbSelection, BYTE bPermanent, BYTE ReLD);

This function accepts a parameter that is a FAR pointer to a memory location where the function output is stored. The function stores a BYTE value in this memory location that indicates the power management mode setting:

fSetStandby_Timeout 5

The fSetStandby_Timeout function sets the standby timeout. A prototype of the function is given below:

short fSetStandby_Timeout(BYTE bSelect, BYTE bPermanent);

Value Stored in *pbEnableIt Memory Location Description

0 Disable

1 Enable

bSelection Value Description

PWRMGMT_OFF Off

PWRMGMT_CUSTOM Custom

PWRMGMT_MAXPERF Maximum performance

PWRMGMT_MAXBATTERY Maximum battery life

Value Stored in *pbSelection Memory Location Description

0 Off

1 Custom

3 Maximum performance

4 Maximum battery life

5-18 Static Library Functions for MS-DOS Application Development

Page 73: Stylistic 1000 Technical Reference Guide - Fujitsusolutions.us.fujitsu.com/www/content/pdf/st1000trg.pdfFujitsu Personal Systems, Inc. No part of this publication may be copied, reproduced,

This function accepts a parameter that determines the standby timeout setting:

fGetStandby_Timeout 5

The fGetStandby_Timeout function queries the BIOS for the standby timeout setting. A prototype of the function is shown below:

short fGetStandby_Timeout(BYTE FAR *pbSelect, BYTE bPermanent, BYTE ReLD);

This function accepts a parameter that is a FAR pointer to a memory location where the function output is stored. The function stores a BYTE value in this memory location that indicates the standby timeout setting:

fSetSuspend_Mode 5

The fSetSuspend_Mode function sets the suspend mode. A prototype of the function is given below:

short fSetSuspend_Mode(BYTE bSelect, BYTE bPermanent);

This function accepts two BYTE values, the first of which determines the suspend mode setting:

fGetSuspend_Mode 5

The fGetSuspend_Mode function queries the BIOS for the suspend mode setting. A prototype of the function is shown below:

short fGetSuspend_Mode(BYTE FAR *pbSelect, BYTE bPermanent, BYTE ReLD);

bSelection Value Description

STDBY_TO_OFF Off

STDBY_TO_1_MIN 1 minute

STDBY_TO_2_MIN 2 minutes

STDBY_TO_4_MIN 4 minutes

STDBY_TO_6_MIN 6 minutes

STDBY_TO_8_MIN 8 minutes

STDBY_TO_12_MIN 12 minutes

STDBY_TO_16_MIN 16 minutes

Value Stored in *pbSelect Memory Location Description

0 Off

1 1 minute

2 2 minutes

3 4 minutes

4 6 minutes

5 8 minutes

6 12 minutes

7 16 minutes

bSelection Value Description

SUSMODE_SUSPEND Suspend

SUSMODE_SAVE2DISK Save to Disk

FJSYS.LIB 5-19

Page 74: Stylistic 1000 Technical Reference Guide - Fujitsusolutions.us.fujitsu.com/www/content/pdf/st1000trg.pdfFujitsu Personal Systems, Inc. No part of this publication may be copied, reproduced,

This function accepts a parameter that is a FAR pointer to a memory location where the function output is stored. The function stores a BYTE value in this memory location that indicates the suspend mode setting:

fSetResumeOnModemRing 5

The fSetResumeOnModemRing function configures the resume on modem ring BIOS option. A prototype of the function is given below:

short fSetResumeOnModemRing(BYTE bEnableIt, BYTE bPermanent);

This function accepts two BYTE values, the first of which determines the resume on modem ring setting:

fGetResumeOnModemRing 5

The fGetResumeOn function queries the BIOS for the suspend mode setting. A prototype of the function is shown below:

short fGetResumeonModemRing(BYTE FAR *pbSelect, BYTE bPermanent, , BYTE ReLD);

This function accepts a parameter that is a FAR pointer to a memory location where the function output will be stored. The function stores a BYTE value in this memory location that indicates the suspend mode setting:

fSetResumeTime 5

The fSetResumeTime function sets the resume time BIOS option. A prototype of the function is given below:

short fSetResumeTime(BYTE bBCDHour, BYTE bBCDMin, BYTE bBCDSec, BYTE bPermanent, BYTE bEnableIt);

Value Stored in *pbSelect Memory Location Description

0 Suspend

1 Save to Disk

bEnableIt Value Description

0 Off

1 9-pin (RS-232) serial port

2 PCMCIA card

Value Stored in *pbSelect Memory Location Description

0 Off

1 9-pin (RS-232) serial port

2 PCMCIA card

5-20 Static Library Functions for MS-DOS Application Development

Page 75: Stylistic 1000 Technical Reference Guide - Fujitsusolutions.us.fujitsu.com/www/content/pdf/st1000trg.pdfFujitsu Personal Systems, Inc. No part of this publication may be copied, reproduced,

The first three parameters accepted by this function are binary-coded decimal values that determine the resume time setting in hours, minutes, and seconds, respectively:

fGetResumeTime 5

The fGetResumeTime function queries the resume time setting. A prototype of the function is given below:

short fGetResumeTime(BYTE *bBCDHour, BYTE *bBCDMin, BYTE *bBCDSec, BYTE bPermanent, BYTE *bEnabled, BYTE bReLD);

The first three parameters accepted by this function are pointers to memory locations where the requested data is stored:

fSetHotPad_Access 5

The fSetHotPad_Access function allows you to disable the hotpad access BIOS setting on the Stylistic 1000 depending on the values passed to the function. A prototype of the function is shown below:

short fSetHotPad_Access(BYTE bEnableIt);

fGetHotPad_Access 5

The fGetHotPad_Access function queries the hotpad access setting. A prototype of the function is given below:

short fGetHotPad_Access(BYTE *bEnableIt, BYTE bReLD);

Parameter Acceptable values

bBCDHour Binary-coded decimal value of the resume time hour. Acceptable values are 0 through 23. (Note that the Stylistic 1000 uses a 24-hour clock. )

bBCDMin Binary-coded decimal value of the resume time minute (0 through 59).

bBCDSec Binary-coded decimal value of the resume time second (0 through 59).

bPermanent Determines whether the function affects permanent or current BIOS settings:1 Permanent0 Current

Parameter Acceptable values

*bBCDHour Pointer to memory location where the resume time hour value is stored in binary-coded decimal format.

*bBCDMin Pointer to memory location where the resume time minute value is stored in binary-coded decimal format.

*bBCDSec Pointer to memory location where the resume time second value is stored in binary-coded decimal format.

bEnableIt Value Description

0 Hotpads disabled.

1 Hotpads enabled.

FJSYS.LIB 5-21

Page 76: Stylistic 1000 Technical Reference Guide - Fujitsusolutions.us.fujitsu.com/www/content/pdf/st1000trg.pdfFujitsu Personal Systems, Inc. No part of this publication may be copied, reproduced,

This function stores the requested data in the memory location pointed to by the *bEnableIt parameter.

Value stored in *bEnableIt Description

0 Hotpads disabled.

1 Hotpads enabled.

5-22 Static Library Functions for MS-DOS Application Development

Page 77: Stylistic 1000 Technical Reference Guide - Fujitsusolutions.us.fujitsu.com/www/content/pdf/st1000trg.pdfFujitsu Personal Systems, Inc. No part of this publication may be copied, reproduced,

Chapter 6

APIs for 16-Bit Windows Applications

This chapter discusses 16-bit Application Programming Interfaces (APIs) included in development libraries for 16-bit Windows applications.

Dynamically Linked Libraries for 16-Bit Application Development 6

The APIs in this chapter are included in Dynamically Linked Libraries (DLLs) and can be called from applications developed in languages that support dynamic linking to DLLs such as C, or Microsoft Visual BASIC. DLLs covered in this chapter include:

• HOTPAD.DLLThis DLL allows applications to interface with the programmable hotpad. (Included with Stylistic 1000 Developer Utilities.)

• ST1SETUP.DLLThis DLL allows applications to configure BIOS options. (Included with Stylistic 1000 Developer Utilities.)

For details on static libraries for use with MS-DOS, refer to Chapter 6. For details on 32-bit libraries for use with Windows 95, refer to Chapter 7.

Note: Functions included in different development libraries (MS-DOS, 16-bit Windows, and 32-bit Windows libraries) will conflict with one another if they run at the same time.

HOTPAD.DLL 6

HOTPAD.DLL includes two functions that allow Windows applications to interface with the programmable hotpad on the Stylistic 1000. The first, SetHotpadNotification, enables hotpad notification. The second, KillHotpadNotification, is used to disable hotpad notification and should be called before the application terminates. Hotpad notification is performed via a message or a callback function and is sent each time a hotpad event occurs (when the programmable hotpad is tapped).

Note: To use this DLL, you must include the header file HOTPAD.H in your source code. HOTPAD.H contains the symbol definitions for symbols used in HOTPAD.DLL.

6-1

Page 78: Stylistic 1000 Technical Reference Guide - Fujitsusolutions.us.fujitsu.com/www/content/pdf/st1000trg.pdfFujitsu Personal Systems, Inc. No part of this publication may be copied, reproduced,

SetHotpadNotification 6

A prototype of SetHotpadNotification is shown below:

INT WINAPI _export SetHotpadNotification ( HWND hAppWnd, UNIT nMsgId, FARPROC lpfnNotifyCallback)

This function accepts the following parameters:

Return Value 6

SetHotpadNotification returns a nonzero positive integer that is a unique notification ID. If there is an error, SetHotpadNotification returns a zero or negative value that corresponds to the type of error as described below:

Comments 6

More than one application can call SetHotpadNotification to request notification of hotpad events. Once hotpad notification has been enabled, notification is sent to the calling application each time a hotpad event occurs.

When notification is performed via messages, a message is sent to the calling application using the nMsgId parameter that was originally passed to SetHotpadNotification.

When hotpad notification is performed via a callback function, a callback function is executed using the lpfnNotifyCallback parameter as the callback-function address. The callback function should be declared in the following manner:

void CALLBACK _export HotpadNotifyProc ( )

where HotpadNotifyProc is a placeholder for the application defined function name.

Parameter Description

hAppWnd Handle of the application window that receives the hotpad notification message. (If this argument is NULL, lpfnNotifyCallback must be a valid callback address.)

nMsgId Message ID of the hotpad notification message that will be sent to the calling application window when a hotpad event occurs. (If hAppWnd is not NULL, this parameter is required.)

lpfnNotifyCallback Far pointer to the callback function. This argument is required if hAppWnd is NULL. (If hAppWnd is not NULL, lpfnNotifyCallback is ignored.)

Return Value Description

Positive nonzero integer. Hotpad notification ID. SetHotpadNotification assigns a hotpad notification ID number for each occurrence of the SetHotpadNotification function that is a unique ID number. This ID number is valid until notification is turned off using the KillHotpadNotification function. This ID number should be stored for future reference each time SetHotpadNotification is called. This number is a required parameter when hotpad notification is turned off using the KillHotpadNotification function.

0 Memory allocation failure.

-1 Invalid window handle passed as argument.

-2 Could not allocate system timer.

-3 Invalid callback function pointer passed as argument.

6-2 APIs for 16-Bit Windows Applications

Page 79: Stylistic 1000 Technical Reference Guide - Fujitsusolutions.us.fujitsu.com/www/content/pdf/st1000trg.pdfFujitsu Personal Systems, Inc. No part of this publication may be copied, reproduced,

KillHotPadNotification 6

The KillHotPadNotification function is used to disable hotpad notification that was enabled using SetHotpadNotification. KillHotPadNotification should be called once for each occurrence of SetHotpadNotification in the application at some point before the application quits. The function prototype for KillHotpadNotification is shown below:

BOOL WINAPI _export KillHotpadNotification ( int nNotifyId )

This function requires the hotpad notification ID value returned by the corresponding SetHotpadNotification function to be passed as the nNotifyId parameter:

Return Value 6

KillHotpadNotification returns a BOOL value as described below:

ST1SETUP.DLL 6

ST1SETUP.DLL is a 16-bit DLL that Windows application developers can use to write programs that configure specific BIOS parameters. This DLL contains Windows APIs for each configurable BIOS parameter.

Note: To use this DLL, you must include the header file ST1SETUP.H in your source code. ST1SETUP.H contains the symbol definitions for parameters in functions that accept symbols.

Permanent and Current Settings 6

Some BIOS configuration functions can be used to query or set permanent or current settings. Changes to permanent settings are written to the flash BIOS memory and take effect when you reboot the system. Changes to current settings are written to RAM and take effect when you call the exit function fFJSys_Exit.

Functions that accept the parameter bPermanent can change permanent or current BIOS settings depending on the value passed as described below. (Functions that do not accept the bPermanent parameter affect only permanent settings.)

Parameter Description

nNotifyId Integer value of the hotpad notification ID returned by the corresponding SetHotpadNotification function.

Return Value Description

TRUE Returned if the function is successful. The function is successful if the nNotifyId value passed to the function is a valid hotpad notification ID.

FALSE Returned if the function fails. The function fails if the nNotifyId value passed to the function is not a valid hotpad notification ID.

bPermanent Value Description

0 Set or query current parameter values.

1 Set or query permanent parameter values.

ST1SETUP.DLL 6-3

Page 80: Stylistic 1000 Technical Reference Guide - Fujitsusolutions.us.fujitsu.com/www/content/pdf/st1000trg.pdfFujitsu Personal Systems, Inc. No part of this publication may be copied, reproduced,

Session Buffer 6

Changes you make to BIOS parameters are stored in a session buffer when you use BIOS configuration functions included in ST1SETUP.DLL. For this reason, you must call the fFJSys_Init function to establish the session buffer before you can call any BIOS configuration functions. Once the session buffer is established, any BIOS configuration functions can be called and changes to permanent and current BIOS settings can be made. After all desired changes are made to BIOS options, you must call the FJSys_Exit function and either load or discard the changes stored in the session buffer. This process is outlined below:

1. Establish the session buffer by calling fFJSys_Init.

2. Call any desired BIOS configuration functions in ST1SETUP.DLL.

3. Exit the session using the FJSys_Exit function and save changes if desired.

Note that after you call the FJSys_Exit function and save or discard your changes, the session buffer is no longer active. In this situation, you must reestablish the session buffer if you are going to make additional BIOS configuration changes.

fFJSys_Init 6

This function reads all BIOS configuration parameter settings and creates a session buffer that holds the configuration data. This function must be called once to establish the session buffer before any BIOS configuration functions included in the ST1SETUP.DLL can be called. A prototype of the function is given below:

short WINAPI fFJSys_Init(void);

Return values for this function are the same as those described in “Return Values and Error Codes” later in this chapter.

FJSys_Exit 6

This function either saves or discards changes stored in the session buffer. A prototype of the function is given below:

short fFJSys_Exit(BYTE bSaveSettings);

The bSaveSettings parameter value determines whether BIOS settings stored in the session buffer are saved or discarded as described below:

Note that after this function is executed, the session buffer is no longer active.

bSaveSettings Value Description

FJEXIT_SAVE Write session buffer to CMOS.

FJEXIT_RELOAD_PREV Overwrite the session buffer with configuration data stored in CMOS. (All previous configuration changes are lost.)

FJEXIT_ABORT Close the session without saving changes.

6-4 APIs for 16-Bit Windows Applications

Page 81: Stylistic 1000 Technical Reference Guide - Fujitsusolutions.us.fujitsu.com/www/content/pdf/st1000trg.pdfFujitsu Personal Systems, Inc. No part of this publication may be copied, reproduced,

Return Values and Error Codes 6

All of the functions included in ST1SETUP.DLL have the same set of return values. These functions return a signed SHORT integer value that indicate whether the function is successful:

Programmable Hotpad Function 6

The function fGetHotPad_Status is provided for application developers who need to interface with the programmable hotpad on the Stylistic 1000.

Note: • The fGetHotPad_Status function does not use the session buffer. You can call this function at any time without calling the fFJSys_Init or fFJSys_Exit functions.

• You can also use the APIs described in Chapter 4, “Programmable Hotpad,” to interface with the programmable hotpad in 16-bit and 32-bit Windows applications.

fGetHotPad_Status 6

This function allows an application to monitor the programmable hotpad on the Stylistic 1000 by periodically polling the function and checking the return value. A prototype of fGetHotPad_Status is shown below.

short WINAPI fGetHotPad_Status(void);

The value returned by fGetHotPad_Status is a short integer and indicates whether a hotpad event has occurred since the last instance of fGetHotPad_Status as described below:

BIOS Configuration APIs 6

API functions included in ST1SETUP.DLL that configure BIOS parameters are described below. Note that some of these functions can be used to configure either permanent (CMOS) BIOS settings or current BIOS settings.

Note: Some BIOS configuration functions accept symbols as parameters. Symbol definitions are contained in the header file ST1SETUP.H. You must include the header file ST1SETUP.H in your source code to use functions in this DLL.

fSetBootSequence 6

This function is used to set the boot sequence. A prototype of the function is shown below.

short WINAPI fSetBootSequence(BYTE bSequence);

Return Value Description

0 Function is successful

-1 Bad parameter passed to function

-2 Internal error

Return Value Description

0 Returned if a hotpad event has not occurred since the last instance of fGetHotPad_Status.

1 Returned if a hotpad event has occurred since the last instance of fGetHotPad_Status.

ST1SETUP.DLL 6-5

Page 82: Stylistic 1000 Technical Reference Guide - Fujitsusolutions.us.fujitsu.com/www/content/pdf/st1000trg.pdfFujitsu Personal Systems, Inc. No part of this publication may be copied, reproduced,

This function configures the Stylistic 1000 to use one of three boot sequences, depending on the value of the bSequence parameter passed to the function. The boot sequence selected for each acceptable value is described below.

fGetBootSequence 6

This function queries the BIOS for the boot sequence setting. A prototype of the fGetBootSequence function is shown below:

short WINAPI fGetBootSequence(BYTE FAR *pbSequence);

This function accepts one parameter that is a FAR pointer to a memory location where the function output will be stored. The function stores a BYTE value in this memory location that indicates the boot sequence setting:

fSetDisplaySetupPrompt 6

The fSetDisplaySetupPrompt function is used to enable or disable the PenSETUP prompt. A prototype of the function is given below:

short WINAPI fSetDisplaySetupPrompt (BYTE bDisplayIt);

This function accepts a BYTE value as a parameter that determines whether the PenSETUP prompt will be enabled or disabled:

fGetDisplaySetupPrompt 6

The fGetDisplaySetupPrompt function queries the BIOS for the PenSETUP prompt setting. A prototype of the function is shown below:

short WINAPI fGetDisplaySetupPrompt (BYTE FAR *pbDisplayIt);

bSequence Value Description

BOOT_A_THEN_C A: then C:

BOOT_C_THEN_A C: then A:

BOOT_C_ONLY C:

Value Stored in *pbSequence Memory Location Description

0

1

2

A: then C:

C: then A:

C: only

bDisplayIt Value Description

0 Disable PenSETUP prompt.

1 Enable PenSETUP prompt.

6-6 APIs for 16-Bit Windows Applications

Page 83: Stylistic 1000 Technical Reference Guide - Fujitsusolutions.us.fujitsu.com/www/content/pdf/st1000trg.pdfFujitsu Personal Systems, Inc. No part of this publication may be copied, reproduced,

This function accepts one parameter that is a FAR pointer to a memory location where the function output will be stored. The function stores a BYTE value in this memory location that indicates the PenSETUP prompt setting:

fSetPOSTErrors 6

The fSetPOSTErrors function configures the POST Errors setting. A prototype of the function is given below:

short WINAPI fSetPOSTErrors (BYTE bDisplay_F1Prompt);

This function accepts a BYTE value that determines whether the POST errors option is enabled:

fGetPOSTErrors 6

The fGetPOSTErrors function queries the BIOS for the POST Errors setting. A prototype of the function is given below:

short WINAPI fGetPOSTErrors (BYTE FAR *pbDisplay_F1Prompt);

This function accepts one parameter that is a FAR pointer to a memory location where the function output will be stored. The function stores a BYTE value in this memory location that indicates the Post Errors setting:

fSetSummaryScreen 6

The fSetSummaryScreen function configures the Summary Screen setting. A prototype of the function is given below:

short WINAPI fSetSummaryScreen (BYTE bDisplayIt);

This function accepts a BYTE value that determines whether the POST errors option is enabled:

Value Stored in *pbDisplayIt Memory Location Description

0 Disabled

1 Enabled

bDisplay_F1Prompt Value Description

0 Disable POST errors.

1 Enable POST errors.

Value Stored in *pbDisplay_F1Prompt Memory Location Description

0 Disabled

1 Enabled

bDisplay_F1Prompt Value Description

0 Disabled

1 Enabled

ST1SETUP.DLL 6-7

Page 84: Stylistic 1000 Technical Reference Guide - Fujitsusolutions.us.fujitsu.com/www/content/pdf/st1000trg.pdfFujitsu Personal Systems, Inc. No part of this publication may be copied, reproduced,

fGetSummaryScreen 6

The fGetSummaryScreen function queries the BIOS for the Summary Screen setting. A prototype of the function is shown below:

short WINAPI fGetSummaryScreen(BYTE FAR *pbDisplayIt);

This function accepts one parameter that is a FAR pointer to a memory location where the function output will be stored. The function stores a BYTE value in this memory location that indicates the Summary Screen setting:

fSetNumLockState 6

The fSetNumLockState function configures the Numlock State setting. A prototype of the function is given below:

short WINAPI fSetNumLockState (BYTE bState);

This function accepts a BYTE value that determines how the numlock option is configured:

fGetNumLockState 6

The fGetNumlockState function queries the BIOS for the Numlock State setting. A prototype of the function is shown below:

short WINAPI fGetNumLockState(BYTE FAR *pbState);

This function accepts one parameter that is a FAR pointer to a memory location where the function output will be stored. The function stores a BYTE value in this memory location that indicates the Numlock State setting:

fSetSerialA_Address 6

The fSetSerialA_Address function configures the I/O address for the RS-232 serial port (serial port A). A prototype of the function is given below:

short WINAPI fSetSerialA_Address (BYTE bSelection);

Value Stored in *pbDisplayIt Memory Location Description

0 Disabled

1 Enabled

bState Value Description

NUMLOCK_AUTO Auto

NUMLOCK_ON On

NUMLOCK_OFF Off

Value Stored in *pbState Memory Location Description

0 Disabled

1 Enabled

6-8 APIs for 16-Bit Windows Applications

Page 85: Stylistic 1000 Technical Reference Guide - Fujitsusolutions.us.fujitsu.com/www/content/pdf/st1000trg.pdfFujitsu Personal Systems, Inc. No part of this publication may be copied, reproduced,

This function accepts a BYTE value that determines the I/O address setting:

fGetSerialA_Address 6

The fGetSerialA_Address function queries the BIOS for the I/O address setting for the RS-232 serial port (serial port A). A prototype of the function is shown below:

short WINAPI fGetSerialA_Address(BYTE FAR *pbSelection);

This function accepts one parameter that is a FAR pointer to a memory location where the function output will be stored. The function stores a BYTE value in this memory location that indicates the I/O address setting:

fSetSerialB_Device 6

The fSetSerialB_Device function selects the serial port B device. A prototype of the function is given below:

short WINAPI fSetSerialB_Device(BYTE bSelection, BYTE bPermanent);

This bSelection parameter determines the serial port B device setting:

fGetSerialB_Device 6

The fGetSerialB_Device function queries the BIOS for the serial port B device setting. A prototype of the function is shown below:

short WINAPI fGetSerialB_Device(BYTE FAR *pbSelection, BYTE bPermanent);

The *pbSelection parameter is a FAR pointer to a memory location where the function output is stored. The function stores a BYTE value in this memory location that indicates the serial port B device setting:

bSelection Value Description

SERIALA_DISABLED Disabled

SERIALA_3F8_IRQ4 3F8 IRQ4

SERIALA_2F8_IRQ3 2F8 IRQ3

SERIALA_3E8_IRQ4 3E8 IRQ4

Value Stored in *pbSelection Memory Location Description

0 Disabled

1 3F8 IRQ4

2 2F8 IRQ3

3 3E8 IRQ4

bSelection Value Description

SERIALB_INFRARED IrDA Port

SERIALB_3_PIN RX/TX Serial Port

Value Stored in *pbSelection Memory Location Description

0 IrDA Port

1 RX/TX Serial Port

ST1SETUP.DLL 6-9

Page 86: Stylistic 1000 Technical Reference Guide - Fujitsusolutions.us.fujitsu.com/www/content/pdf/st1000trg.pdfFujitsu Personal Systems, Inc. No part of this publication may be copied, reproduced,

fSetSerialB_Address 6

The fSetSerialB_Address function configures the I/O address for serial port B. A prototype of the function is given below:

short WINAPI fSetSerialB_Address (BYTE bSelection);

This function accepts a BYTE value that determines the I/O address setting:

fGetSerialB_Address 6

The fGetSerialB_Address function queries the BIOS for the I/O address setting for serial port B. A prototype of the function is shown below:

short WINAPI fGetSerialB_Address(BYTE FAR *pbSelection);

This function accepts one parameter that is a FAR pointer to a memory location where the function output is stored. The function stores a BYTE value in this memory location that indicates the I/O address setting:

fSetLPT_Address 6

The fSetLPT_Address function configures the I/O address for the LPT port. A prototype of the function is given below:

short WINAPI fSetLPT_Address (BYTE bSelection);

This function accepts a BYTE value that determines the I/O address setting:

bSelection Value Description

SERIALB_DISABLED Disabled

SERIALB_3F8_IRQ4 3F8 IRQ4

SERIALB_2F8_IRQ3 2F8 IRQ3

SERIALB_3E8_IRQ4 3E8 IRQ4

Value Stored in *pbSelection Memory Location Description

0 Disabled

1 3F8 IRQ4

2 2F8 IRQ3

3 3E8 IRQ4

bSelection Value Description

LPT_DISABLED Disabled

LPT_378_IRQ7 378 IRQ7

LPT_278_IRQ7 278 IRQ7

LPT_378_IRQ5 378 IRQ5

LPT_278_IRQ5 278 IRQ5

6-10 APIs for 16-Bit Windows Applications

Page 87: Stylistic 1000 Technical Reference Guide - Fujitsusolutions.us.fujitsu.com/www/content/pdf/st1000trg.pdfFujitsu Personal Systems, Inc. No part of this publication may be copied, reproduced,

fGetLPT_Address 6

The fGetLPT_Address function queries the BIOS for the I/O address setting for the LPT port. A prototype of the function is shown below:

short WINAPI fGetLPT_Address(BYTE FAR *pbSelection);

This function accepts one parameter that is a FAR pointer to a memory location where the function output is stored. The function stores a BYTE value in this memory location that indicates the I/O address setting:

fSetLPT_Mode 6

The fSetLPT_Mode function configures the operational mode for the LPT port. A prototype of the function is given below:

short WINAPI fSetLPT_Mode (BYTE bSelection);

This function accepts a BYTE value that determines the LPT mode setting:

fGetLPT_Mode 6

The fGetLPT_Mode function queries the BIOS for the operational mode setting for the LPT port. A prototype of the function is shown below:

short WINAPI fGetLPT_Mode(BYTE FAR *pbSelection);

This function accepts one parameter that is a FAR pointer to a memory location where the function output is stored. The function stores a BYTE value in this memory location that indicates the LPT mode setting:

Value Stored in *pbSelection Memory Location Description

0 Disabled

1 378 IRQ7

2 278 IRQ7

3 378 IRQ5

4 278 IRQ5

bSelection Value Description

LPTMODE_OUTPUTONLY Output only

LPTMODE_BIDIRECT Bidirectional

LPTMODE_ECP ECP (Extended Capabilities Port)

Value Stored in *pbSelection Memory Location Description

0 Output only

1 Bidirectional

3 ECP (Extended Capabilities Port)

ST1SETUP.DLL 6-11

Page 88: Stylistic 1000 Technical Reference Guide - Fujitsusolutions.us.fujitsu.com/www/content/pdf/st1000trg.pdfFujitsu Personal Systems, Inc. No part of this publication may be copied, reproduced,

fSetDisplay_Select 6

The fSetDisplay_Select function selects the system display. A prototype of the function is given below:

short WINAPI fSetDisplay_Select(BYTE bSelection, BYTE bPermanent);

The bSelection parameter value determines the display select setting:

fGetDisplay_Select 6

The fGetDisplay_Select function queries the BIOS for the display select setting. A prototype of the function is shown below:

short WINAPI fGetDisplay_Select(BYTE FAR *pbSelection, BYTE bPermanent);

The *pbSelection parameter is a FAR pointer to a memory location where the function output is stored. The function stores a BYTE value in this memory location that indicates the display select setting:

fSetGraphic_Video_Mode 6

The fSetGraphic_Video_Mode function sets the video mode for graphics. A prototype of the function is given below:

short WINAPI fSetGraphic_Video_Mode(BYTE bSelection, BYTE bPermanent);

This function accepts two BYTE values, the first of which determines the graphics video mode setting:

The second parameter determines whether the current or permanent BIOS setting is affected:

bSelection Value Description

DISPLAY_LCD LCD

DISPLAY_MONITOR Monitor

DISPLAY_SIMULTAN Both

Value Stored in *pbSelection Memory Location Description

0 LCD

1 Monitor

2 Both

bSelection Value Description

GRAPHICS_NORMAL Normal

GRAPHICS_REVERSED Reverse

bPermanent Value Description

0 Current

1 Permanent

6-12 APIs for 16-Bit Windows Applications

Page 89: Stylistic 1000 Technical Reference Guide - Fujitsusolutions.us.fujitsu.com/www/content/pdf/st1000trg.pdfFujitsu Personal Systems, Inc. No part of this publication may be copied, reproduced,

fGetGraphic_Video_Mode 6

The fGetGraphic_Video_Mode function queries the BIOS for the graphic video mode setting. A prototype of the function is shown below:

short WINAPI fGetGraphic_Video_Mode(BYTE FAR *pbSelection, BYTE bPermanent);

The *pbSelection parameter is a FAR pointer to a memory location where the function output is stored. The function stores a BYTE value in this memory location that indicates the graphic video mode setting:

fSetText_Video_Mode 6

The fSetText_Video_Mode function sets the video mode for text. A prototype of the function is given below:

short WINAPI fSetText_Video_Mode(BYTE bSelection, BYTE bPermanent);

The pbSelection parameter determines the text video mode setting:

fGetText_Video_Mode 6

The fGetText_Video_Mode function queries the BIOS for the text video mode setting. A prototype of the function is shown below:

short WINAPI fGetText_Video_Mode(BYTE FAR *pbSelection, BYTE bPermanent);

The *pbSelection parameter is a FAR pointer to a memory location where the function output is stored. The function stores a BYTE value in this memory location that indicates the text video mode setting:

fSetSpeaker 6

The fSetSpeaker function sets the speaker setting. A prototype of the function is given below:

short WINAPI fSetSpeaker(BYTE bEnableIt, BYTE bPermanent);

The bEnableIt parameter determines the speaker setting:

Value Stored in *pbSelection Memory Location Description

0 Normal

1 Reverse

bSelection Value Description

TEXT_NORMAL Normal

TEXT_REVERSED Reverse

Value Stored in *pbSelection Memory Location Description

0 Normal

1 Reverse

bSelection Value Description

0 Off

1 On

ST1SETUP.DLL 6-13

Page 90: Stylistic 1000 Technical Reference Guide - Fujitsusolutions.us.fujitsu.com/www/content/pdf/st1000trg.pdfFujitsu Personal Systems, Inc. No part of this publication may be copied, reproduced,

fGetSpeaker 6

The fGetSpeaker function queries the BIOS for the speaker setting. A prototype of the function is shown below:

short WINAPI fGetSpeaker(BYTE FAR *pbSelection, BYTE bPermanent);

The *pbSelection parameter is a FAR pointer to a memory location where the function output is stored. The function stores a BYTE value in this memory location that indicates the speaker setting:

fSetHDD_BootSector 6

The fSetHDD_BootSector function sets the hard disk drive boot sector setting. A prototype of the function is given below:

short WINAPI fSetHDD_BootSector(BYTE bSelect);

This function accepts a BYTE value that determines the hard disk drive boot sector setting:

fGetHDD_BootSector 6

The fGetHDD_BootSector function queries the BIOS for the operational mode setting for the HDD boot sector setting. A prototype of the function is shown below:

short WINAPI fGetHDD_BootSector(BYTE FAR *pbSelect);

This function accepts one parameter that is a FAR pointer to a memory location where the function output is stored. The function stores a BYTE value in this memory location that indicates the hard disk drive boot sector setting:

fSetHDD_Timeout 6

The fSetHDD_Timeout function sets hard disk drive timeout. A prototype of the function is given below:

short WINAPI fSetHDD_Timeout(BYTE bSelection, BYTE bPermanent);

Value Stored in *pbEnableIt Memory Location Description

0 Off

1 On

bSelect Value Description

HDDSECTOR_NORMAL Normal

HDDSECTOR_WRITEPR Write protect

Value Stored in *pbSelect Memory Location Description

0 Normal

1 Write protect

6-14 APIs for 16-Bit Windows Applications

Page 91: Stylistic 1000 Technical Reference Guide - Fujitsusolutions.us.fujitsu.com/www/content/pdf/st1000trg.pdfFujitsu Personal Systems, Inc. No part of this publication may be copied, reproduced,

The pbSelection parameter value determines the hard disk drive timeout setting:

The second parameter determines whether the current or permanent BIOS setting is affected:

fGetHDD_Timeout 6

The fGetHDD_Timeout function queries the BIOS for the hard disk drive timeout setting. A prototype of the function is shown below:

short WINAPI fGetHDD_Timeout(BYTE FAR *pbSelect, BYTE bPermanent);

The *pbSelect parameter is a FAR pointer to a memory location where the function output is stored. The function stores a BYTE value in this memory location that indicates the hard disk drive timeout setting:

bSelection Value Description

HDD_TO_OFF Off

HDD_TO_5_SEC 5 seconds

HDD_TO_10_SEC 10 seconds

HDD_TO_30_SEC 30 seconds

HDD_TO_1_MIN 1 minute

HDD_TO_2_MIN 2 minutes

HDD_TO_4_MIN 4 minutes

HDD_TO_6_MIN 6 minutes

HDD_TO_8_MIN 8 minutes

HDD_TO_10_MIN 10 minutes

HDD_TO_15_MIN 15 minutes

HDD_TO_20_MIN 20 minutes

bPermanent Value Description

0 Current

1 Permanent

Value Stored in *pbSelect Memory Location Description

0 Off

1 5 seconds

2 10 seconds

3 30 seconds

4 1 minute

5 2 minutes

6 4 minutes

7 6 minutes

8 8 minutes

9 10 minutes

10 15 minutes

11 20 minutes

ST1SETUP.DLL 6-15

Page 92: Stylistic 1000 Technical Reference Guide - Fujitsusolutions.us.fujitsu.com/www/content/pdf/st1000trg.pdfFujitsu Personal Systems, Inc. No part of this publication may be copied, reproduced,

fSetVideo_Timeout 6

The fSetVideo_Timeout function sets the video timeout. A prototype of the function is given below:

short WINAPI fSetVideo_Timeout(BYTE bSelect, BYTE bPermanent);

The bSelect parameter value determines the video timeout setting:

fGetVideo_Timeout 6

The fGetVideo_Timeout function queries the BIOS for the hard disk drive timeout setting. A prototype of the function is shown below:

short WINAPI fGetVideo_Timeout(BYTE FAR *pbSelect, BYTE bPermanent);

The *pbSelect parameter is a FAR pointer to a memory location where the function output is stored. The function stores a BYTE value in this memory location that indicates the video timeout setting:

fSetAutoSuspend_Timeout 6

The fSetAutoSuspend_Timeout function sets the autosuspend timeout. A prototype of the function is given below:

short WINAPI fSetAutoSuspend_Timeout(BYTE bSelect, BYTE bPermanent);

bSelection Value Description

VID_TO_OFF Off

VID_TO_30_SEC 30 seconds

VID_TO_1_MIN 1 minute

VID_TO_2_MIN 2 minutes

VID_TO_4_MIN 4 minutes

VID_TO_6_MIN 6 minutes

VID_TO_8_MIN 8 minutes

VID_TO_10_MIN 10 minutes

VID_TO_15_MIN 15 minutes

VID_TO_20_MIN 20 minutes

Value Stored in *pbSelect Memory Location Description

0 Off

1 30 seconds

2 1 minute

3 2 minutes

4 4 minutes

5 6 minutes

6 8 minutes

7 10 minutes

8 15 minutes

9 20 minutes

6-16 APIs for 16-Bit Windows Applications

Page 93: Stylistic 1000 Technical Reference Guide - Fujitsusolutions.us.fujitsu.com/www/content/pdf/st1000trg.pdfFujitsu Personal Systems, Inc. No part of this publication may be copied, reproduced,

The bSelect parameter value determines the autosuspend timeout setting:

fGetAutoSuspend_Timeout 6

The fGetAutoSuspend_Timeout function queries the BIOS for the autosuspend timeout setting. A prototype of the function is shown below:

short WINAPI fGetAutoSuspend_Timeout(BYTE FAR *pbSelect, BYTE bPermanent);

The *pbSelect parameter is a FAR pointer to a memory location where the function output is stored. The function stores a BYTE value in this memory location that indicates the autosuspend timeout setting:

fSetCPU_Speed 6

The fSetCPU_Speed function sets the CPU speed. A prototype of the function is given below:

short WINAPI fSetCPU_Speed(BYTE bSelect);

This function accepts a BYTE value that determines the CPU speed setting:

fGetCPU_Speed 6

The fGetCPU_Speed function queries the BIOS for the CPU speed. A prototype of the function is shown below:

short WINAPI fGetCPU_Speed(BYTE FAR *pbSelect);

bSelection Value Description

AUTOSUS_TO_OFF Off

AUTOSUS_TO_5_MIN 5 minutes

AUTOSUS_TO_10_MIN 10 minutes

AUTOSUS_TO_15_MIN 15 minutes

AUTOSUS_TO_20_MIN 20 minutes

AUTOSUS_TO_30_MIN 30 minutes

AUTOSUS_TO_40_MIN 40 minutes

AUTOSUS_TO_60_MIN 60 minutes

Value Stored in *pbSelect Memory Location Description

0 Off

1 5 minutes

2 10 minutes

3 15 minutes

4 20 minutes

5 30 minutes

6 40 minutes

7 60 minutes

bSelect Value Description

CPUSPD_SLOW Slow (50 MHz)

CPUSPD_FAST Fast (100 MHz)

ST1SETUP.DLL 6-17

Page 94: Stylistic 1000 Technical Reference Guide - Fujitsusolutions.us.fujitsu.com/www/content/pdf/st1000trg.pdfFujitsu Personal Systems, Inc. No part of this publication may be copied, reproduced,

The *pbSelect parameter value is a FAR pointer to a memory location where the function output is stored. The function stores a BYTE value in this memory location that indicates the CPU speed setting:

FSetCPU_IdleMode 6

The fSetCPU_IdleMode function sets the CPU idle mode. A prototype of the function is given below:

short WINAPI fSetCPU_IdleMode(BYTE bEnableIt, BYTE bPermanent);

The bEnableIt parameter value determines the CPU idle mode setting:

fGetCPU_IdleMode 6

The fGeCPU_IdleMode function queries the BIOS for the CPU Idle mode setting. A prototype of the function is shown below:

short WINAPI fGetCPU_IdleMode(BYTE FAR *pbEnableIt, BYTE bPermanent);

The *pbEnableIt parameter is a FAR pointer to a memory location where the function output is stored. The function stores a BYTE value in this memory location that indicates the CPU idle mode setting:

fSetPwrMgmtMode 6

The fSetPwrMgmtMode function sets the system power management mode. A prototype of the function is given below:

short WINAPI fSetPwrMgmtMode(BYTE bSelection, BYTE bPermanent);

The bSelection parameter value determines the power management mode setting:

Value Stored in *pbSelect Memory Location Description

0 Slow (50 MHz)

1 Fast (100 MHz)

bEnableIt Value Description

0 Disable

1 Enable

Value Stored in *pbEnableIt Memory Location Description

0 Disable

1 Enable

bSelection Value Description

PWRMGMT_OFF Off

PWRMGMT_CUSTOM Custom

PWRMGMT_MAXPERF Maximum performance

PWRMGMT_MAXBATTERY Maximum battery life

6-18 APIs for 16-Bit Windows Applications

Page 95: Stylistic 1000 Technical Reference Guide - Fujitsusolutions.us.fujitsu.com/www/content/pdf/st1000trg.pdfFujitsu Personal Systems, Inc. No part of this publication may be copied, reproduced,

fGetPwrMgmtMode 6

The fGetPwrMgmtMode function queries the BIOS for the power management mode setting. A prototype of the function is shown below:

short WINAPI fGetPwrMgmtMode(BYTE FAR *pbSelection, BYTE bPermanent);

The *pbSelection parameter is a FAR pointer to a memory location where the function output will be stored. The function stores a BYTE value in this memory location that indicates the power management mode setting:

fSetStandby_Timeout 6

The fSetStandby_Timeout function sets the standby timeout. A prototype of the function is given below:

short WINAPI fSetStandby_Timeout(BYTE bSelect, BYTE bPermanent);

The bSelect parameter value determines the standby timeout setting:

fGetStandby_Timeout 6

The fGetStandby_Timeout function queries the BIOS for the standby timeout setting. A prototype of the function is shown below:

short WINAPI fGetStandby_Timeout(BYTE FAR *pbSelect, BYTE bPermanent);

Value Stored in *pbSelection Memory Location Description

0 Off

1 Custom

3 Maximum performance

4 Maximum battery life

bSelection Value Description

STDBY_TO_OFF Off

STDBY_TO_1_MIN 1 minute

STDBY_TO_2_MIN 2 minutes

STDBY_TO_4_MIN 4 minutes

STDBY_TO_6_MIN 6 minutes

STDBY_TO_8_MIN 8 minutes

STDBY_TO_12_MIN 12 minutes

STDBY_TO_16_MIN 16 minutes

ST1SETUP.DLL 6-19

Page 96: Stylistic 1000 Technical Reference Guide - Fujitsusolutions.us.fujitsu.com/www/content/pdf/st1000trg.pdfFujitsu Personal Systems, Inc. No part of this publication may be copied, reproduced,

The *pbSelect parameter is a FAR pointer to a memory location where the function output is stored. The function stores a BYTE value in this memory location that indicates the standby timeout setting:

fSetSuspend_Mode 6

The fSetSuspend_Mode function sets the suspend mode. A prototype of the function is given below:

short WINAPI fSetSuspend_Mode(BYTE bSelect, BYTE bPermanent);

The bSelect parameter value determines the suspend mode setting:

fGetSuspend_Mode 6

The fGetSuspend_Mode function queries the BIOS for the suspend mode setting. A prototype of the function is shown below:

short WINAPI fGetSuspend_Mode(BYTE FAR *pbSelect, BYTE bPermanent);

The *pbSelect parameter value is a FAR pointer to a memory location where the function output is stored. The function stores a BYTE value in this memory location that indicates the suspend mode setting:

fSetResumeOnModemRing 6

The fSetResumeOnModemRing function configures the resume on modem ring BIOS option. A prototype of the function is given below:

short WINAPI fSetResumeOnModemRing(BYTE bEnableIt, BYTE bPermanent);

The bEnableIt parameter value determines the resume on modem ring setting:

Value Stored in *pbSelect Memory Location Description

0 Off

1 1 minute

2 2 minutes

3 4 minutes

4 6 minutes

5 8 minutes

6 12 minutes

7 16 minutes

bSelection Value Description

SUSMODE_SUSPEND Suspend

SUSMODE_SAVE2DISK Save to Disk

Value Stored in *pbSelect Memory Location Description

0 Suspend

1 Save to Disk

bEnableIt Value Description

0 Off

6-20 APIs for 16-Bit Windows Applications

Page 97: Stylistic 1000 Technical Reference Guide - Fujitsusolutions.us.fujitsu.com/www/content/pdf/st1000trg.pdfFujitsu Personal Systems, Inc. No part of this publication may be copied, reproduced,

fGetResumeOnModemRing 6

The fGetResumeOnModemRing function queries the BIOS for the resume on modem ring setting. A prototype of the function is shown below:

short WINAPI fGetResumeOnModemRing(BYTE FAR *pbEnableIt,, BYTE bPermanent);

The *pbEnableIt parameter is a FAR pointer to a memory location where the function output is stored. The function stores a BYTE value in this memory location that indicates the resume on modem ring setting:

fSetResumeTime 6

The fSetResumeTime function allows you to set the resume time BIOS option and the resume on time BIOS option. A prototype of the function is given below:

short WINAPI fSetResumeTime(BYTE bBCDHour, BYTE bBCDMin, BYTE bBCDSec, BYTE bPermanent, BYTE bEnableIt );

The first three parameters accepted by this function determine the resume time setting:

The bEnableIt parameter value determines the resume on time setting:

fGetResumeTime 6

The fGetResumeTime function queries the BIOS for the resume time setting. A prototype of the function is shown below:

short WINAPI fGetResumeTime(BYTE FAR *bBCDHour, BYTE FAR *bBCDMin, BYTE FAR *bBCDSec, BYTE bPermanent, BYTE *bEnabled );

1 9-pin (RS-232) serial port

2 PCMCIA card

Value Stored in *pbEnableIt Memory Location Description

0 Off

1 9-pin (RS-232) serial port

2 PCMCIA card

Parameter Description

bBCDHour Binary-coded decimal value of the resume time hour.

bBCDMin Binary-coded decimal value of the resume time minute.

bBCDSec Binary-coded decimal value of the resume time second.

bEnableIt Value Description

0 Resume on time disabled.

1 Resume on time enabled.

bEnableIt Value Description

ST1SETUP.DLL 6-21

Page 98: Stylistic 1000 Technical Reference Guide - Fujitsusolutions.us.fujitsu.com/www/content/pdf/st1000trg.pdfFujitsu Personal Systems, Inc. No part of this publication may be copied, reproduced,

The first three parameters are pointers to memory locations where the function output is stored:

The value stored in the *bEnabled memory location indicates the resume on time setting:

fSetHotPad_Access 6

The fSetHotPad_Access function allows you to disable the hotpad access BIOS setting on the Stylistic 1000. A prototype of the function is shown below:

short WINAPI fSetHotPad_Access(BYTE bEnableIt);

The bEnableIt parameter value determines the hotpad access setting:

fGetHotPad_Access 6

The fGetHotPad_Access function queries the hotpad access setting. A prototype of the function is given below:

short WINAPI fGetHotPad_Access(BYTE FAR *bEnableIt);

This function stores a value in the memory location pointed to by the *bEnableIt parameter that indicates the hotpad access setting:

Parameter Description

*bBCDHour Binary-coded decimal value of the resume time hour.

*bBCDMin Binary-coded decimal value of the resume time minute.

*bBCDSec Binary-coded decimal value of the resume time second.

bEnableIt Value Description

0 Resume on time disabled.

1 Resume on time enabled.

bEnableIt Value Description

0 Hotpads disabled.

1 Hotpads enabled.

Value stored in *bEnableIt Description

0 Hotpads disabled.

1 Hotpads enabled.

6-22 APIs for 16-Bit Windows Applications

Page 99: Stylistic 1000 Technical Reference Guide - Fujitsusolutions.us.fujitsu.com/www/content/pdf/st1000trg.pdfFujitsu Personal Systems, Inc. No part of this publication may be copied, reproduced,

Chapter 7

APIs for 32-Bit Windows Applications

This chapter discusses 32-bit Application Programming Interfaces (APIs) included with Stylistic 1000 Developer Utilities. These APIs are designed for use with the Windows 95 operating system.

Dynamically Linked Libraries for 32-Bit Application Development 7

The APIs in this chapter are included in Dynamically Linked Libraries (DLLs) and can be called from applications developed in languages that support dynamic linking to DLLs such as C, or Microsoft Visual BASIC. DLLs covered in this chapter include:

• HOTPAD32.DLLThis DLL allows 32-bit applications to interface with the programmable hotpad. (The header file HOTPAD.H must be included in your application source code to use this DLL.)

• ST1SET32.DLLThis DLL allows 32-bit applications to configure BIOS options. Note that this DLL calls into ST1SETUP.DLL. ST1SET32.DLL, ST1SETUP.DLL, and STSET16.DLL (a DLL that enables program calls between the 16-bit and 32-bit DLLs, sometimes called a “thunk” DLL) must be on your hard disk at run time to use applications developed with functions included in ST1SET32.DLL. (The header files ST1SETUP.H and ST1SET32.H must also be included in your application source code.)

These DLLs and related files are included with Stylistic 1000 Developer Utilities. For details on static libraries for use with MS-DOS, refer to Chapter 5. For details on 16-bit libraries for use with Windows for Workgroups, refer to Chapter 6.

Note: Functions included in the development libraries for MS-DOS, 16-bit, and 32-bit applications will conflict with one another if they run in different operating environments at the same time. Use these functions only in the target operating environment.

HOTPAD32.DLL 7

HOTPAD32.DLL is a 32-bit DLL for use with 32-bit applications running under Windows 95. This DLL allows applications to monitor the programmable hotpad on the Stylistic 1000 and receive notification when a hotpad event occurs.

HOTPAD32.DLL includes two functions. The first, SetHotpadNotification, enables hotpad notification. The second, KillHotpadNotification, is used to disable hotpad notification and should be called before the application terminates.

SetHotpadNotification 7

A prototype of the SetHotpadNotification function is shown below:

INT WINAPI SetHotpadNotification ( HWND hAppWnd, UNIT nMsgId )

Parameter Description

hAppWnd Handle of the application window that receives the hotpad notification message.

nMsgId Message ID of the hotpad notification message that will be sent to the calling application window when a hotpad event occurs.

7-1

Page 100: Stylistic 1000 Technical Reference Guide - Fujitsusolutions.us.fujitsu.com/www/content/pdf/st1000trg.pdfFujitsu Personal Systems, Inc. No part of this publication may be copied, reproduced,

Return Values 7

SetHotpadNotification returns a nonzero positive integer that is a unique notification ID. If there is an error, SetHotpadNotification returns a zero or negative value that corresponds to the type of error as described below:

Comments 7

More than one 32-bit application can call SetHotpadNotification to request notification of hotpad events. Once hotpad notification has been enabled, notification is sent to the calling application each time a hotpad event occurs. Notification is performed via messages. A message is sent to the calling application using the nMsgId parameter that was originally passed to SetHotpadNotification.

KillHotPadNotification 7

The KillHotPadNotification function is used to disable hotpad notification that was enabled using SetHotpadNotification. KillHotPadNotification should be called once for each occurrence of SetHotpadNotification in the application at some point before the application quits. The function prototype for KillHotpadNotification is shown below:

BOOL WINAPI _export KillHotpadNotification ( int nNotifyId )

This function requires the hotpad notification ID value returned by the corresponding SetHotpadNotification function to be passed as the nNotifyId parameter:

Return Value 7

KillHotpadNotification returns a BOOL value as described below:

Return Value Description

Positive nonzero integer. Hotpad notification ID. SetHotpadNotification assigns a unique hotpad notification ID number for each occurrence of the SetHotpadNotification function. This ID number is valid until notification is turned off using the KillHotpadNotification function. The notification ID number that is returned should be stored for future reference each time SetHotpadNotification is called. This number is a required parameter when hotpad notification is turned off using the KillHotpadNotification function.

0 Memory allocation failure.

-1 Invalid window handle passed as argument.

-2 Could not allocate system timer.

Parameter Description

nNotifyId Integer value of the hotpad notification ID returned by the corresponding SetHotpadNotification function.

Return Value Description

TRUE Returned if the function is successful. The function is successful if the nNotifyId value passed to the function is a valid hotpad notification ID.

FALSE Returned if the function fails. The function fails if the nNotifyId value passed to the function is not a valid hotpad notification ID.

7-2 APIs for 32-Bit Windows Applications

Page 101: Stylistic 1000 Technical Reference Guide - Fujitsusolutions.us.fujitsu.com/www/content/pdf/st1000trg.pdfFujitsu Personal Systems, Inc. No part of this publication may be copied, reproduced,

ST1SET32.DLL 7

ST1SET32.DLL is a 32-bit DLL that Windows application developers can use to write programs that configure Stylistic 1000 BIOS parameters.

Note: Some parameters used with functions in this DLL are documented using symbols. You must include the header file ST1SET32.H in your source code to provide the required symbol definitions.

Session Buffer 7

Changes you make to BIOS parameters are stored in a session buffer when you use BIOS configuration functions included in ST1SET32.DLL. For this reason, you must call the SetupInitialize function to establish the session buffer before you can call any BIOS configuration functions. Once the session buffer is established, any BIOS configuration functions can be called and changes to permanent and current BIOS settings can be made. After all desired changes are made to BIOS options, you must call the SetupExit function and either load or discard the changes stored in the session buffer. This process is outlined below:

1. Establish the session buffer by calling SetupInitialize.

2. Call any desired BIOS configuration functions in ST1SET32.DLL.

3. Exit the session using the SetupExit function and save changes if desired.

Note that after you call the SetupExit function and save or discard your changes, the session buffer is no longer active. In this situation, you must reestablish the session buffer if you are going to make additional BIOS configuration changes.

SetupInitialize 7

The SetupInitialize function initializes the session buffer and should be the first function called when using this DLL. Once this function has been called, other functions included in the DLL can be used. A prototype of this function is shown below:

int WINAPI SetupInitialize ( );

This function returns a signed SHORT integer value that indicates whether the function is successful as described in “Return Values and Error Codes” later in this chapter.

below.

SetupExit 7

The SetupExit function should be called after the application is finished using ST1SET32.DLL. This will free up memory allocated to the DLL and ensure that the Stylistic 1000 BIOS parameters are properly stored. A prototype of SetupExit is shown below.

int WINAPI SetupExit (WORD wSetupParam);

Return Value Description

0 Function is successful.

-2 Internal error.

ST1SET32.DLL 7-3

Page 102: Stylistic 1000 Technical Reference Guide - Fujitsusolutions.us.fujitsu.com/www/content/pdf/st1000trg.pdfFujitsu Personal Systems, Inc. No part of this publication may be copied, reproduced,

This function closes ST1SET32.DLL and, depending on the value passed as a parameter, saves or discards changes made using other functions in ST1SET32.DLL as described below:

Return Values and Error Codes 7

All of the functions included in ST1SET32.DLL have the same set of return values. These functions return a signed SHORT integer value that indicate whether the function is successful:

BIOS Configuration Functions 7

Functions that configure BIOS parameters are described below.

GetPermanent and SetPermanent 7

The GetPermanent and SetPermanent functions are used to query permanent BIOS parameters and set permanent BIOS parameters respectively.

Prototypes of the GetPermanent and SetPermanent functions are shown below.

int WINAPI GetPermanent (WORD wSetupParam);

int WINAPI SetPermanent (WORD wSetupParam, WORD wValue);

The GetPermanent function accepts one parameter that corresponds to the BIOS parameter being requested. The SetPermanent function accepts two parameters: the first corresponds to the BIOS parameter and the second corresponds to the BIOS parameter setting or value.

Table 7-1 lists the wSetupParam parameter value and the corresponding BIOS setting for the GetPermanent and SetPermanent functions. These BIOS parameters are exclusively for permanent BIOS settings. The GetPermanent and SetPermanent functions can also be used with the parameter values listed in Table 7-2.

Also listed in Tables 7-1 and 7-2 are the acceptable values for the wValue parameter used in the SetPermanent function that correspond to each BIOS setting. (Note that these values are also the return values for the GetPermanent function.)

wSetupParam Value Description

SETUP_EXIT_SAVE Save both permanent and current BIOS settings configured since the last occurrence of the SetupInitialize function.

SETUP_EXIT_RELOAD Reload permanent settings saved by SetupInitialize(). (Changes to current settings are still used.)

SETUP_EXIT_CANCEL Changes to permanent settings are not saved. (Original settings are not reloaded. Changes to current settings are still used.)

Return Value Description

0 Function is successful.

-1 Bad parameter passed to function.

-2 Internal error.

7-4 APIs for 32-Bit Windows Applications

Page 103: Stylistic 1000 Technical Reference Guide - Fujitsusolutions.us.fujitsu.com/www/content/pdf/st1000trg.pdfFujitsu Personal Systems, Inc. No part of this publication may be copied, reproduced,

Table 7-1. Parameters for Permanent BIOS Settings

wSetupParam Value BIOS Parameter wValue Parameter GetPermanent Return

Value and Meaning

OPT_BOOT Boot sequence BOOT_A_THEN_CBOOT_C_THEN_ABOOT_C_ONLY

0 A: then C:1 C: then A:2 C: only

OPT_PROMPT Display setup prompt PROMPT_DISABLEDPROMPT_ENABLED

0 Disabled1 Enabled

OPT_F1 Display F1 promptWhen this option is enabled, system initialization stops when the setup prompt is displayed until you press F1 on an external keyboard.

F1_DISABLEDF1_ENABLED

0 Disabled1 Enabled

OPT_SUMMSCR Summary screen SUMMSCR_DISABLEDSUMMSCR_ENABLED

0 Disabled1 Enabled

OPT_NUMLOCK Numlock option STNUMLOCK_AUTOSTNUMLOCK_ONSTNUMLOCK_OFF

0 Auto1 On2 Off

OPT_SERIALA Serial port A This parameter specifies the I/O address and IRQ assigned to the RS-232 serial port (serial port A).

SERIALA_DISABLEDSERIALA_3F8_IRQ4SERIALA_2F8_IRQ3SERIALA_3E8_IRQ4

0 Disabled1 3F8 IRQ42 2F8 IRQ33 3E8 IRQ4

OPT_SERIALB Serial port BThis parameter specifies the I/O address and IRQ assigned to the RX/TX serial port (serial port B).

SERIALB_DISABLEDSERIALB_3F8_IRQ4SERIALB_2F8_IRQ3SERIALB_3E8_IRQ4

0 Disabled1 3F8 IRQ42 2F8 IRQ33 3E8 IRQ4

OPT_LPT LPT port addressThis parameter specifies the I/O address and IRQ assigned to the parallel port.

LPT_DISABLEDLPT_378_IRQ7LPT_278_IRQ7LPT_378_IRQ5LPT_278_IRQ5

0 Disabled1 378 IRQ72 278 IRQ73 378 IRQ54 278 IRQ5

OPT_BOOTSECTOR Disk boot sector options HDDSECTOR_NORMALHDDSECTOR_WRITEPR

0 Normal1 Write protect

OPT_HOTPAD Hotpad accessThis parameter specifies whether the hotpads on the system unit are enabled or disabled.

HOTPAD_DISABLEHOTPAD_ENABLE

0 Disable1 Enable

OPT_CPU_SPEED CPU speed CPUSPD_SLOW CPUSPD_FAST

0 Slow (50 MHz)

1 Fast (100 MHz when not in idle mode.)

ST1SET32.DLL 7-5

Page 104: Stylistic 1000 Technical Reference Guide - Fujitsusolutions.us.fujitsu.com/www/content/pdf/st1000trg.pdfFujitsu Personal Systems, Inc. No part of this publication may be copied, reproduced,

GetPermanent Return Values 7

The value returned by GetPermanent indicates how the requested BIOS setting is configured. The return values for the GetPermanent function are the same as the wValue parameter values (listed in Table 7-1 and Table 7-2) corresponding to the requested BIOS parameter.

If there is an error, GetPermanent returns a negative value:

SetPermanent Return Values 7

SetPermanent returns either a zero, or negative, value depending on whether the function is successful:

GetCurrent and SetCurrent 7

The GetCurrent and SetCurrent functions are used to query current BIOS parameter settings and set current BIOS parameter settings. Prototypes of the GetCurrent and SetCurrent functions are shown below.

int WINAPI GetCurrent (WORD wSetupParam);

int WINAPI SetCurrent (WORD wSetupParam, WORD wValue);

The GetCurrent function accepts one parameter that corresponds to the BIOS parameter being requested. The SetCurrent function accepts two parameters; the first corresponds to the BIOS parameter, and the second corresponds to the BIOS parameter setting or value.

Table 7-2 lists the acceptable values and the corresponding BIOS parameter for the wSetupParam parameter used in both of these functions. Also listed are the acceptable values for the wValue parameter used in the SetCurrent function that correspond to each BIOS parameter setting. (Note that these values are also the return values for the GetCurrent function.)

GetCurrent Return Values 7

The value returned by GetCurrent indicates how the requested BIOS parameter is configured. The return values for the GetCurrent function are the same as the wValue parameter values listed in Table 7-2 corresponding to the requested BIOS parameter.

If there is an error, GetCurrent returns a negative value:

Return Value Description

-1 Invalid value passed as a parameter

-2 Internal error

Return Value Description

0 Successful

-1 Invalid value passed as a parameter

-2 Internal error

Return Value Description

-1 Invalid value passed as a parameter

-2 Internal error

7-6 APIs for 32-Bit Windows Applications

Page 105: Stylistic 1000 Technical Reference Guide - Fujitsusolutions.us.fujitsu.com/www/content/pdf/st1000trg.pdfFujitsu Personal Systems, Inc. No part of this publication may be copied, reproduced,

SetCurrent Return Values 7

SetCurrent returns either a zero, or negative, value depending on whether the function is successful:

Return Value Description

0 Successful

-1 Invalid value passed as a parameter

-2 Internal error

Table 7-2. Parameters for Current and Permanent BIOS Settings

wSetupParam Value BIOS Parameter wValue Parameter GetPermanent Return

Value and Meaning

OPT_SERIALB_DEV Serial port B Device

SERIALB_INFRAREDSERIALB_3_PIN

0 IrDA port1 RX/TX serial port (Serial Port B)

OPT_DISPLAY Display options DISPLAY_LCDDISPLAY_MONITORDISPLAY_SIMULTAN

0 LCD1 Monitor2 Simultaneous

OPT_GRAPHICS Graphics video mode options

GRAPHICS_NORMALGRAPHICS_REVERSED

0 Normal1 Reversed

OPT_TEXT Text video mode options

TEXT_NORMALTEXT_REVERSED

0 Normal 1 Reversed

OPT_SPEAKER Speaker option SPEAKER_OFFSPEAKER_ON

0 Off1 On

OPT_SUSPEND Suspend mode options

SUSMODE_SUSPENDSUSMODE_SAVE2DISK

0 Suspend1 Save to Disk

OPT_MODEMRING Resume on modem ring

RESUMEMODEMRING_OFFRESUMEMODEMRING_ON

0 Off1 On

OPT_RESUMETIME Resume on time RESUMEONTIME_OFFRESUMEONTIME_ON

0 Off1 On

OPT_POWERSAVINGS Power savings mode

PWRMGMT_OFFPWRMGMT_CUSTOMPWRMGMT_MAXPERF

PWRMGMT_MAXBATTERY

0 Off1 Custom2 Maximum Performance3 Maximum

Battery Life

OPT_HDD_TIMEOUT Hard disk drive timeout options

HDD_TO_OFFHDD_TO_5_SECHDD_TO_10_SECHDD_TO_30_SECHDD_TO_1_MINHDD_TO_2_MINHDD_TO_4_MINHDD_TO_6_MINHDD_TO_8_MINHDD_TO_10_MINHDD_TO_15_MINHDD_TO_20_MIN

0 Off1 5 seconds2 10 seconds3 30 seconds4 1 minute5 2 minutes6 4 minutes7 6 minutes8 8 minutes9 10 minutes10 15 minutes11 20 minutes

ST1SET32.DLL 7-7

Page 106: Stylistic 1000 Technical Reference Guide - Fujitsusolutions.us.fujitsu.com/www/content/pdf/st1000trg.pdfFujitsu Personal Systems, Inc. No part of this publication may be copied, reproduced,

SetResumeTime 7

The SetResumeTime function is used to set the resume time for the Resume On Time BIOS parameter. A prototype of the function is shown below:

int WINAPI SetResumeTime (BYTE cBCDHour, BYTE cBCDMin, BYTE cBCDSec, BOOL bPermanent);

Parameters accepted by the SetResumeTime function determine the resume time setting and whether the function affects permanent or current settings:

OPT_VID_TIMEOUT Video timeout options

VID_TO_OFFVID_TO_30_SECVID_TO_1_MINVID_TO_2_MINVID_TO_4_MINVID_TO_6_MINVID_TO_8_MINVID_TO_10_MINVID_TO_15_MINVID_TO_20_MIN

0 Off1 30 seconds2 1 minute3 2 minutes4 4 minutes5 6 minutes6 8 minutes7 10 minutes8 15 minutes9 20 minutes

OPT_IDLEMODE Idle mode options IDLEMODE_OFFIDLEMODE_ON

0 Disabled1 Enabled

OPT_STANDBY Standby timeout options

STDBY_TO_OFFSTDBY_TO_1_MINSTDBY_TO_2_MIN STDBY_TO_4_MINSTDBY_TO_6_MINSTDBY_TO_8_MINSTDBY_TO_12_MINSTDBY_TO_16_MIN

0 Off1 1 minute2 2 minutes3 4 minutes4 6 minutes5 8 minutes6 12 minutes7 16 minutes

OPT_AUTOSUSPEND Auto suspend options

AUTOSUS_TO_OFFAUTOSUS_TO_5_MINAUTOSUS_TO_10_MIN AUTOSUS_TO_15_MIN AUTOSUS_TO_20_MIN AUTOSUS_TO_30_MINAUTOSUS_TO_40_MINAUTOSUS_TO_60_MIN

0 Off1 5 minutes2 10 minutes3 15 minutes4 20 minutes5 30 minutes6 40 minutes7 60 minutes

Parameter Description

cBCDHour Binary-coded decimal value of the resume time hour. Acceptable values are 0 through 23. (Note that the Stylistic 1000 uses a 24-hour clock. )

cBCDMin Binary-coded decimal value of the resume time minute (0 through 59).

cBCDSec Binary-coded decimal value of the resume time second (0 through 59).

bPermanent BOOL value that determines whether the function affects permanent or current BIOS settings:True PermanentFalse Current

Table 7-2. Parameters for Current and Permanent BIOS Settings (Continued)

wSetupParam Value BIOS Parameter wValue Parameter GetPermanent Return

Value and Meaning

7-8 APIs for 32-Bit Windows Applications

Page 107: Stylistic 1000 Technical Reference Guide - Fujitsusolutions.us.fujitsu.com/www/content/pdf/st1000trg.pdfFujitsu Personal Systems, Inc. No part of this publication may be copied, reproduced,

Return Values 7

SetResumeTime returns either a zero, or negative, value depending on whether the function is successful:

GetResumeTime 7

The GetResumeTime function is used to query the current or permanent Stylistic 1000 BIOS resume time settings. A prototype of the function is shown below:

dword WINAPI GetResumeTime (BOOL bPermanent);

GetResumeTime accepts one parameter that determines whether the function returns the permanent or current resume time setting:

Return Value 7

GetResumeTime returns a DWORD value (32-bit) that indicates the resume time setting and whether or not the Resume On Time BIOS setting is enabled. The DWORD value is organized in four 1-byte sections as follows:

High Byte Low Byte

cEnabled | Hour | Minute | Second

The values contained in each byte of the return value are described below:

Return Value Description

0 Successful

-1 Invalid value passed as a parameter

-2 Internal error

bPermanent Description

True Permanent setting returned

False Current setting returned

Byte Description

cEnabled Indicates whether the Resume On Time BIOS setting is enabled: 1 Enabled0 Disabled

Hour Binary-coded decimal value of the resume time hour (0 through 23). Note that the Stylistic 1000 uses a 24-hour clock.

Minute Binary-coded decimal value of the resume time minute (0 through 59).

Second Binary-coded decimal value of the resume time second (0 through 59).

ST1SET32.DLL 7-9

Page 108: Stylistic 1000 Technical Reference Guide - Fujitsusolutions.us.fujitsu.com/www/content/pdf/st1000trg.pdfFujitsu Personal Systems, Inc. No part of this publication may be copied, reproduced,

7-10 APIs for 32-Bit Windows Applications

Page 109: Stylistic 1000 Technical Reference Guide - Fujitsusolutions.us.fujitsu.com/www/content/pdf/st1000trg.pdfFujitsu Personal Systems, Inc. No part of this publication may be copied, reproduced,

he ing is

The

Chapter 8

BIOS Configuration Options

This chapter provides a complete list of BIOS Configuration Options and possible settings for each option. Tinformation in this chapter is provided as a general reference on BIOS options for users and developers workwith utilities and development libraries that configure BIOS options. Note that some of the options listed in thchapter may not be supported by all utilities and development libraries.

BIOS Configuration Options Reference Table 8

BIOS configuration options that you can set using various BIOS configuration utilities are listed in Table 8-1. default setting is the first setting listed for each option when a default exists.

Table 8-1. BIOS Configuration Options Reference Table

BIOS Option Possible Settings Comments

System time HH:MM:SS Sets system time in hours, minutes, and seconds.

System date MM/DD/YYYY Sets system date by month, day, and year.

Boot sequence A: then C:C: then A:C: only

PenSETUP prompt DisableEnable

When enabled, user is prompted to double tap on screen to run PenSETUP on boot.

POST errors DisableEnable

Displays POST (Power On Self Test) errors.

Summary screen DisableEnable

Displays a system configuration summary on boot.

Numlock state AutoOffOn

Determines initial state of the keyboard numlock.Auto turns numlock on if keyboard is detected on boot.

Display select LCD Monitor (external)Both

Determines initial display selection on boot.

Graphics video mode NormalReverse

Monochrome systems only.

Text video mode NormalReverse

Monochrome systems only.

CPU speed Fast (100 MHz)Slow (50 MHz)

Must be set to fast to allow CPU idle mode option to modulate CPU speed.

Suspend mode SuspendSave to Disk

A Save to Disk partition or file is required to use Save to Disk.

8-1

Page 110: Stylistic 1000 Technical Reference Guide - Fujitsusolutions.us.fujitsu.com/www/content/pdf/st1000trg.pdfFujitsu Personal Systems, Inc. No part of this publication may be copied, reproduced,

Resume on modem ring Off9-pin (RS-232) serial portPCMCIA Card

Suspend mode must be suspend to use resume on modem ring. Select 9-pin to use external modem.

Resume on time OffOn

Suspend mode must be suspend.

Resume time Hours:minutes:seconds System uses a 24-hour clock.

Serial port A I/O address(9-pin, RS-232)

Disabled3F8 (COM1), IRQ42F8 (COM2), IRQ33E8 (COM3), IRQ4

Selectable options are AT compatible.

Serial port B device Infrared (IrDA port)3-pin (Rx/Tx serial port)

Port replicator is required for Rx/Tx serial port.

Serial port B I/O address(Rx/Tx serial port)

Disabled3F8 (COM1), IRQ42F8 (COM2), IRQ33E8 (COM3), IRQ4

Selectable options are AT compatible.

LPT port I/O address(Parallel port)

Disabled378 (LPT1), IRQ7278 (LPT2), IRQ7378 (LPT3), IRQ5278 (LPT4), IRQ5

Selectable options are AT compatible.

LPT mode(Parallel port)

Output onlyBidirectionalECP (extended capabilities port)

Speaker OffOn

Hotpad access EnabledDisabled

Disables speaker and video mode hotpads.

Set supervisor password ____ Setting a supervisor password allows you to set the user password, password on boot, and diskette access BIOS options.

Set user password ____ A user password allows the system to boot when the password on boot option is enabled, but does not allow access to supervisor options.

Password on boot DisabledEnabled

A supervisor or user password is required to boot the system when this option is enabled. (You must specify a supervisor password before you can enable this option.)

Diskette access AllSupervisor only

Hard disk drive boot sector NormalWrite Protect

Must be set to normal to reformat the hard disk drive.

Table 8-1. BIOS Configuration Options Reference Table (Continued)

BIOS Option Possible Settings Comments

8-2 BIOS Configuration Options

Page 111: Stylistic 1000 Technical Reference Guide - Fujitsusolutions.us.fujitsu.com/www/content/pdf/st1000trg.pdfFujitsu Personal Systems, Inc. No part of this publication may be copied, reproduced,

Hard disk drive head retract HDD DefaultDisabled1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 15, 20 seconds

When timeout expires, hard disk drive head is retracted from platter.

Power savings mode OffCustomizeMax performanceMax battery life

Must be set to customize before you can set device timeouts and CPU idle mode.

Hard disk timeout* Off5, 10, 30 seconds, 1, 2, 4, 6, 8, 10, 15, or 20 minutes

When timeout expires, hard disk drive is spun down. Note that a low setting can have a negative effect on battery life if the hard disk drive is accessed frequently; however, lower settings reduce the risk of drive damage from shock and vibration.

Video timeout* Off30 seconds1, 2, 4, 6, 8, 10, 15, or 20 minutes

When timeout expires, display backlight is turned off.

Auto suspend timeout* Off5, 10, 15, 20, 30, 40, or 60 minutes

System enters suspend or Save to Disk mode when timeout expires, depending on suspend mode setting.

CPU idle mode* DisabledEnabled

When enabled, CPU speed drops from 100 MHz to 50 MHz when no system activity is detected. (CPU speed option must be set to Fast for system to modulate CPU speed.)

CPU speed Fast (100 MHz)Slow (50 MHz)

When set to Fast, CPU runs at 100 MHz if CPU idle mode is disabled, or CPU speed is modulated if CPU idle mode is enabled. When set to slow, CPU runs at 50 MHz.

Standby timeout* Off1, 2, 4, 6, 8, 12, or 16 minutes

When timeout expires, system enters standby state.

Diskette A: OFF144

Disabled1.44MB, 3.5” disk drive enabled

ATA hard disk type and size

NAC

DisabledAuto detect

User defined (customize settings.†)

Cylinders† # Number of cylinders(Decimal values 0-9999 accepted)

Heads† # Number of heads(Decimal values 0-15 accepted)

Sectors per track† # Number of sectors per track (Decimal values 0-63 accepted)

Write precomp† # Write precomp value(Decimal values 0-9999 accepted)

Table 8-1. BIOS Configuration Options Reference Table (Continued)

BIOS Option Possible Settings Comments

BIOS Configuration Options Reference Table 8-3

Page 112: Stylistic 1000 Technical Reference Guide - Fujitsusolutions.us.fujitsu.com/www/content/pdf/st1000trg.pdfFujitsu Personal Systems, Inc. No part of this publication may be copied, reproduced,

* Before these options can be used, the power savings mode must be set to Customize. † Before these options can be used, the ATA hard disk type and size parameter must be set to Customize.

Memory cache NY

DisabledEnabled

Main page access NY

DisabledEnabled(User access to PenSETUP main menu)

Advanced page access NY

DisabledEnabled(User access to PenSETUP advanced menu)

Security page access NY

DisabledEnabled(User access to PenSETUP security menu)

Power page access NY

DisabledEnabled(User access to PenSETUP power savings menu)

Table 8-1. BIOS Configuration Options Reference Table (Continued)

BIOS Option Possible Settings Comments

8-4 BIOS Configuration Options

Page 113: Stylistic 1000 Technical Reference Guide - Fujitsusolutions.us.fujitsu.com/www/content/pdf/st1000trg.pdfFujitsu Personal Systems, Inc. No part of this publication may be copied, reproduced,

Chapter 9

STPENSET BIOS Configuration Utility

STPENSET is a utility that runs under MS-DOS that you can use to change system configuration settings for the Stylistic 1000. STPENSET runs under MS-DOS with a menu-driven interface. You can also execute STPENSET as an MS-DOS command line interpreter using command line options. For details on command line syntax and options, see “STPENSET Command Line Interpreter” later in this chapter.

Starting STPENSET 9

To start STPENSET, type STPENSET at the MS-DOS prompt and press Enter. The following STPENSET menus are displayed:

• Boot options• Devices• Power savings • Other• Exit

STPENSET supports the stylus and keyboard as input devices. Use the arrow keys on your keyboard, or tap on individual items with the stylus, to move from one menu to another and select items in menus. To change a parameter that you have selected, press the dash key (-) on your keyboard or tap on the parameter field with the stylus.

Some options in STPENSET allow you to change permanent or current settings. Changes to current settings become active when you exit STPENSET, and remain in effect until you reboot the system. Changes to permanent settings are written to CMOS RAM and take effect when you reboot your system. Options that are not designated as permanent or current take effect when the system is rebooted.

Boot Options Menu 9

The boot options menu in STPENSET allows you to select the following options when your system boots.

• Boot sequenceThis option allows you to specify your system’s boot drive sequence. You can configure your system to search for bootable system files first on the ATA hard disk drive [C: then A:], or on the external floppy drive [A: then C:]. As a security precaution, you can also specify [C: only] for the boot sequence. This prevents the system from booting from an external floppy drive.

• Setup promptWhen this option is enabled, the PenSETUP prompt is displayed during system initialization allowing you to double-tap on the screen to enter PenSETUP. If this option is disabled, you must attach a keyboard and press F2 during system initialization to enter PenSETUP. You may want to disable this option to prevent users from accidentally entering PenSETUP.

• STPENSETPOST (Power-On Self-Test) errorsThis option allows you to determine whether power-on self-test error messages are displayed. If you enable this option, system initialization halts in the event of a POST error, and an error message is displayed. If this option is disabled, the system continues with the initialization sequence (if possible) in the event of an error, and no error messages are displayed. You may want to disable this option if false RAM errors or other inconsequential errors are confusing to system users.

9-1

Page 114: Stylistic 1000 Technical Reference Guide - Fujitsusolutions.us.fujitsu.com/www/content/pdf/st1000trg.pdfFujitsu Personal Systems, Inc. No part of this publication may be copied, reproduced,

• Summary ScreenIf this option is enabled, a summary screen is displayed during system initialization showing your system’s hardware configuration.

• NumlockThis option allows you to configure the initial state of the keyboard numlock. If this option is set to auto, the system determines whether a standard 101-key keyboard is connected; if so, numlock is turned on. Note that the Fujitsu low-power keyboard emulates a 101-key keyboard and will turn numlock on if this option is set to auto.

Devices Menu 9

In the devices menu, you select the I/O address and Interrupt Request (IRQ) level for the serial and parallel communications ports. The IRQ and I/O address settings you select must be unique for each port.

Power Savings Menu 9

The power savings menu allows you to configure system functions that consume power and tailor the system to your battery life and performance needs.

Power Savings Field 9

Options in the power savings field allow you to select the system power saving mode. In this field, you can select: [Off] to disable all power saving options, [Maximum Performance] to enter default power saving options, [Maximum Battery Life] to enter minimum device timeouts and enable CPU idle mode, or you can select [Customize] to create custom settings. When you select customize you can change parameters in the following fields:

• Hard disk timeout• Video timeout• Auto suspend timeout• CPU idle mode• Standby timeout

Each of these options is described below.

Hard Disk Timeout Field 9

The hard disk timeout field allows you to specify the amount of time with no hard disk drive activity that elapses before the hard disk is spun down.

Video Timeout Field 9

The video timeout field allows you to specify the amount of time that elapses with no system activity before the display is turned off.

Auto Suspend Timeout Field 9

The auto suspend timeout field allows you to specify the amount of time that elapses with no system activity before the system unit enters the suspend state.

CPU Idle Mode Field 9

When the CPU idle mode field is set to [Enabled] the system runs at a slow processor speed (50MHz) when the processor is idle (not processing data). When there is processor activity, the processor speed switches to 100MHz. Note that if the CPU speed field is set to slow, the processor will run at 50MHz at

9-2 STPENSET BIOS Configuration Utility

Page 115: Stylistic 1000 Technical Reference Guide - Fujitsusolutions.us.fujitsu.com/www/content/pdf/st1000trg.pdfFujitsu Personal Systems, Inc. No part of this publication may be copied, reproduced,

all times regardless of the CPU idle mode setting. (Table 9-1 shows the CPU speed for each possible setting of these options.)

Standby Timeout Field 9

The standby timeout option specifies the amount of time that elapses with no system activity before the system enters the standby state. In the standby state, the system is running, the display backlight is turned off, the CPU is running at slow speed (50MHz), the hard disk drive is spun down, and RAM is powered.

Suspend Mode Field 9

There are two suspend modes that you can select: [Suspend] and [Save to Disk]. The suspend setting configures the system to preserve data in memory by keeping memory refreshed. The save to disk setting configures the system to preserve data in memory by writing the data to a save-to-disk partition or file on your hard disk drive. Note that a save-to-disk partition or file must be created on your hard disk drive before you can use Save to Disk mode. For details see Chapter 3, “Save to Disk”.

CPU Speed Field 9

The CPU speed field allows you to select a processor speed of fast (100MHz), or slow (50MHz). Note that setting this field to slow overrides the CPU idle mode setting in the power savings menu. Table 9-1 shows the processor speed for each possible combination of settings in the CPU idle mode and CPU speed fields.

Table 9-1. Processor Speed

Resume on Modem Ring Field 9

This field allows you to configure the system to resume if the modem line rings. Select [Serial Port A] if the modem is connected to the RS-232 serial port. Select [PCMCIA Card] if you have a PCMCIA modem card installed in your system.

Resume on Time Field 9

This field allows you to set a specific time of day that you want the system to resume. When this field is set to on, the system will resume at the time specified in the resume time field. Note that the system uses a 24-hour clock.

HDD Head Retract Field 9

This field allows you to set the hard disk drive head retract timeout. This timeout specifies the amount of time that elapses with no hard disk drive activity before the head is retracted from the platter. Setting this timeout to a short interval could enhance the reliability of your hard disk drive as the drive is less susceptible to damage from shock and vibration when the head is retracted.

CPU Idle Mode Setting

CPU Speed Setting

Processor Speed

Disabled Slow 50MHz

Disabled Fast 100MHz

Enabled Slow 50MHz

Enabled Fast 100MHz when processing. 50MHz when processor is idle.

Power Savings Menu 9-3

Page 116: Stylistic 1000 Technical Reference Guide - Fujitsusolutions.us.fujitsu.com/www/content/pdf/st1000trg.pdfFujitsu Personal Systems, Inc. No part of this publication may be copied, reproduced,

Other Menu 9

The other menu allows you to select hard disk boot sector options and hot-pad access options as described below.

Hard Disk Boot Sector Field 9

The hard disk boot sector setting determines whether the boot sector on your ATA hard disk drive is write protected. Select write protect to prevent the hard disk drive boot sector from being overwritten. This setting will help prevent viruses from infecting your hard disk drive’s boot sector. Select normal to allow data to be written to the boot sector.

Note: The hard disk boot sector option must be set to [Normal] before you can upgrade or install operating system software. You can’t format the hard disk boot sector if this parameter is set to [Write Protect]. Write protecting your hard disk drive’s boot sector does not protect the entire hard disk volume from viruses.

Hotpad Access Field 9

The hotpad access field allows you to enable or disable the hotpads on the system unit.

STPENSET Command Line Interpreter 9

STPENSET can be executed as a command line interpreter using command line options. This allows you to include STPENSET commands in a batch file and initialize the system to a known state when you boot the system or run a particular application. You can also change STPENSET parameters by typing the STPENSET command at the MS-DOS prompt followed by command line options.

Syntax 9

STPENSET is executed with command line options using the following syntax,

STPENSET setting [ parameter =value ]

where the setting is one of the following:

You must specify a setting to use STPENSET with command line options.

Options are specified in the command line by the parameter and value. Parameter and value entries for each STPENSET option are listed in Table 9-2. You can enter as many STPENSET options on a single command line as desired.

Example 9

The following example changes the current and permanent speaker settings to [On].

stpenset both spk=y

To display a list of command line options, type STPENSET ? at the MS-DOS prompt and press Return.

Setting Description

CMOS Changes permanent settings (in CMOS RAM) that take effect when you reboot the system.

CURR Changes settings for the current session only.BOTH Changes settings for the current session only.

9-4 STPENSET BIOS Configuration Utility

Page 117: Stylistic 1000 Technical Reference Guide - Fujitsusolutions.us.fujitsu.com/www/content/pdf/st1000trg.pdfFujitsu Personal Systems, Inc. No part of this publication may be copied, reproduced,

Table 9-2. STPENSET Command Line Options

Option Parameter Value Description

Boot sequence BOOT ACCAC

A: then C:C: then A:C: only

PenSETUP prompt PRMPT NY

DisableEnable

POST errors ERR NY

DisableEnable

Summary screen SUM NY

DisableEnable

Numlockstate LOCK ANY

AutoOffOn

Display select DISP LMB

LCDMonitorBoth

Graphics video mode GVI NI

NormalReverse

Text video mode TVI NI

NormalReverse

CPU speed CPU FS

FastSlow

Suspend mode SUSM ND

SuspendSave to disk

Resume on modem ring

RMRI OFF9PINCARD

Off9-pin (RS-232) serial portPCMCIA Card

Resume on time ROA OFFHH:MM:SS

OffHours:minutes:seconds

Serial port A I/O address(9-pin, RS-232)

SEA OFF3F82F83E8

Disabled3F8 (COM1), IRQ42F8 (COM2), IRQ33E8 (COM3), IRQ4

Serial port B device SPD IW

Infrared (IrDA port)3-pin (Rx/Tx serial port)

Serial port B I/O address(Rx/Tx serial port)

SEB OFF3F82F83E8

Disabled3F8 (COM1), IRQ42F8 (COM2), IRQ33E8 (COM3), IRQ4

LPT port LPTP OFF377277375275

Disabled378 (LPT1), IRQ7278 (LPT2), IRQ7378 (LPT3), IRQ5278 (LPT4), IRQ5

Syntax 9-5

Page 118: Stylistic 1000 Technical Reference Guide - Fujitsusolutions.us.fujitsu.com/www/content/pdf/st1000trg.pdfFujitsu Personal Systems, Inc. No part of this publication may be copied, reproduced,

* Before these options can be used, the power savings mode option (PSM) must be set to: Customize.

LPT mode LPTM OBE

Output onlyBidirectionalECP (extended capabilities port)

Speaker SPK NY

OffOn

Hotpad access HPAD NY

EnabledDisabled

Hard disk drive boot sector

WPRT NW

NormalWrite Protect

Hard disk drive head retract

HDR DEFN1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 15, 20

Hard disk drive defaultDisabledX seconds

Power savings mode PSM OFFCPB

OffCustomizeMax performanceMax battery life

Hard disk timeout* HDT N5S, 10S, 30S1, 2, 4, 6, 8, 10, 15, 20

OffX secondsX minutes

Video timeout* VDT N30S1, 2, 4, 6, 8, 10, 15, 20

Off30 secondsX minutes

Auto suspend timeout* ASP N5, 10, 15, 20, 30, 40, 60

OffX minutes

CPU idle mode* IDLE NY

DisabledEnabled

Standby timeout* SDY N1, 2, 4, 6, 8, 12, 16

OffX minutes

Table 9-2. STPENSET Command Line Options (Continued)

Option Parameter Value Description

9-6 STPENSET BIOS Configuration Utility

Page 119: Stylistic 1000 Technical Reference Guide - Fujitsusolutions.us.fujitsu.com/www/content/pdf/st1000trg.pdfFujitsu Personal Systems, Inc. No part of this publication may be copied, reproduced,

Chapter 10

MFGCONF BIOS Configuration Utility

MFGCONF is a program that configures permanent (CMOS) BIOS settings. This program runs under MS-DOS from the command line or as an entry in a batch file.

MFGCONF Command Line Syntax 10

The MFGCONF command uses the following syntax:

MFGCONF KEYWORD=VALUE

where the KEYWORD and VALUE options define the CMOS parameter setting as described in Table 10-1. Any number of CMOS parameters can be included on the MFGCONF command line by separating each KEYWORD=VALUE entry with a comma and a space as shown in the example below.

MFGCONF BOOT=CA, PRMPT=Y

MFGCONF is executed by a carriage return following the KEYWORD=VALUE entries.

Note: Keyword and value entries can be listed in any order except for entries that customize power savings mode and ATA hard disk options. See the footnotes at the end of Table 10-1 for details.

MFGCONF Help Screen 10

The MFGCONF help screen displays a list of CMOS settings and acceptable values. To display the MFGCONF help screen, type the MFGCONF command followed by one of the following options: H, /H, ?, /?. For example, each of the following commands displays the MFGCONF help screen:

MFGCONF H

MFGCONF /H

MFGCONF ?

MFGCONF /?

Caution

Do not press the reset or suspend button while MFGCONF is executing. Doing so will cause an invalid CMOS checksum.

If a reset does occur during MFGCONF execution, however, default CMOS values are loaded. In this event, you must run MFGCONF (or any other BIOS configuration utility) again to restore any custom CMOS settings.

10-1

Page 120: Stylistic 1000 Technical Reference Guide - Fujitsusolutions.us.fujitsu.com/www/content/pdf/st1000trg.pdfFujitsu Personal Systems, Inc. No part of this publication may be copied, reproduced,

Table 10-1. MFGCONF Command Options

CMOS Parameter Keyword Value Description

Boot sequence BOOT ACCAC

A: then C:C: then A:C: only

PenSETUP prompt PRMPT NY

Do not displayDisplay

POST errors ERR NY

Do not displayDisplay

Summary screen SUM NY

Do not displayDisplay

Numlock state LOCK ANY

AutoOffOn

Display select (Video) DISP LMB

LCDMonitorBoth

Graphics video mode GVI NI

NormalReverse

Text video mode TVI NI

NormalReverse

CPU speed CPU FS

FastSlow

Suspend mode SUSM ND

SuspendSave to disk

Resume on modem ring

RMRI OFF9PINCARD

Off9-pin (RS-232) serial portPCMCIA Card

Resume on time(Resume on alarm)

ROA OFFHH:MM:SS

OffResume time in hours(00-23):minutes(00-59):seconds(00-59)

Serial port A I/O address(RS-232 serial port)

SEA OFF3F82F83E8

Disabled3F8 (COM1), IRQ42F8 (COM2), IRQ33E8 (COM3), IRQ4

Serial port B device SPD IW

Infrared (IrDA port)3-pin (Rx/Tx serial port)

Serial port B I/O address(Rx/Tx serial port)

SEB OFF3F82F83E8

Disabled3F8 (COM1), IRQ42F8 (COM2), IRQ33E8 (COM3), IRQ4

LPT port I/O address LPTP OFF377277375275

Disabled378 (LPT1), IRQ7278 (LPT2), IRQ7378 (LPT3), IRQ5278 (LPT4), IRQ5

10-2 MFGCONF BIOS Configuration Utility

Page 121: Stylistic 1000 Technical Reference Guide - Fujitsusolutions.us.fujitsu.com/www/content/pdf/st1000trg.pdfFujitsu Personal Systems, Inc. No part of this publication may be copied, reproduced,

LPT mode LPTM OBE

Output onlyBidirectionalECP (extended capabilities port)

Speaker SPK NY

OffOn

Hotpad access (speaker and video mode hotpads)

HPAD NY

Disable hotpadsEnable hotpads

Hard disk boot sector WPRT NW

NormalWrite Protect

Power savings mode PSM OFFCPB

OffCustomize settings indicated by (*).Max performanceMax battery life

Hard disk timeout* HDT N5S, 10S, 30S1, 2, 4, 6, 8, 10, 15, 20

OffX secondsX minutes

Video timeout* VDT N30S1, 2, 4, 6, 8, 10, 15, 20

Off30 secondsX minutes

Auto suspend timeout* ASP N5, 10, 15, 20, 30, 40, 60

OffX minutes

CPU idle mode* IDLE NY

DisabledEnabled

Standby timeout* SDY N1, 2, 4, 6, 8, 12, 16

OffX minutes

Diskette A: DSKA OFF144

Disabled1.44MB, 3.5” disk drive enabled

ATA hard disk type and size

DSKC NAC

DisabledAuto detect

User-defined. Customize settings indicated by (†).

Cylinders† CYL # Number of cylinders(Decimal values 0-9999 accepted)

Heads† HED # Number of heads(Decimal values 0-15 accepted)

Sectors per track† SPT # Number of sectors per track (Decimal values 0-63 accepted)

Write precomp† WPC # Write precomp value(Decimal values 0-9999 accepted)

Memory cache MEM NY

DisabledEnabled

Table 10-1. MFGCONF Command Options (Continued)

CMOS Parameter Keyword Value Description

MFGCONF Command Line Syntax 10-3

Page 122: Stylistic 1000 Technical Reference Guide - Fujitsusolutions.us.fujitsu.com/www/content/pdf/st1000trg.pdfFujitsu Personal Systems, Inc. No part of this publication may be copied, reproduced,

* Before these options can be used, the power savings mode parameter (PSM) must be set to C (customize). † Before these options can be used, the ATA hard disk type and size parameter (keyword DSKC) must be set to C

(customize).

Main page access MPA NY

DisabledEnabled(User access to PenSETUP main menu)

Advanced page access APA NY

DisabledEnabled(User access to PenSETUP advanced menu)

Security page access SPA NY

DisabledEnabled(User access to PenSETUP security menu)

Power page access PPA NY

DisabledEnabled(User access to PenSETUP power savings menu)

Hard disk drive head retract

HDR DEFN1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 15, 20

Hard disk drive defaultDisabledX seconds

Table 10-1. MFGCONF Command Options (Continued)

CMOS Parameter Keyword Value Description

10-4 MFGCONF BIOS Configuration Utility

Page 123: Stylistic 1000 Technical Reference Guide - Fujitsusolutions.us.fujitsu.com/www/content/pdf/st1000trg.pdfFujitsu Personal Systems, Inc. No part of this publication may be copied, reproduced,

,

1

Index

Numerics16-bit APIs, 6-132-bit APIs, 7-1

AAC adapter, 1-6advanced power management (APM)

MS-DOS interface, 2-3specification, xivsupported revision level, 1-6, 2-1

application design for power management, 2-2application development libraries

16-bit APIs, 6-132-bit APIs, 7-1FJSYS.LIB, 5-1FJSYS.LIB function error codes, 5-2for BIOS parameters, 16-bit Windows, 6-3for BIOS parameters, 32-bit Windows, 7-4for MS-DOS, 5-1HOTPAD32.DLL, 7-1ST1SET32.DLL, 7-1

Bbattery

bridge, 1-6main battery pack, 1-5stylus, 1-7

battery charger, external, xivBIOS

configuration functions for 16-bit windows applications,6-5

configuration functions for 32-bit Windows applications7-3

configuration functions for MS-DOS applications, 5-3configuration options, 8-1configuration options, reference table, 8-1MFGCONF BIOS configuration utility, 10-1power management configuration options, 2-2size, 1-3STPENSET BIOS configuration utility for MS-DOS, 9-1

bridge battery, 1-6

Ccase

for harsh environment, xivkeyboard combination, xivslip, carrying case, xiv

CIC PenDOS, 1-2connectors

DC power input, 1-18floppy drive, 1-17keyboard port, 1-15mouse, 1-16parallel port, 1-15RS-232 serial port, 1-14Rx/Tx serial port, 1-14system interface port pin assignments, 1-10video port, 1-13

CPU idle mode, 2-2

DDC power input, 1-18desk stand, xivdigitizer specifications, 1-7display backlight, I/O register, 4-3display contrast, I/O register, 4-2dynamically linked libraries (DLLs)

for 16-bit application development, 6-1for 32-bit application development, 7-1for programmable hotpad, 6-1

FFJSYS.LIB application development library for MS-DOS, 5-FJSYS.LIB function error codes, 5-2FJSYS.LIB functions

fFJSys_Exit, 5-2fFJSys_Init, 5-2fGetAutoSuspend_Timeout, 5-16fGetBootSequence, 5-4fGetCPU_IdleMode, 5-18fGetDisplay_Select, 5-10fGetDisplaySetupPrompt, 5-4fGetGraphic_Video_Mode, 5-10fGetHDD_BootSector, 5-12fGetHDD_Timeout, 5-14fGetHotPad_Access, 5-21fGetLPT_Address, 5-8fGetLPT_Mode, 5-9fGetNumLockState, 5-6fGetPOSTErrors, 5-5fGetPwrMgmtMode, 5-18fGetResumeOnModemRing, 5-20fGetResumeTime, 5-21fGetSerialA_Address, 5-7fGetSerialB_Address, 5-8fGetSerialB_Device, 5-7fGetSpeaker, 5-11fGetStandby_Timeout, 5-19fGetSummaryScreen, 5-6fGetSuspend_Mode, 5-19

I-1

Page 124: Stylistic 1000 Technical Reference Guide - Fujitsusolutions.us.fujitsu.com/www/content/pdf/st1000trg.pdfFujitsu Personal Systems, Inc. No part of this publication may be copied, reproduced,

fGetText_Video_Mode, 5-11fGetVideo_Timeout, 5-16fSetAutoSuspend_Timeout, 5-16fSetBootSequence, 5-4fSetCPU_IdleMode, 5-17fSetCPU_Speed, 5-17fSetDisplay_Select, 5-9fSetDisplaySetupPrompt, 5-4fSetGraphic_Video_Mode, 5-10fSetHDD_BootSector, 5-12fSetHDD_Timeout, 5-14fSetHotPad_Access, 5-21fSetLPT_Address, 5-8fSetLPT_Mode, 5-9fSetNumLockState, 5-6fSetPOSTErrors, 5-5fSetPwrMgmtMode, 5-18fSetResumeOnModemRing, 5-20fSetResumeTime, 5-20fSetSerialA_Address, 5-6fSetSerialB_Address, 5-8fSetSerialB_Device, 5-7fSetSpeaker, 5-11fSetStandby_Timeout, 5-18fSetSummaryScreen, 5-5fSetSuspend_Mode, 5-19fSetVideo_Timeout, 5-15

Hharsh environment case, xivhotpad, programmable

16-bit Windows DLL, 6-132-bit Windows DLL, 7-1I/O register, 4-1library functions for MS-DOS, 5-3

HOTPAD.DLL, 6-1HOTPAD.DLL functions

KillHotpadNotification, 6-3SetHotpadNotification, 6-2

HOTPAD32.DLL, 7-1HOTPAD32.DLL functions

KillHotPadNotification, 7-2SetHotpadNotification, 7-1

IIrDA

drivers for Windows 95, 1-18drivers for Windows for Workgroups, 1-18port, 1-18

IRQsStylistic 1000 RF radio, 1-8system IRQ assignments, 1-8

Kkeyboard combination case, xivkeyboard connector pin assignments, 1-15

I-2

Mmemory

expansion, 1-4flash cards, 1-4memory map (upper memory allocation), 1-9RAM, 1-3–1-4ROM, 1-3–1-4upper memory allocation, 1-9

MFGCONF, 10-1command line syntax, 10-1command options, 10-2help screen, 10-1

mouse connector, 1-16MS-DOS

BIOS configuration functions, 5-3pen support, 1-2power management interface, 2-3static library functions for application development, See

also FJSYS.LIB functions, 5-1

Ooperating systems, 1-1

Pparallel port, 1-15PCMCIA

standards, xvsupport, 1-3

pen support, 1-1PenDOS, CIC, 1-2PENMOUSE, 1-2PenRight!, 1-2peripheral interfaces, 1-13–1-15, 1-17PHDISK, 3-3

command line options, 3-3configuring the Stylistic 1000, 3-2create option, 3-4create option syntax, 3-5delete option, 3-6errors, 3-7–3-9file option, 3-5help screen, 3-7info option, 3-6messages, 3-7partition and file size, 3-4partition option, 3-5reformat option, 3-6

popup keyboard, 1-2port replicator, 1-9port replicator connector, See system interface portpower management, 2-1

application design, 2-2BIOS configuration options, 2-2MS-DOS APM interface, 2-3state transitions in MS-DOS, 2-3state transitions, illustration, 2-1system power states, 2-2Windows 95 interface, 2-3Windows 95 messages, 2-4

Page 125: Stylistic 1000 Technical Reference Guide - Fujitsusolutions.us.fujitsu.com/www/content/pdf/st1000trg.pdfFujitsu Personal Systems, Inc. No part of this publication may be copied, reproduced,

-7

Windows for Workgroups interface, 2-3processor speed, 2-2, 9-3programmable system functions, 4-1

Rrelated documentation, xiiiresume from disk, 3-2RS-232 serial port, 1-14Rx/Tx serial port, 1-14

SSanDisk, supported models, 1-4Save to Disk, 3-1

configuring the Stylistic 1000, 3-2during system activity, 3-2features, 3-1file, 3-2partition, 3-1partition and file size, 3-4PHDISK hard disk preparation utility, 3-3resume from disk, 3-2suspend request, 3-2using, 3-2

slip case, xivspecifications

AC adapter, 1-6battery pack, 1-5digitizer, 1-7display, 1-4environmental, 1-6interfaces, 1-4–1-5memory, 1-3–1-4obtaining from other vendors, xvpower management, 1-6processor, 1-3system unit, 1-3weight, 1-3

ST1SET32.DLL, 7-3parameters for current and permanent BIOS settings, 7parameters for permanent BIOS settings, 7-5return values and error codes, 7-4session buffer, 7-3

ST1SET32.DLL functionsGetCurrent, 7-6GetResumeTime, 7-9SetCurrent, 7-6SetResumeTime, 7-8SetupExit, 7-3SetupInitialize, 7-3

ST1SETUP.DLL, 6-1application development library, 6-3error codes, 6-5permanent and current settings, 6-3session buffer, 6-4

ST1SETUP.DLL functionsfFJSys_Init, 6-4fGetAutoSuspend_Timeout, 6-17fGetBootSequence, 6-6fGetCPU_IdleMode, 6-18

fGetCPU_Speed, 6-17fGetDisplay_Select, 6-12fGetDisplaySetupPrompt, 6-6fGetGraphic_Video_Mode, 6-13fGetHDD_BootSector, 6-14fGetHDD_Timeout, 6-15fGetHotPad_Access, 6-22fGetHotPad_Status, 6-5fGetLPT_Address, 6-11fGetLPT_Mode, 6-11fGetNumLockState, 6-8fGetPOSTErrors, 6-7fGetPwrMgmtMode, 6-19fGetResuemOnModemRing, 6-21fGetResumeTime, 6-21fGetSerialA_Address, 6-9fGetSerialB_Address, 6-10fGetSerialB_Device, 6-9fGetSpeaker, 6-14fGetStandby_Timeout, 6-19fGetSummaryScreen, 6-8fGetSuspend_Mode, 6-20fGetText_Video_Mode, 6-13fGetVideo_Timeout, 6-16FJSys_Exit, 6-4fSetAutoSuspend_Timeout, 6-16fSetBootSequence, 6-5FSetCPU_IdleMode, 6-18fSetCPU_Speed, 6-17fSetDisplay_Select, 6-12fSetDisplaySetupPrompt, 6-6fSetGraphic_Video_Mode, 6-12fSetHDD_BootSector, 6-14fSetHDD_Timeout, 6-14fSetHotPad_Access, 6-22fSetLPT_Address, 6-10fSetLPT_Mode, 6-11fSetNumLockState, 6-8fSetPOSTErrors, 6-7fSetPwrMgmtMode, 6-18fSetResumeOnModemRing, 6-20fSetResumeTime, 6-21fSetSerialA_Address, 6-8fSetSerialB_Address, 6-10fSetSerialB_Device, 6-9fSetSpeaker, 6-13fSetStandby_Timeout, 6-19fSetSummaryScreen, 6-7fSetSuspend_Mode, 6-20fSetText_Video_Mode, 6-13fSetVideo_Timeout, 6-16programmable hotpad function, 6-5

STPENSETauto suspend timeout, 9-2boot options, 9-1CPU idle mode, 9-2hard disk drive timeout, 9-2keyboard numlock, enabling, 9-2power savings menu, 9-2setup prompt, enabling, 9-1standby timeout, 9-3summary screen, enabling, 9-2

I-3

Page 126: Stylistic 1000 Technical Reference Guide - Fujitsusolutions.us.fujitsu.com/www/content/pdf/st1000trg.pdfFujitsu Personal Systems, Inc. No part of this publication may be copied, reproduced,

suspend mode options, 9-3video timeout, 9-2

Stylistic 1000 peripherals, xivStylistic 1000 RF, radio I/O address, 1-9stylus battery, 1-7suspend

power management, state, 2-2Save to Disk suspend mode, 3-1

system interface port, 1-9–1-10

Uupper memory allocation, 1-9

Vvideo

connector, 1-13controller, 1-5controller specifications, obtaining, xvdisplay backlight, I/O register, 4-3display contrast, I/O register, 4-2external video modes, 1-13port, 1-13

Wweight specification, 1-3Windows 95, 1-1

pen support, 1-1power management interface, 2-3power messages, 2-4

Windows for Workgroups, 1-1pen support, 1-2power management interface, 2-3

I-4

Page 127: Stylistic 1000 Technical Reference Guide - Fujitsusolutions.us.fujitsu.com/www/content/pdf/st1000trg.pdfFujitsu Personal Systems, Inc. No part of this publication may be copied, reproduced,

10

Page 128: Stylistic 1000 Technical Reference Guide - Fujitsusolutions.us.fujitsu.com/www/content/pdf/st1000trg.pdfFujitsu Personal Systems, Inc. No part of this publication may be copied, reproduced,

10

9/96 58-0479-00A

Fujitsu Personal Systems, Inc.5200 Patrick Henry DriveSanta Clara, CA 95054USATel: (408) 982-9500

Fujitsu Personal Systems Ltd. United Kingdom2 Longwalk RoadStockley Park, UxbridgeMiddlesex UB11 1ABUnited KingdomTel: (44) 1-181-573-4444

Fujitsu Personal Systems, Inc.International HeadquartersLes Espace de Sophia, Bât. J80, route des LuciolesSophia AntipolisF-06560 Valbonne, FranceTel: (33) 92 94 58 58

Fujitsu Personal SystemsFrance SARL71B, Rue des Hautes PâturesF-92737 Nanterre, Cedex, FranceTel: (33) 1-47 85 80 20

Fujitsu Personal Systems, Inc.(Canadian Office)6205 Airport RoadBuilding B, Suite 100Mississauga, Ontario, CanadaL4V 1E1Tel: (905) 677-3332

Fujitsu Personal Systems Italia S.r.l.Via Michelangelo Peroglio, 11I-00144 Rome, ItalyTel: (39) 6-520 0931

Fujitsu Personal Systems, Inc.(German Office)Frankfurter Ring 211D-80807 Munich, GermanyTel: (49) 89-3278-170