PROGRAM: OSCILLATOR ADJUSTMENT
HARDWARE: BASIC VERSION - 1 MHZ
          CONNECT 150 OHM SPEAKERS TO PORT 09
FUNCTION: THE PROGRAM GENERATES A SOUND THAT IS EXACTLY
ADJUSTMENT OF THE OSCILLATOR ON THE CPU BOARD EXACTLY
440 HZ (THUS CERTAIN TONE A). WITH THE HELP OF A
SO THE OSCILLATOR OF THE COMPUTER CAN TUNING FORK ACCURATELY
1 MHZ BALANCED (TO ZERO THROAT)

PROGRAM: PORT ADDRESSING
HARDWARE: BASIC VERSION - SINGLE STEP OR 1 HZ
FUNCTION: THE NUMBER H'01' IS LOADED INTO REGISTER Rl AND FOR
PORT 09 TRANSPORTED. THEN THE PROCESSOR WILL STOP.
ALSO TRY OTHER VALUES IN Rl

PROGRAM: ADDITION
HARDWARE: BASIC VERSION - SINGLE STEP OR 1 HZ
FUNCTION: FIRST, THE TRANSFER IS DISABLED SO THAT AT THE
FIRST ADDITION NOT A RANDOM CARRY WITH
IS ADDED. THEN REGISTER R1 IS SET TO 0 AND RESPECTIVELY
1 INCREASED. THE RESPECTIVE REGISTER CONTENT IS DISPLAYED ON PORT 09
ATTENTION! THE PROGRAM WILL RUN FOREVER.
IF YOU WANT TO EXIT, PRESS
RESET AND HOLD

PROGRAM: SUBTRACTION
HARDWARE: BASIC VERSION - SINGLE STEP OR 1 HZ
FUNCTION: PROGRAM SUBTRACTS A VALUE FROM THE CONTENT OF
R1 AND SHOWS THE RESULT ON THE OUTPUT PORT
ALSO TRY OTHER VALUES IN R1
AND IN THE SUBTRACTION COMMAND.

PROGRAM: MULTIPLICATION
HARDWARE: BASIC VERSION - SINGLE STEP, 1 HZ OR 1 MHZ
FUNCTION: THE PROGRAM MULTIPLIES THE TWO VALUES IN
R1 AND R2 BY PUTTING THE CONTENTS OF R1 R2* INTO THE REGISTER
R0 ADDED.
MULTIPLICATOR AND MULTIPLICAND MUST BE CHOSEN SO THAT
THAT THE RESULT IS NOT GREATER THAN FF.

PROGRAM: DIVISION
HARDWARE: BASIC VERSION - SINGLE STEP, 1 HZ OR 1 MHZ
FUNCTION: THE PROGRAM DIVIDES THE VALUE IN R0
THE VALUE IN R2 BY REASONING THE VALUE IN R2 SO MANY TIMES FROM R0
DEDUCT UNTIL R0 IS LESS R2. THE NUMBER OF SUBTRACTION
IS COUNTED IN R1 AND DISPLAYED AS RESULT.
MAXIMUM VALUE OF DIVIDEND AND DIVISOR IS FF.

PROGRAM: TRAFFIC LIGHT 1
HARDWARE: BASIC VERSION - SINGLE STEP OR 1 HZ
FUNCTION: THE PROGRAM SIMULATES A TRAFFIC LIGHT. THE
TOP 3 PORT LEDS REPRESENT THE MAIN STREET LIGHTS
DAR, THE LOWER 3 THE CROSSSTREET LIGHTS
THE PROGRAM LOOKS MORE REALISTIC WHEN CONNECTED TO THE PORT PLUG
RED, YELLOW AND GREEN LED ARE CONNECTED.
IF YOU WANT IT MORE COMFORTABLE, SHOULD PROGRAM
TRY TRAFFIC LIGHT 2.

PROGRAM: FLASHING LIGHT
HARDWARE: BASIC VERSION - 1 MHZ
FUNCTION: IN THIS PROGRAM, ALL LED IN THE PORT FLASH
ADVERTISEMENT. SINCE THE PROGRAM RUNS AT 1 MHZ, THE LED
BLINKING SO FAST THAT THEY ARE CONTINUOUS TO THE LAZY EYE
SHINE. SO THERE IS A DELAY LOOP INTO THE PROGRAM
BUILT IN THAT EXTEND ON AND OFF TIMES.
DELAY LOOP:
IF YOU CHANGE THE VALUE OF R2 AND/OR R3,
THE BLINKING FREQUENCY WILL INCREASE. REMEMBER THE
DELAY ROUTINE 'DELAY' GOOD! SHE ALWAYS WILL
USED ??AGAIN.

PROGRAM: DICE
HARDWARE: BASIC VERSION - 1 MHZ
          SENSE CONNECTOR (PIN 6 OF 7-PIN SOCKET ON CPU)
          CONNECT TO 50 HZ OUTPUT OF POWER BOARD
FUNCTION: THE PROGRAM GENERATES A RANDOM NUMBER BETWEEN 1 AND 6
AND SHOWS THEM ON THE PORT. SO YOU CAN
SIMULATE A DIE
THE RANDOM ROUTINE CAN BE USED WHEN
RANDOM NUMBERS SHOULD BE GENERATED. BY CHANGING THE
OTHER NUMBERS CAN ALSO BE GENERATED IN LOCATION 0010

PROGRAM: METRONOME
HARDWARE: BASIC VERSION - 1 MHZ
FUNCTION: TO THE OUTPUT PORT OF THE PORT BOARD (PORT 09)
MUST ATTACH A 150 OHM SPEAKER TO THE CONNECTION
CONNECTED TO GROUND
BY CHANGING THE MEMORY LOCATION 0011,0013 OR 0015
CAN THE CLOCK FREQUENCY BE CHANGED

PROGRAM: RUN LIGHT
HARDWARE: BASIC VERSION - 1 MHZ
FUNCTION: THIS PROGRAM TRANSFORMS THE COMPUTER
INTO A CHASER. THE 0000 0001 IN REGISTER R1 WILL BE USED AT EVERY
RUN SHIFTED ONE SPACE TO THE LEFT, SO
ON 0000 0010, 0000 0100 ETC. AND THEN DISPLAYED ON THE PORT.
IF YOU CHANGE THE VALUE OF R2 AND/OR R3,
THE RUNNING SPEED WILL BE HIGHER.

PROGRAM: VOLTMETER
HARDWARE: BASIC VERSION + A/D CONVERTER
                        - 1 MHZ
FUNCTION: PROGRAM ASK FOR THE RESPECTIVE VALUE
OF THE A/D CONVERTER AND SHOWS IT
HEXADECIMAL ON THE STARTING PORT ON

PROGRAM: THINKING TIME LIMITERS
HARDWARE: BASIC VERSION - 1 MHZ
FUNCTION: PROGRAM CAN SERVE AS A THINKING TIME LIMITER.
WHEN THE LAST LED GOES OUT, THAT'S THE TIME
EXPIRED
DELAY LOOP CONSISTING OF 3 CIRCLES AND
ACCORDINGLY LONGER DELAY TIMES ALLOWED.
THE THINKING TIME CAN BE INCREASED BY CHANGING R1,R2
OR R3 MAY BE EXTENDED OR SHORTENED.

PROGRAM: TRAFFIC LIGHT 2
HARDWARE: BASIC VERSION - 1 MHZ
FUNCTION: THE PROGRAM SIMULATES A TRAFFIC LIGHT. THE
TOP 3 PORT LEDS REPRESENT THE MAIN STREET LIGHTS
DAR, THE LOWER 3 THE CROSSSTREET LIGHTS
DELAY LOOP: IN THIS LOOP, THE REGISTER
R1 SET BEFORE JUMPING THE LOOP SO THAT FROM THE MAIN PROGRAM
DETERMINED FROM THE LENGTH OF THE DELAY LOOP
CAN BE.
THE PROGRAM LOOKS MORE REALISTIC WHEN CONNECTED TO THE PORT PLUG
RED, YELLOW AND GREEN LED ARE CONNECTED.
THE VALUES FOR THE TWO GREEN PHASES AND THE
YELLOW PHASE CAN BE ADJUSTED DIFFERENTLY.

PROGRAM: VU METER
HARDWARE: BASIC VERSION + A/D CONVERTER
                        - 1 MHZ
FUNCTION: THIS WILL BE AT THE INPUT OF THE A/D CONVERTER
RECTIFIED LOUDSPEAKER SIGNAL OF A SUITCASE
RADIOS OR TAPE RECORDERS CONNECTED. THE
VOLUME BECOMES A BAR ON THE PORT
CHANGING HEIGHT IMPLEMENTED.

PROGRAM: MARQUEE
HARDWARE: BASIC VERSION + HEX KEYBOARD/DISPLAY
                        - 1 MHZ
FUNCTION: THE PROGRAM LEAVES A MEMORY LOCATION
0A00 ENTERED TEXT AS MARQUEE
THE AD RUN. WITH THE DEFAULT TEXT
THE COHPUTER IMAGINES ITSELF
ENTER FROM LOCATION 0A00 OWN
TEXT ON. THE LOCATION AFTER THE
LAST CHARACTER OF TEXT MUST BE 'FF'! THE
MARKER WILL SPEED UP OR SLOW DOWN
IF HAN MODIFIES LOCATION 092E OR 0930
NOW THE TEXT AREA FOLLOWS

PROGRAM: DICE GAME
HARDWARE: BASIC VERSION + HEX KEYBOARD/DISPLAY
                        - 1 MHZ
          SENSE CONNECTOR (PIN 6 OF THE 7-PIN SOCKET ON THE CPU)
          CONNECT TO 50 HZ OUTPUT OF POWER BOARD
FUNCTION: THE PROGRAM GENERATES THREE RANDOM NUMBERS BETWEEN 1 AND 6
AND SHOWS THEM ON THE 7 SEGM.DISPLAY. YOU CAN WITH IT
SO SIMULATE A DICE GAME WITH 3 DICE
THE RANDOM ROUTINE CAN BE USE IF
RANDOM NUMBERS SHOULD BE GENERATED. BY CHANGING THE
VALUE IN THE COMPARE COMMAND OF THE RANDOM ROUTINE
ALSO GENERATING OTHER NUMBERS

PROGRAM: REACTION TEST
HARDWARE: BASIC VERSION + HEX KEYBOARD/DISPLAY
                        - 1 MHZ
THE SENSE INPUT (PIN 6 OF THE RECORDER SOCKET) IS TO THE
CONNECT 50 HZ OUTPUT OF POWER SUPPLY BOARD
FUNCTION: THE PROGRAM TESTS RESPONSE. WHEN A
NUMBER BETWEEN 0 AND F LIGHTS UP, MUST ASAP
THE CORRESPONDING KEY MUST BE PRESSED. THE PROGRAM
DETECTS THE SUCCESSFUL ATTEMPTS AND THE
ERROR AND SHOWS THE RESULT
THE DIFFICULTY LEVEL CAN BE SET BY THE VALUE IN 0901
TO BE DISCONTINUED.

PROGRAM: STOPWATCH
HARDWARE: BASIC VERSION + HEX KEYBOARD/DISPLAY
                        - 1 MHZ
THE SENSE INPUT (PIN 6 OF THE RECORDER SOCKET) IS WITH THE 50 HZ
CONNECT THE OUTPUT OF THE POWER SUPPLY BOARD
FUNCTION: THE PROGRAM WORKS AS A STOPWATCH WITH A RESOLUTION
FROM 1/100 SEC. THE HIGH/LOW AND LOW/HIGH TRANSITIONS OF THE NETWORK
FREQUENCY ARE USED AS THE TIME CYCLE. RESULTING AT 50 HZ
SO EACH 50 HIGH-LOW AND LOW-HIGH TRANSITIONS= 100 CLOCK-
IMPULSE.
The stopwatch is started by pressing the "0" key and with
pressing button "1" stopped. Multiple stopping times are added. The
clock is set back to 00.00.00 with RST and RUN.

PROGRAM: DIGITAL CLOCK
HARDWARE: BASIC VERSION + HEX KEYBOARD/DISPLAY
                        - 1 MHZ
THE SENSE INPUT (PIN 6 OF THE RECORDER SOCKET) IS WITH
CONNECT TO THE 50 HZ OUTPUT OF THE POWER SUPPLY BOARD
FUNCTION: THE PROGRAM WORKS AS A DIGITAL CLOCK
HOURS, MINUTES AND SECONDS DISPLAY. THE
50 HZ OUTPUT OF THE POWER SUPPLY BOARD.
IF THE PROGRAM SHOULD BE OPERATED AS A MODEL CLOCK WITH A FASTER CYCLE
SO MEMORY LOCATION 098A MUST DECREASE FROM 64.
Setting the clock: Hours with the "0" key.
                   Minutes with the "1" key.
Start:             Button "2" at full minute (seconds display 00).

PROGRAM: HEX-DEC-HEX CONVERSION
HARDWARE: BASIC VERSION + HEX KEYBOARD/DISPLAY
                        - 1 MHZ
FUNCTION: THE PROGRAM CONVERTS AN ENTERED 4-DIGIT
BINARY NUMBER (2 BYTE LONG) TO A 5 DIGIT DECIMAL WITH
SIGN AND REVERSE A 5-DIGIT DECIMAL WITH
SIGN INTO A 4-DIGIT BINARY NUMBER (2 BYTE LONG).
NEGATIVE BINARY NUMBERS ARE REPRESENTED AS TWO'S COMPLEMENTS
SHOWN.
CAUTION!! THIS PROGRAM WAS INTENTIONALLY WHATEVER FROM ADDRESS
0A00 WRITTEN. IT CAN BE USED WITH THE PROGRAM
HEX CALCULATIONS ARE LOADED. BEFORE STARTING THE PROGRAM, THE
PROGRAM COUNTER PC MUST BE SET TO 0A00. THE PROGRAM
IS THEN STARTED WITH THE 'GOTO' KEY. THAT AT THE SAME TIME
LOADED PROGRAM HEX-CALCULATING WILL BE USED WITH 'RUN'
STARTED.
IF THE PROGRAM IS USED WITHOUT HEX CALCULATIONS, IT IS RECOMMENDED
AT ADDRESS 0900 USE THE COMMAND 1F 0A 00
(BCTA,UN 0AD0 = UNCONDITIONAL JUMP TO 0A00).
THE PROGRAM CAN THEN RUN AS USUAL WITH THE RUN BUTTON
TO BE STARTED.
After loading, set the program counter to address $0A00.
Thereafter start the program with GOTO:
1. Dex-Hex-conversion of the number !123:
Key     Display     Remarks
GOTO    HALLO.      The processor is waiting for an input; he doesn't jump in
                    routine CDIS, therefore no change in display;
D       blank       Decision for dec-hex conversion;
+(RUN)  P           a positive number is to be entered;
 or
-(GOTO) -           a negative number is to be entered.
0       P 0.        The (whole) numbers must be 5 digits, ie. possibly with
0       P 0.0       leading zeros can be entered. The points
1       P 0.0.1     appear as "flags" as with data or address
2       P 0.0.1.2   input.
3       blank, then Immediately after releasing the last key, appears the
                    Result
        H 007B      when entering +123, or
        H FF85      when entering -123.
                    The H stands as a subscript for HEX number.
To convert the next decimal number enter "D - RUN/GOTO - 5-digit number".
2. Hex-Dec conversion of the number $007B:
GOTO    HALLO.      so.
B       H           Decision for the hex-dec conversion;
0       H 0.        no sign entry; Numbers from 0000 to 7FFF
0       H 0.0       are considered positive numbers, and numbers from 8000 to
7       H 0.0.7     FFFF are represented as negative hex numbers in two's complement
B       empty, then interpreted. Immediately after releasing the
        P 00123     last button the result appears.

PROGRAM: HEX CALCULATING
HARDWARE: BASIC VERSION + HEX KEYBOARD/DISPLAY
                        - 1 MHZ
FUNCTION: THE PROGRAM CARRIES OUT ADDITION,SUBTRACTION,
MULTIPLICATION AND DIVISION WITH HEX NUMBERS FROM AND
SHOWS THE RESULT ON THE DISPLAY.
AFTER STARTING WITH 'RUN', H SHOWS ON THE DISPLAY.
THEN THE FIRST 4-DIGIT HEX NUMBER WILL BE ENTERED.
THEN ENTER THE OPERATOR:
+ = RUN BUTTON
- = KEY GOTO
* = KEY PC
/ = KEY NEXT
THEN ENTER THE SECOND 4-DIGIT HEX NUMBER. IMMEDIATE
CASH AFTER THE RESULT APPEARS ON THE DISPLAY.
AFTER ANY FURTHER PRESS OF ANY KEY THIS BEGINS
PROGRAM NEW.
HIGHEST PROCESSABLE NUMBERS:
ADDITION/SUBTRACTION: H7FFF(POSITIVE) HFFFF(NEGATIVE)
MULTIPLICATION      : H007F(POSITIVE) H007F(NEGATIVE)
THE FIRST TWO DIGITS ARE IGNORED
DIVISION            : DIVIDEND H7FFF (POSITIVE)
                               HFFFF (NEGATIVE)
                      DIVISOR  H007F (NEG.DIVISOR WILL POS.)

PROGRAM: DEC-CALCULATING
HARDWARE: BASIC VERSION + HEX KEYBOARD/DISPLAY
                        - 1 MHZ
FUNCTION: THE PROGRAM CARRIES OUT ADDITION,SUBTRACTION,
MULTIPLICATION AND DIVISION WITH DECIMALS FROM AND
SHOWS THE RESULT ON THE DISPLAY.
AFTER START HIT 'RUN' ENTER + (KEY RUN) OR
- (KEY GOTO), THEN 5 DIGIT DECIMAL.
THEN ENTER THE OPERATOR:
+ = RUN BUTTON
- = KEY GOTO
* = KEY PC
/ = KEY NEXT
THEN ENTER THE SECOND DECIMAL AS ABOVE. IMMEDIATE
THEN THE RESULT WILL APPEAR ON THE DISPLAY. AFTER
PRESS ANY KEY AND THE PROGRAM STARTS AGAIN.
HIGHEST PROCESSABLE NUMBERS:
ADDITION/SUBTRACTION: +32767 -32768
MULTIPLICATION      : +-127
DIVISION            : DIVIDEND +32767 -32768
                      DIVISOR  127

PROGRAM: LOTTO NUMBERS
HARDWARE: BASIC VERSION + HEX KEYBOARD/DISPLAY
                        - 1 MHZ
THE SENSE INPUT (PIN 6 OF THE RECORDER SOCKET) IS TO THE
CONNECT 50 HZ OUTPUT OF POWER SUPPLY BOARD
FUNCTION: THE PROGRAM DETERMINES 6 RANDOM
NUMBERS BETWEEN 1 AND 49, AVOIDING DUPLICATE NUMBERS
THE PROGRAM CAN BE ADAPTED TO OTHER NUMBERING SYSTEMS.
IF THE FINAL DIGIT IN THE COMPARE INSTRUCTION OF THE RANDOM ROUTINE
WILL BE CHANGED.

PROGRAM: MORSEN
HARDWARE: BASIC VERSION + HEX KEYBOARD/DISPLAY
                        - 1 MHZ
SENSE CONNECTOR (PIN 6 OF 7-PIN SOCKET ON CPU)
CONNECT TO 50 HZ OUTPUT OF POWER SUPPLY BOARD
150 OHM SPEAKER TO ONE PORT CONNECTION
FUNCTION: THE PROGRAM GENERATES MORSE CHARACTERS IN FIVE
GROUPS AND GIVES THEM AS TONES OVER TO THE PORT
09 CONNECTED SPEAKERS AGAIN. THE PROGRAM
STARTS WITH THE CHARACTER GROUP 'KA' AS THE INITIAL CHARACTER.
THE MORSE CHARACTERS ARE FILED IN THE DATA PART. THE FIRST
BYTE INDICATES THE LENGTH (NUMBER OF ELEMENTS) OF THE MORSE CODE
ON, THE SECOND THE ELEMENT SEQUENCE. WHERE A DASH MATCHES
DASH A ONE, A DOT MATCHES A ZERO.
BY ENTERING A VALUE IN LOCATION 08FE CAN
THE MORSE SPEED (PAUSE LENGTH) AND THEREFORE THE
SCHOOL LEVEL MUST BE SET. SHOULD THE
CHARACTER SPEED CAN BE CHANGED, SO ARE THE
COUNT REGISTERS IN THE KLPAU, TON AND DELAY ROUTINES
TO CHANGE. SHOULD NOT THE ENTIRE CHARACTER SET
TO BE USED SO IS IN THE RANDOM ROUTINE THE
REPLACE NUMBER 54 WITH A SMALLER EVEN NUMBER.

PROGRAM: VOLTMETER 2
HARDWARE: BASIC VERSION + HEX KEYBOARD/DISPLAY
                        + A/D CONVERTER
                        - 1 MHZ
FUNCTION: PROGRAM ASK FOR THE RESPECTIVE VALUE
OF THE A/D CONVERTER, TRANSLATES IT
FROM HEXADECIMAL TO DECIMAL AND
SHOWS IT ON THE 7-SEGMENT DISPLAY.
THE PROGRAM TRANSFORMS THE COMPUTER WITHOUT
FURTHER ADDITION INTO A DIGITAL VOLTMETER WITH
A MEASURING RANGE BETWEEN 0.255 AND 2.55 VOLTS,
DEPENDING ON THE SWITCH POSITION ON THE A/D CONVERTER PLAT.
THE DECIMAL POINT CAN BE SET IN A DIFFERENT PLACE
IF THE MEMORY POSITION CHANGED IN COMMAND 090D AND 0912
BECOMES.
