2015-08-15: Updated to version 1.57
Signed-off-by: Gwenhael Le Moine <gwenhael.le.moine@gmail.com>
This commit is contained in:
parent
625fd3f663
commit
8c29c1313b
29 changed files with 2047 additions and 1202 deletions
BIN
Emu48.exe
BIN
Emu48.exe
Binary file not shown.
63
KML_20.DOC
63
KML_20.DOC
|
@ -1,6 +1,6 @@
|
|||
{\rtf1\ansi\ansicpg1252\deff0\deflang1031\deflangfe1031{\fonttbl{\f0\froman\fprq2\fcharset0 Times New Roman;}{\f1\fmodern\fprq1\fcharset0 Courier New;}{\f2\fswiss\fprq2\fcharset0 Calibri;}{\f3\fswiss\fprq2\fcharset0 Arial;}{\f4\froman\fprq2\fcharset2 Symbol;}}
|
||||
{\rtf1\ansi\ansicpg1252\deff0\deflang1031\deflangfe1031{\fonttbl{\f0\froman\fprq2\fcharset0 Times New Roman;}{\f1\fmodern\fprq1\fcharset0 Courier New;}{\f2\froman\fprq2\fcharset161{\*\fname Times New Roman;}Times New Roman Greek;}{\f3\fswiss\fprq2\fcharset0 Arial;}{\f4\froman\fprq2\fcharset2 Symbol;}}
|
||||
{\colortbl ;\red0\green0\blue0;\red0\green0\blue255;}
|
||||
{\*\generator Msftedit 5.41.15.1515;}\viewkind4\uc1\pard\nowidctlpar\qc\lang1033\f0\fs56 EmuXY and KML 2.0\par
|
||||
{\*\generator Msftedit 5.41.21.2510;}\viewkind4\uc1\pard\nowidctlpar\qc\lang1033\f0\fs56 EmuXY and KML 2.0\par
|
||||
\pard\nowidctlpar\fs24\par
|
||||
\b\fs28 Introduction\b0\par
|
||||
\fs24\par
|
||||
|
@ -40,6 +40,7 @@ Basics\b0\par
|
|||
\tab Rom STRING\par
|
||||
\tab Patch STRING\par
|
||||
\tab Bitmap STRING\par
|
||||
\tab Color INTEGER INTEGER INTEGER INTEGER\par
|
||||
\tab Print STRING\par
|
||||
\tab Debug INTEGER\par
|
||||
End\par
|
||||
|
@ -55,9 +56,9 @@ End\par
|
|||
\f0\fs24\par
|
||||
\pard\nowidctlpar\qj Hardware is the emulated calculator hardware. This definition is optional on Emu48. The parameter is necessary to separate the KML scripts from each emulator. Valid entries are\par
|
||||
\pard\nowidctlpar Emu10:\par
|
||||
\f1\fs16\tab\lang1031 Hardware \ldblquote Bert\rdblquote\par
|
||||
\f1\fs16\tab Hardware \ldblquote Bert\rdblquote\par
|
||||
\f0\fs24 Emu28:\par
|
||||
\f1\fs16\tab\lang1033 Hardware \ldblquote Centipede\rdblquote\par
|
||||
\f1\fs16\tab Hardware \ldblquote Centipede\rdblquote\par
|
||||
\f0\fs24 Emu42:\par
|
||||
\f1\fs16\tab Hardware \ldblquote Lewis\rdblquote\par
|
||||
\f0\fs24 Emu48:\par
|
||||
|
@ -87,7 +88,7 @@ Emu10:\par
|
|||
\ldblquote E\rdblquote = HP39G or HP40G\par
|
||||
\ldblquote G\rdblquote = HP48G, HP48G+ or HP48GX\par
|
||||
\ldblquote S\rdblquote = HP48S or HP48SX\par
|
||||
\lang1031\ldblquote X\rdblquote = HP49G\cf1\par
|
||||
\ldblquote X\rdblquote = HP49G\cf1\par
|
||||
\pard\nowidctlpar\qj Emu71:\par
|
||||
\pard\nowidctlpar\fi720\qj\cf0\lang1036\ldblquote T\rdblquote = HP71B\par
|
||||
\pard\nowidctlpar\qj Example:\par
|
||||
|
@ -114,9 +115,14 @@ Bitmap is the bitmap file that will be the \ldblquote faceplate\rdblquote . All
|
|||
\pard\nowidctlpar Example:\par
|
||||
\f1\fs16\tab Bitmap \ldblquote mygx.bmp\rdblquote\par
|
||||
\pard\nowidctlpar\qj\f0\fs24\par
|
||||
Color is an optional setting to define the transparency color of the background bitmap. It takes effect only when both, title bar and menu bar are not shown. The first integer specifies the maximum tolerance between bitmap pixel and reference for color matching followed by three integers defining the RGB numbers (Red, Green and Blue) of the transparency reference color. Each RGB number range from 0 to 255. The difference between the actual pixel and the transparency color is calculated by the formula:\par
|
||||
\f2 Difference = |\'c4R| + |\'c4G| + |\'c4B| where the \'c4 are the count differences between the color parts of the pixel and \f0 the transparency reference color. The given tolerance value must be greater or equal to the calculated difference to handle this background bitmap \ul position\ulnone as transparent. Because of setting the bitmap position to transparent it\rquote s quite important that the display area in the background bitmap is not set to transparent, else the complete display area will be transparent even if the colors of the display pixel don\rquote t match with the transparency reference color.\par
|
||||
\pard\nowidctlpar Example:\par
|
||||
\f1\fs16\tab Color 0 255 0 0\par
|
||||
\pard\nowidctlpar\qj\f0\fs24\par
|
||||
Print will display a string when the KML file is loaded. You can have as many of these as necessary. They are more effective if you put them before the other settings.\par
|
||||
\pard\nowidctlpar Example:\par
|
||||
\f1\fs16\tab Print \ldblquote My homepage is at http://hp.giesselink.com/\rdblquote\par
|
||||
\f1\fs16\tab Print \ldblquote My homepage is at {\field{\*\fldinst{HYPERLINK "http://hp.giesselink.com/"}}{\fldrslt{\ul\cf2 http://hp.giesselink.com/}}}\f1\fs16\rdblquote\par
|
||||
\pard\nowidctlpar\qj\f0\fs24\par
|
||||
Debug sets the emulator to return an information message box telling the scancode number of the keyboard key pressed when the scancode number isn\rquote t defined. Valid entries are 0 or 1. One is on and Zero is off.\par
|
||||
\pard\nowidctlpar Example:\par
|
||||
|
@ -127,13 +133,13 @@ Debug sets the emulator to return an information message box telling the scancod
|
|||
\tab This section sets where the background bitmap will be placed and the size of the emulator window.\par
|
||||
\par
|
||||
\par
|
||||
\lang1031\f1\fs16 Background\par
|
||||
\f1\fs16 Background\par
|
||||
\tab Vga INTEGER\par
|
||||
\tab Topbar INTEGER\par
|
||||
\tab Menubar INTEGER\par
|
||||
\tab Offset INTEGER INTEGER\par
|
||||
\tab Size INTEGER INTEGER\par
|
||||
\lang1033 End\par
|
||||
End\par
|
||||
\f0\fs24\par
|
||||
\par
|
||||
\pard\nowidctlpar\qj Offset is how far the top left corner of the bitmap will be offset in the window. Most of the time you should set this to 0 0. The first integer is the amount of pixels to the right and the second is that amount of pixels down.\par
|
||||
|
@ -164,10 +170,10 @@ Debug sets the emulator to return an information message box telling the scancod
|
|||
\lang1031\f1\fs16 Lcd\par
|
||||
\tab Zoom INTEGER\par
|
||||
\tab Zoomxy INTEGER INTEGER\par
|
||||
\tab Vertical INTEGER\par
|
||||
\tab\lang1033 Vertical INTEGER\par
|
||||
\tab Offset INTEGER INTEGER\par
|
||||
\tab Color INTEGER INTEGER INTEGER INTEGER\par
|
||||
\lang1033 End\par
|
||||
End\par
|
||||
\f0\fs24\par
|
||||
\par
|
||||
\pard\nowidctlpar\qj Zoom is the size of the pixels in the LCD screen. This command is only valid for Emu28, Emu42 (Lewis) Emu48 and Emu71 and will be ignored on Emu10 and Emu42 (Sacajawea). Valid entries are 1, 2, 3 or 4. Zoom factor two is usually used by the dot matrix LCD types emulated by Emu28, Emu42 (Lewis), Emu48 and Emu71.\par
|
||||
|
@ -189,8 +195,8 @@ Emu10:\par
|
|||
\pard\nowidctlpar\qj Emu42 (Sacajawea), Emu71:\par
|
||||
\pard\nowidctlpar\fi720\qj 0-15 = foreground colors (Pixel on), 0 is lightest, 15 is darkest\par
|
||||
16-31 = background colors (Pixel off), 16 corresponds to 0, 17 to 1, \'85\par
|
||||
\pard\nowidctlpar\qj\lang1031 Emu28, Emu42 (Lewis):\par
|
||||
\pard\nowidctlpar\fi720\qj\lang1033 0-31 = foreground colors (Pixel on), 0 is lightest, 15 is darkest\par
|
||||
\pard\nowidctlpar\qj Emu28, Emu42 (Lewis):\par
|
||||
\pard\nowidctlpar\fi720\qj 0-31 = foreground colors (Pixel on), 0 is lightest, 15 is darkest\par
|
||||
32-63 = background colors (Pixel off), 32 corresponds to 0, 33 to 1, \'85\par
|
||||
\pard\nowidctlpar\qj Emu48:\par
|
||||
\pard\nowidctlpar\fi720\qj 0-31 = foreground colors (Pixel on), 0 is lightest, 15 is darkest\par
|
||||
|
@ -787,16 +793,16 @@ or\par
|
|||
\tab\tab <COMMANDS>\par
|
||||
\tab End\par
|
||||
Or\par
|
||||
\tab\lang1031 IfMem INTEGER INTEGER INTEGER\par
|
||||
\tab\tab\lang1033 <COMMANDS>\par
|
||||
\tab IfMem INTEGER INTEGER INTEGER\par
|
||||
\tab\tab <COMMANDS>\par
|
||||
\tab Else\par
|
||||
\tab\tab <COMMANDS>\par
|
||||
\tab End\par
|
||||
or\par
|
||||
\tab\lang1031 SetFlag INTEGER\par
|
||||
\tab SetFlag INTEGER\par
|
||||
or\par
|
||||
\tab ResetFlag INTEGER\par
|
||||
\lang1033 or\par
|
||||
or\par
|
||||
\tab NotFlag INTEGER\par
|
||||
or\par
|
||||
\tab IfFlag INTEGER\par
|
||||
|
@ -806,6 +812,8 @@ or\par
|
|||
\tab End\par
|
||||
or\par
|
||||
\tab MenuItem INTEGER\par
|
||||
or\par
|
||||
\tab SysItem INTEGER\par
|
||||
\par
|
||||
\pard\nowidctlpar\qj\f0\fs24 Map <SCANCODE> <BUTTON> will map the state (pressed or released) of the key <SCANCODE> (defined by the "Scancode <SCANCODE>" block) to the button <BUTTON> (defined by the "Button <BUTTON>" block). This means when Map is called in the key pressing state the Button is pressed else, when Map is called in the key releasing state, the Button is released.\par
|
||||
\pard\nowidctlpar Example:\par
|
||||
|
@ -854,8 +862,8 @@ Example:\par
|
|||
\tab\tab Map 51 12\par
|
||||
\tab End\f0\fs24\par
|
||||
\par
|
||||
\page MenuItem will open a menu (only if it\rquote s supported). The following values are accepted:\par
|
||||
\par
|
||||
\pard\nowidctlpar\qj\page MenuItem will open a menu (only if it\rquote s supported). The following values are accepted:\par
|
||||
\pard\nowidctlpar\par
|
||||
\pard\nowidctlpar\fi720\cf1\f1\fs16 FILE_NEW 1\par
|
||||
FILE_OPEN 2\par
|
||||
FILE_SAVE 3\par
|
||||
|
@ -882,12 +890,21 @@ TOOL_MACRO_RECORD 23\par
|
|||
TOOL_MACRO_PLAY 24\par
|
||||
TOOL_MACRO_STOP 25\par
|
||||
TOOL_MACRO_SETTINGS 26\par
|
||||
\pard\nowidctlpar\f0\fs24\par
|
||||
\cf0\b\fs28\page Conclusion\par
|
||||
\pard\nowidctlpar\cf0\f0\fs24\par
|
||||
\pard\nowidctlpar\sa200\sl276\slmult1\qj SysItem allows to call SYSCOMMAND messages. SYSCOMMAND messages are normally generated by the system or control menu. Interesting as commands inside the KML script are:\par
|
||||
\pard\nowidctlpar\fi720\cf1\f1\fs16 SC_MOVE 61456\par
|
||||
SC_MINIMIZE 61472\par
|
||||
SC_CLOSE 61536\par
|
||||
\par
|
||||
\pard\nowidctlpar\qj\cf0\f0\fs24 where SC_MOVE enabling the window to move by the keyboard, SC_MINIMIZE minimizing and SC_CLOSE closing the program window.\par
|
||||
Example:\par
|
||||
\pard\nowidctlpar\f1\fs16\tab SysItem 61536 # SC_CLOSE\par
|
||||
\pard\nowidctlpar\sa200\sl276\slmult1\f0\fs24\par
|
||||
\pard\nowidctlpar\b\fs28\page Conclusion\par
|
||||
\b0\fs24\par
|
||||
\pard\nowidctlpar\qj This document was originally written by Casey Patterson for the Keyboard Macro Language made by S\'e9bastien Carlier and is now maintained by Christoph Gie\'dfelink.\par
|
||||
\pard\nowidctlpar\par
|
||||
I\rquote m sorry, the authors can\rquote t give any individual support, try the newsgroup comp.sys.hp48 please.\par
|
||||
I\rquote m sorry, the authors can\rquote t give any individual support, try the forum at {\field{\*\fldinst{HYPERLINK "http://www.hpmuseum.org/"}}{\fldrslt{\ul\cf2 http://www.hpmuseum.org/}}}\f0\fs24 please.\par
|
||||
\par
|
||||
\par
|
||||
The latest updates are available at:\par
|
||||
|
@ -896,9 +913,9 @@ The latest updates are available at:\par
|
|||
\pard\nowidctlpar\fi720\b0 c.giesselink@gmx.de\par
|
||||
\pard\nowidctlpar\par
|
||||
\pard\nowidctlpar\fi720 Christoph Giesselink Main Page\par
|
||||
http://hp.giesselink.com/\par
|
||||
\pard\fi720{\field{\*\fldinst{HYPERLINK "http://hp.giesselink.com/"}}{\fldrslt{\ul\cf2 http://hp.giesselink.com/}}}\f0\fs24\par
|
||||
\pard\nowidctlpar\par
|
||||
\par
|
||||
Release 17: October 12th, 2012\par
|
||||
Release 18: May 18th, 2015\par
|
||||
}
|
||||
|