Projekt Project Hardware Hardware Bedienung Operation BASIC (1) BASIC (1) BASIC (2) BASIC (2) BASIC (3) BASIC (3) Interna Internals Beispiele Examples Erweiterungen Extensions Bibliotheken Libraries Treiber Driver Programme Programs Bezugsquellen: Where to buy: Bausatz Kit Leerplatine Empty board | AVR-ChipBasic2: Bedienungsanleitung AVR ChipBasic2: Manual V1.45 (c) 2006-2012 Jörg Wolfram V1.45 (c) 2006-2012 Jörg Wolfram ![]() 1 Rechtliches 1 DisclaimerDas Programm unterliegt der GPL (GNU General Public Licence) Version 3 oder höher, jede Nutzung der Software/Informationen nonkonform zur GPL oder ausserhalb des Geltungsbereiches der GPL ist untersagt! The program uses the GPL (GNU General Public License) version 3 or later, any use of the software / information nonconformist to the GPL or outside the scope of the GPL is prohibited!Die Veröffentlichung dieses Projekts erfolgt in der Hoffnung, daß es Ihnen von Nutzen sein wird, aber OHNE IRGENDEINE GARANTIE, auch ohne die implizite Garantie der MARKTREIFE oder der VERWENDBARKEIT FÜR EINEN BESTIMMTEN ZWECK. The publication of this project is done in the hope that it will be useful, but WITHOUT ANY WARRANTY. Without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE Alle im Text genannten Marken sind Eigentum des entsprechenden Inhabers. All in the text above are trademarks of the respective owners. 2 Die Tastatur 2, the keyboardDie vorliegende Version benötigt eine Tastatur mit deutschem Layout. This version requires a keyboard with German layout. Die Tastaturbelegung kann aber mittels Binär-Programm geändert werden. The keyboard layout can be changed by means of binary program. Das aktuell eingestellte Layout wird im Hauptmenü im unteren Bildschirmbereich angezeigt. The currently selected layout is displayed in the main menu on the bottom screen. Zur einfacheren Bedienung gibt es am unteren Bildrand 5 farbige Felder mit Funktionen, die den Tasten ESC sowie F1...F4 entsprechen. For ease of operation there at the bottom 5 colored boxes with features that correspond to the ESC and F1 ... F4. Mit einem Aufkleber etc. auf der Tastatur lassen sich so die wichtigsten Tasten schnell finden. With a sticker on the keyboard, etc. can thus quickly find the most important keys.![]()
3 Das Hauptmenü 3 The Main MenuNach jedem Einschalten oder Reset wird für ca. 3 Sekunden der Intro-Screen angezeigt. After each power-up or reset for 3 seconds of the intro screen is displayed. Danach wird zum Hauptme- nü gesprungen, ausser Autostart ist aktiviert. Then to the main menu is bound is enabled except autostart. In diesem Falle wird das eingestellte Programm automatisch gestartet. In this case, the set program will start automatically. Der Intro-Screen kann jederzeit durch einen Tastendruck (außer Shift, CTRL, ALT) abgebrochen werden, in diesem Falle wird eine eingestellte Autostart-Funktion nicht ausgeführt. The intro screen can be terminated at any time by pressing a button (except Shift, CTRL, ALT), in this case, a set autostart function is not executed. Ein Sonderfall ist, wenn ein LOADER-Programm installiert ist. A special case is when a Loader program installed. In diesem Fall wir vor Ausführung des Autostart-Programmes das LOADER-Programm aufgerufen. In this case we called prior to execution of the startup program, the LOADER program. Weiterhin kann durch Drücken der rechten Shift-Taste in einen kleinen "Keyboard Monitor" gewechselt werden, in dem die empfangenen Scancodes angezeigt werden. Furthermore, by using the right shift key in a small "keyboard monitor" to be changed, in which the received scan codes. Verlassen werden kann dieser Modus nur durch einen Neustart. You can exit this mode by restarting.![]()
Darunter gibt es noch eine Anzeige für den Systemstatus. Among them, there is a display for system status. Ganz links Zeile steht der MCU-Typ, entweder 644 für den ATMega644 oder 644P für den ATMega644P. Leftmost line shows the MCU type, either 644 for the ATmega644 or 644P for ATmega644P. Daneben wird das aktive Videosystem (PAL oder NTSC) angezeigt. In addition, the active video system (PAL or NTSC) is displayed. Rechts steht die Kurzbezeichnung für die aktive Tastaturtabelle. Right is the short name for the active keyboard table. Um die Tastaturtabelle zu ändern, muss ein entsprechen- des (Binär-) Programm geladen und gestartet werden. To change the keyboard table has a corresponding load of the (binary) program and launch. Zum Beispiel kann mit dem Programm "kbd_us.bin" das Tasta- turlayout auf US-englisch umgestellt werden. For example, with the program "kbd_us.bin" the keyboards turlayout be converted to U.S. English. Dazu wird das Programm entweder per XMODEM übertragen oder vom Disk-Modul geladen. This program is either transmitted via XMODEM or from the disk module loaded. Nachdem das Programm mit der F4-Taste gestartet wurde, ändert sich antsprechend die Anzeige im Systemstatus. After the program was launched with the F4 button, the display changes antsprechend in system status. In der untersten Zeile stehen die möglichen Kommandos, die Farben entsprechen den Tasten ESC und F1...F4 und haben folgende Funktionen: In the bottom row are the possible commands, the colors correspond to the ESC and F1 ... F4 and have the following functions:
3.1 Programm editieren (F1) 3.1 Program Edit (F1)Ruft den eingebauten Editor auf und lädt das gewählte Programm. Calls the built-in editor and loads the selected program. Dies funktioniert nur bei BASIC und leeren Programmen. This only works with BASIC programs and empty. Binärprogramme und Binärbibliotheken lassen sich nicht editieren. Binary libraries and binaries can not be edited. % %3.2 Programm speichern (F2) Save 3.2 Program (F2)Diese Funktion bezieht sich auf das gerade ausgewählte Programm. This function refers to the currently selected program. Wird sie aufgerufen und ist kein formatierter Dataflash angeschlossen, erscheint nur eine Fehlermeldung. If invoked, and is not formatted DataFlash connected, only an error message. Wenn ein formatierter Dataflash angeschlossen ist, kann der Platz, wohin die Datei gespeichert werden soll mit der Dateiauswahlbox bestimmt werden: When a formatted data flash is connected, the place where the file is stored are determined by the file selection box:![]() ![]() 3.3 Programm laden (F3) 3.3 Program Load (F3)Diese Funktion bezieht sich auf das gerade ausgewählte Programm. This function refers to the currently selected program. Wird sie aufgerufen und ist kein formatierter Dataflash angeschlossen, erscheint die oben gezeigtee Fehlermeldung. If invoked, and is not formatted DataFlash connected, the above error message gezeigtee. Wenn ein formatierter Dataflash angeschlossen ist, kann das Programm mit der Dateiauswahlbox bestimmt werden: When a formatted data flash is connected, the program will be determined by the file selection box:![]() Mit den 3 Symbolen in der dritten Zeile können der Flashmanager, die Config-Page und ein Programminfo angezeigt werden. With the 3 symbols in the third row of the flash can managers Config Page and a program info are displayed. Näheres dazu in den entsprechenden Abschnitten. Look that up in the appropriate sections. 3.4 Programm starten (F4) 3.4 Program start (F4)Startet das gewählte Programm. Starts the selected program. Dies funktioniert sowohl bei BASIC als auch nativen AVR Programmen. This works on both BASIC and native AVR programs. Nach Beendi- gung oder Abbruch des Pogrammes (Fehler, CTRL-C) erscheint am Rand ein rot-weisses Streifenmuster. After cessation or termination of Pogrammes (error, CTRL-C) on the edge appears a red and white stripe pattern. Mit der ESC Taste wird wieder zum Menu zurückgekehrt. Use the ESC key is returned to the menu. An dieser Stelle kann auch noch ein Screenshot gemacht werden, allerdings wird dabei die Randfarbe generell als schwarz ausgegeben. At this point can also make a screenshot, but this is the border color output generally considered black. Dies gilt auch, wenn ein Programm aus dem Editor heraus gestartet wird. This applies even if a program is started from within the editor.[1cm] Die Tasten F1...F4 haben eine Zweitfunktion, wenn zusätzlich die linke CTRL oder STRG Taste gedrückt wird. [1cm] The keys F1 ... F4 have a second function, if in addition the left CTRL or CTRL key is pressed. Die Texte in den 5 Farbfeldern ändern sich dementsprechend: The texts in the 5 color fields will change accordingly:
3.5 Programm kopieren (CTRL+F1) 3.5 Program Copy (CTRL + F1)Um ohne ein Dataflash-Modul verschiedene Programmversionen zu testen lässt sich jedes Programm an einen der 8 Programmplätze kopieren. To test without a data flash module different program versions can be any program to copy any of the 8 program slots. Das Kopierziel lässt sich mit den Cursortasten auswählen, mit der ENTER-Taste wird ohne nachzufragen kopiert und mit der ESC-Taste wird der Vorgang abgebrochen. The copy destination can be selected with the cursor keys, the ENTER key copied without question and with the ESC key will cancel the operation.![]() 3.6 Programm senden (CTRL+F2) 3.6 Program Send (Ctrl + F2)Mit dieser Funktion lässt sich ein Programm im Binärformat via X-Modem senden. This function allows you to send a program in binary format via X-Modem. Damit kann zB ein Programm zum AVR-Handheld übertragen werden. Thus for example, a program for AVR Handheld transmitted. Für native AVR-Programme ist dies auch der einzige Weg zur Datenübertragung in Senderichtung, da AVR Programme nicht editiert werden können. For native AVR programs, this is the only way to transfer data in the transmit direction, as AVR programs can not be edited. Zum Ablauf ist zuerst das Senden zu aktivieren und anschließend auf der Empfängerseite die Übertragung zu starten. To flow, first sending to activate and then start on the receiving end the transfer.3.7 Programm empfangen (CTRL+F3) Received 3.7 Program (CTRL + F3)Mit dieser Funktion lässt sich ein Programm im Binärformat via X-Modem empfangen. This function allows a program in binary form via X-modem receive. Für native AVR-Programme ist dies auch der einzige Weg zur Datenübertragung in Empfangsrichtung, da AVR Programme nicht editiert werden können. For native AVR programs, this is the only way to transfer data in the receive direction, as AVR programs can not be edited. Zum Ablauf ist zuerst die Senderseite zu aktivieren und anschließend mit CTRL+F3 die Übertragung zu starten. To drain out the transmitter side is to be activated and then start with CTRL + F3 to transfer.3.8 Programm löschen (CTRL+F4) 3.8 Program Delete (CTRL + F4)Native AVR Programme lassen sich nicht mittels Editor löschen, dies kann aber mit der Tastenkombinatiion CTRL+F4 geschehen. Native AVR programs can not delete using the editor, but this can happen with the Tastenkombinatiion CTRL + F4. Nach einer Sicherheitsabfrage wird dann das Programm gelöscht. After a security check then the program is canceled. Selbstverständlich können auf diesem Wege auch BASIC Programme gelöscht werden. Of course, in this way can also BASIC programs are deleted.![]() 3.9 Binärprogramme, Bibliotheken und Treiber 3.9 binaries, libraries and driversBinärprogramme, zu denen auch Bibliotheken und Treiber gehören, lassen sich auf jeden der 8 Programmplätze laden. Binaries, including libraries and drivers are, can load on each of the 8 program slots. Treiber funktionieren jedoch nur, wenn sie auf Programmplatz 8 geladen werden. Drivers will only work if they are loaded on program 8th.4 Der Flashmanager 4 The Flash ManagerDer Flash-Manager (Symbol DFLASH im Hauptmenü) funktioniert natürlich nur dann, wenn auch ein Dataflash-Modul angesteckt ist. The Flash Manager (DFLASH icon in the main menu) only works when a data flash module is plugged. Ansonsten gibt es nur die Möglichkeit zum Rescan und Abbruch. Otherwise there is only the option to rescan and demolition.Wurde ein Dataflash-Modul (es funktionieren nur 4 und 8 MBit Bausteine der serie AT45) erkannt, wird auf gültige Formatierung getestet. If a data flash module (it will only 4 and 8 Mbit blocks the AT45 series) is detected, testing for valid formatting. Formatieren?? Formatting? Ja das gibt es hier auch, neben dem Blockstatus werden auch solche Dinge wie Schreibzähler angelegt. Yes, there are also, in addition to the block status are also such things as write counter created. In der untersten Zeile stehen die möglichen Kommandos, die Farben entsprechen den Tasten ESC und F1...F4 und haben folgende Funktionen: In the bottom row are the possible commands, the colors correspond to the ESC and F1 ... F4 and have the following functions:
4.1 Info (F1) 4.1 Info (F1)Die freien Dateien/Blöcke werden gezählt und in einer Infobox angezeigt. The free files / blocks are counted and displayed in a message box.![]() 4.2 Backup (F2) 2.4 Backup (F2)Wenn ein formatierter Dataflash angeschlossen ist, kann der Speicherplatz mit der Dateiauswahlbox bestimmt werden: When a formatted data flash is connected, the space will be determined by the file selection box:![]() 4.3 Restore (F3) Restore 4.3 (F3)Wird sie aufgerufen und ist kein formatierter Dataflash angeschlossen, erscheint die oben gezeigtee Fehlermeldung. If invoked, and is not formatted DataFlash connected, the above error message gezeigtee. Wenn ein formatierter Dataflash angeschlossen ist, kann das zu lesende Backup mit der Dateiauswahlbox bestimmt werden: When a formatted data flash is connected, it can be determined to be read back to the file selection box:![]() Mit der Taste CTRL oder STRG können zusätzliche Funktionen ausgewählt werden, wobei nicht immer alle Funktionen verfügbar sind (zB wenn kein Dataflash-Modul vorhanden oder dieses nicht formatiert ist. With the CTRL or CTRL Additional functions can be selected, all functions are not always available (eg, if no data flash module does not exist or this format.
4.4 Delete (CTRL + F1) 4.4 Delete (CTRL + F1)Mit dieser Funktion können beliebige Dateien auf dem Dataflash-Modul gelöscht werden. This feature allows arbitrary files to be deleted from the data flash module. Dazu wird wieder die Dateiauswahlbox angezeigt. To back the file dialog appears. Wird eine Datei gewählt, erscheint noch eine Abfrage, ob die Datei auch wirklich gelöscht werden soll. When a file is selected, yet you will be asked if the file should be really deleted. Mit der ESC Taste kann abgebrochen werden. Use the ESC key to cancel.4.5 Format (CTRL + F4) 4.5 format (CTRL + F4)Normalerweise sollte ein Dataflash-Modul nur einmal formatiert werden. Normally, a data flash module is formatted only once. Denn beim Formatieren werden auch vorhandene Schreibzähler mit zurückgesetzt. For formatting and existing write counter with reset.5 Das Konfigurationsmenü 5 The configuration menuAuf der Config-Page können verschiedene Einstellungen vorgenommen werden. On the config page, various settings can be made.![]() 5.1 Die Belegung der Funktionstasten 5.1 The assignment of function keysDie gerade aktive Funktion ist invertiert dargestellt, die Auswahl erfolgt über die Cursor-Hoch und Cursor-Runter Tasten. The currently active function is highlighted, the selection is made by the high-cursor and cursor-down keys. In der untersten Zeile stehen die möglichen Kommandos, die Farben entsprechen wieder den Tasten ESC und F1...F4 und haben folgende Funktionen: In the bottom row are the possible commands, the colors again correspond to the ESC and F1 ... F4 and have the following functions:
5.1.1 Exit (ESC) 5.1.1 Exit (ESC)Mit dieser Taste werden die aktuellen Einstellungen verworfen und zum Hauptmenü zurückgekehrt. With this button, the current settings are rejected and returned to the main menu.5.1.2 Change (F1) 5.1.2 Change (F1)Mit jedem Tastendruck ändert sich die aktuell ausgewählte Einstellung. With each press changes the currently selected setting.5.1.3 Serielle Geschwindigkeit 5.1.3 Serial RateAn dieser Stelle kann die Geschwindigkeit der seriellen Schnittstelle zwischen 1200 und 2400 Bps umgeschaltet werden. At this point, the speed of the serial interface 1200-2400 bps are switched. Mit dem BASIC-Befehl BAUD kann die Geschwindigkeit im Programm temporär verstellt werden, nach Ende des Programmes wird wieder auf den hier eingestellten Wert zurückgestellt. With the BASIC command BAUD speed can be adjusted in the program temporarily, after the end of the program will be set back to the value set here.5.1.4 I2C-Geschwindigkeit 5.1.4 I2C speedHier kann die Geschwindigkeit der I2C-Schnittstelle zwischen 100 und 400 kHz umgeschaltet werden. Here, the speed of the I2C interface are switched 100-400 kHz. Die meisten I2C-Bausteine kommen mit 400kHz zurecht, aus Kompatibilitätsgründen kann auch die langsame Geschwindigkeit genutzt werden. Most I2C devices cope with 400kHz, for reasons of compatibility can also be used to slow speed.5.1.5 SPI-Geschwindigkeit 5.1.5 SPI speedHier kann die Geschwindigkeit der SPI-Schnittstelle zwischen 156 kHz und 5 MHz umgeschaltet werden. Here, the speed of the SPI interface between 156 kHz and 5 MHz are switched.5.1.6 EEPROM Adresse 5.1.6 EEPROM addressHiermit lässt sich die EEPROM-Adresse für das Daten-EEPROM einstellen (XPOKE/XPEEK). This allows to build the EEPROM address for the data EEPROM set (XPOKE / XPEEK).5.1.7 Zeilenende 5.1.7 End of LineMit dieser Taste kann die Art des Zeilenendes für die serielle und parallele Schnittstelle festgelegt werden. This key is the way the end of line for the serial and parallel port are set. Möglich sind LF only (Unix/Linux), CR only (Mac) und CR+LF (Windows). Are only possible LF (Unix / Linux), CR only (Mac) and CR + LF (Windows).5.1.8 Serielles Interface - Typ 5.1.8 Serial Interface - TypeMöchte man zB einen anderen RS232 Pegelwandler als die vorhandene Schaltung verwenden, kann dies hier umgeschaltet werden. Simple ist die original-Schaltung, mit Standard funktionieren RX und TX wie bei jedem anderen UART. If you want to use a different example than the existing RS232 level converter circuit, this can be changed here. Simple is the original circuit, with Standard RX and TX work like any other UART.5.1.9 Serielles Interface - Eingangspin 5.1.9 Serial Interface - input pinDa die ursprüngliche Beschaltung der seriellen Schnittstelle schon den TX1-Pin (PD3) des ATMega644P belegt, gibt es hier die Möglichkeit, den Eingangspin der seriellen System-Schnittstelle zwischen PD1 (notwendig für ATMega644P) und PD3 (Kompatibilitätsmodus) umzuschalten. Since the original wiring of the serial interface already the TX1 pin (PD3) of the ATmega644P is, there is the possibility of the input pin of the serial system interface between PD1 (necessary for ATmega644P) and PD3 (compatibility mode) switch. Die Umschaltung ist für beide Typen möglich, allerdings lässt sich die zweite serielle Schnittstelle des 644P im Kompatibilitätsmodus nicht benutzen. Switching is possible for both types, however, can the second serial port of the 644P not use compatibility mode.5.1.10 Autostart 5.1.10 StartupWenn im Intro-Screen keine Taste gedrückt wird, kann ein Programm automatisch gestartet werden. If the intro-screen button is not pressed, a program can be launched automatically. Der in früheren Versionen vorhandene Autostart-Jumper wird nicht mehr abgefragt und sollte unbedingt offengelassen werden. In earlier versions of existing startup jumper will no longer monitored and should absolutely be left open. Wählbar sind die Programme 1...7 sowie eine Dekativierung der Autostart-Funktion. A choice of the programs 1 .. 7 and a Dekativierung the autostart function.5.1.11 Save (F2) 5.1.11 Save (F2)Mit dieser Taste werden die aktuellen Einstellungen gespeichert und ein Neustart ausgeführt, um das System neu zu initialisieren. This key allows the current settings and restarts to initialize the system.6 Der Fullscreen-Editor 6 The Full Screen Editor![]()
Die Tasten F1 bis F4 haben eine Zweitfunktion, wenn zusätzlich die CTRL oder STRG Taste gedrückt wird. The F1 to F4 keys have a second function, if in addition the CTRL or CTRL key is pressed. Der Text in den 5 Farbfeldern ändert sich entsprechend: The text in the 5 color fields will change accordingly:
Bei den meisten Funktionen erscheint in der Statuszeile eine Sicherheitsabfrage, die entweder mit (Y)es oder (N)o (alternativ ENTER oder ESC) beantwortet werden muss. For most functions, the status bar appears requesting confirmation that either (Y) es or (N) o (or ENTER or ESC) must be answered. 6.1 Spezielle Tastenfunktionen 6.1 Special Key FunctionsDie folgenden Tasten / Tastenkombinationen haben spezielle Funktionen: The following keys / key combinations have special functions:
6.2 Die Suchfunktion 6.2 The search functionAb version 1.31 ist eine Suchfunktion in den Editor integriert. From version 1.31 a search function in the editor is integrated. Damit können kurze Textpassagen (maximal 16 zeichen) im aktuellen Programmtext gesucht werden. This allows short passages of text (up to 16 characters) in the current program text to search for. Die Suche ist case-sensitiv, das heißt es wird auf Groß- und Kleinschreibung geachtet. The search is case sensitive, that is, take into consideration the case-sensitive. Aufgerufen wird die Suche mit der Tastenkombination CTRL+F . Called the search using the key combination Ctrl + F. Die Farbe der Statuszeile ändert sich in blau, neben dem Text FIND: kann der Suchstring eingegeben werden. The color of the status bar changes to blue, next to the text FIND: the search string entered. Ein weißes Rechteck markiert das aktuelle Ende des Suchstrings, Korrekturen können mit der Backspace-Taste vorgenommen werden. A white rectangle marks the current end of the search string, corrections can be made with the backspace key.![]() ![]() 7 Serieller Programmtransfer 7 Serial program transfer7.1 Kommunikationsparameter 7.1 Communication ParametersFür die Funktionen der seriellen Schnittstelle sollte am PC folgendes eingestellt werden For the functions of the serial interface on the PC, the following should be set8 Bit --- 1200/2400 Bps --- no Parity --- 2 Stopp-Bits 8 bits --- 1200/2400 bps no parity --- --- 2 stop bits Für den Programmtransfer aus dem Editor wird normale Textübertragung verwendet, ansonsten das X-Modem Protokoll. For program transfer from the normal text editor transmission is used, otherwise the X-modem protocol. Unter Windows kann man zB das Hyperterminal verwenden (Text senden/aufzeichnen) verwenden, unter Linux minicom oder das Program chiptrans.pl im Examples-Ordner. On Windows, you as the HyperTerminal (text send / record) use minicom on Linux or the Program chiptrans.pl in the examples folder. Das Programmende wird mit einem "#" als erstes Zeichen in der Zeile gekennzeichnet. The program will end with a "#" character as the first character in the line. 7.2 Senden zum AVR (BASIC-Programmtext) 7.2 Send to AVR (BASIC program text)
7.3 Empfangen vom AVR (BASIC-Programmtext) 7.3 Receiving the AVR (BASIC program text)
7.4 Senden zum AVR (Binär-Dateien) 7.4 Send to AVR (binaries)
7.5 Empfangen vom AVR (Binärdateien) 7.5 Receiving the AVR (binaries)
7.6 Nutzung der Screenshot-Funktion 7.6 Use of the screenshot functionFür den Screenshot kann das Programm screenshot.pl im tools-Verzeichnis benutzt werden. In the screenshot, the program can screenshot.pl the tools directory are used. Es benötigt ImageMagick und wird mit "./screenshot.pl dateiname.endung" aufgerufen. It requires ImageMagick and is called with ". / Screenshot.pl dateiname.endung". Danach kann dann der Screenshot vom Controllerboard mittels rechts CTRL+P ausgelöst werden. After that then the screenshot will be triggered by the controller board using the right CTRL + P.Defaultmäßig ist der neue 16-Farb Modus eingestellt, um kompatibel zur 8-Farb Ausgabe zu sein, muß vor dem Datei-namen als Parameter -c8 angegeben werden. By default, the new 16-color mode is set to compatible with the 8-color output must be to be specified before the filename as a parameter c8. Der Screenshot im Videomode 7 ist nur als Bulk-Transfer realisiert, bei dem die Treiber-ID, die Palette und der gesamte Videospeicher übertragen werden. The screenshot in video mode 7 is realized only as a bulk transfer, in which the driver ID, the pallet and the whole video memory to be transferred. Defaultmässig sind bei den Tools 2400 Bps und /dev/ttyS0 als Schnittstelle eingestellt, bei Bedarf muß das Perl-Script entsprechend abgeändert werden. By default the tool at the 2400 Bps and / dev/ttyS0 are set as the port, which has the perl script must be changed accordingly. Eine Alternative dazu ist das Programm konvert.pl . An alternative program is konvert.pl. Dieses wandelt zB mit einem Terminalprogramm eingefangene Screenshots in Bilddateien um. This example converts to a terminal program captured screenshots to image files. Die bedienung ist gleich dem Screenshot-Programm, allerdings wird als erster Parameter die zu wandelnde Datei angegeben. The user is the same as the screenshot program, however, is specified as the first parameter is the file to be converted. 8 Der integrierte Monitor/Debugger 8 The integrated monitor / debuggerChipBasic2 enthält auch einen kleinen Monitor zum Debuggen. ChipBasic2 also includes a small monitor for debugging. Augerufen wird er mit der Taste F12 während des Programmlaufes oder mit einer BREAK -Anweisung im Programm. Call eye he is. Pressing the F12 key while the program is running or with a BREAK instruction in the program8.1 Der Hauptbildschirm 8.1 The main screenDer Monitor kann nur in allen Videomodes aufgerufen werden, aber nur in VMODE 0 (Textmode) und im VMODE 5 (128x64) steht die volle Funktionalität zur Verfügung. The monitor can only be invoked in all video modes, but only in VMODE 0 (text mode) and in VMODE 5 (128x64), the full functionality is available. Dies betrifft die Funtionen Go , Step und View da aufgrund des Speicherbedarfs in diesen Videomodi der Bildspeicher beim Aufruf des Monitors nicht gesichert werden kann. This as the following functions Go, Step View and concerns as a result of memory requirements in these video modes, the image memory when calling the monitor can not be secured.![]() Danach folgt im linken Teil des Bildschirms die Anzeige aller Variablenwerte und rechts daneben der Stack. In the left part of the screen to display all the values of variables and follows right beside the stack. Jede FOR-Schleife und jedes GOSUB erzeugt einen Eintrag auf dem Stack. Each FOR loop and each GOSUB creates an entry on the stack. Unter der Variablenliste wird der Status der parallelen Schnittstelle angezeigt. Under the variable list of the status of the parallel port is displayed. Zuerst die Pin-Nummern (1 entspricht D0), darunter die Datenrichtung (I oder O) und ganz unten der aktuelle Pegel. First, the pin numbers (1 corresponds to D0), including the data direction (I or O) and the bottom of the current level. In der untersten Zeile stehen die möglichen Kommandos, die Farben entsprechen den Tasten ESC und F1...F4 und haben in den Videomodi 0 und 5 folgende Funktionen: In the bottom row are the possible commands, the colors correspond to the ESC and F1 ... F4 and have video modes 0 and 5 in the following functions:
Wenn der Monitor aufgerufen wird, muss der gesamte Bildspeicher gesichert werden. If the monitor is called, the entire image memory can be saved. Allerdings funktioniert das nur in den Videomodi 0 und 5, dies liegt einfach daran dass der Bildspeicher in den anderen Videomodi größer ist und dadurch nicht mehr temporär gesichert werden kann. However, this only works in video modes 0 and 5, this is simply because that the image memory is larger in other video modes and thus can no longer be saved temporarily. Deshalb sind in allen anderen Videomodie die Tasten F1...F3 gesperrt: Therefore, in all other Videomodie the keys F1 ... F3 are blocked:
8.2 Die Array-Ansicht 8.2 The array view![]()
created with latex2web.pl v0.62 © 2006-2011 Joerg Wolfram Created with latex2web.pl v0.62 © 2006-2011 Joerg tungsten |