Intel 9800758-02 manual Table F-l. Sample Configuration Jumper Wiring, Ooooh-Offfh

Page 95

BASIC-SO

RMX/SO BASIC-SO

Table F-l. Sample Configuration Jumper Wiring

Board

 

Connect Jumper

Remove Jumpers

 

 

 

 

iSBC 80/30 Interrupt

131-152 (INTERRUPT 2)

 

Handling

141-132 (EVENT ClK-IR1)

123-138 (COUNT OUT-INTR 7.5)

 

47-51 (ClK 0-A12-11)

46-47 (ClK 1-ClK 0)

 

143-127 (RXR INTR-IR 6)

47-52 (ClK O-ClK 2)

 

142-126 (TXR INTR-IR 7)

 

 

145-140 (Ground INTR 5.5)

 

 

145-139 (Ground INTR 6.5)

 

 

 

 

 

 

iSBC 80/30 PROM

112-113

 

 

Addressing

157-158

 

 

 

 

100-101

 

 

 

 

OOOOH-OFFFH

104-103

 

 

 

 

155-156

 

 

 

86-85

 

 

 

 

 

 

 

iSBC 80/30 RAM

98-92

 

 

 

 

Addressing

180-171

 

 

4000H-7FFFH

W1 at position A-B

 

 

 

 

 

iSBC016 RAM

Board 1 -7-6

 

Addressing

Board 2 -7-5

 

8000H-OFFFFH

 

 

 

 

 

 

 

 

iSBC 204 Base

S2

Settings·

 

AddreSSing

7

ON

 

 

6

OFF

 

 

5

OFF

 

 

4

OFF

 

 

 

 

 

 

*These numbers refer to the silk-screened numbers on the PC board, not to the numbers on the switch bank.

4.If you are using two iSBC 016 Random Access Memory boards, you must jumper one to supply RAM memory from locations 8000H-OBFFFH and the other to supply RAM from locations OCOOOH to OFFFFH. Table F-llists these jumpers. On one board, jumper 7-6 must be connected, which enables memory at locations 8000H-OBFFFH. On the other board jumper 7-5 must be con- nected, enabling memory at addresses OCOOOH-OFFFFH. Refer to the iSBC 016 16K RAM Board Hardware Reference Manual for further information.

5.The iSBC 204 Disk Controller must be set to base address 80H and set at interrupt level 2. The base address is set by switch S2. The four switch settings of S2 are shown in Table F-l. Interrupt level 2 is the factory-wired default con- figuration. To verify interrupt level 2 operation, check for a wire jumper con- necting terminal posts 63 and 67. Table F-l lists these connections. For further information, refer to the iSBC 204 Flexible Diskette Controller Hardware Reference Manual, chapter 2.

6.The iSBC 204 Disk Controller must be the highest priority bus master. You can place the iSBC 204 in the top chassis slot with the iSBC 80/30 directly under it, or you can rewire the chassis backplane appropriately (see the iSBC 80/30 Hard- ware Reference Manual for details). The supplied cable attaches from 11 of the iSBC 204 controller to the plug on the rear of the MDS-2DS disk drive.

F-3

Image 95
Contents BASIC-SO Reference Manual A108/0979/7500 FL Preface Page Contents Illustrations Invoking BASIC-80 Chapter Introduction to BASIC-80Filename ExamplesIntroduction to BASIC-80 Basic filename MEMTOPaddressDeleting a File Listing the Directory of a DiskRenaming a File Changing File AttributesSave LP ,A You can now run, list, or edit the programStatements CommandsBASIC-80 Statements BASIC-80 Commands ContdBASIC-80 Functions BASIC-80 Statements ContdBASIC-80 Functions Contd Functions Representing DataHexadecimal Integer Constants ConstantsInteger Constants Decimal Integer ConstantsDouble-Precision Floating-Point Constants Octal Integer ConstantsSingle-Precision Floating-Point Constants $ = Enter next data string String ConstantsString Variables This is a string constantYI,1 L4! = Csng l4String Arrays BASIC-SO Operators in Order of Precedence Contd Arithmetic OperatorsString Expressions Logical OperatorsString Operator Numeric ExpressionsEntering and Editing Programs 30 A--=8xx*522537 Control-R a = 8*37 30 A=8*5230 A=8 30 A=8*52 30 A=8*37If AB then SubcommandCommand 3D press 3, then D results Integer DIf AB then 120 Else Null SET At this point, the other editing subcommands may be used Syntax of the X subcommand isPrint Undefined SET. Enter a L Print Undefined SET The E subcommand is enteredInteger C character character Move the cursor to PRINT. Enter 2C RE LOverflow, Underflow, and Divide-by-Zero BASIC-80 Error MessagesSyntax Error Messages Error Trapping Trace Facility If line 40 is replaced with Error SimulationError Handling Restarting Program ExecutionOpen 1,#1,F1DATES Opening a Sequential FileIf executed four times, it would read all eight values Refer to for further details of Print UsingWriting to a Sequential File Reading from a Sequential FileValue of R$ would be Closing a Sequential FileField #3, 20 AS N$ BuffersDefining a Random 1/0 Field-FIELD Field #3, 20 AS N$, 9 AS SS$ Disk File Input/OutputTo read the next record Opening and Closing a Random Disk FileReading from a Random 1/0 File Any of the parameters can be variablesDouble-precision value Writing to a Random 1/0 FileInteger Single-precision valueMKI$ Clear expression,address Attrib Fdrive numberfilename, W1Attrib Fdrive numberfilename, WO Auto first lineJ, incrementClose Commands and StatementsRules for function name are the same as for variable name DEF FNXDefsng Defdbl Defstr Defint Delete DIMEND ErrorDIR EditFOR-NEXT-STEP Error expressionExit FieldGET I file number ,record number GETGosub For variable=expression to expression Step expressionGoto IF-THEN-ELSEInput List KillLET Line InputLoad LSET, RsetNEW Merge9 16 NextOpen On ... GosubOn ... Goto Poke Option BaseOUT String Fields Print UsingPrint If X$=SEVEN and Y$=EIGHT, the results of line 40 would be Numeric fieldsPUT PrunRead RandomizeREM Return Resume60 END SaveRUN line numberlstring expression ,F Line number RUN filename? 5,8,2 TRON, TroffWidth WaitATN ABSFunctions CHR$Cint AO/o = CsngCVI CVS 10 A# = 1.00/3.00EOF DskfOk· FIXInputs HexsINP LEFT$ INTInstr LOG LENLOC LOFOCT$ MID$MKI$ MKS$ MKD$ RIGHT$ string,integer RightsPeek expression POS integer10 a =1 SGNSIN SpacesSQRexpression SPCSPC integer If A$ = 2 then Print Correct Else GotoTAN expression STR$ expressionTAB expression 60 AO/o = Here is an example of how the USRn statement is usedTable A-I. BASIC-80 Error Codes Appendix a BASIC-SO Error CodesTable A-I. BASIC-SO Error Codes Contd Appendix B BASIC-SO Reserved Words Page To resume program execution after it is stopped by To halt program execution and return to commandLevel To tab across the linePage Appendix D Ascii Codes Table D-l. Ascii Code ListBEL Table D-2. Ascii Code DefinitionAppendixe Calling Subroutines Figure B-1. Internal Representation of Numbers and Strings RESULT=USR%1VARPTRA, VARPTRB, VARPTRC» PRINTA+B+C= Result Some Real ExamplesFigure E-2 /8085 Assembly Language Program Figure E-3. PL/M-80 Program Appendix F RMX/SO BASIC-SO ISIS-II BASIC-SO Initializing the Predefined RMX/SO BASIC-SO ConfigurationOOOOH-OFFFH Table F-l. Sample Configuration Jumper WiringBASIC-80 Executable Files Generating Boot-Loaded and PROM-Based VersionsBASIC-80 Source Files BASIC-80 Object FilesGenerating a Boot-Loaded RMX/80 BASIC-80 This option enables your user-written I/O drivers if you That are not boot loadedThis option is used to allocate memory. It is 1 if the boot Setting baud rates, refer to the RMX/SO Users GuideISBC 80/20-4 Generating a PROM-Based RMX/80 BASIC-80 Prom F1 RMX820.L1BSTART, & FOBASCM.OBJ,& FORMXBAS.LlB F1 DFSDIR. L1BDIRECTORY ,RENAM E,& F1 MTI810.L1B ISBC SO/10 System Clock Configuring DFS on an iSBC 80/10Adding BASIC-SO to an Existing RMX/SO Configuration Configuration RequirementsPublic Variables Open 0,#1, L1LlST Adding User-Written I/O Drivers to RMX/SO BASIC-SOFigure F-S. Sample User-Written 1/0 Driver Routine Burning a BASIC-80 Program Into Prom Altering BASIC-80 WorkspaceBaprom F1HEATER.BAS Page Index Ase BASIC-80 RIGHT$,7-1O Request for Readerscomments 111111