home *** CD-ROM | disk | FTP | other *** search
/ ftp.whtech.com / ftp.whtech.com.tar / ftp.whtech.com / club100 / utl / hotkey.do < prev    next >
Text File  |  2006-10-19  |  3KB  |  79 lines

  1. HOTKEY by Mike Nugent as published in Portable 100 Magazine, Sept/88
  2.  
  3. HOTKEY is a little utility that performs some special magic with simple,
  4. two-key commands.  Whether you're in BASIC, TEXT, ADDRESS, or SCHEDL
  5.  
  6.  * Display the current day, date, and time
  7.  * Automatically type day, date or time
  8.  * Send a form feed to your printer
  9.  * Offer a choice of five-space or eight-space tabs
  10.  * Turn itself off
  11.  
  12. It can be customized, uses only 379 bytes of RAM, and as a bonus,
  13. even fixes the Model 100 "date bug."
  14.  
  15.  
  16.  INSTALLING
  17.  
  18.  1) Kill all .BA files currently in the RAM.
  19.  2) Install HOTKEY.BA by loading from a .DO file.
  20.  3) DO NOT edit the installed version!!!
  21.  
  22.  
  23.  USING
  24.  
  25.  1) Run HOTKEY
  26.  2) After running it disappears so you can not run it again... cold start
  27.  3) HOTKEY commands work anywhere except in TELCOM, and the main menu
  28.  
  29.  
  30.  HOTKEY  MEANING
  31.  esc-V   (View) display day/date/time
  32.  esc-D   (Date) type date in MM/DD/YY format
  33.  esc-T   (Time) type time in HH:MM:SS format
  34.  esc-W   (Week) type day of the week
  35.  esc-F   (Form) send form feed to printer
  36.  esc-O   (Off) turn HOTKEY off
  37.  esc-TAB (Tab) five-space tab
  38.  
  39.  
  40. LOADING ERROR
  41.  
  42. Packing machine code into a .BA program can be a complex affair, because
  43. you can't predict where the program will reside in memory.  Since the
  44. values of certain bytes depend on the program's location, sometimes a byte
  45. contains a value BASIC misinterprets.  The load error message warns you of
  46. such a byte.  You must move the code higher in memory, a byte at a time,
  47. until all the bytes are acceptable to BASIC.  Here's how:
  48.  
  49.  1. Type NEW and press ENTER.  Type KILL"HOTKEY.BA and press ENTER.
  50.  2. Load a fresh copy of HOTKEY.BA and save it to RAM as HOTKEY.BA.
  51.  3. Edit line 10.  Insert an X right after the REM, making it REMX
  52.  4. Edit line 110.  Change the +5 to +6
  53.  5. Edit line 2000.  Change the +5 to +6
  54.  6. You've moved the program up one byte in memory.
  55.  
  56.  
  57.  COMPATIBILITY
  58.  
  59.  1) TS-DOS likes it just fine.
  60.  2) There's no conflict with MENU.BA
  61.  3) It's completely compatible with DVORAK
  62.  4) SUPERA turns HOTKEY off, and vice versa, so use them one at a time.
  63.  5) Ultimate ROM II cooperates with a few exceptions:
  64.  
  65.     a) UR-2 programs exit to the main menu rather than to UR-2's menu
  66.  
  67.     b) After using HOTKEY's View command with UR-2's VIEW80 activited,
  68.        the screen  clears completely.  Scrolling up or down restores the
  69.        missing lines.
  70.  
  71.     c) CTRL-J, CTRL-O, and CTRL-L functions of UR-2's TEXT are disabled
  72.        with  HOTKEY active.  To reenable them, turn HOTKEY off via its
  73.        esc-O command.
  74.  
  75.     d) After exiting a text file from UR-2, the main menu shows TEXT
  76.        as "TEXT." (with a period added).  These problems appear to be
  77.        harmless so far, but be cautious.  With any new software, make
  78.        frequent backups until you know what works with what.
  79.