Stylistic 1000 Technical Reference Guide

Stylistic 1000 Technical Reference Guide 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 Memory Card International Association.

Phoenix is a trademark of , 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 1996 Fujitsu 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. Table of Contents

About This Guide ...... xiii Organization...... xiii Related Documentation...... xiii Obtaining Other Related Specifications ...... xv

Chapter 1 Overview and Specifications ...... 1-1 System Overview...... 1-1 Supported Operating Systems ...... 1-1 Pen Support ...... 1-1 Windows 95 Pen Support ...... 1-1 Windows for Workgroups Pen Support ...... 1-2 MS-DOS Pen Support...... 1-2 Development Tools and Utilities ...... 1-2 PCMCIA Support ...... 1-3 System Unit Specifications ...... 1-3 Digitizer Specifications ...... 1-7 System Resource Allocation...... 1-8 IRQ Assignments...... 1-8 Upper Memory Allocation ...... 1-9 Port Replicator ...... 1-9 System Interface Port (Port Replicator Connector) ...... 1-9 Peripheral Connectors...... 1-12 Video Port ...... 1-13 RS-232 Serial Port ...... 1-14 Rx/Tx Serial Port ...... 1-14 Parallel Port...... 1-15 Keyboard Port...... 1-15 Mouse Port (Port Replicator Only)...... 1-16 Floppy Drive Connector ...... 1-17 DC Power Input ...... 1-18 IrDA Port ...... 1-18 IrDA Drivers for Windows for Workgroups ...... 1-18 IrDA Drivers for Windows 95 ...... 1-18

Chapter 2 Power Management ...... 2-1 System Power States and State Transitions ...... 2-1 Power Management BIOS Configuration Options ...... 2-2 Application Design for Power Management ...... 2-2 MS-DOS APM Interface ...... 2-3 State Transitions in MS-DOS ...... 2-3 Windows for Workgroups Power Management Interface ...... 2-3 Windows 95 Power Management Interface ...... 2-3 Windows 95 Power Message ...... 2-4

Chapter 3 Save to Disk ...... 3-1 Save to Disk Features ...... 3-1 Partition and File Considerations...... 3-1 Save-to-Disk Partition ...... 3-1 Save-to-Disk File ...... 3-2 Configuring the Stylistic 1000 for Save to Disk ...... 3-2

iii Using Save to Disk ...... 3-2 Resume From Disk ...... 3-2 Save to Disk During System Activity ...... 3-2 PHDISK Hard Disk Preparation Utility ...... 3-3 Command Line Options ...... 3-3 CREATE Option ...... 3-4 Automatic Memory Size Calculation ...... 3-4 Specify 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-7 PHDISK Sign-on Message ...... 3-7 Help Screen ...... 3-7 Unrecognized Option ...... 3-7 Fatal Error ...... 3-7 Not Enough Disk Space...... 3-8 Save to Disk Partition Exists ...... 3-8 Too Many Bad Sectors ...... 3-8 First Two Sectors Bad...... 3-8 PHDISK /CREATE Failed to Execute ...... 3-8 Good Sector Map Corrupted...... 3-8 Not Enough System Memory ...... 3-9 File Already Exists ...... 3-9

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

Chapter 5 Static Library Functions for MS-DOS Application Development ...... 5-1 FJSYS.LIB ...... 5-1 Permanent and Current Settings ...... 5-1 Session Buffer...... 5-1 bReLD Parameter ...... 5-2 Function Error Codes ...... 5-2 fFJSys_Init ...... 5-2 FJSys_Exit ...... 5-2 Programmable Hotpad Function ...... 5-3 fGetHotPad_Status...... 5-3 BIOS Configuration Functions ...... 5-3 fSetBootSequence ...... 5-4 fGetBootSequence ...... 5-4 fSetDisplaySetupPrompt ...... 5-4 fGetDisplaySetupPrompt ...... 5-4 fSetPOSTErrors ...... 5-5 fGetPOSTErrors ...... 5-5 fSetSummaryScreen ...... 5-5 fGetSummaryScreen ...... 5-6 fSetNumLockState ...... 5-6 fGetNumLockState ...... 5-6 fSetSerialA_Address ...... 5-6 fGetSerialA_Address ...... 5-7 iv fSetSerialB_Device ...... 5-7 fGetSerialB_Device ...... 5-7 fSetSerialB_Address ...... 5-8 fGetSerialB_Address ...... 5-8 fSetLPT_Address ...... 5-8 fGetLPT_Address ...... 5-8 fSetLPT_Mode ...... 5-9 fGetLPT_Mode ...... 5-9 fSetDisplay_Select ...... 5-9 fGetDisplay_Select ...... 5-10 fSetGraphic_Video_Mode ...... 5-10 fGetGraphic_Video_Mode ...... 5-10 fSetText_Video_Mode...... 5-11 fGetText_Video_Mode ...... 5-11 fSetSpeaker ...... 5-11 fGetSpeaker ...... 5-11 fSetHDD_BootSector ...... 5-12 fGetHDD_BootSector ...... 5-12 fSetHDD_HeadRetract ...... 5-13 fGetHDD_HeadRetract...... 5-13 fSetHDD_Timeout ...... 5-14 fGetHDD_Timeout ...... 5-14 fSetVideo_Timeout ...... 5-15 fGetVideo_Timeout ...... 5-16 fSetAutoSuspend_Timeout ...... 5-16 fGetAutoSuspend_Timeout ...... 5-16 fSetCPU_Speed ...... 5-17 fGetCPU_Speed...... 5-17 fSetCPU_IdleMode ...... 5-17 fGetCPU_IdleMode ...... 5-18 fSetPwrMgmtMode ...... 5-18 fGetPwrMgmtMode ...... 5-18 fSetStandby_Timeout ...... 5-18 fGetStandby_Timeout ...... 5-19 fSetSuspend_Mode ...... 5-19 fGetSuspend_Mode ...... 5-19 fSetResumeOnModemRing ...... 5-20 fGetResumeOnModemRing ...... 5-20 fSetResumeTime ...... 5-20 fGetResumeTime ...... 5-21 fSetHotPad_Access ...... 5-21 fGetHotPad_Access ...... 5-21

Chapter 6 APIs for 16-Bit Windows Applications ...... 6-1 Dynamically Linked Libraries for 16-Bit Application Development ...... 6-1 HOTPAD.DLL ...... 6-1 SetHotpadNotification ...... 6-2 Return Value ...... 6-2 Comments ...... 6-2 KillHotPadNotification ...... 6-3 Return Value ...... 6-3 ST1SETUP.DLL ...... 6-3 Permanent and Current Settings ...... 6-3 Session Buffer ...... 6-4 fFJSys_Init ...... 6-4 FJSys_Exit ...... 6-4 Return Values and Error Codes ...... 6-5 Programmable Hotpad Function...... 6-5 fGetHotPad_Status...... 6-5 BIOS Configuration APIs...... 6-5 fSetBootSequence...... 6-5

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

Chapter 7 APIs for 32-Bit Windows Applications ...... 7-1 Dynamically Linked Libraries for 32-Bit Application Development ...... 7-1 HOTPAD32.DLL ...... 7-1 SetHotpadNotification ...... 7-1 Return Values ...... 7-2 Comments ...... 7-2 KillHotPadNotification ...... 7-2 Return Value ...... 7-2 ST1SET32.DLL ...... 7-3 vi Session Buffer ...... 7-3 SetupInitialize ...... 7-3 SetupExit ...... 7-3 Return Values and Error Codes ...... 7-4 BIOS Configuration Functions ...... 7-4 GetPermanent and SetPermanent...... 7-4 GetPermanent Return Values...... 7-6 SetPermanent Return Values ...... 7-6 GetCurrent and SetCurrent ...... 7-6 GetCurrent Return Values ...... 7-6 SetCurrent Return Values ...... 7-7 SetResumeTime ...... 7-8 Return Values ...... 7-9 GetResumeTime ...... 7-9 Return Value ...... 7-9

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

Chapter 9 STPENSET BIOS Configuration Utility ...... 9-1 Starting STPENSET ...... 9-1 Boot Options Menu...... 9-1 Devices Menu ...... 9-2 Power Savings Menu ...... 9-2 Power Savings Field ...... 9-2 Hard Disk Timeout Field ...... 9-2 Video Timeout Field...... 9-2 Auto Suspend Timeout Field ...... 9-2 CPU Idle Mode Field...... 9-2 Standby Timeout Field...... 9-3 Suspend Mode Field ...... 9-3 CPU Speed Field...... 9-3 Resume on Modem Ring Field ...... 9-3 Resume on Time Field...... 9-3 HDD Head Retract Field...... 9-3 Other Menu...... 9-4 Hard Disk Boot Sector Field...... 9-4 Hotpad Access Field ...... 9-4 STPENSET Command Line Interpreter ...... 9-4 Syntax ...... 9-4 Example ...... 9-4

Chapter 10 MFGCONF BIOS Configuration Utility ...... 10-1 MFGCONF Command Line Syntax ...... 10-1 MFGCONF Help Screen ...... 10-1

vii viii List of Figures

Figure Page 0

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

ix x List of Tables

Table Page 0

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

xi xii 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 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 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-ROM This 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.1 The 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 Corporation Literature Distribution Center P.O. Box 7641 Mt. Prospect, IL 60056-7641 800-548-4725 • Microsoft Corporation Hardware Vendor Relations Group 1 Microsoft Way Redmond, WA 98052 206-882-8080

xiv About This Guide PCMCIA Standards The 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 Standards The 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 Avenue Fremont, CA 94538 USA 510-226-2323 http://www.cirrus.com

Chips and Technologies, Inc. 2950 Zanker Road San Jose, CA 95134 USA 408-434-0600

Standard Micro Systems, Inc. 2107 North First Street Suite 660 San Jose, CA 95131 USA 408-441-0455

AMP, Inc. Harrisburg, PA 17105-3608 USA 800-522-6752

Obtaining Other Related Specifications xv xvi About This Guide 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 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.VXD A virtual device driver for the pen • PENC.DRV A 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 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.386 A virtual device driver for the pen • KPEN.DRV A 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 • 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) With battery pack and hard disk drive

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

Architecture IBM-AT compatible

Microprocessor AMD Am486® DX4, 100 MHz 8 KB on-chip cache Integrated math coprocessor

Memory

ROM 512 KB Flash BIOS

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

Feature Specification Comments

RAM 8 MB DRAM RAM is upgraded by installing one of the following: Upgradeable to 12 MB, 16 MB, 24 MB, or 40 MB 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 Accepts two Type II PCMCIA cards or one Type III PCMCIA card. Compliant with PCMCIA Standard Revision 2.1

Display

DSTN color LCD Backlit, 8" (197mm) diagonal See video port specifications later in 0.25mm dot pitch this table for video controller 640 x 480 VGA resolution specifications. 256 colors 1:1 aspect ratio

Transflective Backlit, 8" (200mm) diagonal Transflective display is best suited for monochrome LCD 0.25mm dot pitch outdoor use. 640 x 480 VGA resolution 64 gray shades 1:1 aspect ratio

Transmissive Backlit, 8" (200mm) diagonal monochrome LCD 0.25mm dot pitch 640 x 480 VGA resolution 64 gray shades 1: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 I/O controller IC used*: Standard Micro Systems Operational modes: output only, ECP, FDC37C665IR bidirectional

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

Feature Specification Comments

Video* Standard 15-pin video connector External monitor only or simultaneous with LCD. VESA-compatible VGA controller with SVGA enhancements Video controller IC used*: Chips and Technologies 1 MB built-in VRAM 65545 VGA Controller

RS-232 serial port 9-pin RS-232C (Serial port A)

NS 16C550 compatible I/O controller IC used*: Standard Micro Systems FDC37C665IR

IrDA port Infrared LED built into system unit. Disabled when Rx/Tx serial port (on port replicator) is selected for serial port See “IrDA Port” later Compliant with IrDA Standard Revision B device. in this chapter for 1.0 more details. I/O controller IC used*: Standard Micro Systems FDC37C665IR

Rx/Tx serial port 9-pin connector on port replicator only Disabled when IrDA port is selected for (only on port serial port B device. replicator) NS 16C550 compatible (receive and transmit functionality only) I/O controller IC used*: Standard Micro Systems FDC37C665IR

System interface port 72-pin connector For port replicator.

External floppy disk 26-pin connector Battery pack must be removed for drive 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 / - sleeve For use with AC adapter or auto 16 volts DC ±10%, 2.5 A adapter.

Battery charge 2 surface contacts (+ and -) near system For use with custom battery charging contacts interface port connector. device. 16 volts DC ±10%, 2.5 A

Power

Battery pack Rechargeable lithium ion battery pack Battery life is 3-6 hours (application 9 cells, 10.8 volts dependent). 3750 mAh continuous current Battery capacity decreases to 60% of 4100 mAh peak current (on:off ratio 4:5) rated capacity after 500 full charge 500 charge cycles cycles.

Normal charge time (suspend or off): Charge times are with FMWAC3A, approx. 3 hours (90% charge) FMWAC3B, or FMWAC3C AC adapter. approx. 4 hours (99% charge) approx. 5 hours (100% charge)

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

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

Feature Specification Comments

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-cadmium Replaceable, can be removed for 7.2 volts, 80 mAh, 6 cells recycling.

Real time clock Built-in lithium battery 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 Supports Intel and Microsoft APM modes (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

* 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.

1-6 Overview and Specifications 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 Minimum distance from stylus tip to screen (9.53 mm) 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 Tips are replaceable. activation force. Minimum life 5,000,000 actuations. Replacement tip order number: FMWPNT2.

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

Stylus battery 1.5 volt, alkaline, AAAA size Suggested battery: Eveready model E96.

Voltage range: 1.1 to 1.6 volts 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 Stylus is in idle mode unless tip switch is (270 uA typical) pressed. (Pressing the side switch alone will not initiate normal operation.) Stylus will enter Idle mode: 3.5 uA max idle mode when 3.5 to 10 minutes (5 minutes (1.5 uA typical) nominal) elapse with no tip switch activity.

Stylus circuitry is protected against battery reverse polarity.

Digitizer Specifications 1-7 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

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†

* 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.

1-8 Overview and Specifications 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

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.)

* 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.

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

Figure 1-1. System Interface Port Connector

1 18 19 36 37 54 55 72

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

Input/ Pin Signal Output/ Level Description Port or Connector Bus

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

1-10 Overview and Specifications Table 1-5. System Interface Port Connector Pin Assignments (Continued)

Input/ Pin Signal Output/ Level Description Port or Connector Bus

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

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

Input/ Pin Signal Output/ Level Description Port or Connector Bus

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

# 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.

1-12 Overview and Specifications 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.

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

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

Horizontal Vertical Resolution Colors Frequency 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 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.

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)

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.

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

* Resistor connected between this pin and system ground internally.

1-14 Overview and Specifications 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.

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

# 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-11. Keyboard Port Connector Pin Assignments

Connector Pin Locations Pin Signal

1 Serial data

2 SMI request

3 Ground

4 5-Volt power

5Clock

6 +3.3-Volt power

Sleeve Ground

Peripheral Connectors 1-15 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

5Clock

6 No connection

Sleeve Ground

1-16 Overview and Specifications 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.

Table 1-13. Floppy Disk Drive Connector Pin Assignments

Connector Pin Locations Pin Signal

1 Ground

2 Ground

25 23 21 19 17 15 13 11 9 7 5 3 1 3 Head select (FSIDE#) 26 24 22 20 18 16 14 12 10 8 6 4 2 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

# Indicates active-low signal.

Peripheral Connectors 1-17 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.

Table 1-14. DC Power Input Connector Pin Assignments

Conductor Description

Center Pin 16 Volts DC (+)

Sleeve GND

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

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)

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.

1-18 Overview and Specifications 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.

• Main power switch turned on after system shutdown Off or Save to Disk suspend State • Suspend button (after Windows 95 shutdown) • Main power switch • Windows 95 shutdown • Suspend button (Save to Disk suspend mode)

• Suspend button Fully On • BIOS determines that all (normal suspend mode) State applications are idle • APM suspend request • Critically low battery

• System activity detected • Suspend button (pen, keyboard, mouse, • Resume on time serial I/O, parallel I/O, floppy • Resume on modem ring drive, HDD, PCMCIA)

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

• Autosuspend timeout • Standby timeout expires expires Standby State

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.

Figure 2-1. Power Management State Transitions

2-1 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

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* System is running. (CPU Idle CPU speed drops to 50MHz when CPU Idle Mode is enabled. Mode) (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.

* 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

2-2 Power Management 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 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 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 performance The Stylistic 1000 runs Save to Disk in local cached memory. • High-speed algorithm Memory 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 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 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.

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.

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.

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.

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).

PHDISK Hard Disk Preparation Utility 3-3 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 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.

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.

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.0 Save 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 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 If no save-to-disk partition exists, PHDISK creates (or PHDISK /C /F) 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 Creates a save-to-disk partition using the amount (or PHDISK /C /P) of memory required as calculated by PHDISK. (Entire hard disk is reformatted.)

PHDISK /CREATE 10240 /FILE Creates a 10 MB save-to-disk file. The [SIZE] (or PHDISK /C 10240 /F) variable is 10240.

PHDISK Hard Disk Preparation Utility 3-5 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.

Table 3-3. PHDISK /REFORMAT Option

Command Description

PHDISK /REFORMAT /PARTITION Reformats the save-to-disk partition. (or PHDISK /R /P)

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.

Table 3-4. PHDISK /DELETE Option

Command Description

PHDISK /DELETE /FILE Deletes the contents of the save-to-disk file. (or PHDISK /D /F)

PHDISK /DELETE /PARTITION Deletes the contents of the save-to-disk partition. (or PHDISK /D /P)

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.

Table 3-5. PHDISK /INFO Option

Command Description

PHDISK /INFO /FILE Displays the size (in kilobytes) of the (or PHDISK /I /F) save-to-disk file size.

PHDISK /INFO /PARTITION Displays the PHDISK /INFO screen. (or PHDISK /I /P)

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

3-6 Save to Disk 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.0 Save 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 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 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 3-10 Save to Disk 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

Programmable Display Select FastSlow Slow Fast Down Up

Down Up

Speaker Normal/Reverse Contrast Brightness Video Mode (monochrome systems only)

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 0No system functions, do not use 1Yes

4-1 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

I/O Port FD63 Register Contents Contrast Setting

D7 D6 D5 D4 D3 D2 D1 D0

00000000Contrast minimum

0 0 0 0 0 0 0 1 Increasing contrast 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 1 ......

11111111Contrast maximum

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.

4-2 Programmable System Functions 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 0 0 0 Backlight maximum reserved for other system 0 0 1 Decreasing brightness functions, do not use 010

011

100

101

110

1 1 1 Backlight minimum

Display Backlight Setting 4-3 4-4 Programmable System Functions 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.)

bPermanent Value Description 0 Set or query current parameter values. 1 Set or query permanent parameter values.

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.

5-1 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.

bReLD value Description 0 Read the value stored in the session buffer. 1 Read the value stored in CMOS RAM.

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:

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. 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);

5-2 Static Library Functions for MS-DOS Application Development The bSaveSettings parameter value determines whether BIOS settings stored in the session buffer are saved or discarded as described below:

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 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:

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.

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.

FJSYS.LIB 5-3 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:

bSequence Value Description BOOT_A_THEN_C A: then C: BOOT_C_THEN_A C: then A: BOOT_C_ONLY C: only 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:

Value Stored in *pbSequence Memory Location Description 0 A: then C: 1 C: then A: 2 C: only 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:

bDisplayIt Value Description 0 Disable PenSETUP prompt. 1 Enable PenSETUP prompt. 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);

5-4 Static Library Functions for MS-DOS Application Development 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:

Value Stored in *pbDisplayIt Memory Location Description 0Disabled 1Enabled 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:

bDisplay_F1Prompt Value Description 0 Disable POST errors. 1 Enable POST errors. 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:

Value Stored in *pbDisplay_F1Prompt Memory Location Description 0Disabled 1Enabled 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:

bDisplayIt Value Description 0Disabled 1Enabled

FJSYS.LIB 5-5 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:

Value Stored in *pbDisplayIt Memory Location Description 0Disabled 1Enabled 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:

bState Value Description NUMLOCK_AUTO Auto NUMLOCK_ON On NUMLOCK_OFF Off 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:

Value stored in *pbState Description 0Auto 1On 2Off 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);

5-6 Static Library Functions for MS-DOS Application Development This function accepts a BYTE value that determines the I/O address setting:

bSelection Value Description SERIALA_DISABLED Disabled SERIALA_3F8_IRQ4 3F8 IRQ4 SERIALA_2F8_IRQ3 2F8 IRQ3 SERIALA_3E8_IRQ4 3E8 IRQ4 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:

Value Stored in *pbSelection Memory Location Description 0Disabled 13F8 IRQ4 22F8 IRQ3 33E8 IRQ4 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:

bSelection Value Description SERIALB_INFRARED IrDA Port SERIALB_3_PIN RX/TX Serial Port 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:

Value Stored in *pbSelection Memory Location Description 0 IrDA port 1 Rx/Tx serial port

FJSYS.LIB 5-7 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:

bSelection Value Description SERIALB_DISABLED Disabled SERIALB_3F8_IRQ4 3F8 IRQ4 SERIALB_2F8_IRQ3 2F8 IRQ3 SERIALB_3E8_IRQ4 3E8 IRQ4 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:

Value Stored in *pbSelection Memory Location Description 0Disabled 13F8 IRQ4 22F8 IRQ3 33E8 IRQ4 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:

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 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:

5-8 Static Library Functions for MS-DOS Application Development 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:

Value Stored in *pbSelection Memory Location Description 0Disabled 1378 IRQ7 2278 IRQ7 3378 IRQ5 4278 IRQ5 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:

bSelection Value Description LPTMODE_OUTPUTONLY Output only LPTMODE_BIDIRECT Bidirectional LPTMODE_ECP ECP (Extended Capabilities Port) 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:

Value Stored in *pbSelection Memory Location Description 0 Output only 1 Bidirectional 3 ECP (Extended Capabilities Port) 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);

FJSYS.LIB 5-9 This function accepts a parameter that determines the display select setting:

bSelection Value Description DISPLAY_LCD LCD DISPLAY_MONITOR Monitor DISPLAY_SIMULTAN Both 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:

Value Stored in *pbSelection Memory Location Description 0LCD 1 Monitor 2Both 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:

bSelection Value Description GRAPHICS_NORMAL Normal GRAPHICS_REVERSED Reverse 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:

Value Stored in *pbSelection Memory Location Description 0Normal 1 Reverse

5-10 Static Library Functions for MS-DOS Application Development 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:

bSelection Value Description TEXT_NORMAL Normal TEXT_REVERSED Reverse 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:

Value Stored in *pbSelection Memory Location Description 0Normal 1 Reverse 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:

bSelection Value Description 0Off 1On 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);

FJSYS.LIB 5-11 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:

Value Stored in *pbEnableIt Memory Location Description 0Off 1On 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:

bSelect Value Description HDDSECTOR_NORMAL Normal HDDSECTOR_WRITEPR Write protect 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 *pbSelect Memory Location Description 0Normal 1 Write protect

5-12 Static Library Functions for MS-DOS Application Development 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:

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 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);

FJSYS.LIB 5-13 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:

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 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:

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 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);

5-14 Static Library Functions for MS-DOS Application Development 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:

Value Stored in *pbSelect Memory Location Description 0Off 1 5 seconds 2 10 seconds 3 30 seconds 4 1 minute 5 2 minutes 6 4 minutes 7 6 minutes 8 8 minutes 910 minutes 10 15 minutes 11 20 minutes 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:

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

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

bPermanent Value Description 0 Current 1Permanent

FJSYS.LIB 5-15 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:

Value Stored in *pbSelect Memory Location Description 0Off 1 30 seconds 2 1 minute 3 2 minutes 4 4 minutes 5 6 minutes 6 8 minutes 710 minutes 815 minutes 920 minutes 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:

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 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);

5-16 Static Library Functions for MS-DOS Application Development 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:

Value Stored in *pbSelect Memory Location Description 0Off 1 5 minutes 210 minutes 315 minutes 420 minutes 530 minutes 640 minutes 760 minutes 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:

bSelect Value Description CPUSPD_SLOW Slow (50 MHz) CPUSPD_FAST Fast (100 MHz) 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:

Value Stored in *pbSelect Memory Location Description 0Slow (50 MHz) 1 Fast (100 MHz) 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:

bEnableIt Value Description 0Disable 1Enable

FJSYS.LIB 5-17 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:

Value Stored in *pbEnableIt Memory Location Description 0Disable 1Enable 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:

bSelection Value Description PWRMGMT_OFF Off PWRMGMT_CUSTOM Custom PWRMGMT_MAXPERF Maximum performance PWRMGMT_MAXBATTERY Maximum battery life 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:

Value Stored in *pbSelection Memory Location Description 0Off 1Custom 3 Maximum performance 4 Maximum battery life 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);

5-18 Static Library Functions for MS-DOS Application Development This function accepts a parameter that determines the standby timeout setting:

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 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:

Value Stored in *pbSelect Memory Location Description 0Off 1 1 minute 2 2 minutes 3 4 minutes 4 6 minutes 5 8 minutes 612 minutes 716 minutes 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:

bSelection Value Description SUSMODE_SUSPEND Suspend SUSMODE_SAVE2DISK Save to Disk 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);

FJSYS.LIB 5-19 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:

Value Stored in *pbSelect Memory Location Description 0 Suspend 1Save to Disk 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:

bEnableIt Value Description 0Off 1 9-pin (RS-232) serial port 2 PCMCIA card 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:

Value Stored in *pbSelect Memory Location Description 0Off 1 9-pin (RS-232) serial port 2 PCMCIA card 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);

5-20 Static Library Functions for MS-DOS Application Development 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:

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 Permanent 0 Current 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:

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. 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);

bEnableIt Value Description 0 Hotpads disabled. 1 Hotpads enabled. 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);

FJSYS.LIB 5-21 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 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.DLL This DLL allows applications to interface with the programmable hotpad. (Included with Stylistic 1000 Developer Utilities.) • ST1SETUP.DLL This 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 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:

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 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:

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.

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.

6-2 APIs for 16-Bit Windows Applications 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:

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

Return Value 6

KillHotpadNotification returns a BOOL value as described below:

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.

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.)

bPermanent Value Description 0 Set or query current parameter values. 1 Set or query permanent parameter values.

ST1SETUP.DLL 6-3 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:

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.

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

6-4 APIs for 16-Bit Windows Applications 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:

Return Value Description 0 Function is successful -1 Bad parameter passed to function -2 Internal error

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:

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.

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);

ST1SETUP.DLL 6-5 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.

bSequence Value Description BOOT_A_THEN_C A: then C: BOOT_C_THEN_A C: then A: BOOT_C_ONLY C: 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:

Value Stored in *pbSequence Memory Location Description 0 A: then C: 1 C: then A: 2 C: only 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:

bDisplayIt Value Description 0 Disable PenSETUP prompt. 1 Enable PenSETUP prompt. 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);

6-6 APIs for 16-Bit Windows Applications 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:

Value Stored in *pbDisplayIt Memory Location Description 0Disabled 1Enabled 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:

bDisplay_F1Prompt Value Description 0 Disable POST errors. 1 Enable POST errors. 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:

Value Stored in *pbDisplay_F1Prompt Memory Location Description 0Disabled 1Enabled 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:

bDisplay_F1Prompt Value Description 0Disabled 1Enabled

ST1SETUP.DLL 6-7 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:

Value Stored in *pbDisplayIt Memory Location Description 0Disabled 1Enabled 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:

bState Value Description NUMLOCK_AUTO Auto NUMLOCK_ON On NUMLOCK_OFF Off 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:

Value Stored in *pbState Memory Location Description 0Disabled 1Enabled 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);

6-8 APIs for 16-Bit Windows Applications This function accepts a BYTE value that determines the I/O address setting:

bSelection Value Description SERIALA_DISABLED Disabled SERIALA_3F8_IRQ4 3F8 IRQ4 SERIALA_2F8_IRQ3 2F8 IRQ3 SERIALA_3E8_IRQ4 3E8 IRQ4 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:

Value Stored in *pbSelection Memory Location Description 0Disabled 13F8 IRQ4 22F8 IRQ3 33E8 IRQ4 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:

bSelection Value Description SERIALB_INFRARED IrDA Port SERIALB_3_PIN RX/TX Serial Port 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:

Value Stored in *pbSelection Memory Location Description 0 IrDA Port 1 RX/TX Serial Port

ST1SETUP.DLL 6-9 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:

bSelection Value Description SERIALB_DISABLED Disabled SERIALB_3F8_IRQ4 3F8 IRQ4 SERIALB_2F8_IRQ3 2F8 IRQ3 SERIALB_3E8_IRQ4 3E8 IRQ4 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:

Value Stored in *pbSelection Memory Location Description 0Disabled 13F8 IRQ4 22F8 IRQ3 33E8 IRQ4 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 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 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:

Value Stored in *pbSelection Memory Location Description 0Disabled 1378 IRQ7 2278 IRQ7 3378 IRQ5 4278 IRQ5 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:

bSelection Value Description LPTMODE_OUTPUTONLY Output only LPTMODE_BIDIRECT Bidirectional LPTMODE_ECP ECP (Extended Capabilities Port) 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 Output only 1 Bidirectional 3 ECP (Extended Capabilities Port)

ST1SETUP.DLL 6-11 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:

bSelection Value Description DISPLAY_LCD LCD DISPLAY_MONITOR Monitor DISPLAY_SIMULTAN Both 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:

Value Stored in *pbSelection Memory Location Description 0LCD 1 Monitor 2Both 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:

bSelection Value Description GRAPHICS_NORMAL Normal GRAPHICS_REVERSED Reverse

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

bPermanent Value Description 0 Current 1Permanent

6-12 APIs for 16-Bit Windows Applications 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:

Value Stored in *pbSelection Memory Location Description 0Normal 1 Reverse 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:

bSelection Value Description TEXT_NORMAL Normal TEXT_REVERSED Reverse 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:

Value Stored in *pbSelection Memory Location Description 0Normal 1 Reverse 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:

bSelection Value Description 0Off 1On

ST1SETUP.DLL 6-13 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:

Value Stored in *pbEnableIt Memory Location Description 0Off 1On 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:

bSelect Value Description HDDSECTOR_NORMAL Normal HDDSECTOR_WRITEPR Write protect 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:

Value Stored in *pbSelect Memory Location Description 0Normal 1 Write protect 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);

6-14 APIs for 16-Bit Windows Applications The pbSelection parameter value determines 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

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

bPermanent Value Description 0 Current 1Permanent 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:

Value Stored in *pbSelect Memory Location Description 0Off 1 5 seconds 2 10 seconds 3 30 seconds 4 1 minute 5 2 minutes 6 4 minutes 7 6 minutes 8 8 minutes 910 minutes 10 15 minutes 11 20 minutes

ST1SETUP.DLL 6-15 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:

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 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:

Value Stored in *pbSelect Memory Location Description 0Off 1 30 seconds 2 1 minute 3 2 minutes 4 4 minutes 5 6 minutes 6 8 minutes 710 minutes 815 minutes 920 minutes 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);

6-16 APIs for 16-Bit Windows Applications The bSelect parameter value determines the autosuspend timeout setting:

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 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:

Value Stored in *pbSelect Memory Location Description 0Off 1 5 minutes 210 minutes 315 minutes 420 minutes 530 minutes 640 minutes 760 minutes 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:

bSelect Value Description CPUSPD_SLOW Slow (50 MHz) CPUSPD_FAST Fast (100 MHz) 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);

ST1SETUP.DLL 6-17 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:

Value Stored in *pbSelect Memory Location Description 0Slow (50 MHz) 1 Fast (100 MHz)

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:

bEnableIt Value Description 0Disable 1Enable 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:

Value Stored in *pbEnableIt Memory Location Description 0Disable 1Enable 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:

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 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:

Value Stored in *pbSelection Memory Location Description 0Off 1Custom 3 Maximum performance 4 Maximum battery life 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:

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 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);

ST1SETUP.DLL 6-19 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:

Value Stored in *pbSelect Memory Location Description 0Off 1 1 minute 2 2 minutes 3 4 minutes 4 6 minutes 5 8 minutes 612 minutes 716 minutes 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:

bSelection Value Description SUSMODE_SUSPEND Suspend SUSMODE_SAVE2DISK Save to Disk 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:

Value Stored in *pbSelect Memory Location Description 0 Suspend 1Save to Disk 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:

bEnableIt Value Description 0Off

6-20 APIs for 16-Bit Windows Applications bEnableIt Value Description 1 9-pin (RS-232) serial port 2 PCMCIA card 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:

Value Stored in *pbEnableIt Memory Location Description 0Off 1 9-pin (RS-232) serial port 2 PCMCIA card 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:

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.

The bEnableIt parameter value determines the resume on time setting:

bEnableIt Value Description 0 Resume on time disabled. 1 Resume on time enabled. 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 );

ST1SETUP.DLL 6-21 The first three parameters are pointers to memory locations where the function output is stored:

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.

The value stored in the *bEnabled memory location indicates the resume on time setting:

bEnableIt Value Description 0 Resume on time disabled. 1 Resume on time enabled. 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:

bEnableIt Value Description 0 Hotpads disabled. 1 Hotpads enabled. 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:

Value stored in *bEnableIt Description 0 Hotpads disabled. 1 Hotpads enabled.

6-22 APIs for 16-Bit Windows Applications 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.DLL This 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.DLL This 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 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:

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.

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:

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

Return Value 7

KillHotpadNotification returns a BOOL value as described below:

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 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.

Return Value Description 0 Function is successful. -2 Internal error.

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);

ST1SET32.DLL 7-3 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:

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 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:

Return Value Description 0 Function is successful. -1 Bad parameter passed to function. -2 Internal error.

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.)

7-4 APIs for 32-Bit Windows Applications Table 7-1. Parameters for Permanent BIOS Settings

GetPermanent Return wSetupParam Value BIOS Parameter wValue Parameter Value and Meaning

OPT_BOOT Boot sequence BOOT_A_THEN_C 0 A: then C: BOOT_C_THEN_A 1 C: then A: BOOT_C_ONLY 2 C: only

OPT_PROMPT Display setup prompt PROMPT_DISABLED 0 Disabled PROMPT_ENABLED 1 Enabled

OPT_F1 Display F1 prompt F1_DISABLED 0 Disabled When this option is enabled, F1_ENABLED 1 Enabled system initialization stops when the setup prompt is displayed until you press F1 on an external keyboard.

OPT_SUMMSCR Summary screen SUMMSCR_DISABLED 0 Disabled SUMMSCR_ENABLED 1 Enabled

OPT_NUMLOCK Numlock option STNUMLOCK_AUTO 0Auto STNUMLOCK_ON 1On STNUMLOCK_OFF 2Off

OPT_SERIALA Serial port A SERIALA_DISABLED 0 Disabled This parameter specifies the SERIALA_3F8_IRQ4 13F8 IRQ4 I/O address and IRQ assigned SERIALA_2F8_IRQ3 22F8 IRQ3 to the RS-232 serial port (serial SERIALA_3E8_IRQ4 33E8 IRQ4 port A).

OPT_SERIALB Serial port B SERIALB_DISABLED 0 Disabled This parameter specifies the SERIALB_3F8_IRQ4 13F8 IRQ4 I/O address and IRQ assigned SERIALB_2F8_IRQ3 22F8 IRQ3 to the RX/TX serial port (serial SERIALB_3E8_IRQ4 33E8 IRQ4 port B).

OPT_LPT LPT port address LPT_DISABLED 0 Disabled This parameter specifies the LPT_378_IRQ7 1 378 IRQ7 I/O address and IRQ assigned LPT_278_IRQ7 2 278 IRQ7 to the parallel port. LPT_378_IRQ5 3 378 IRQ5 LPT_278_IRQ5 4 278 IRQ5

OPT_BOOTSECTOR Disk boot sector options HDDSECTOR_NORMAL 0Normal HDDSECTOR_WRITEPR 1 Write protect

OPT_HOTPAD Hotpad access HOTPAD_DISABLE 0 Disable This parameter specifies HOTPAD_ENABLE 1 Enable whether the hotpads on the system unit are enabled or disabled.

OPT_CPU_SPEED CPU speed CPUSPD_SLOW 0Slow CPUSPD_FAST (50 MHz) 1Fast (100 MHz when not in idle mode.)

ST1SET32.DLL 7-5 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:

Return Value Description -1 Invalid value passed as a parameter -2 Internal error

SetPermanent Return Values 7

SetPermanent returns either a zero, or negative, value depending on whether the function is successful:

Return Value Description 0Successful -1 Invalid value passed as a parameter -2 Internal error

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

7-6 APIs for 32-Bit Windows Applications SetCurrent Return Values 7

SetCurrent returns either a zero, or negative, value depending on whether the function is successful:

Return Value Description 0Successful -1 Invalid value passed as a parameter -2 Internal error

Table 7-2. Parameters for Current and Permanent BIOS Settings

GetPermanent Return wSetupParam Value BIOS Parameter wValue Parameter Value and Meaning

OPT_SERIALB_DEV Serial port B SERIALB_INFRARED 0IrDA port Device SERIALB_3_PIN 1 RX/TX serial port (Serial Port B)

OPT_DISPLAY Display options DISPLAY_LCD 0LCD DISPLAY_MONITOR 1 Monitor DISPLAY_SIMULTAN 2 Simultaneous

OPT_GRAPHICS Graphics video GRAPHICS_NORMAL 0Normal mode options GRAPHICS_REVERSED 1 Reversed

OPT_TEXT Text video mode TEXT_NORMAL 0Normal options TEXT_REVERSED 1 Reversed

OPT_SPEAKER Speaker option SPEAKER_OFF 0Off SPEAKER_ON 1On

OPT_SUSPEND Suspend mode SUSMODE_SUSPEND 0 Suspend options SUSMODE_SAVE2DISK 1 Save to Disk

OPT_MODEMRING Resume on RESUMEMODEMRING_OFF 0Off modem ring RESUMEMODEMRING_ON 1On

OPT_RESUMETIME Resume on time RESUMEONTIME_OFF 0Off RESUMEONTIME_ON 1On

OPT_POWERSAVINGS Power savings PWRMGMT_OFF 0Off mode PWRMGMT_CUSTOM 1Custom PWRMGMT_MAXPERF 2Maximum Performance PWRMGMT_MAXBATTERY 3 Maximum Battery Life

OPT_HDD_TIMEOUT Hard disk drive HDD_TO_OFF 0Off timeout options HDD_TO_5_SEC 1 5 seconds HDD_TO_10_SEC 2 10 seconds HDD_TO_30_SEC 3 30 seconds HDD_TO_1_MIN 4 1 minute HDD_TO_2_MIN 5 2 minutes HDD_TO_4_MIN 6 4 minutes HDD_TO_6_MIN 7 6 minutes HDD_TO_8_MIN 8 8 minutes HDD_TO_10_MIN 9 10 minutes HDD_TO_15_MIN 10 15 minutes HDD_TO_20_MIN 11 20 minutes

ST1SET32.DLL 7-7 Table 7-2. Parameters for Current and Permanent BIOS Settings (Continued)

GetPermanent Return wSetupParam Value BIOS Parameter wValue Parameter Value and Meaning

OPT_VID_TIMEOUT Video timeout VID_TO_OFF 0Off options VID_TO_30_SEC 1 30 seconds VID_TO_1_MIN 2 1 minute VID_TO_2_MIN 3 2 minutes VID_TO_4_MIN 4 4 minutes VID_TO_6_MIN 5 6 minutes VID_TO_8_MIN 6 8 minutes VID_TO_10_MIN 7 10 minutes VID_TO_15_MIN 8 15 minutes VID_TO_20_MIN 9 20 minutes

OPT_IDLEMODE Idle mode options IDLEMODE_OFF 0 Disabled IDLEMODE_ON 1 Enabled

OPT_STANDBY Standby timeout STDBY_TO_OFF 0Off options STDBY_TO_1_MIN 1 1 minute STDBY_TO_2_MIN 2 2 minutes STDBY_TO_4_MIN 3 4 minutes STDBY_TO_6_MIN 4 6 minutes STDBY_TO_8_MIN 5 8 minutes STDBY_TO_12_MIN 6 12 minutes STDBY_TO_16_MIN 7 16 minutes

OPT_AUTOSUSPEND Auto suspend AUTOSUS_TO_OFF 0Off options AUTOSUS_TO_5_MIN 1 5 minutes AUTOSUS_TO_10_MIN 2 10 minutes AUTOSUS_TO_15_MIN 3 15 minutes AUTOSUS_TO_20_MIN 4 20 minutes AUTOSUS_TO_30_MIN 5 30 minutes AUTOSUS_TO_40_MIN 6 40 minutes AUTOSUS_TO_60_MIN 7 60 minutes

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:

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 Permanent False Current

7-8 APIs for 32-Bit Windows Applications Return Values 7

SetResumeTime returns either a zero, or negative, value depending on whether the function is successful:

Return Value Description 0Successful -1 Invalid value passed as a parameter -2 Internal error

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:

bPermanent Description True Permanent setting returned False Current setting returned

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:

Byte Description cEnabled Indicates whether the Resume On Time BIOS setting is enabled: 1 Enabled 0Disabled 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 7-10 APIs for 32-Bit Windows Applications Chapter 8 BIOS Configuration Options

This chapter provides a complete list of BIOS Configuration Options and possible settings for each option. The information in this chapter is provided as a general reference on BIOS options for users and developers working with utilities and development libraries that configure BIOS options. Note that some of the options listed in this chapter 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. The 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 Disable When enabled, user is prompted to Enable double tap on screen to run PenSETUP on boot.

POST errors Disable Displays POST (Power On Self Test) Enable errors.

Summary screen Disable Displays a system configuration Enable summary on boot.

Numlock state Auto Determines initial state of the Off keyboard numlock. On Auto turns numlock on if keyboard is detected on boot.

Display select LCD Determines initial display selection on Monitor (external) boot. Both

Graphics video mode Normal Monochrome systems only. Reverse

Text video mode Normal Monochrome systems only. Reverse

CPU speed Fast (100 MHz) Must be set to fast to allow CPU idle Slow (50 MHz) mode option to modulate CPU speed.

Suspend mode Suspend A Save to Disk partition or file is Save to Disk required to use Save to Disk.

8-1 Table 8-1. BIOS Configuration Options Reference Table (Continued)

BIOS Option Possible Settings Comments

Resume on modem ring Off Suspend mode must be suspend to 9-pin (RS-232) serial port use resume on modem ring. Select PCMCIA Card 9-pin to use external modem.

Resume on time Off Suspend mode must be suspend. On

Resume time Hours:minutes:seconds System uses a 24-hour clock.

Serial port A I/O address Disabled Selectable options are AT compatible. (9-pin, RS-232) 3F8 (COM1), IRQ4 2F8 (COM2), IRQ3 3E8 (COM3), IRQ4

Serial port B device Infrared (IrDA port) Port replicator is required for Rx/Tx 3-pin (Rx/Tx serial port) serial port.

Serial port B I/O address Disabled Selectable options are AT compatible. (Rx/Tx serial port) 3F8 (COM1), IRQ4 2F8 (COM2), IRQ3 3E8 (COM3), IRQ4

LPT port I/O address Disabled Selectable options are AT compatible. (Parallel port) 378 (LPT1), IRQ7 278 (LPT2), IRQ7 378 (LPT3), IRQ5 278 (LPT4), IRQ5

LPT mode Output only (Parallel port) Bidirectional ECP (extended capabilities port)

Speaker Off On

Hotpad access Enabled Disables speaker and video mode Disabled 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 Disabled A supervisor or user password is Enabled required to boot the system when this option is enabled. (You must specify a supervisor password before you can enable this option.)

Diskette access All Supervisor only

Hard disk drive boot sector Normal Must be set to normal to reformat the Write Protect hard disk drive.

8-2 BIOS Configuration Options Table 8-1. BIOS Configuration Options Reference Table (Continued)

BIOS Option Possible Settings Comments

Hard disk drive head retract HDD Default When timeout expires, hard disk drive Disabled head is retracted from platter. 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 15, 20 seconds

Power savings mode Off Must be set to customize before you Customize can set device timeouts and CPU idle Max performance mode. Max battery life

Hard disk timeout* Off When timeout expires, hard disk drive 5, 10, 30 seconds, 1, 2, 4, 6, 8, 10, 15, is spun down. Note that a low setting or 20 minutes 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* Off When timeout expires, display 30 seconds backlight is turned off. 1, 2, 4, 6, 8, 10, 15, or 20 minutes

Auto suspend timeout* Off System enters suspend or Save to 5, 10, 15, 20, 30, 40, or 60 minutes Disk mode when timeout expires, depending on suspend mode setting.

CPU idle mode* Disabled When enabled, CPU speed drops Enabled 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) When set to Fast, CPU runs at Slow (50 MHz) 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* Off When timeout expires, system enters 1, 2, 4, 6, 8, 12, or 16 minutes standby state.

Diskette A: OFF Disabled 144 1.44MB, 3.5” disk drive enabled

ATA hard disk N Disabled type and size A Auto detect C 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)

BIOS Configuration Options Reference Table 8-3 Table 8-1. BIOS Configuration Options Reference Table (Continued)

BIOS Option Possible Settings Comments

Memory cache N Disabled Y Enabled

Main page access N Disabled Y Enabled (User access to PenSETUP main menu)

Advanced page access N Disabled Y Enabled (User access to PenSETUP advanced menu)

Security page access N Disabled Y Enabled (User access to PenSETUP security menu)

Power page access N Disabled Y Enabled (User access to PenSETUP power savings menu)

* 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.

8-4 BIOS Configuration Options 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 sequence This 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 prompt When 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) errors This 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 • Summary Screen If this option is enabled, a summary screen is displayed during system initialization showing your system’s hardware configuration. •Numlock This 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 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

CPU Idle Mode CPU Speed Processor Speed Setting Setting

Disabled Slow 50MHz

Disabled Fast 100MHz

Enabled Slow 50MHz

Enabled Fast 100MHz when processing. 50MHz when processor is idle.

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.

Power Savings Menu 9-3 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:

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.

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.

9-4 STPENSET BIOS Configuration Utility

Table 9-2. STPENSET Command Line Options

Option Parameter Value Description

Boot sequence BOOT AC A: then C: CA C: then A: C C: only

PenSETUP prompt PRMPT N Disable Y Enable

POST errors ERR N Disable Y Enable

Summary screen SUM N Disable Y Enable

Numlockstate LOCK A Auto N Off Y On

Display select DISP L LCD M Monitor B Both

Graphics video mode GVI N Normal I Reverse

Text video mode TVI N Normal I Reverse

CPU speed CPU F Fast S Slow

Suspend mode SUSM N Suspend D Save to disk

Resume on modem RMRI OFF Off ring 9PIN 9-pin (RS-232) serial port CARD PCMCIA Card

Resume on time ROA OFF Off HH:MM:SS Hours:minutes:seconds

Serial port A I/O SEA OFF Disabled address 3F8 3F8 (COM1), IRQ4 (9-pin, RS-232) 2F8 2F8 (COM2), IRQ3 3E8 3E8 (COM3), IRQ4

Serial port B device SPD I Infrared (IrDA port) W 3-pin (Rx/Tx serial port)

Serial port B I/O SEB OFF Disabled address 3F8 3F8 (COM1), IRQ4 (Rx/Tx serial port) 2F8 2F8 (COM2), IRQ3 3E8 3E8 (COM3), IRQ4

LPT port LPTP OFF Disabled 377 378 (LPT1), IRQ7 277 278 (LPT2), IRQ7 375 378 (LPT3), IRQ5 275 278 (LPT4), IRQ5

Syntax 9-5 Table 9-2. STPENSET Command Line Options (Continued)

Option Parameter Value Description

LPT mode LPTM O Output only B Bidirectional E ECP (extended capabilities port)

Speaker SPK N Off Y On

Hotpad access HPAD N Enabled Y Disabled

Hard disk drive boot WPRT N Normal sector W Write Protect

Hard disk drive head HDR DEF Hard disk drive default retract N Disabled 1, 2, 3, 4, 5, 6, 7, X seconds 8, 9, 10, 15, 20

Power savings mode PSM OFF Off C Customize P Max performance B Max battery life

Hard disk timeout* HDT N Off 5S, 10S, 30S X seconds 1, 2, 4, 6, 8, 10, X minutes 15, 20

Video timeout* VDT N Off 30S 30 seconds 1, 2, 4, 6, 8, 10, X minutes 15, 20

Auto suspend timeout* ASP N Off 5, 10, 15, 20, 30, X minutes 40, 60

CPU idle mode* IDLE N Disabled Y Enabled

Standby timeout* SDY N Off 1, 2, 4, 6, 8, 12, X minutes 16

* Before these options can be used, the power savings mode option (PSM) must be set to: Customize.

9-6 STPENSET BIOS Configuration Utility 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.

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.

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 /?

10-1

Table 10-1. MFGCONF Command Options

CMOS Parameter Keyword Value Description

Boot sequence BOOT AC A: then C: CA C: then A: C C: only

PenSETUP prompt PRMPT N Do not display Y Display

POST errors ERR N Do not display Y Display

Summary screen SUM N Do not display Y Display

Numlock state LOCK A Auto N Off Y On

Display select (Video) DISP L LCD M Monitor B Both

Graphics video mode GVI N Normal I Reverse

Text video mode TVI N Normal I Reverse

CPU speed CPU F Fast S Slow

Suspend mode SUSM N Suspend D Save to disk

Resume on modem RMRI OFF Off ring 9PIN 9-pin (RS-232) serial port CARD PCMCIA Card

Resume on time ROA OFF Off (Resume on alarm) HH:MM:SS Resume time in hours(00-23):minutes(00-59):seconds(00-59)

Serial port A I/O SEA OFF Disabled address 3F8 3F8 (COM1), IRQ4 (RS-232 serial port) 2F8 2F8 (COM2), IRQ3 3E8 3E8 (COM3), IRQ4

Serial port B device SPD I Infrared (IrDA port) W 3-pin (Rx/Tx serial port)

Serial port B I/O SEB OFF Disabled address 3F8 3F8 (COM1), IRQ4 (Rx/Tx serial port) 2F8 2F8 (COM2), IRQ3 3E8 3E8 (COM3), IRQ4

LPT port I/O address LPTP OFF Disabled 377 378 (LPT1), IRQ7 277 278 (LPT2), IRQ7 375 378 (LPT3), IRQ5 275 278 (LPT4), IRQ5

10-2 MFGCONF BIOS Configuration Utility Table 10-1. MFGCONF Command Options (Continued)

CMOS Parameter Keyword Value Description

LPT mode LPTM O Output only B Bidirectional E ECP (extended capabilities port)

Speaker SPK N Off Y On

Hotpad access HPAD N Disable hotpads (speaker and video Y Enable hotpads mode hotpads)

Hard disk boot sector WPRT N Normal W Write Protect

Power savings mode PSM OFF Off C Customize settings indicated by (*). P Max performance B Max battery life

Hard disk timeout* HDT N Off 5S, 10S, 30S X seconds 1, 2, 4, 6, 8, 10, X minutes 15, 20

Video timeout* VDT N Off 30S 30 seconds 1, 2, 4, 6, 8, 10, X minutes 15, 20

Auto suspend timeout* ASP N Off 5, 10, 15, 20, 30, X minutes 40, 60

CPU idle mode* IDLE N Disabled Y Enabled

Standby timeout* SDY N Off 1, 2, 4, 6, 8, 12, X minutes 16

Diskette A: DSKA OFF Disabled 144 1.44MB, 3.5” disk drive enabled

ATA hard disk DSKC N Disabled type and size A Auto detect C 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 N Disabled Y Enabled

MFGCONF Command Line Syntax 10-3 Table 10-1. MFGCONF Command Options (Continued)

CMOS Parameter Keyword Value Description

Main page access MPA N Disabled Y Enabled (User access to PenSETUP main menu)

Advanced page access APA N Disabled Y Enabled (User access to PenSETUP advanced menu)

Security page access SPA N Disabled Y Enabled (User access to PenSETUP security menu)

Power page access PPA N Disabled Y Enabled (User access to PenSETUP power savings menu)

Hard disk drive head HDR DEF Hard disk drive default retract N Disabled 1, 2, 3, 4, 5, 6, 7, X seconds 8, 9, 10, 15, 20

* 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).

10-4 MFGCONF BIOS Configuration Utility Index

Numerics DC power input, 1-18 floppy drive, 1-17 16-bit APIs, 6-1 keyboard port, 1-15 32-bit APIs, 7-1 mouse, 1-16 parallel port, 1-15 A RS-232 serial port, 1-14 Rx/Tx serial port, 1-14 AC adapter, 1-6 system interface port pin assignments, 1-10 advanced power management (APM) video port, 1-13 MS-DOS interface, 2-3 CPU idle mode, 2-2 specification, xiv supported revision level, 1-6, 2-1 application design for power management, 2-2 D application development libraries DC power input, 1-18 16-bit APIs, 6-1 desk stand, xiv 32-bit APIs, 7-1 digitizer specifications, 1-7 FJSYS.LIB, 5-1 display backlight, I/O register, 4-3 FJSYS.LIB function error codes, 5-2 display contrast, I/O register, 4-2 for BIOS parameters, 16-bit Windows, 6-3 dynamically linked libraries (DLLs) for BIOS parameters, 32-bit Windows, 7-4 for 16-bit application development, 6-1 for MS-DOS, 5-1 for 32-bit application development, 7-1 HOTPAD32.DLL, 7-1 for programmable hotpad, 6-1 ST1SET32.DLL, 7-1

F B FJSYS.LIB application development library for MS-DOS, 5-1 battery FJSYS.LIB function error codes, 5-2 bridge, 1-6 FJSYS.LIB functions main battery pack, 1-5 fFJSys_Exit, 5-2 stylus, 1-7 fFJSys_Init, 5-2 battery charger, external, xiv fGetAutoSuspend_Timeout, 5-16 BIOS fGetBootSequence, 5-4 configuration functions for 16-bit windows applications, fGetCPU_IdleMode, 5-18 6-5 fGetDisplay_Select, 5-10 configuration functions for 32-bit Windows applications, fGetDisplaySetupPrompt, 5-4 7-3 fGetGraphic_Video_Mode, 5-10 configuration functions for MS-DOS applications, 5-3 fGetHDD_BootSector, 5-12 configuration options, 8-1 fGetHDD_Timeout, 5-14 configuration options, reference table, 8-1 fGetHotPad_Access, 5-21 MFGCONF BIOS configuration utility, 10-1 fGetLPT_Address, 5-8 power management configuration options, 2-2 fGetLPT_Mode, 5-9 size, 1-3 fGetNumLockState, 5-6 STPENSET BIOS configuration utility for MS-DOS, 9-1 fGetPOSTErrors, 5-5 bridge battery, 1-6 fGetPwrMgmtMode, 5-18 fGetResumeOnModemRing, 5-20 C fGetResumeTime, 5-21 fGetSerialA_Address, 5-7 case fGetSerialB_Address, 5-8 for harsh environment, xiv fGetSerialB_Device, 5-7 keyboard combination, xiv fGetSpeaker, 5-11 slip, carrying case, xiv fGetStandby_Timeout, 5-19 CIC PenDOS, 1-2 fGetSummaryScreen, 5-6 connectors fGetSuspend_Mode, 5-19

I-1 fGetText_Video_Mode, 5-11 M fGetVideo_Timeout, 5-16 fSetAutoSuspend_Timeout, 5-16 memory fSetBootSequence, 5-4 expansion, 1-4 fSetCPU_IdleMode, 5-17 flash cards, 1-4 fSetCPU_Speed, 5-17 memory map (upper memory allocation), 1-9 fSetDisplay_Select, 5-9 RAM, 1-3–1-4 fSetDisplaySetupPrompt, 5-4 ROM, 1-3–1-4 fSetGraphic_Video_Mode, 5-10 upper memory allocation, 1-9 fSetHDD_BootSector, 5-12 MFGCONF, 10-1 fSetHDD_Timeout, 5-14 command line syntax, 10-1 fSetHotPad_Access, 5-21 command options, 10-2 fSetLPT_Address, 5-8 help screen, 10-1 fSetLPT_Mode, 5-9 mouse connector, 1-16 fSetNumLockState, 5-6 MS-DOS fSetPOSTErrors, 5-5 BIOS configuration functions, 5-3 fSetPwrMgmtMode, 5-18 pen support, 1-2 fSetResumeOnModemRing, 5-20 power management interface, 2-3 fSetResumeTime, 5-20 static library functions for application development, See fSetSerialA_Address, 5-6 also FJSYS.LIB functions, 5-1 fSetSerialB_Address, 5-8 fSetSerialB_Device, 5-7 O fSetSpeaker, 5-11 fSetStandby_Timeout, 5-18 operating systems, 1-1 fSetSummaryScreen, 5-5 fSetSuspend_Mode, 5-19 fSetVideo_Timeout, 5-15 P parallel port, 1-15 PCMCIA H standards, xv harsh environment case, xiv support, 1-3 hotpad, programmable pen support, 1-1 16-bit Windows DLL, 6-1 PenDOS, CIC, 1-2 32-bit Windows DLL, 7-1 PENMOUSE, 1-2 I/O register, 4-1 PenRight!, 1-2 library functions for MS-DOS, 5-3 peripheral interfaces, 1-13–1-15, 1-17 HOTPAD.DLL, 6-1 PHDISK, 3-3 HOTPAD.DLL functions command line options, 3-3 KillHotpadNotification, 6-3 configuring the Stylistic 1000, 3-2 SetHotpadNotification, 6-2 create option, 3-4 HOTPAD32.DLL, 7-1 create option syntax, 3-5 HOTPAD32.DLL functions delete option, 3-6 KillHotPadNotification, 7-2 errors, 3-7–3-9 SetHotpadNotification, 7-1 file option, 3-5 help screen, 3-7 info option, 3-6 I messages, 3-7 IrDA partition and file size, 3-4 drivers for Windows 95, 1-18 partition option, 3-5 drivers for Windows for Workgroups, 1-18 reformat option, 3-6 port, 1-18 popup keyboard, 1-2 IRQs port replicator, 1-9 Stylistic 1000 RF radio, 1-8 port replicator connector, See system interface port system IRQ assignments, 1-8 power management, 2-1 application design, 2-2 BIOS configuration options, 2-2 K MS-DOS APM interface, 2-3 state transitions in MS-DOS, 2-3 keyboard combination case, xiv state transitions, illustration, 2-1 keyboard connector pin assignments, 1-15 system power states, 2-2 Windows 95 interface, 2-3 Windows 95 messages, 2-4

I-2 Windows for Workgroups interface, 2-3 fGetCPU_Speed, 6-17 processor speed, 2-2, 9-3 fGetDisplay_Select, 6-12 programmable system functions, 4-1 fGetDisplaySetupPrompt, 6-6 fGetGraphic_Video_Mode, 6-13 fGetHDD_BootSector, 6-14 R fGetHDD_Timeout, 6-15 related documentation, xiii fGetHotPad_Access, 6-22 resume from disk, 3-2 fGetHotPad_Status, 6-5 RS-232 serial port, 1-14 fGetLPT_Address, 6-11 Rx/Tx serial port, 1-14 fGetLPT_Mode, 6-11 fGetNumLockState, 6-8 fGetPOSTErrors, 6-7 S fGetPwrMgmtMode, 6-19 fGetResuemOnModemRing, 6-21 SanDisk, supported models, 1-4 fGetResumeTime, 6-21 Save to Disk, 3-1 fGetSerialA_Address, 6-9 configuring the Stylistic 1000, 3-2 fGetSerialB_Address, 6-10 during system activity, 3-2 fGetSerialB_Device, 6-9 features, 3-1 fGetSpeaker, 6-14 file, 3-2 fGetStandby_Timeout, 6-19 partition, 3-1 fGetSummaryScreen, 6-8 partition and file size, 3-4 fGetSuspend_Mode, 6-20 PHDISK hard disk preparation utility, 3-3 fGetText_Video_Mode, 6-13 resume from disk, 3-2 fGetVideo_Timeout, 6-16 suspend request, 3-2 FJSys_Exit, 6-4 using, 3-2 fSetAutoSuspend_Timeout, 6-16 slip case, xiv fSetBootSequence, 6-5 specifications FSetCPU_IdleMode, 6-18 AC adapter, 1-6 fSetCPU_Speed, 6-17 battery pack, 1-5 fSetDisplay_Select, 6-12 digitizer, 1-7 fSetDisplaySetupPrompt, 6-6 display, 1-4 fSetGraphic_Video_Mode, 6-12 environmental, 1-6 fSetHDD_BootSector, 6-14 interfaces, 1-4–1-5 fSetHDD_Timeout, 6-14 memory, 1-3–1-4 fSetHotPad_Access, 6-22 obtaining from other vendors, xv fSetLPT_Address, 6-10 power management, 1-6 fSetLPT_Mode, 6-11 processor, 1-3 fSetNumLockState, 6-8 system unit, 1-3 fSetPOSTErrors, 6-7 weight, 1-3 fSetPwrMgmtMode, 6-18 ST1SET32.DLL, 7-3 fSetResumeOnModemRing, 6-20 parameters for current and permanent BIOS settings, 7-7 fSetResumeTime, 6-21 parameters for permanent BIOS settings, 7-5 fSetSerialA_Address, 6-8 return values and error codes, 7-4 fSetSerialB_Address, 6-10 session buffer, 7-3 fSetSerialB_Device, 6-9 ST1SET32.DLL functions fSetSpeaker, 6-13 GetCurrent, 7-6 fSetStandby_Timeout, 6-19 GetResumeTime, 7-9 fSetSummaryScreen, 6-7 SetCurrent, 7-6 fSetSuspend_Mode, 6-20 SetResumeTime, 7-8 fSetText_Video_Mode, 6-13 SetupExit, 7-3 fSetVideo_Timeout, 6-16 SetupInitialize, 7-3 programmable hotpad function, 6-5 ST1SETUP.DLL, 6-1 STPENSET application development library, 6-3 auto suspend timeout, 9-2 error codes, 6-5 boot options, 9-1 permanent and current settings, 6-3 CPU idle mode, 9-2 session buffer, 6-4 hard disk drive timeout, 9-2 ST1SETUP.DLL functions keyboard numlock, enabling, 9-2 fFJSys_Init, 6-4 power savings menu, 9-2 fGetAutoSuspend_Timeout, 6-17 setup prompt, enabling, 9-1 fGetBootSequence, 6-6 standby timeout, 9-3 fGetCPU_IdleMode, 6-18 summary screen, enabling, 9-2

I-3 suspend mode options, 9-3 video timeout, 9-2 Stylistic 1000 peripherals, xiv Stylistic 1000 RF, radio I/O address, 1-9 stylus battery, 1-7 suspend power management, state, 2-2 Save to Disk suspend mode, 3-1 system interface port, 1-9–1-10

U upper memory allocation, 1-9

V video connector, 1-13 controller, 1-5 controller specifications, obtaining, xv display backlight, I/O register, 4-3 display contrast, I/O register, 4-2 external video modes, 1-13 port, 1-13

W weight specification, 1-3 Windows 95, 1-1 pen support, 1-1 power management interface, 2-3 power messages, 2-4 Windows for Workgroups, 1-1 pen support, 1-2 power management interface, 2-3

I-4 10 10

Fujitsu Personal Systems, Inc. Fujitsu Personal Systems Ltd. United Kingdom 5200 Patrick Henry Drive 2 Longwalk Road Santa Clara, CA 95054 Stockley Park, Uxbridge USA Middlesex UB11 1AB Tel: (408) 982-9500 United Kingdom Tel: (44) 1-181-573-4444

Fujitsu Personal Systems, Inc. Fujitsu Personal Systems International Headquarters France SARL Les Espace de Sophia, Bât. J 71B, Rue des Hautes Pâtures 80, route des Lucioles F-92737 Nanterre, Cedex, France Sophia Antipolis Tel: (33) 1-47 85 80 20 F-06560 Valbonne, France Tel: (33) 92 94 58 58

Fujitsu Personal Systems, Inc. Fujitsu Personal Systems Italia S.r.l. (Canadian Office) Via Michelangelo Peroglio, 11 6205 Airport Road I-00144 Rome, Italy Building B, Suite 100 Tel: (39) 6-520 0931 Mississauga, Ontario, Canada L4V 1E1 Tel: (905) 677-3332

Fujitsu Personal Systems, Inc. (German Office) Frankfurter Ring 211 D-80807 Munich, Germany Tel: (49) 89-3278-170

9/96 58-0479-00A