MOS Technologies KIM TEXT EDITOR a

Page 1
H | | | ' ^ j | |f ' | J H ^ M y | l j | | j | | | |
MICROCOMPUTERS
AICMC9APITGKS
KIM TEXT BIITIK
USER JttAKML
Page 2
Page 3
MICROCOMPUTER FAMILY
KIM TEXT EDITOR
User Manual
3. englische Auflage 1977
Auflagenhohe 1. bis 3. : 15.000
The information in this manual has been reviewed and is believed to
be entirely reliable. However, no responsibility is assumed for inaccuracies.
The material in this manual is for informational purposes only and is
subject to change without notice.
MCDS verfiigt iiber alle Rechte der deutschen und englischen Ausgabe.
Nachdrucke und Vervielfaltigungen, auch auszugsweise, sind nur mit
ausdriicklicher Genehmigung der MCDS gestattet.
Auch bei dieser 3. englischen Auflage freuen wir uns iiber kritische
Anregungen des Leserkreises, die zur kontinuierlichen Verbesserung
der Qualitat weiterer Auflagen Verwendung finden.
Satz, Druck und Vertrieb von MCDS Microcomputer Datensyteme GmbH,
Luisenplatz 4, Postfach 11 0868, D-6100 Darmstadt, Tel. 06151/2 03 02,
Telex 04 19 390 hysy d
MOS TECHN OLO GY Frankfurter Str. 171-175 D-6378 Neu-lsenburg
Telefon (06102) 8003 Telex 04 185663
Page 4
Page 5
TABLE OF CONTENTS
INTRODUCTION
1
CHAPTER 1 INSTALLATION AND CHECKOUT 3
CHAPTER 2
SAMPLE USE OF THE KIM EDITOR
4
CHAPTER 3 BASIC EDITOR OPERATIONS 9
CHAPTER 4 USING PAPER TAPE AND CASSETTE TAPE
13
CHAPTER 5
OTHER COMMANDS
15
CHAPTER 6 CHANGING THE EDITOR
17
CHAPTER 7
CHANGING ASSEMBLER/EDITOR I/O DEVICES
23
Table
1
LIST OF TABLES
KIM EDITOR COMMAND SUMMARY
2
Table 2 FIRST FEW WORDS OF EDITOR PROGRAM 3
Table
3
KIM EDITOR
18
User-Modifiable Vectors
in Page Zero
Page 6
Page 7
INTRODUCTION
Congratulations on your purchase of the KIM Text Editor. The Text Editor
is an integral part of the KIM Editor/Assembler package and will allow you to
easily input and modify text to your KIM system memory area. Although primarily
designed to work with the KIM Resident Assembler, any text material may be input
and edited using the KIM Editor.
The KIM Editor features:
Line-numbered text entry and editing for ease of use
Single-letter mnemonic commands for easy operation
ROM resident— no need to load or protect the Text Editor program
Designed to work with any 650X-based system
User-defined commands for complete flexibility
Automatic linkage to the KIM Resident Assembler
Complete compatibility with KIM audio cassette interface and paper tape
Memory independent. Text may be stored anywhere in memory and multiple
text files may reside in memory simultaneously.
Table 1 gives a brief summary of the KIM Editor commands.
Your KIM Editor has been carefully designed and thoroughly tested to assure
correct operation and complete compatibility with your KIM system. If you suspect
that your KIM Editor is not working correctly, contact the Manager of Product
Support, MOS Technology Sales, Inc. 901 California Avenue, Palo Alto, CA 94304.
Please include a brief terminal session which documents any suspected problem.
Page 8
Table 1
KIM EDITOR
COMMAND SUMMARY
P A Print all stored text.
P n Print text beginning at line n.
F xyz Find and print all lines containing string xyz.
S Print Status hex origin and end of text and
decimal number of lines in the current text file.
R Resequence line numbers by 5's.
Q Query return to BASE= query.
E Exit through link vector default is KIM.
? Set ? as prompt character.
?x Set x as prompt character.
X JSR to user-defined command.
A Go to Assembler with current file.
Kc (control K) exit to KIM monitor.
Tcid Dump current file to audio tape with ID of id.
T Dump current file to paper tape.
NOTE: All commands must be terminated by a carriage
return.
2
Page 9
INSTALLATION AND CHECKOUT
Chapter 1
Your KIM Editor/Assembler ROMs were designed to be installed on a KIM-5
ROM expansion board. The three ROMs which compose the editor and assembler
should be mounted on your KIM-5 as described in the KIM-5 User's Manual. The
editor, assembler, and KIMath floating-point math package reside in the highest
8K of KIM memory space. Thus, one of the KIM-5 memory address switches should
be set to an address of E000.
Once you have inserted the ROMs in the KIM-5 and inserted the KIM-5 in
your KIM motherboard, you can verify that the system is operating correctly by
examining the first few words of the editor program. Table 2 shows the first
few words of the editor program, starting at location F100.
Table 2
Location
Contents
F100 20 F101 A5 F102 F6 F103
A9 F104 00 F105 85 F106
CD F107 D8
3
Page 10
SAMPLE USE OF THE KIM EDITOR
To operate the Editor as described in this manual, the following minimum
system is required:
(A) A KIM-1 microcomputer
(B) 4K of expansion memory
(C) A KIM-4 motherboard
(D) A KIM-5 ROM expansion board with the KIM resident assembler/text
editor installed
Throughout this manual it is assumed that your random access expansion
memory has a base address of 2000 (hex). Naturally, your expansion memory may
be as large as you wish and located in any memory space which does not conflict
with the KIM monitor or other ROM firmware. This manual also assumes that you
have a TTY-like terminal connected to the KIM serial input/output port. If you
are using parallel input and output ports or other nonstandard I/O configurations,
you will have to write driver software to support such devices. See Chapter 7
for the appropriate modifications.
Entering the Editor To start the editor, enter address F100 and hit the G key on your TTY. ThJ
editor will respond by typing BASE=. You should respond by typing the hexadecimal
starting address at which you wish your block of text to begin. The editor will
respond by typing N OR 0?. If you wish to edit some text already placed in,
memory (through a tape dunp, for instance), you would respond 0, since you are
editing old text. For the purpose of our example, we will enter an N since we
Chapter 2
4
Page 11
are creating a new text file. The editor will respond with a carriage return
and line feed and wait for you to enter the first line of text. Example 1 shows
this initial dialogue. Note that throughout this document what you type in will
be underlined for clarity. Naturally, this underlining does not occur when you
actually use the editor.
KIM
XXXX XX
F100
F100 20G
BASE~2000
N OR 0?N
Entering Text
Since the Editor is primarily designed to prepare assembly language in
structions to submit to the KIM resident assembler we will use as our example
the small program shown on page 11 of the KIM-1 User Manual.
Every line of text entered into the editor must have a decimal line
number between 1 and 9999. If the same line number is used twice, the new line
replaces the previous line with the same line number. Here is what our sample
would look like as it is typed in (Note that increments of 10 are used between
each line number; this is not necessary but makes it easier to enter additional
text in the future):
Example 1
STARTING THE EDITOR
+- Depress RS on KIM-1 and
rubout on your TTY
*«- Starting address of Editor
+ Go
+ Hex starting address of text
New text file
5
Page 12
Example 2
ENTERING TEXT
10 POINTL $FA 20 POINTH - $FB 30 VAL1 40 VAL2 50 PROG
cue
60
LDA VAL1
70 ADC
VAL2 80 STA POINTL 90 LAD
#0?
100
STA POINTH
110 JMP START
Remember that you must type a carriage return at the end of each line
you type in.
Listing Text
To list the text you have just typed in, type the character P for Print,
a space, and the character A for All. The editor will then type back all of the
text which you have typed in.
Example 3
LISTING TEXT
P A 0010
POINTL * $FA
0020
POINTH =
$FB
0030
VALl 0040 VAL2 0050 PROG CLC 0060
LDA VALl
0070
ADC
VAL2 0080 STA POINTL 0090 LAD #00 0100
STA POINTH 0110 JMP START *ET
6
Page 13
Changing the Text
To make our sample program acceptable to the assembler we will now have
to add and change several lines. To add a line between two existing lines,
simply type a line number between the two values and enter the text. (Notice
the new line 25 entered in Example 4.)
To change an existing line, type the same line number and the new con
tents for that line. (Note in Example 4 how lines 30, 40, and 90 were changed.)
Note that a single character in a line cannot be corrected; the entire line must
be retyped.
Example 4
CORRECTING TEXT
25 *=$0000 30 VAL1 »-♦+! 40 VAL2 »-»+! 90
______
IDA #00 120 .END 26 START «= $1C00 P A 0010 POINTL = $FA 0020 POINTH = $FB 0025 *=$0000 0026 START * $1C00 0030 VAL1 *=*+1 0040 VAL2 *=*+1 0050 PROG CLC 0060 LDA VAL1 0070 ADC VAL2 0080 STA POINTL 0090 LDA #00 0100 STA POINTH 0110 JMP START 0120 .END *ET
Note that the *ET at the end of a print command signifies the End of
Text.
Saving the Text on Audio Cassette Tape
To transfer your edited text to audio cassette for storage, first insert
a cassette in your recorder and assure that the cassette recorder is properly
7
Page 14
connected to your KIM system as outlined in the KIM-1 User's Manual. To begin
transfer of the text file to the audio cassette, hold down the control button
on your TTY (marked CTRL), and strike the character "T." Then release the
control button and type a two-digit decimal number between 01 and 99 (do not
use the hexadecimal numbers A-F). Before striking the carriage return, put
your cassette recorder in record mode and start the tape. Then strike the
carriage return. The editor will automatically insert the starting and ending
address of your text and the ID you have typed into the correct locations in
KIM. The editor will then transfer control to the audio cassette routines.
When the tape has been properly recorded, control will return to the KIM monitor.
Reloading the Text from Audio Cassette
When you wish to place the text you previously stored on cassette back
into memory for further editing or assembly, first prepare your cassette system
for playback. Then set location 00F1 to 00, put the ID you used when recording
the cassette into location 17F9, and address location 1873. Depress the G key
and play back the tape. When the tape has been read in, start the editor (loca
tion F100), give the starting address of the text in response to the BASE= query
and answer "O" to the N OR O? query. The text file is now ready for further
processing.
If you had used an ID of 43 to record the sample program, the playback
sequence would look like:
KIM XXXX XX FI 00F1 XX 00. «- Clear decimal mode 00F2 XX 17F9|_ 17F9 XX 43^ «- Enter ID 1780 XX 1873 1873 XX G
(Start tape playback here) KIM 0000 XX F100 «- Playback complete, go to editor F100 XX G «- Start editor BASE* 2000 Give base
Old file
8
N OR O? O
Page 15
BASIC EDITOR OPERATIONS
Now that you have had an opportunity to see the basic operations of the
editor we will now examine each editor capability in detail.
Entering Text
As we saw in Chapter 2, text is entered into memory by typing in the line
of text preceded by a line number. Line numbers may range from 1 to 9999; there
is no necessity to type leading zeros, the editor will insert them automatically.
Note that any line typed to the editor which does not contain a line number will
be interpreted as an editor command. Any command typed in which is not recog
nized by the editor will result in the error message BAD COM.
If you type in a portion of a text line and realize you have made a mis
take, there are two methods of correcting your error. If you depress the con
trol key and hit the character "X" (control X) the line will be ignored and a
carriage return/line feed will be issued by the editor. If you wish to "back
space" and retype an erroneous character, depress the shift button and strike
the 0 key («-). The editor will "back up" one character each time you strike the
key. You may strike the «- key as many times as necessary to delete previous
characters.
Listing Text
Chapter 2 showed how to list the entire text file by typing P A . If you
wish to only list a portion of the text, type P, a space, and a line number.
The editor will then type all of the text beginning with that line number and
continuing through the end of the file. If you wish to only list a few lines of
Chapter 3
9
Page 16
text, type P, the first line of text you wish to see, and a carriage return.
Die editor will then begin listing at that point. When you have seen enough
of the text, depress the break button. This will signal the editor that you
wish it to stop listing; it will stop printing and wait for another command to
be entered.
Adding a New Line
Each line you type will automatically be inserted in the text file in
line number sequence. Thus, if you wish to add a new line between old lines
20 and 30, simply give it a line number between 21 and 29. If you wish to
insert a new line between two lines with adjacent line numbers (e.g., insert
a line between line numbers 24 and 25), you must resequence the existing line
numbers by using the resequence command (see below). There is no restriction
on~ the number of text lines or the size of the text file which the editor can
handle. The only restriction is the amount of memory available for such storage.
Resequencing Lines
The KIM resident assembler ignores the line numbers in your file when
doing an assembly. Thus, the line numbers are a convenience for you when you
are editing text. If you wish to resequence the line numbers, sinply type an
R and a carriage return. The editor will automatically resequence all the line
numbers in your text file. The first line will be the line number 5 and each
line number which follows will be incremented by 5.
Example 5
RESEQUENCING LINES
1 LINE 1 2 LINE 2 3 LINE 3
R
P A
10
Page 17
0005 LINE 1 0010 LINE 2 0015 LINE 3
*ET
Locating Characters in the Text
In a lengthy text file it is often desirable to be able to find all lines
in the text which contain certain characters or groups of characters. Thi6 is
done with the Find command. Example 6 illustrates the use of the Find command.
First the entire text file is listed using the P A command, then all lines which
contain references to POINTH are printed by issuing the command F POINTH. The
second portion of the example shows finding all lines which contain an asterisk
by typing F *. You must always type a space after the F.
Example 6
FINDING SPECIFIED TEXT
P A 0010 POINTH - $FA 0020 POINTH * $FB 0025 **$0000 0030 VAL1 * *+l 0040 VAL2 * *+l 0050 PROG CLC 0060 LDA VAL1 0070 ADC VAL2 0080 STA POINTL 0090 LDA #00 0100 STA POINTH 0110 JMP START 0120 .END *ET
F POINTH 0020 POINTH * $FB 0100 STA POINTH *ET
F * 0025 **$0000 0030 VALl « *+l 0040 VAL2 * *+l *ET
11
Page 18
Exiting from the Editor
To return to the KIM monitor, depress the control key and strike the
character K" (control K) followed by a carriage return.
The user may also return to the KIM monitor by typing an "E" (Exit).
(The meaning of the "E" command may be modified by the user. See Section 6.)
12
Page 19
USING PAPER TAPE AND CASSETTE TAPE
Using Paper Tape
Once you have finished editing a text file you may wish to punch it out
on paper tape. To do this, turn on the TTY paper tape punch and type a T and
a carriage return. The editor will then punch 20 null characters on the tape
and dump the file onto the paper tape in ASCII format. Once the tape punch is
complete the editor will punch another series of null characters to terminate
the punching. Turn the paper tape punch off and remove the tape from the punch.
To load a paper tape into the editor, start the editor and type in the
base address at which you wish the text on the paper tape to begin. Answer the
N OR 0 query with an N to indicate that you are putting in a new text file from
paper tape. Place the paper tape in your reader, and briefly move your reader
switch to the start position. As each line is read, KIM will stop the paper
tape reader, process the line, and restart the reader. Make sure that you place
the paper tape in the reader with the null characters punched by the editor under
the read head. Note that it is not necessary to load the text on paper tape into
memory to the same address from which it was originally dumped.
Audio Tape
The loading and dumping of audio tape from your cassette recorder to the
editor is completely documented in Chapter 2 of this manual. Note that while
the paper tape may be placed anywhere in memory when read back in, the cassette
tape will always be reloaded in the memory area from which it was originally
dumped. If you wish to load audio cassette data into a memory area other than
Chapter 4
13
Page 20
that from which it was originally recorded, this may be done by using an ID of
FF on playback. See Section 4.2 of the KIM-1 User Manual for details.
14
Page 21
Chapter 5
OTHER COMMANDS
The Status Command
Typing an S command to the editor will result in the editor typing back
three numbers. The first number is the hexadecimal starting address of the
current text file. The second number is the hexadecimal address of the end of
the current text file. The third number is the decimal number of lines con
tained in the current text file. If you are entering a text file which you
suspect may approach the capacity of your available memory, you can check the
amount of memory being used from time to time as you enter the text. You should
note that the S command will return incorrect information if no text has been
entered into your current text file.
The Quit Command
Typing a
Q command to the editor returns you to the BASE* query of the
editor. You may then specify a new origin for further text entry of other text
files. Previously entered text files will not be disturbed unless the files
overlap in memory.
The Assemble Command
Typing an A command to the editor will terminate editor function and
transfer control to the KIM resident assembler program. The editor automatically
configures the assembler for a memory-to-memory assembly of the current text
file. You should note that the transfer is made to the assembler cold start
entry point so this command may not be used in multiple file assembly. For the
second and succeeding files of a multiple file assembly, you must exit from the
15
Page 22
editor to the KIM monitor and then enter the resident assembler at its warm
start point. See the assembler documentation for further details.
16
Page 23
CHANGING THE EDITOR
Changing the Prompt Character
It is sometimes convenient to have the editor type a prompt character
at the beginning of each line when it is ready for input from the user. When
the editor is initially entered, this prompt character is set to a null. If
you wish a prompt character you simply type a question mark and carriage return
and the editor will begin each line of input with a question mark as a prompt.
If you wish to use a prompt character other than the question mark, type a
question mark, the character you wish to use as a prompt, and a carriage return.
For instance, typing a question mark, asterisk, carriage return will set the
prompt character to an asterisk. To "turn off" the prompt character, simply
type a question mark followed by a null (generated by depressing the control
and shift buttons on your TTY and striking the P key).
Modifying the Exit Point
Three parts of the editor may be changed by the user through modification
of page zero memory locations. These are (1) the destination of the exit com
mand, (2) the definition of user-defined commands, (3) the input/output devices
supported by the editor.
Changing I/O devices is covered in Chapter 7. In each case, the editor
normally presets these page zero locations. The exit command is preset to
return to the KIM monitor, the user-defined command is defined as a return to
the editor, and the input/output devices are defined to be the TTY. If you
Chapter 6
17
Page 24
Table 3
KIM EDITOR
User-Modifiable Vectors
in Page Zero
Name Location
Purpose
Default Value
USRCMD ED, EE Starting address of user-defined
command subroutine
F617
LINK EB,
EC Starting address to jump to when
exit command is issued
1C14
OUTPUT
E7 ,
E8
Output character subroutine ad dress (should include BREAK test)
F6BA
INPUT E5,
E6
Input character subroutine ad
dress
1E5A
ENDLIN
E9,
EA End-of-line subroutine address
Page Zero Locations for User-
Defined :
IE2F
OT
DB,
DC
address of beginning of text
N/A
EOT DD, DE
address of end of text
N/A
TXBUF 84-CB contents of last line typed by
user
N/A
18
Page 25
wish to change any of these three items, you must preset the locations for all
three options and then enter KIM through its alternate start point, location
F103.
For example, if you wished to Exit to your own program starting at loca
tion A000, you would load 00 in 00EB and AO in 00EC. You would also have to
load the default values for USRCMD, OUTPUT, INPUT, and ENDLIN as shown in
Table 3. You would then enter the text editor at location F103 instead of
F100.
User-Defined Commands
Any command typed to the editor which begins with the character "X" will
cause the editor to do a JSR to the subroutine pointed to by bytes OOED and OOEE
in page zero. The editor presets OOED and OOEE to point to an RTS instruction
in the editor, thus an X command is usually ignored. You may preset OOED and
OOEE to contain the address of a subroutine you have written to perform some
special editing function you can extend the editor to meet your own desires!
Memory Organization for User-Defined Commands
The following information will help you in writing your own commands:
1. The command you typed in (which began with an "X") is stored in the
line buffer locations 0084 through 00CB.
2. The end of text in the buffer is marked with an ASCII carriage return
character (hex 0D).
3. The address of the beginning of your text file in memory is stored in
locations 00DB and 00DC (low order byte first).
4. The address of the end of your text file is stored in 00DD and 00DE.
5. The last byte in your text file contains hexadecimal IF.
19
Page 26
6.
Each line in the text file begins with the decimal four-digit line
number packed in two bytes, thus line number 1763 would be packed
as 17 as the first byte and 63 as the second byte.
7. Each line in the text file ends with an ASCII carriage return char
acter (0D) .
8. Your subroutine returns to the editor with an RTS instruction.
Program 1 shows a KIM assembly of a sample user-defined subroutine to
check a source program for nonprinting characters (control characters or ASCII
lower-case characters). Note that you would have to preset location OOED to
00 and location 00EE to 02 (the starting address of the subroutine is 0200).
You would also have to supply the default vectors for INPUT, OUTPUT, ENDLIN
and LINK as shown in Table 3, and start the editor at location F103 instead of
F100.
20
Page 27
PROGRAM 1
FLOW-CHART
21
Page 28
KIMA3M
LINE #
LOC
CODE
LINE
0005 0200
PR T BYT
0010 020 0
CRL F
0015
0200
AO
00
C KVAL
0020 0202
A 5 D13
002 5 0204
85
00
0030
0206 A5
DC
003 1 0208 85
01
00 40
02 0A
13 1
00
3 EC IN
0045
02 OC
C 9
IF
0050 02 OE
FO
**
**
0055
02 1 1 85 02
0060 0213
20
**
**
00 65
0216
131
00
007 0
02 18
85
03
007 5 02 1 A 2 0
**
*
0080
02 1 D
3 1
00
NEXT
0085 02 IF
2 0
* **
0090
0222
C 9
OD
0095
0224
FO
E4
0100 0226
C 9
20
0105
022 3 30
**
**
01 10
0223 C 9
61
01 1 5
022 D 1 0
**
**
0120
0230 4C
ID 02
0125
0233
A5
02
PR I NT
0130
0235
20 33
1 E
0135
023 8
A5 03
0140
02 3 A 20 33 IE
0143
023D AO
00
01 45 023 F
20 2F 1 E
01 50
0242
4C
ID 02
DON E
0155
0245
E6
00
IN CPTR
0160 0247
DO ** **
0165 024A
E6
01
0170 024C
60 END
0180
024D
=11 £33 = $ 1E2F LD Y
#0
>
CLEA R ^
LDA
SD3
;
GET OT
STA SOO
LDA
SDC
STA
SOI
LDA
(SO ),Y
;
FIRST LN BYTE
CMP # $ 1 F
s
*ET?
3E Q
END
;
VEP .
ST A
$02
;
NUP. .
JSR
INCPTR
;
READV FOR NEXT
LDA ($0 ) > Y
*
GET IT
STA S03
JSR
INCPTR
;
N E X T ...
LDA
($0 >,Y
;
GET TEXT
JSR
INCPTR
CMP
# SOD
;
CR?
3E0
BEG IN
;
EN D OF L INE
CM P
#$2 0
>
CONT R O L CHAR?
BMI
PRINT
*
YEP. .
CMP
#$61
LOW ER CAS E?
3 PL
PR I NT
»
7E P . ..
JMP
NEXT ;
L00 ° BACK
LD A $02 y
1ST BYT E
JSR
PRT3YT
LDA S 0 3
;
AND SECOND
JSR
p r t j v t
LDY
#$0 y
RESE T Y
JSR
CR LF
JMP
NEXT
INC
SOO
3NE
END
INC SOI
RTS
END
ERRORS = OOOO
SYMB O L TA3LE
PRT3 Y T 1E33 END 024C DONE 0242
CRLF 1E2F
IMC PTH 02 A 5
C KVAL 02 00
NEXT 02 1 D
22
3Z j IN 02OA PRINT 0233
END OF A S S E M BLY
Page 29
Chapter 7
CHANGING ASSEMBLER/EDITOR I/O DEVICES
The assembler and editor are preset to use the KIM monitor serial input/
output routines. The assembler/editor can be used with other 6502-based sys
tems by changing the values of INPUT, OUTPUT, and ENDLIN in page zero (see
Table 3). To use the editor/assembler with a non-KIM system, load the starting
addresses for the INPUT, OUTPUT and ENDLIN routines for your system in the
appropriate page zero locations. You should also load the default values for
USRCMD and LINK. Enter the editor at location F103 rather than F100 if you are
using nonstandard I/O devices.
INPUT Routine
This routine is pointed to by locations 00E5 and 00E6 and is called every
time the assembler or editor needs a character input. The default is an address
of 1E5A, the KIM GETCH routine.
OUTPUT Routine
This routine is pointed to by locations 00E7 and 00E8 and is called every
time the assembler or editor wants to print a character. The default is an
address of F6BA, a routine in the editor which checks to see if the BREAK button
is depressed before going to the KIM OUTCH routine at 1EA0. If the BREAK button
is depressed, the output routine clears the stack and jumps to location F14D,
the editor command input point.
Note: Since the editor and assembler share the same I/O routines, de
pressing the BREAK button while the assembler is printing will stop the assembler
and return control to the editor at its command input point.
23
Page 30
ENDLIN Routine
This routine is pointed to by locations 00E9 and OOEA and is called every
time the assembler or editor wants to print a carriage return/line feed. The
default is an address of 1E2F, the KIM CRLF routine. Note that KIM's CRLF
routine also sends six null characters, which may be displayed on CRT terminals.
Sample Modification of I/O Vectors
The TIM microcomputer kit is similar to KIM but uses different locations
for its I/O routines. They are:
Purpose Name Location
TTY input RDT 72E9
TTY output WRT 72C6
Carriage return CRLF 728A
So to modify the assembler/editor to work with the TIM the following
page zero locations should be changed:
Purpose
Input
Output
CR/LF
:ation
Contents
E5 E9 E6
72
E7
C6
E8 72
E9
8A
EA
72
The editor should be started at F103 to preserve these locations. Appropriate
values for USRCMD and LINK must also be provided.
24
Page 31
NOTIZEN
Page 32
NOTIZEN
Page 33
ALLES OBER MOS
VOM DATENBLATT OBER HANDBOCHER BIS ZUM 4 - FARB-POSTER
luiscnplataE 4*il 61 ilarmstadtE3 06151/23656
AICKM M M YHM
AICMCMraTBIl
j C M C W M T B l *
microroiiipiitcr ilnteiisYsteme «|inlili
Page 34
BESTELLKARTE MICROPROCESSOR-DRUCKSCHRIFTEN ENDUSER 2/78 Gultig ab 1. Dez. 1977 MICROCOMPUTER-HANDBGCHER (Netto + MWSt. + Versand) Wir bestellen zu Ihren bekannten Bedingungen:
1.10 KIM-1 User Manual
englisch
DM
19,80
Sick____
___
DMi
_________
1.11 KIM-1 Handbuch
1.20 KIM-2/3/4 User Manual Expansion Modules
deutsch
DM
19,80
Stck-
__
DM:
Memory/Errata Sheet/Motherboard englisch
DM
9,25
Sick
___
OM:
1.30 KIMath Subroutines Programming Manual
englisch
DM
15,45
Sick
___
_I2M j
_________
1.40 KIM Text Editor User Manual
englisch
DM
8,90
Sick
___
___
QMi
_________
1.50 KIM Assembler Manual Prelimiary
englisch
DM
10,20
Stck: DM:
1.60 Programming Manual
englisch
DM
28,60
Sick
___
DM:
1.61 Programmierhandbuch
1.62 THE FIRST BOOK OF KIM-1
deutsch
DM
28,60
Sick
___
___
[Mi
__________
DASKIM-REZEPTBUCH englisch
DM
19,80
Sick
____
DM:
1.70 Hardware Manual
englisch DM
24,90
Sick
____
____
QUL
__________
1.71 Hardware Handbuch
deutsch
DM
24,90
Stck:
DM:
1.80 TIM Terminal Interface Monitor Manual
englisch
DM
12,90
Sick
____
____
DMi
__________
1.90 Cross Assembler Manual Preliminary
1.99 Bucherliste uber weitere ca. 60 Bucher
englisch
DM
12,70
Sick
____
____
[ML
__________
mit Kurzbeschreiburtg DM
MICROPROCESSOR DATENBLATTER (Netto + MWSt. + Versand)
,
stck:____
____
QMj
__________
2.10 Spectrum of Products
englisch
DM
0,95
Sick
____
DM:
_________
_
2.20 MCS 6 5 0 0 Microprocessors
englisch
DM
0,95
Sick
___
DM:
__________
2.30 MCS 6 5 2 0 Microprocessors
englisch
DM
0,95
Sick
___
___
QMi
_________
2.31 MCS 6 5 2 2 Microprocessors
englisch
DM
0,95
Sick
___
___
[ML
_________
2.40 MCS 6 5 3 0 Microprocessors englisch
DM
0,95
Sick
----
___
[ML
_________
2.60 MCS 6 5 0 X Instruction Set 6502-6515
englisch
DM
1,10
Stck:
DM:
2.80 MCS 6 5 3 2 Microprocessors englisch
MICROCOMPUTER-LOSEBLATT-BIBLIOTHEK (Netto + MWSt.
3.10 Loseblattsammelordner aus Kunstleder
DM 0,95
+ Versand)
Stck: DM:
fur alle Bucher und Datenblatter
DM
4,95
Sick
___
DM:
3.20 MICRO-Info Hardware ca. 1400Seiten (FMI)
deutsch
DM
42,00*
Sick
___
DM:
3.23 MICRO-Info Software ca. 400 Seiten (FMI)
3.26 Kontinuierliche automatische Erganzung
deutsch DM
38,00*
Sick
___
DM:
zur (FMI) 2-monatlich ca. 150 Seiten,10 DM/S *) Gilt nur in Verbindung mit Abo, sonst 84,—
deutsch
/76, DM.
DM
15,00 Abo:
DM:
MICRO-COMPUTER-POSTER UND PROSPEKTE (Netto + MWSt. + Versand)
4.10 KIM-1 Microcomputer Module. 4-Farb-Poster Schaltschema 1 1= ungefaltet P] gefaltet A 4
9.oo m cds-h a r d w a r e + so f t w a r T pro-
DUKTE Schnell-INFO
COMPUTERJOURNALE (Enduserpreise incl. MWSt. + Porto)
DM
2,95
DM
0,80
11.10 JOCE & N: Europas einziges Computer- journal in deutsch und englisch fur Hobby, Forschung und Ausbildung
11.11 KILOBAUD: Das bekannte US Journal des MICRO + MINICOMPUTERMARKTES
11.13 INTERFACE AGE: Ebenso bekanntes wie beliebtes US-Computer- Journal
11.15 THE NEW HOBBY COMPUTERS, der BESTE Jahresextrakt
11.16 THE HOBBY COMPUTERS ARE HERE, der BESTE Jahresextrakt
11.17 73" MAGAZINE AMATEUR RADIO fur Funkamateure in der BRD, 3500 Abos
englisch/deutsch DM 4,00 Abonnement
DM
40,00
englisch
DM
7,50
Abonnement
DM
75,00
englisch
DM
6,00
Abonnement
DM
60,00
englisch
DM 15,75
englisch
DM
15,75
englisch
DM
7,00
Abonnement
DM
70,00
COMUPTER CLUB EUROPE E.V.
21.00 MITGLIEDSCHAFT, kostenfreien Bezug des Beitrag/Jahr DM 85,00 JOCE & N + europaweite Kommunikation Student/Jahr DM 45,00 Rabatte auf Soft- und Hardware und vieles mehr.
Alle Preise verstehen sich netto fob Darmstadt.
.Sick
_______
QMi
Stck:
DM:
Stck:
DM:
Stck:
DM:
Stck:
DM:
Stck:
DM:
Stck:
DM:
Stck:
DM:
Stck:
DM:
Stck:
DM:
Stck:
DM:
Stck:
DM:
B
Nachname t
Vorname:
StraBe :_______________________________________________________________________
_________ _______
_
Postleitzahl-Landeskennbuchstabe: Ort: Patum-
Unterschrift:
MCDS MICROCOMPUTER Datensysteme GmbH, Luisenplatz 4, D-6100 Darmstadt
Page 35
Page 36
MOS TECHNOLOGY INC.
t o
1
i n
II s ,
J U L
microcwiiiiMiter ilsifensYisteme ijmlili'
luisckii|ilalz 4* <1 01 ihimistnilt-
m o«i .11/2
Page 37
This was brought to you
from the archives of
http://retro-commodore.eu
Loading...