TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Will Honea
from: Murray Lesser
date: 1999-12-06 16:52:01
subject: Clocked!

(Excerpts from a message dated 12-05-99, Will Honea to Ian Moote)

Hi Will--

WH>Enhancements include added RAM (that's where your BIOS settings are
  >stored) and some additional alarm functions.  BTW, the alarm
  >functionality is fully available - but I don't know of anyone else
  >who uses it.  I use it for a 'tell em you're alive' event in my
  >instrumentation designs so that the monitor up on the snow shed
  >reports in once every week or so even in the summer.

    The BIOS in the first IBM laptop (the IBM Convertible) enabled the
RTC alarm function.  The "new" BIOS interrupt functions were used for
setting the alarm and putting the machine into "suspend" mode, to be
awakened at the alarm time.  I wrote my first "traveling alarm clock"
program (in C plus some inline assembled calls to the "new" BIOS
interrupts) for the Convertible, in 1988.

    Starting with the IBM L40-SX, a program named PS2.EXE has been
available for all IBM laptops I have owned; the functions in this
program can be called by the "system" command available in most
programming languages, or directly from REXX.  For example, from my
current version of WAKEUP.CMD (for my ThinkPad 365XD, running under Warp
4 FixPak 5):

    "@ps2 on" alarm "> null"    /* Set "wake-up" Time */
    "@PS2 sus > null"           /* Put into "suspend" mode */

    The OS/2 version of PS2.EXE for the ThinkPad 365XD came from the IBM
OS/2 Device Driver Pak.  (A Win95 version for the same machine, along
with that operating system, came preinstalled on the machine's hard
drive; I wiped the drive clean and installed Warp 4.)

    Regards,

        --Murray

___
 * MR/2 2.25 #120 * Fidonet is almost like having a social life

--- Maximus/2 2.02
* Origin: OS/2 Shareware BBS, telnet://bbs.os2bbs.com (1:109/347)

SOURCE: echoes via The OS/2 BBS

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.