Академический Документы
Профессиональный Документы
Культура Документы
Numeric Keypad
for the VIC-20 ™
and C-64 ™ Computers
cordco, inc.
313 Mathewson • Wichita, Ks 67214
VIC-/'O and C-64 are registered Trademarks of Commodore, Internatiollal
CK I / IB ( 11 -83)
CARDKEY/l INSTRUCTION MANUAL CARDKEY/l INSTRUCTION MANUAL
CARDCO, Inc. (316) 267-6525 CARDCO, Inc. (316) 267-6525
PAGE 1
CARDKEY/l INSTRUCTION MANUAL CARDKEY/l INSTRUCTION MANUAL
CARDCO, Inc. (316) 267-6525 CARDCO, Inc. (316) 267-6525
WHAT'S IN THE BOX? After you define or load the set of key
****************** values, you tell KBASIC to stop. It loads the
machine-language program into memory, then
removes itself from memory. You can then load
The CK/l Keypad comes with a cassette and run another program which uses input from
containing four programs. Two are for the the keypad, or you can enter a program by
VIC-20(tm) and two are for the Commodore using the redefined keys. For details on
64(tm). Those for the VIC are stored on one using KBASIC, go to the "USING KBASIC"
side and are named: section of this manual.
PAGE 2 PAGE 3
CARDKEY/l INSTRUCTION MANUAL CARDKEY/l INSTRUCTION MANUAL
CARDCO, Inc. (316) 267-6525 CARDCO, Inc. (316) 267-6525
Although the KBASIC program will allow If you are going to use the CK/IA Keypad
the CARDKEY71 to work with most programs, to Adapter, follow the installation instructions
use the keypad with some programs (mostly that come with it. Otherwise, perform the
those on cartridges) you may have to use the following steps. You'll need to do this each
CARD CO CK/IA Keypad Adapter. This adapter time you want to use the keypad after the
(available from CARDCO, Inc. customer computer has been turned off and back on or
service) plugs directly into the computer's after you reset the computer.
keyboard lines, so that the keypad looks like
the keyboard to the computer. One thing to If you have any problems with the keypad
remember is that when the adapter is used, or programs, please contact our Customer
the key definitions are those printed on the Service department at (316) 267-6525
keys (0,l,2,+,-,etc)i the keys can not be Monday-Friday, 1:00pm-5:00pm central standard
redefined as BASIC statements or other time.
symbols. The adapter, therefore, should be
used only when the keypad is used for 1. Unplug any joysticks or game paddles if
entering numbers. you are using any, then plug the keypad into
the joystick port. {It's the one on the right
No special tools or equipment are required end of the computer, labeled "Control Port"on
to install the adapter. It is available from the VIC, or "CONTROL PORT X" on
CARDCO, Inc. To order the adapter, use the Commodore/ 64. ;;l."
order form in the back of this manual. (The
computer's cover must be removed to install 2. Load the cassette enclosed with the
the adapter; this may void your Commodore keypad. One side contains programs for the
factory warranty.) VIC-20, and the other side contains programs
for the Commodore 64. Make sure the side
containing your computer's programs is facing
up. Rewind the tape if necessary.
3. Enter LOAD to load the KBASIC program.
This program lets you set the key values and
accepts keypad input.
PAGE 4 PAGE 5
CARDKEY/l INSTRUCTION MANUAL CARDKEY/l INSTRUCTION MANUAL
CARnCO, Inc. (316) 267-6525 CARDCO, Inc. (316) 267-6525
PAGE 6 PAGE 7
CARDKEY/1 INSTRUCTION MANUAL CARDKEY/1 INSTRUCTION MANUAL
CARDCO, Inc. (316) 267-6525 CARDCO, Inc. (316) 267-6525
To run the KBASIC program, perform the TYPE: 1506 OPEN2,1,0,N$ <RETURN>
following steps: (An example of running
KBASIC is shown in the Appendix.) TYPE: 1508 <RETURN>
-.............
1. Plug in the keypad, then load the cassette TYPE: 4020 OPEN2,1,1,N$ <RETURN>
containing the KBASIC program. Make sure the
side containing your computer's version is TYPE: SAVE "KBASIC II <RETURN>
facing up. Rewind the tape if necessary.
You may want to store the CARD/CALC program
2. Enter LOAD to load the program. next on this tape so leave the rest of this
tape blank if you do. Instructions for saving
3. You should only have to complete this step CARD/CALC are contained in that section of
the first timeyou use KBASIC. This step will this manual.
create a permenant backup copy of the program
on disk or tape. 4. Enter RUN to start the program.
If you are using a disk system and you 5. When the program is started, it displays a
want to store this program on disk you should map of the keypad and three other lines.
do so now. Place a disk with at least 20 Because that screen rolls up after a few
block of free space in your disk drive then: seconds, we are hereby presenting that screen
in Figure 1. The SYSnnnn line is the
TYPE: SAVE"KBASIC",8 <RETURN> instruction to enter to restart the
machine~language program after you press
From this point foreward, you may recall the \ RUN/STOP and RESTORE. Write down that
program from the disk. 1 instruction for possible later use.
t
PAGE 8 PAGE 9
CARDKEY/l INSTRUCTION MANUAL
CARDCO, Inc. (316) 267-6525 CARDKEY/l INSTRUCTION MANUAL
CARDCO, Inc. (316) 267-6525
PAGE 10 PAGE 11
CARDKEY/1 INSTRUCTION MANUAL
CARDCO, Inc. (316) 267-6525
CARDKEY/1 INSTRUCTION MANUAL
CARDCO, Inc. (316) 267-6525
PAGE 13
PAGE 12
CARDKEY/1 INSTRUCTION MANUAL CARDKEY/1 INSTRUCTION MANUAL
CARDCO, Inc. (316) 267-6525 CARDCO, Inc. (316) 267-6525
USING CARD/CALC
***************
11. You can now use the keypad to enter The CARD/CALC program is used as a
whatever numbers, signs, program statements, four-function calculator with memory. The
or symbols you defined. You can also load CK/l Keypad is used with CARD/CALC just like
another program from disk or tape, and then a 10-key calculator. It has some nice
use the keypad for inputting data to that features not found on calculators, however,
prog,ram. as follows.
DO NOT use any BASIC POKE statements to * You can print both the numbers you enter
change the contents of memory from the top of and the running total.
BASIC to 304 bytes below the top. That is
where the machine-language program is * You can use either fixed-point or
stored. floating-point numbers. Fixed-point numbers
in this program have two decimal places; they
12. After you1ve finished using the keypad, are especially useful for calculations
you can either leave the machine-language concerning money. Floating-point numbers have
program in memory or remove it. To remove it, up to nine decimal places; they are
turn the computer off and back on. especially useful for scientific and
engineering calculations.
PAGE 14 PAGE 15
CARDKEY/I INSTRUCTION MANUAL CARDKEY/I INSTRUCTION MANUAL
CARDCO, Inc. (3I6) 267-6525 CARDCO, Inc. (3I6) 267-6525
,
(For details on ordering and using the You'll also see FL in the left corner; that
adapter, see the "KEYPAD ADAPTER" section of
this manual.)
t means that the current number mode is
floating-point. The rest of the screen is
dark, except for a "less-than" character near
To run CARD/CALC using the keypad for the center of the screen. That character is
input, perform the following steps. (An the point where new numbers are entered, and
example of using CARD/CALC is shown in the has no other significance.
Appendix.)
8. The program is ready to use. Start
1. Unplug any joystick or game paddles being entering numbers and signs just like you
used, then plug the keypad into the joystick would on a calculator. (Enter the number
port. (It is the port on the right end of the first, then enter the sign of the calculation
computer, labeled "Control Port".) to be performed on the next number entered.
(For example, to add two numbers, you would
2. Load the cassette containing the KBASIC enter the first number, then the plus sign,
and CARD/CALC programs. One side of the then the second number, then the ENTER key.)
cassette contains the programs for the
VIC-20, and the other contains programs for The entered numbers are displayed in the
the Commodore 64. Be sure the side containing dark part of the screen, while the running
your computer's programs is facing up. Enter total is displayed on a light line below the
LOAD to load the KBASIC program. entered number.
3. When READY is displayed, enter RUN to There are a few differences from a regular
start the KBASIC program. calculator, as follows:
4. When the KBASIC program is started, enter * For mUltiplication, the "*" character is
E to use the initially displayed key values. displayed and printed rather than the usual
KBASIC loads a machine-language program into multiplication sign.
memory and then removes itself from memory. * For division, the "/" character is
displayed and printed rather than the usual
5. Enter LOAD to load the CARD/CALC program division sign.
into memory. * The calculation sign is displayed and
printed on the right side of the numbers.
6. When READY is displayed, enter RUN to (The minus sign of negative numbers is shown
start the CARD/CALC program. on the left of such numbers.)
PAGE 16 PAGE 17
CARDKEY/l INSTRUCTION MANUAL CARDKEY/l INSTRUCTION MANUAL
CARDCO, Inc. (316) 267-6525 CARDCO, Inc. (316) 267-6525
OTHER FUNCTIONS
*************** PRINTING ENTRIES AND TOTALS
***************************
There are some functions available other
than those on the keypad. Such additional You can print the numbers you enter and
functions include change sign, clear-all, the running total. To turn on the print
memory operations, and others. The keys used function, make the printer ready, then press
for these other functions are shown in Figure P. When the print function is on, a P is
2. displayed on the third line of the screen.
The numbers are printed in this format:
----------------------------------
Function Key number / calculation / total
M+ (add to memory) fl To turn off the print function, just press P
M- (subtract from memory f3 again. The P key is a toggle switch that will
MR (recall from memory) fS turn the printer on if it is off or off if it
MC (clear memory) f6 is on.
change sign key (+/-) f7
FIXED/FLOATING POINT CALCUTATIONS
equals or total ENTER or *********************************
RETURN
clear entry (last digit) DEL The F key is the toggle that shifts
between the FIXED and FLOATING POINT modes of
clear all (but not memory) HOME operation. When you are in the FIXED POINT
mode the word "FIXED" will be displayed on
fixed-point/floating-point F the third line of your display. All
calculations in the FIXED POINT mode are
start/stop printing P rounded off to two decimal places.
end the program STOP and In the FLOATING POINT mode the word
RESTORE "FLOAT" is displayed on the third line of the
---------------------------------- screen. In this mode all calculations are
carried out to the full capability of the
Figure 2. Keys for program functions system's 8 significant digits.
PAGE 18 PAGE 19
CARDKEY/l INSTRUCTION MANUAL CARDKEY/l INSTRUCTION MANUAL
CARDCO, Inc. (316) 267-6525 CARDCO, Inc. (316) 267-6525
You can use the memory function to store This section of the manual contains an
numbers for use in later calculations or to example of running the KBASIC program to
store intermediate totals. The brown function define the keypad keys as BASIC statements,
keys on the right side of the computer and of using the keypad to enter a BASIC
keyboard are used for memory functions as program. A template you can use for
shown in Figure 2. The contents of the memory key-value reference is also included for your
are lost when the CARD/CALC program is convenience. At the end of this section is
stopped. When you put a number in memory, the an order form for the CK/IA Keypad Adapter.
memory contents are displayed on the third
line of the screen. This is rather handy
because you don't have to remember what EXAMPLE: RUNNING KBASIC
number(s) you have in memory. ***********************
PAGE 20 PAGE 21
CARDKEY/l INSTRUCTION MANUAL CARDKEY/l INSTRUCTION MANUAL
CARDCO, Inc. (316) 267-6525 CARDCO, Inc. (316) 267-6525
Now that you have the basic idea (pun * Press the "+" key (key 10) but not the
intended!), define some other key values as ENTER or RETURN keys. PRINT is displayed
follows. next to the line number. You have just
entered the first BASIC keyword.
* Enter 10 to define key 10's value. When
the current value and "?" are displayed on * Enter a double-quotation mark (") from the
the bottom line, enter PRINT. computer keyboard.
* Next, enter 11 to define key II's value. * Press the division-sign keypad key (key
When the "?" on the bottom line is displayed, 12). The reverse-heart sign is displayed
enter the word HELLO. next to the PRINT statement.
* Enter 12 to define key 12. When the "?" is * Enter a double-quotation mark (") from the
displayed, enter a pounds sign (next to the computer keyboard, then press ENTER or
HOME key). The pounds sign is used as a CLR RETURN. You have just entered the first
character. complete BASIC program line! This line causes
the screen to be cleared.
* Now, enter 17 to return to the main menu.
(Don't worry about saving the values in a * Press the 2 and 0 keypad keys to enter the
file. ) next line number.
PAGE 22 PAGE 23
CARDKEY/l INSTRUCTION MANUAL CARDKEY/l INSTRUCTION MANUAL
CARDCO, Inc. (316) 267-6525 CARDCO, Inc. (316) 267-6525
PAGE 24 PAGE 25
CARDKEY/1 INSTRUCTION MANUAL CARDKEY/1 - INSTRUCTION MANUAL
CARDCO, Inc. (316) 267-6525 CARDCO, Inc. (316) 267-6525
.
I KEYPAD KEY-VALUE GUIDE
**********************
!
1 7 8 9 X
!
1-------- -------- -------- --------
1 4 5 6 (division)
1
1
1-------- -------- -------- --------
1
!
I 2 3
PAGE 26 PAGE 29
CARDKEY/1 INSTRUCTION MANUAL CARDKEY/1 INSTRUCTION MANUAL
CARDCO, Inc. (316) 267-6525 CARDCO, Inc. (316) 267-6525
-------------------------------------------
7 8 9 X
4 5 6 (division)
1-------- --------
1 2 3
1-------- --------
o enter +
1-------- --------
-------------------------------------------
PAGE 30 PAGE 31
CARDKEY/l INSTRUCTION MANUAL
CARDKEY/l INSTRUCTION MANUAL CARDCO, Inc. (316) 267-6525
CARDCO, Inc. (316) 267-6525
COPYRIGHT NOTICE
****************
The software included with this product
is protected by the copyright laws. All
rights are reserved. This software may not be
copied, reproduced, translated, or reduced to
any electronic medium or machine-readable
code without the prior consent of CARDCO,
Inc.
PAGE 32