TPS Google Spreadsheet             

von Jos van den Enden                 
Elektronik-Labor  Literatur  Projekte  Lernpakete  TPS


 
 
Im meinem beruflichen Leben hab ich damals in Assembler auf einem 'dedicated' Computer Nicolet 1080 (www.vintage.org/nicolet/nicolet.htm) programmiert. Ich hab jetzt viel Spaß beim Programmieren seines kleinen Schwesterleins, der TPS.
 
Für das Schreiben von TPS-Programmen für den HT46F47 habe ich ein Google Spreadsheet entwickelt. In meiner Kalkulationstabelle gibt man den Befehl als 'Mnemonic' in Spalte C ein. Das wird dann in Spalte B mittels der Befehlsliste in Blatt 2 in einen hexadezimalen Befehl übersetzt.
 
https://docs.google.com/spreadsheets/d/1B-QVXyTYtdemHqSP3JWsWHP71Emi1KSGXeQiUYH_s6c/edit?usp=sharing

Um selbst ein Programm einzugeben muss man erst eine Kopie des Spreadsheets erstellen. Dann kann man seine eigenen Befehle in Spalte C eingeben und die Kommentare nach Bedarf.



Im Sheet findet man zusätzlich eine genaue englische Anweisung:

To enter your own program, modify the contents of columns C (mnemonics), D (jumps) and F-H (comments).
Column A (addresses) is automatically filled.
Column B is filled based on the mnemonics entered in column C and the lookup table on the Instr-sheet.
On inserting or adding a new row, copy the content of row 7 into the new row. Then modify Cx, Dx and Fx-Hx of the new row.
Never edit the contents of cells A6, B6 and A7
If the content of column A below A7 gets corrupted, rebuilt the column as of cell A8 by copying cel A7 all the way down into the cells below A7.
Likewise, if the content of column B below B6 gets corrupted, copy cell B6 all the way down into the cells below B6.
The formulas in column D (jumps) should refer to the row to which the jump is made.
They display the address to which is jumped. Copy the results into column C by hand.

Wer neugierig ist, wie das alles funktioniert, sollte sich das zweite Blatt ansehen. Da stehen alle Befehle mit allen erlaubten Parametern. Das braucht insgesamt 645 Zeilen.



Ich habe das Spreadsheet auch  in eine Excel-Tabelle konvertiert: TPS-Hilfe für den HT46F47 (vs. 20160302).xlsx

Download: ExcelTPS.zip


Elektronik-Labor  Literatur  Projekte  Lernpakete  TPS