Southwest Specialty Productsメーカー6800の使用説明書/サービス説明書
ページ先へ移動 of 19
6800 ROM MONITOR VERSON 1.0 USERS GUIDE Southwest Techni cal Products Corporation 219 W. Rhapsody San Antonio, Texas 78116 Copyright 1977, Southwest Technical Products Corporation Scanned and edited by Michael Holley Sept.
1 SWTPC SWTBUG® (SWATBUG) MONITOR ROM One of the features of the SWTPC 6800 Computer System is that the conventional programmer’s console has been replaced with a monitor ROM. The programmer’s co nsole consists of all the pretty switches and lights often found on similar microcomputers that are used to bootstrap the system after power up.
2 SWTBUG® INSTALLATION SWTBUG® is a MOS device and MOS integrated circuits are susceptible to damage by static electricity. Although some deg ree of protection is provided internally within the integrated circuits, their cost demands the utmost in care.
3 MEMORY EXAMINE AND CHANGE M (addr) The Memory Examine and Change funct ion can be used to enter machine code programs and to display and/or change the contents of memory. The Memory Examine and Change function should be used as follows: 1.) Type M .
4 The condition codes are as defined below: BIT NO. LABEL CONDITION CODE 0 C Carry - borrow 1 V O verflow 2 Z Zero 3 N Negative 4 I Interrupt mask 5 H Half carry In the above example the condition cod.
5 $R $FF DC FC 6EFD 0100 A042 REGISTER DUMP BEFORE RUNNING PROGRAM $G $R $FF DC FC 6EFD 0100 A042 NOTE R DUMP THE SAME AFTER RUNNING $J 0100 $R $FF DC FC 6EFD 0100 A042 THE SAME AFTER A JUMP $M 010A AT THIS POINT THE JUMP TO SWTBUG CONTROL $010A 7E 3F IS REPLACED BY A SWI.
6 A002 à 01 MOST SIGNIFICANT BYTE OF LO WER ADDRESS A003 à 23 LEAST SIGNIFICANT BYTE OF LO WER ADDRESS A004 à 45 MOST SIGNIFICANT BYTE OF UPPER ADDRESS A005 à 67 LEAST SIGNIFICANT BYTE OF LO WER ADDRESS Typing P would turn the punch on and output the specified memory data.
7 $M A048 $A048 01 00 $A049 03 05 $A04A F4 $P $S11300000A0501001EF023FF01A01B351B37022443 $E S105A04800050DS9 $ $ A048 and A049 are automatical ly transferred to A002 - A005 and punched to tape by the E command. A short delay follows the S9 to allow clean load - ins on cassette tape.
8 A previously set breakpoint will remain and may be changed or removed as described earlier. If, when using the B command, a non - hex value is entered the previous breakpoint will be removed and SWTBUG® control will resume. There are several t hings that one must be aware of when using breakpoints to insure proper operation.
9 VECTORED SOFTWARE INTERRUPTS Normally when encountering a SWI (3F) instruction, the computer will display the processor’s registers and SWTBUG® control will be resumed. If desired, the 3F command can be vectored to anywhere in memory, just like the NMI and IRQ interrupts.
10 PIA STROBING Use of the Control Interface for Read/Punch - On/Off Decoding SWTBUG® software contains subroutines to send out pulses to unused pins of the PIA integrated circuit on the MP - C serial control interface that can be used for automatic reader / punch c ontrols.
11 OPERATING THE MP - A PROCESSOR BOARD AT BAUD RATES HIGHER THAN 1200 BAUD When using the MP - S serial interface with an MP - A processor board, baud rate clocks for up to 9600 baud are available from the baud rate generator on the MP - A processor board.
12 NOTE: This does not mean that SWTBUG® is equipped w ith a binary loader - only certain SWTPC binary tapes that contain a special binary loader (in ASCII) will work correctly. To load the tape simply follow the instructions given for loading an ASCII tape, but keep the reader locked on.
13 GENERAL RULES FOR PROGRAM WRITING Although for a user program to be functional it need only work with the exact system it was written for, follow ing a few simple rules reduces program modifications for 6800 systems using other monitors. Following these rules will make your programs more professional and versatile.
14 SP (A008) Temporary storage location for the stack pointer. SP is used in the register dump subroutines and by the breakpoint function. PORADD (A00A) This location contains the port address used for S WTBUG’s I/O routines. PORECH (A00C) This byte tells SWTBUG® ‘s input routines whether or not to echo.
15 INHEX and INCH, temporary storage locations CKSM and both accumulators. If a non - hex value is entered, SWTBUG® control will resume. When BYTE is called as a subroutine, the computer will wait for two hex characters to be entered thru the control port.
16 ORG $100 START LDX #TEXT JSR PDATA1 JMP CONTRL TEXT FCB $0D, $0A FCC /HELLO/ FCB 4 END - The accumulator and register status after using PDATA1 is as follows: ACC A Changed during the operation ACC B UNCHANGED IXR Contains the memory location of the 04 CHANGE (E088) CHANGE is SWTBUG‘s memory examine and change function.
17 CONTRL (E0E3) This MIKBUG® equivalent sequence again resets the stack to A042. PORECH is cleared to enable echo and the subroutine SAVGET is selected to get the correct port number and type. Next, the routines PNCHOF and RDOFF generate punch and reader off commands.
18 IOUT (E240) IOUT is the PIA output routine which outputs the character in the A accumulator. OPTL (E269) OPTL is the service routine that sets up PORECH for I/O on port 0. The appropriate command P, E or L is then selected. PIAECH (E27D) This routine disables the echo on a PIA type interface.
デバイスSouthwest Specialty Products 6800の購入後に(又は購入する前であっても)重要なポイントは、説明書をよく読むことです。その単純な理由はいくつかあります:
Southwest Specialty Products 6800をまだ購入していないなら、この製品の基本情報を理解する良い機会です。まずは上にある説明書の最初のページをご覧ください。そこにはSouthwest Specialty Products 6800の技術情報の概要が記載されているはずです。デバイスがあなたのニーズを満たすかどうかは、ここで確認しましょう。Southwest Specialty Products 6800の取扱説明書の次のページをよく読むことにより、製品の全機能やその取り扱いに関する情報を知ることができます。Southwest Specialty Products 6800で得られた情報は、きっとあなたの購入の決断を手助けしてくれることでしょう。
Southwest Specialty Products 6800を既にお持ちだが、まだ読んでいない場合は、上記の理由によりそれを行うべきです。そうすることにより機能を適切に使用しているか、又はSouthwest Specialty Products 6800の不適切な取り扱いによりその寿命を短くする危険を犯していないかどうかを知ることができます。
ですが、ユーザガイドが果たす重要な役割の一つは、Southwest Specialty Products 6800に関する問題の解決を支援することです。そこにはほとんどの場合、トラブルシューティング、すなわちSouthwest Specialty Products 6800デバイスで最もよく起こりうる故障・不良とそれらの対処法についてのアドバイスを見つけることができるはずです。たとえ問題を解決できなかった場合でも、説明書にはカスタマー・サービスセンター又は最寄りのサービスセンターへの問い合わせ先等、次の対処法についての指示があるはずです。