EXAMPLEs

C COMPILER

As following you can find a wide range of demo programs. The programs have been realized to be used on a well-known hardware, as the TIO-16 or the DEB-01, in order to avoid any doubts about the interpretation of the results.

For who hasn't got the TIO-16 4 (PDF Manual), it is possible to consult the manual available on the Web site.

The demo programs are well documented in order to allow a fast approach for anybody. In addition to that, being the same demoes written in different languages, it is possible to get an efficient comparision both for Quality and Speed terms.

B A S I C

P A S C A L

C Compiler

ASSEMBLER


SHORT PROGRAM DESCRIPTION

S1DEB1

This program allows to display on the developping system monitor and on the A port a HEX number between 0 and F selected by the keyboard. On the A port the number will appear in binary value.
In order to make an easier visualization of the status lines, it is necessary to get a 20 pins flat cable for connecting GPC(r)F2 CN2 connector to TIO 16 CN1 connector, or DEB 01 CN15 connector.


S1DEB2

This program allows to display on the developping system monitor the A and C ports status.
In order to make an easier visualization of the status lines, it is necessary to get a 20 pins flat cable for connecting GPC(r)F2 CN2 connector to TIO 16 CN1 connector, or DEB 01 CN15 connector.


S1DEB3

This program allows to display on the A port, the C port status.
In order to make an easier visualization of the status lines, it is necessary to get a 20 pins flat cable for connecting GPC(r)F2 CN2 connector to TIO 16 CN1 connector, or DEB 01 CN15 connector.


S1DEB4

This program allows to display on the A port the dip switch status if any.
In order to make an easier visualization of the status lines, it is necessary to get a 20 pins flat cable for connecting GPC(r)F2 CN2 connector to TIO 16 CN1 connector, or DEB 01 CN15 connector.


S1DEB5

This program allows to display on A port, the C port status if "Switch 1" of the dip switch is on "ON" position and his opposite, if "Switch 1" is on "OFF" position.
In order to make an easier visualization of the status lines, it is necessary to get a 20 pins flat cable for connecting GPC(r)F2 CN2 connector to TIO 16 CN1 connector, or DEB 01 CN15 connector.


S1DEB6

This program allows to display when the LED is on.
In order to make an easier visualization of the status lines, it is necessary to get a 20 pins flat cable for connecting GPC(r)F2 CN2 connector to TIO 16 CN1 connector, or DEB 01 CN15 connector.


S1DEB7

This program allows to display the two way directions of the LED in "ON" status according to the position of "Switch 1" of the dip-switch.
In order to make an easier visualization of the status lines, it is necessary to get a 20 pins flat cable for connecting GPC(r)F2 CN2 connector to TIO 16 CN1 connector, or DEB 01 CN15 connector.


S1DEB8

This program allows to display an incremental counter on ports.
In order to make an easier visualization of the status lines, it is necessary to get a 20 pins flat cable for connecting GPC(r)F2 CN2 connector to TIO 16 CN1 connector, or DEB 01 CN15 connector.


S1DEB9

This program allows to display the LED sliding from right to left and one from left to right.
In order to make an easier visualization of the status lines, it is necessary to get a 20 pins flat cable for connecting GPC(r)F2 CN2 connector to TIO 16 CN1 connector, or DEB 01 CN15 connector.


DEMO_INT

Some 51 family cards use this program, that are : GPC(r) F2, GPC(r) 51, GPC(r) 323, GPC(r) 324, GPC(r) 451, GPC(r) 535, GPC(r) 552, GPC(r)553, GPC(r) 554, ecc...
The demo program for managing the interrupts of the serial line is available. The transmission is in interrupt mode by re-directing the PRINT output, while the receiver saves the chars in a circular buffer.


DEMO_PPI

This program allows to manage up to 24 TTL digital lines of the peripheric PPI 82C55, at the same time there is a sound signal during the output.
In order to make an easier visualization of the status lines, it is necessary to get a 20 pins flat cable for connecting GPC(r)F2 CN2 connector to TIO 16 CN1 connector, or DEB 01 CN15 connector.


EXAMPLEs

µC/51

TIO-16 and DEB-01


GPC® F2

S1DEB1, S1DEB2, S1DEB3, S1DEB4, S1DEB5, S1DEB6, S1DEB7, S1DEB8, S1DEB9, DEMO_INT, DEMO_PPI.


GPC® 323

S1DEB1, S1DEB2, S1DEB3, S1DEB4, S1DEB5, S1DEB6, S1DEB7, S1DEB8, S1DEB9, DEMO_PPI.


GPC® 324 + ETI 324

S1DEB1, S1DEB2, S1DEB3, S1DEB4, S1DEB5, S1DEB6, S1DEB7, S1DEB8, S1DEB9, DEMO_PPI.


GPC® 550

S1DEB1, S1DEB2, S1DEB3, S1DEB4, S1DEB5, S1DEB6, S1DEB7, S1DEB8, S1DEB9, DEMO_INT, DEMO_PPI.


GPC® 552

S1DEB1, S1DEB2, S1DEB3, S1DEB4, S1DEB5, S1DEB6, S1DEB7, S1DEB8, S1DEB9, DEMO_INT, DEMO_PPI.


GPC® 553

S1DEB1, S1DEB2, S1DEB3, S1DEB4, S1DEB5, S1DEB6, S1DEB7, S1DEB8, S1DEB9, DEMO_INT, DEMO_PPI.


GPC® 554

S1DEB1, S1DEB2, S1DEB3, S1DEB4, S1DEB5, S1DEB6, S1DEB7, S1DEB8, S1DEB9, DEMO_INT, DEMO_PPI.


EXAMPLEs

HiTech-C

TIO-16 and DEB-01


GPC® F2

S1DEB1, S1DEB2, S1DEB3, S1DEB4, S1DEB5, S1DEB6, S1DEB7, S1DEB8, S1DEB9, DEMO_INT, DEMO_PPI.


GPC® 323

S1DEB1, S1DEB2, S1DEB3, S1DEB4, S1DEB5, S1DEB6, S1DEB7, S1DEB8, S1DEB9, DEMO_INT, DEMO_PPI.


GPC® 324 + ETI 324

S1DEB1, S1DEB2, S1DEB3, S1DEB4, S1DEB5, S1DEB6, S1DEB7, S1DEB8, S1DEB9, DEMO_INT, DEMO_PPI.


GPC® 550

S1DEB1, S1DEB2, S1DEB3, S1DEB4, S1DEB5, S1DEB6, S1DEB7, S1DEB8, S1DEB9, DEMO_INT, DEMO_PPI.


GPC® 552

S1DEB1, S1DEB2, S1DEB3, S1DEB4, S1DEB5, S1DEB6, S1DEB7, S1DEB8, S1DEB9, DEMO_INT, DEMO_PPI.


GPC® 553

S1DEB1, S1DEB2, S1DEB3, S1DEB4, S1DEB5, S1DEB6, S1DEB7, S1DEB8, S1DEB9, DEMO_INT, DEMO_PPI.


GPC® 554

S1DEB1, S1DEB2, S1DEB3, S1DEB4, S1DEB5, S1DEB6, S1DEB7, S1DEB8, S1DEB9, DEMO_INT, DEMO_PPI.


GPC® 15A

S1DEB1, S1DEB2, S1DEB3, S1DEB4, S1DEB5, S1DEB6, S1DEB7, S1DEB8, S1DEB9, DEMO_INT, DEMO_PPI.


GPC® 15R

S1DEB1, S1DEB2, S1DEB3, S1DEB4, S1DEB5, S1DEB6, S1DEB7, S1DEB8, S1DEB9, DEMO_INT, DEMO_PPI.


GPC® 150

S1DEB1, S1DEB2, S1DEB3, S1DEB4, S1DEB5, S1DEB6, S1DEB7, S1DEB8, S1DEB9, DEMO_INT, DEMO_PPI.


GPC® 153

S1DEB1, S1DEB2, S1DEB3, S1DEB4, S1DEB5, S1DEB6, S1DEB7, S1DEB8, S1DEB9, DEMO_INT, DEMO_PPI.


GPC® 154

S1DEB1, S1DEB2, S1DEB3, S1DEB4, S1DEB5, S1DEB6, S1DEB7, S1DEB8, S1DEB9, DEMO_INT, DEMO_PPI.


GPC® 183

S1DEB1, S1DEB2, S1DEB3, S1DEB4, S1DEB5, S1DEB6, S1DEB7, S1DEB8, S1DEB9, DEMO_INT, DEMO_PPI.


EXAMPLEs

Borland-C

TIO-16 and DEB-01


GPC® 188D - GPC® 188F

S1DEB1, S1DEB2, S1DEB3, S1DEB4, S1DEB5, S1DEB6, S1DEB7, S1DEB8, S1DEB9, DEMO_INT, DEMO_PPI, S2DEB6, S2DEB7.


GPC® 883

S1DEB1, S1DEB2, S1DEB3, S1DEB4, S1DEB5, S1DEB6, S1DEB7, S1DEB8, S1DEB9, DEMO_INT, DEMO_PPI.


GPC® 884

S1DEB1, S1DEB2, S1DEB3, S1DEB4, S1DEB5, S1DEB6, S1DEB7, S1DEB8, S1DEB9, DEMO_INT, DEMO_PPI.


Page up-dated at November 18, 2004


homeHome Cards Categorical Index Tables I/O