
W-BIOS
The interface between a hardware is handled by W-BIOS(Wearable Optimized BIOS).  By using W-BIOS, the detailed electric control is done.
W-BIOS is stored within the MROM.

***** LCD-BIOS *****
 There are two types of screen mode.

 * Graphics mode (320x240)
   Any range of 102x64 can be displayed on LCD screen.
   For filer display, you should use Graphics mode.
   For application development, you usually use Graphics mode.

 * LCD mode (102x64)


***** KEY-BIOS *****
 8 buttons (key) input information  00**h bit value is returned.

 User event feature              8000h bit value is returned.

 -> Beside a simple key input, any other types of event that occurred while you are monitoring by the timer routine can be returned as the same manner of key input.  For more information, refer to <wbiosLibManu(c)/(ASM).txt>.

 bi_getbtn function
  When the key buffer is empty, CPU becomes Halt or Stop states.
  When you develop an application, you should set the wait for key input state by using this function.
  This allows you to save your battery consumption.
  In addition, Keyin function of onHand/RuputerAPI library is used by this function.


***** Flash memory-BIOS *****
 A flash memory read/write by block unit.

 bi_wrflush function
   In order to complete the write operation to B drive of dos_write command, you are required to write back the last block of the writing operation was running on SRAM to the flash memory.
   Therefore, make sure to call bi_vwrflush function (onHand/RuputerAPI) or bi_wrflush (W-BIOS) after the writing operation to the file.


***** SIO-BIOS *****
 Both serial port and infrared port communications are supported.
 The transfer speed can be set from 300 to 115.2kbps.
 However, if you set the high speed, all data may not be received successfully based on the receiving process.
 The infrared port can send/receive the same signal as the remote control wave by generating SIR wave, ASK wave and other wave types.


***** RTC-BIOS *****
 This accesses the real-time clock IC that stores the date and time information.


***** Timer BIOS *****
Timer resource usage state is as follows.
An application can register timer routines for its empty numbers.

                    A   B   C   D
              1Hz   6   1   3   2
              4Hz   6   3   2   1
             64Hz   4   1   2   1

                    A : Number of timers
                    B : OS reservation
                    C : Filer reservation
                    D : Free (Available with applications)


 For more information about BIOS function that can be used within the interruption routine, refer to <wbiosLibManu(c)/(ASM).txt>.


***** Other BIOS *****
 Reboot process
 Buzzer/Melody process
 EL back light ON
 Interruption vector acquisition/setting


***** Booting *****
 When the power of onHand/Ruputer is reset, boot sequence is started.

 Initialization of register
 Initialization of Peripherals.
 Initialization of software interruption
 Main memory (SRAM) check 128KB
 Set the stack pointer to the main memory final address 0x120000
 Move the control to PsDOS



PsDOS
We decided to employ PsDOS as the system.  PsDOS realizes the 16 bit file management and application execution.
This PsDOS supports major system call services of MS-DOS3.1.
PsDOS is stored in MROM.


The followings are the area that PsDOS supports.
 * File handling
 * Directory handling
 * Process management

The following items are not supported.
 * Console input/output
 * Memory management (relocation)

For the supported functions, refer to <psdosLibManu(c).txt>.

 * The limit of the fine name is 8.3 format.
 * Drive --- Fixed MROM area A:, Flash memory area B:
 * The execution of application is loaded to the fixed address on the main memory.
 * Single task OS


***** Initialization *****
When the booting is completed and the control is moved to PsDOS, the initialization sequence is started.

 Configuration of FAT information of B Drive (Flash memory)
 A filer is executed as a child process by shell description within MROM area A:\config.sys.


===============================================================================
 Copyright (c) 1998-1999.  Seiko Instruments Inc.  All rights reserved. 
===============================================================================
