Almetare

Die Taschenrechner-Bibliothek 
für Linux und Windows

DEUTSCH
- Das Almetare-Projekt
- Der TI-30
- Unterschiede zum Original
- Installation
- Konfiguration
- Bekannte Fehler
- Liste der Änderungen
- Original- Bedienungsanleitung

ENGLISH
- The Almetare Project
- The TI-30
- Differences to the Original
- Installation
- Configuration
- Known bugs
- Change log
- Original User Manual

Texas Instruments TI-30

Virtueller Taschenrechner

Das Almetare-Projekt

"Almetare" steht für "Alle meine Taschenrechner". Damit ist das Wesentliche eigentlich schon gesagt; falls das Projekt jemals abgeschlossen sein sollte, werden alle meine Taschenrechner in virtueller Form für Linux und Windows zur Verfügung stehen.

Das Projekt wird lediglich zu Studienzwecken (und aus Nostalgie) betrieben und unter der GNU-GPL veröffentlicht; weder das Projekt noch ich selbst stehen in irgendeinem Zusammenhang mit der Firma Texas Instruments. Fehlermeldungen und Verbesserungsvorschläge bitte per E-Mail an fs@friedemann-seebass.de.

Der TI-30

Der TI-30 ist ein batteriebetriebener, wissenschaftlicher Taschenrechner mit den üblichen Funktionen.

Die Anzeige besitzt acht Stellen und eine zusätzliche für ein Vorzeichen. Im Falle von Exponentialdarstellung werden die Stellen 5 (plus evtl. Vorzeichen) zu 3 (incl. evtl. Vorzeichen) auf Mantisse und Exponent aufgeteilt. Intern rechnet der TI-30 mit 11 Stellen.

Die Tastatur besteht aus 40 stabilen Kunststofftasten mit gutem Druckpunkt. Leider neigt sie mit zunehmenden Alter zum Prellen.

Der TI-30 war Mitte der Siebzigerjahre des vorigen Jahrhunderts der Schulrechner schlechthin und wurde für ca. 30,- DM bei Sammelbestellungen verkauft.

Unterschiede zum Original

  • Alle Almetare-Rechner fußen auf denselben Basis-Routinen und bilden daher nicht die Algorithmik der Originale nach, sondern nur deren äußeres Erscheinungsbild! Alles was zum Thema Rechengenauigkeit im Rechner-Handbuch steht, gilt daher nicht für die virtuellen Rechner. Die Genauigkeit hängt vom verwendeten Compiler ab und beträgt i.d.R. 15 Stellen, also deutlich mehr als das Original. Was das sonst noch bedeutet (z.B. im Hinblick auf erlaubte Bereiche für diverse Funktionen), müßte man mal bei Gelegenheit erforschen ...
  • Eine weitere Verbesserung besteht in der Anzahl der Klammerebenen: Der virtuelle Rechner besitzt nämlich beliebig viele und ist nicht auf 15 beschränkt.
  • Bei Berechnung der allgemeinen Potenz yx darf y auch negativ sein, wenn x ganzzahlig und ungerade ist (vgl. Abschnitt "Wurzeln und Potenzen" im Handbuch).
  • Der TI-30 denkt bei "komplizierten" Rechnungen (z.B. sin oder yx) ein Weilchen nach und zeigt in dieser Zeit interessante Blinkeffekte in der ersten Stelle der Anzeige. Dieses Verhalten wird nur angenähert nachgebildet.
  • Die rote Leuchtdiodenanzeige des Originals ist leicht kursiv. Zu Gunsten der besseren Lesbarkeit wurde beim virtuellen Rechner darauf verzichtet.
  • Die eingescannte Bedienungsanleitung gehört eigentlich zum TI-45. Die richtige Anleitung habe ich leider nicht mehr. Da beide Rechner intern aber identisch sind, ist das kein Nachteil.

Installation

Zur Installation muß lediglich der Ordner "ti30" an eine beliebige Stelle kopiert werden.

Bei Bedarf kann man dann noch eine Verknüpfung auf dem Desktop anlegen:
  • KDE:
    • Rechtsklick auf Desktop => Kontext Menü erscheint
    • dort auf "Neu erstellen" - "Datei..." - "Verknüpfung zu Programm" klicken => Eigenschaften-Dialog erscheint
    • im Reiter "Programme" das Binary des Taschenrechners auswählen
    • im Reiter "Allgemein" auf das Programmsymbol klicken => Symbolauswahldialog erscheint
    • unter "Sonstige Symbole" das Icon  almetare/ti30/ti30_acc/almetare.png auswählen
    • beide Dialoge mit OK verlassen
  • Windows:
    • Rechtsklick auf Binary des Rechners => Kontext-Menü erscheint
    • dort auf "Verknüpfung erstellen" klicken
    • neue Verknüpfung auf Desktop verschieben

Achtung, Linux-Nutzer: Der Rechner ist gegen Qt 2 (nicht Qt 3) gelinkt. Kompilieren und Linken mit Qt 3 ist zwar möglich, jedoch sehen die Tasten dann je nach in KDE eingestelltem Widget-Stil sehr klobig aus; brauchbar ist z.B. der Stil "HighColor Classic" (einstellbar im KDE-Kontrollzentrum unter "Erscheinungsbild - Stil - Stil - Stil der Bedienelemente").
Die Tastaturklicks sind nur zu hören, wenn das "Network Audio System" (http://radscan.com/nas.html) installiert ist.

Achtung, Windows-Nutzer: Wenn auf Ihrem Rechner Qt nicht installiert ist, benötigen Sie auch noch die Datei QT-MT230NC.DLL. Diese kopieren Sie ebenfalls in den Ordner "ti30".

Die gepackte Datei zur Installation enthält folgende Ordner und Dateien:
 
Ordner/Datei Beschreibung
ti30 Wurzelverzeichnis
 +-ti30_acc Ordner mit Zubehör-Dateien
 |  +-doc Ordner mit der Bedienungsanleitung
 |  +-wav Ordner mit Tastaturklängen
 |  |  +-prs 7 Klänge "Taste gedrückt"
 |  |  +   +-ti30_prs1.wav  
 |  |  |   +- ...  
 |  |  |   `-ti30_prs7.wav  
 |  |  `-rls 7 Klänge "Taste losgelassen"
 |  |      +-ti30_rls1.wav  
 |  |      +- ...  
 |  |      `-ti30_rls7.wav  
 |  +-almetare.png Dialogbox-Icon
 |  +-calc.png eingescannte Graphik des Rechners
 |  `-digits.png die Ziffern der Anzeige
 `-ti30 ausführbare Datei*
 * in der Windows-Version heißt das Binary ti30.exe

Nach dem ersten Programmstart entsteht zusätzlich noch die Datei ".ti30" in Ihrem Home-Verzeichnis (Windows: "ti30.ini").

Hinweis: Zum Programmablauf zwingend notwendig ist nur die ausführbare Datei "ti30" (und natürlich die Shared Library von Qt 2 bzw. die DLL). Der Ordner "ti30_acc" kann ersatzlos gelöscht werden, wenn man auf die fotorealistische Darstellung, den Tastenklick und die Bedienungsanleitung verzichten möchte.

Konfiguration

Der virtuelle Rechner ist über einen Konfigurationsdialog konfigurierbar. Man erreicht ihn über die unsichtbare Schaltfläche, die sich unter dem Rechnernamen "TI-30" verbirgt, oder mit der Tastenkombination "Shift-T".

Konfigurationsdialog

Man kann hier folgende Einstellungen vornehmen:

  1. Zoom (Rechnergröße): Die Größe der Dialogbox ist mit der Maus durch Bewegen der Kanten frei einstellbar. Die Radio-Buttons erlauben es aber, den Rechner unter Wahrung des originalen Seitenverhältnisses zu skalieren. 
    • 100%: Das ist die Originalgröße der eingescannten Pixmap. Dazu muß man allerdings eine Bildschirmauflösung von 1280x960 Pixeln zur Verfügung haben, sonst wird der Rechner höchstens so groß, daß er auf den Bildschirm paßt (dann stimmt auch das Seitenverhältnis nicht mehr).
    • 75%: Diese Größe paßt gut auf einen 1024x768-Bildschirm. Feine Beschriftungen sind noch recht gut zu erkennen.
    • 50%: Das ist die empfohlene Standard-Größe. In der  1024x768-Auflösung erscheint der Rechner auf einem 17"-Monitor in etwa so groß wie der Original-Taschenrechner. Feine Beschriftungen kann man allerdings kaum erkennen.
    • 33%: Nur für einfache Taschenrechner ohne feine Beschriftungen geeignet.
  2. Display mode (Realitätsgrad): Je nach Geschmack kann man hier das Erscheinungsbild des Rechners verändern:
    • even more realistic: Mit dieser Einstellung wird der Rechner in fast allen Details nachgebildet. Originale Oberfläche, originale Tastaturklicks, nach einigen Minuten schaltet er sich zwecks Stromsparens aus ;-).
    • realistic: Wie vorstehend, aber keine Tastaturklicks und kein automatisches Abschalten. 
    • simple: Der Rechner erscheint als einfache Dialogbox, ohne den eingescannten Bildhintergrund.
    • debug: Hier erscheinen einige zusätzliche häßliche Felder. Nicht fürs normale Publikum gemacht.
  3. Hilfe-Browser: Die Hilfe ist komplett in HTML aufgebaut. Nachteil: Man benötigt einen Browser. Unter Windows wird in der Registry nach dem Standard-Browser gesucht. Unter Linux wird standardmäßig Mozilla verwendet. Wem das nicht gefällt, kann hier einen Browser seiner Wahl eintragen.
  4. Flags: Hier lassen sich folgende Optionen einstellen:
    • Shortcut tool tips: Falls die gelben Tooltips stören, die erscheinen, wenn die Maus kurze Zeit über einer Taste steht, kann man sie hier deaktivieren.
    • always on top: Wenn diese Option aktiviert ist, wird der Rechner nicht von anderen Fenstern überdeckt.
    • Logging: Wenn das Logging aktiviert ist, werden Log-Daten in die Datei "log.txt" geschrieben. Das ist jedoch nur für Debug-Zwecke interessant.
Alle Konfigurationsdaten werden in der Konfigurationsdatei ".ti30" (Windows: "ti30.ini") gespeichert. Man kann sie auch von Hand editieren, was jedoch nicht nötig sein sollte. Wenn diese Datei nicht vorhanden ist, wird beim nächsten Programmstart eine neue mit Vorgabewerten erzeugt.

Bekannte Fehler

  • Unter Linux immer und unter Windows manchmal erscheint die Grafik mit der Leuchtdiodenanzeige aus unbekannten Gründen nach rechts vergrößert, wenn der Rechner von einem anderen Fenster verdeckt und wieder in den Vordergrund geholt wird. Abhilfe: Anschließend den Konfigurationsdialog öffnen und mit OK verlassen.
  • Bei Verwendung von Qt 3/KDE 3.2:
    • Beim Zoomen auf 100% erscheint der Rechner auf kleinen Desktops möglicherweise größer als der Dektop. In diesem Fall wird im Display nichts angezeigt. Workaround: Rechner schließen und neu starten.
    • Die versteckte Schaltfläche zum Aufruf des  Konfigurationsdialogs sollte eigentlich beim Darüberfahren mit der Maus sichtbar werden, tut das aber aus unbekannten Gründen nicht.

Liste der Änderungen

08.12.2002: V.0.95:
  • erste veröffentlichte Version
18.05.2003: V.0.96:
  • Absturz beim Start als Konsolenapplikation behoben.
  • Die Konfigurationsdatei wird jetzt nicht nur gespeichert, wenn man den Rechner mit dem "OFF"-Button verlässt, sondern auch wenn man den "x"-Button des Fensters betätigt.
  • Auch unter Windows XP funktioniert jetzt der Aufruf des Default-Hilfe-Browsers.
  • Direkt nach dem Start des Rechners ergab z.B. die Rechnung "*6=" 6 statt 0. Dies ist jetzt behoben.
02.08.2003: V.0.97:
  • Unvollständige Operationen in Kombination mit Funktionsrechnungen lieferten nicht dasselbe Ergebnis wie das Original. Zum Beispiel wurde bei Eingabe von "5*ln=" 1*ln(5)=1.609... berechnet statt 5*ln(5)=8.047... 
  • Eine unvollständige Operation der Art "5*=" direkt nach dem Einschalten des Rechners lieferte korrekt 5. Wurde ein weiteres Mal "5*=" eingegeben, wurde dagegen fälschlich 0 berechnet.

05.08.2003: V.0.98:
  • Unvollständige Operationen in Kombination mit Funktionsrechnungen, die über die INV-Taste erreichbar sind, führten zu denselben Problemen  wie oben beschrieben.
    Beispiel: "5 * INV log =" lieferte 1*105 = 1e5 statt 5*105 = 500000.
  • Verschiebung des Exponenten mit "EE" und "INV EE" funktioniert wieder.
15.08.2003: V.0.99:
  • Man kann jetzt auch Zahlen mit Strg-V in die Anzeige kopieren; das ist sogar mit ganzen Tastensequenzen möglich, wenn man die Shortcut-Symbole verwendet (in Kombination mit einem Text-Editor kann man dies benutzen, um den Rechner in gewisser Weise zu "programmieren").
22.02.2004: V.1.00:
  • Die Berechnung einer Funktion (Sinus, Cosinus etc.) unmittelbar nach dem Start des Rechners führt nicht mehr zum Absturz.
  • Im Konfigurationsdialog gibt es jetzt die Option "always on top".
23.01.2005: V.1.10:
  • Einfügen aus Clipboard mit Strg-V geht auch unter Windows wieder.
  • Kleinere Fehlerkorrekturen wurden durchgeführt.
09.10.2005: V.1.11:
  • Der Rechner versteht jetzt neben Ctrl-C und Ctrl-V auch die Tastenkürzel Ctrl-Insert und Shift-Insert für Copy und Paste.
  • Auch unter Windows wird die Initialisierungsdatei jetzt im Home-Verzeichnis des Benutzers statt im Programmverzeichnis des Rechners angelegt.
19.01.2014: V.1.12:
  • Unter Windows 7 konnte die Hilfedatei über den Hilfedialog oder mit Funktionstaste F1 nicht geöffnet werden, wenn Leerzeichen im Installationspfad vorhanden waren.
  • Es gibt jetzt einen Installationsassistenten.
19.01.2014: V.1.13:
  • Der Rechner schaltete schon bei Zahlen vom Betrag kleiner als 0,01 in die Exponentialdarstellung statt erst bei 1e-7.
  • Der Rechner lieferte bei Rechnungen wie "200 * 10 % + 3 =" als Ergebnis 3 statt 23.
18.02.2017: V1.14:
  • Auf Anwenderwunsch löscht die ESC-Taste jetzt die Anzeige, macht also dasselbe wie "ON/C.
22.04.2018: V1.15:
  • Das Programm wurde mit dem Service-Pack 6 des Visual Studio 6 übersetzt.
22.06.2019: V1.16:
  • Endlich funktioniert die ESC-Taste jetzt auch mit dem TI-30, wie schon mit V.1.14 versprochen.

Hier geht's zur Original-Bedienungsanleitung

© Friedemann Seebass - Okt. 2002 / 22.6.2019


Almetare

The pocket calculator library
for Linux and Windows

Calculators
ENGLISH
- The Almetare Project
- The TI-30
- Differences to the Original
- Installation
- Configuration
- Known bugs
- Change log
- Original User Manual

DEUTSCH
- Das Almetare-Projekt
- Der TI-30
- Unterschiede zum Original
- Installation
- Konfiguration
- Bekannte Fehler
- Liste der Änderungen
- Original- Bedienungsanleitung

Texas Instruments TI-30

Virtual Calculator

The Almetare Project

"Almetare" means "Alle meine Taschenrechner" ("all my pocket calculators" - Almypoca would not sound so bad as well). The essential is said with that; if the project may ever be finished all my pocket calculators will be available in a Linux and a Windows version.

The project is persued for studying only (and nostalgia) and is published under the GNU GPL; neither the project nor I for myself have any relations to the Texas Instruments Company. Error reports and suggestions for improvement are welcome via e-mail to fs@friedemann-seebass.de.

The TI-30

The TI-30 is a battery powerd, scientific calculator with the common functions. 

The display has eight digits and an additional one for the sign. In case of scientific notation the digits are divided up into five (plus a potential sign) and three (incl. a potential sign) digits for mantissa and exponent. The calculator figures with eleven digits internally. The keyboard consists out of 40 stable plastic keys.

In the middle of the last century's seventies it was the calculator for use in school in Germany and was selled for about 30,- DM.

Differences to the Original

  • All Almetare Calculators use the same basic routines and emulate not the algorithms of the originals, but the visual manifestation only! All that is said in the user manual according to the precision of the calculator is not valid for the virtual calculator. The precision depends on the used compiler and is 15 digits as a rule. What that means otherwise (e.g. with respect to allowed ranges of some functions) should be explored occasionally ...
  • A further improvement is the number of parenthesis levels: The virtual calculator has an arbitrary number and is not limited to only 15.
  • If calculating yx the value y is allowed to be negative if x is a whole number and odd (see section "Roots and powers" in the user manual).
  • The TI-30 mediates on "complicated" calculations for a little while and shows interesting blinking effects in the first digit of the display. This behaviour is simulated not exactly.
  • The red LED display of the original is in italic style. For the sake of better readability this is not so in the virtual calculator.
  • The scanned user manual is the one of the TI-45 actually because the original is missing. But, both calculators are identical internally, so that is no disadvantage.

Installation

Just copy the folder "ti30" and all files in it to an arbitrary place. That's all.

If wanted you can create a link on the desktop:
  • KDE:
    • right click on the desktop => the context menu appears
    • click on "Create New" - "File..." - "Link to Application..."  => "Properties" dialog appears
    • click on the "Browse..." button in the "Application" tab and choose the calculator's binary
    • click on the program icon button in the "General" tab  => the "Select Icon" dialog appears
    • choose with the "Browse..." button the "Other icon"  almetare/ti30/ti30_acc/almetare.png
    • leave both dialogs with OK
  • Windows:
    • right click on the calculator's binary => the context menu appears
    • click on "create link"
    • move the new link to the desktop

Attention, Linux users: The calculator is linked against Qt 2 (not Qt 3) originally. Compiling and linking with Qt 3 is possible, however, the appearance depends on the KDE style in this case, and the keys are looking very clumsy eventually. The style "HighColor Classic" looks nice (adjustable with the KDE control center under "Appearance & Themes - Style - Style - Widget Style").
The keyboard klicks are only to be heard if the "Network Audio System" (http://radscan.com/nas.html) is installed.

Attention, Windows users: If you have not installed Qt already you need the file QT-MT230NC.DLL too. Copy it to the folder "ti30".

The packed installation file contains the following folders and files:
 
Folder/File Description
ti30 root folder
 +-ti30_acc folder with accessory files
 |  +-doc folder with the user manual
 |  +-wav folder with keyboard sounds
 |  |  +-prs 7 sounds "key pressed"
 |  |  +   +- ti30_prs1.wav  
 |  |  |   +- ...  
 |  |  |   `- ti30_prs7.wav  
 |  |  `-rls 7 sounds "key released"
 |  |      +- ti30_rls1.wav  
 |  |      +- ...  
 |  |      `- ti30_rls7.wav  
 |  +-almetare.png the dialog's icon
 |  +-calc.png scanned graphic of the calculator
 |  `-digits.png the digits of the display
 `- ti30 executable file*
* in the Windows version the name of the binary is ti30.exe

After the first program start the file ".ti30" is created additionally in your home directory (Windows: "ti30.ini").

Hint: Absolute necessary is only the executable file "ti30" (and, of course, the Qt 2 shared libray or the DLL resp.). The folder "ti30_acc"  may be deleted if you don't want or need the photorealistic appearance, the key click and the manual.

Configuration

The virtual calculator is configurable by a configuration dialog. You reach it via the invisable button which lays under the name "TI-30" or with the key combination "Shift-t".

config dialog

The following configurations are available:

  1. Zoom (size of the calculator): The size of the dialog box is freely adjustable with the mouse by moving its edges. It may be changed by the radio buttons too, however, with the original aspect ratio.
    • 100%: This is the original size of the scanned pixmap. But, you need a screen resolution of 1280x960 pixels; otherwise the calculator will be as large as the screen only (the aspect ratio is not correct in this case).
    • 75%: This size matches a 1024x768 screen. Fine inscriptions are still readable.
    • 50%: This is the recommended standard size. In the 1024x768 resolution the calculator appears on a 17"-monitor approximately in its original size. But, fine inscriptions are hardly readable.
    • 33%: Suitable only for simple calculators without fine inscriptions.
  2. Display mode (degree of reality): The appearance of the calculator is adjustable here.
    • even more realistic: The calculator is imitated in nearly all details: original surface, original key sounds, the calculator turns off after some minutes to save power ;-).
    • realistic: As described above, but no key sounds, no automatic power off.
    • simple: The calculator appears as a simple dialog box without the scanned background.
    • debug: Some additional, ugly fields will appear. This mode is not made for the common audience.
  3. Help browser: The help is built completely in HTML. Disadvantage: you need a browser. Under Windows the registry is scanned for the standard browser, under Linux Mozilla is used. If this is not wanted you may choose another browser here.
  4. Flags: You may adjust the following options here:.
    • Shortcut tool tips: If the yellow tool tips are disturbing which will pop up when the mouse rests over a key, they may be deactivated here.
    • always on top: If this option is active the calculator will not be covered by other windows.
    • Logging: If logging is activated all pressed keys are logged to the file "log.txt". Needed only for debugging purposes.
All configuration data is saved in the file ".ti30" (Windows:  "ti30.ini"). You can edit it by hand, but, that should not be necessary. If this file is not found a new one is generated, containing default values, at the next program start.

Known bugs

  • Sometimes the LED display seems enlarged to the right side if the calculator is hidden by another window and put into the foreground again. Workaround: Open the configuration dialog and press the OK button.
  • If using Qt 3/KDE 3.2:
    • If zooming to 100% the calculator may appear bigger than the desktop. In this case the display remains empty. Workaround: close and start the calculator again.
    • The hidden button to show the configuration dialog should become visible if the mouse rests over it; this does not work.

Change log

08.12.2002: V.0.95:
  • First published release.
18.05.2003: V.0.96:
  • Crash when starting as console application fixed.
  • Storing of configuration is done now not only if closing the calculator with the "OFF"-Button but if closing with the window closer "x" as well.
  • Starting the default help browser under Windows XP will work now.
  • Immediately after the start of the calculator e.g. the calculation "6*=" resulted to 6 instead to 0. This is fixed now.
02.08.2003: V.0.97:
  • Incomplete operations in combination with function calculations delivered not the same result as the original calculator. Example: Entering "5*ln=" resulted in 1*ln(5)=1.609... instead of 5*ln(5)=8.047...
  • An incomplete operation of the kind "5*=" entered directly after switching on the calculator delivered correctly 5. But, entering "5*=" a second time gave the errornous result of 0.
05.08.2003: V.0.98:
  • Incomplete operations in combination with function calculations
    reachable by the INV key led to the same problems as described above.
    Example: "5 * INV log =" delivered 1*105 = 1e5 instead of  5*105 = 500000.
  • Shifting of the exponent with "EE" and "INV EE" works again.
15.08.2003: V.0.99:
  • It is possible to paste numbers into the calculator with CTRL-v now, and even whole sequences of key clicks using the shortcut symbols (in combination with an ASCII editor you may use this feature as a kind of programming the calculator).
22.02.2004: V.1.00:
  • Call of a function (sine, cosine etc.) immediately after starting the calculator does not result in a crash any longer.
  • There is the option "always on top" in the configuration dialog now.
23.01.2005: V.1.10:
  • Pasting data with Ctrl-V from the clipboard into the display works again under Windows.
  • Minor bug fixes.
09.10.2005: V.1.11:
  • Besides Ctrl-C and Ctrl-V you can use Ctrl-Insert and Shift-Insert for copy and paste.
  • As under Linux also under Windows the configuration file is created in the user's home directory, not in the program directory.
19.01.2014: V.1.12:
  • Under Windows 7 the help file could not be opened with the help dialog or with function key F1 if the installation path contained spaces.
  • There is an installation wizard available now.
27.06.2014: V.1.13:
  • The calculator switched into scientific notation in case of absolute values less than 0.01 already instead of 1e-7.
  • Doing calculations like "200 * 10 % + 3 =" the calculator delivered 3 instead of 23.
18.02.2017: V1.14:
  • Due to  a user request there is the new shortcut key ESC, triggering the calculator's ON/C key.
22.04.2018: V1.15:
  • The  application is compiled with Service Pack 6 of Visual Studio 6.

22.06.2019: V1.16:
  • Finally the ESC key works even with the TI-30 as promised with V.1.14 already.

For the original user manual click here

© Friedemann Seebass - Okt. 2002 / 22.6.2019