Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more ➡
Download
Standard view
Full view
of .
Add note
Save to My Library
Sync to mobile
Look up keyword
Like this
2Activity
×
0 of .
Results for:
No results containing your search query
P. 1
SYM Monitor Listing

SYM Monitor Listing

Ratings:

5.0

(2)
|Views: 5,205|Likes:
Published by Moe B. Us
SYM-1 SUPERMON AND AUDIO CASSETTE INTERFACE SOURCES COMBINED AND CONVERTED TO TELEMARK ASSEMBLER (TASM) V3.1
SYM-1 SUPERMON AND AUDIO CASSETTE INTERFACE SOURCES COMBINED AND CONVERTED TO TELEMARK ASSEMBLER (TASM) V3.1

More info:

Published by: Moe B. Us on Apr 03, 2008
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See More
See less

09/27/2012

pdf

text

original

 
SYM-1 SUPERMON AND AUDIO CASSETTE INTERFACE SOURCESCOMBINED AND CONVERTED TO TELEMARK ASSEMBLER (TASM) V3.10002 0000 ;0003 0000 ;*****0004 0000 ;***** COPYRIGHT 1979 SYNERTEK SYSTEMS CORPORATION0005 0000 ;***** VERSION 2 4/13/79 "SY1.1"0006 A600 *=$A600 ;SYS RAM (ECHOED AT TOP OF MEM)0007 A600 SCPBUF .BLOCK $20 ;SCOPE BUFFER LAST 32 CHARS0008 A620 RAM =* ;DEFAULT BLK FILLS STARTING HERE0009 A620 JTABLE .BLOCK $10 ; 8JUMPS - ABS ADDR, LO HI ORDER0010 A630 TAPDEL .BLOCK 1 ;KH TAPE DELAY0011 A631 KMBDRY .BLOCK 1 ;KIM TAPE READ BOUNDARY0012 A632 HSBDRY .BLOCK 1 ;HS TAPE READ BOUNDARY0013 A633 SCR3 .BLOCK 1 ;RAM SCRATCH LOCS 3-F0014 A634 SCR4 .BLOCK 10015 A635 TAPET1 .BLOCK 1 ;HS TAPE 1/2 BIT TIME0016 A636 SCR6 .BLOCK 10017 A637 SCR7 .BLOCK 10018 A638 SCR8 .BLOCK 10019 A639 SCR9 .BLOCK 10020 A63A SCRA .BLOCK 10021 A63B SCRB .BLOCK 10022 A63C TAPET2 .BLOCK 1 ;HS TAPE 1/2 BIT TIME0023 A63D SCRD .BLOCK 10024 A63E RC =SCRD0025 A63E SCRE .BLOCK 10026 A63F SCRF .BLOCK 10027 A640 DISBUF .BLOCK 5 ;DISPLAY BUFFER0028 A645 RDIG .BLOCK 1 ;RIGHT MOST DIGIT OF DISPLAY0029 A646 .BLOCK 3 ;NOT USED0030 A649 PARNR .BLOCK 1 ;NUMBER OF PARMS RECEIVED0031 A64A ;0032 A64A ; 3 16 BIT PARMS, LO HI ORDER0033 A64A ; PASSED TO EXECUTE BLOCKS0034 A64A ;0035 A64A P3L .BLOCK 10036 A64B P3H .BLOCK 10037 A64C P2L .BLOCK 10038 A64D P2H .BLOCK 10039 A64E P1L .BLOCK 10040 A64F P1H .BLOCK 10041 A650 PADBIT .BLOCK 1 ;PAD BITS FOR CARRIAGE RETURN0042 A651 SDBYT .BLOCK 1 ;SPEED BYTE FOR TERMINAL I/O0043 A652 ERCNT .BLOCK 1 ; ERROR COUNT (MAX $FF)0044 A653 ; BIT 7 = ECHO /NO ECHO, BIT 6 = CTL O TOGGLE SW0045 A653 TECHO .BLOCK 1 ;TERMINAL ECHO LAG0046 A654 ; BIT7 =CRT IN, 6 =TTY IN, 5 = TTY OUT, 4 = CRT OUT0047 A654 TOUTFL .BLOCK 1 ;OUTPUT FLAGS0048 A655 KSHFL .BLOCK 1 ;KEYBOARD SHIFT FLAG0049 A656 TV .BLOCK 1 ;TRACE VELOCITY (0=SINGLE STEP)0050 A657 LSTCOM .BLOCK 1 ;STORE LAST MONITOR COMMAND0051 A658 MAXRC .BLOCK 1 ;MAXIMUM REC LENGTH FOR MEM DUMP0052 A659 ;0053 A659 ; USER REG'S FOLLOW0054 A659 ;0055 A659 PCLR .BLOCK 1 ;PROG CTR
 
0056 A65A PCHR .BLOCK 10057 A65B SR .BLOCK 1 ;STACK0058 A65C FR .BLOCK 1 ;FLAGS0059 A65D AR .BLOCK 1 ;AREG0060 A65E XR .BLOCK 1 ;XREG0061 A65F YR .BLOCK 1 ;YREG0062 A660 ;0063 A660 ; I/O VECTORS FOLLOW0064 A660 ;0065 A660 INVEC .BLOCK 3 ;IN CHAR0066 A663 OUTVEC .BLOCK 3 ;OUT CHAR0067 A666 INSVEC .BLOCK 3 ;IN STATUS0068 A669 URSVEC .BLOCK 3 ;UNRECOGNIZED SYNTAX VECTOR0069 A66C URCVEC .BLOCK 3 ;UNRECOGNIZED CMD/ERROR VECTOR0070 A66F SCNVEC .BLOCK 3 ;SCAN ON-BOARD DISPLAY0071 A672 ;0072 A672 ; TRACE, INTERRUPT VECTORS0073 A672 ;0074 A672 EXEVEC .BLOCK 2 ; EXEC CMD ALTERNATE INVEC0075 A674 TRCVEC .BLOCK 2 ;TRACE0076 A676 UBRKVC .BLOCK 2 ;USER BRK AFTER MONITOR0077 A678 UBRKV =UBRKVC0078 A678 UIRQVC .BLOCK 2 ;USER NON-BRK IRQ AFTER MONITOR0079 A67A UIRQV =UIRQVC0080 A67A NMIVEC .BLOCK 2 ;NMI0081 A67C RSTVEC .BLOCK 2 ;RESET0082 A67E IRQVEC .BLOCK 2 ;IRQ0083 A680 ;0084 A680 ;0085 A680 ;I/O REG DEFINITIONS0086 A680 PADA =$A400 ;KEYBOARD/DISPLAY0087 A680 PBDA =$A402 ;SERIAL I/O0088 A680 OR3A =$AC01 ;WP, DBON, DBOFF0089 A680 DDR3A =OR3A+2 ;DATA DIRECTION FOR SAME0090 A680 OR1B =$A0000091 A680 DDR1B =$A0020092 A680 PCR1 =$A00C ; POR/TAPE REMOTE0093 A680 ;0094 A680 ; MONITOR MAINLINE0095 A680 ;0096 8000 *=$80000097 8000 4C 7C 8B MONITR JMP MONENT ;INIT S, CLD, GET ACCESS0098 8003 20 FF 80 WARM JSR GETCOM ;GET COMMAND + PARMS (0-3)0099 8006 20 4A 81 JSR DISPAT ;DISPATCH CMD,PARMS TO EXEC BLKS0100 8009 20 71 81 JSR ERMSG ;DISP ER MSG IF CARRY SET0101 800C 4C 03 80 JMP WARM ;AND CONTINUE0102 800F ;0103 800F ; TRACE AND INTERRUPT ROUTINES0104 800F ;0105 800F 08 IRQBRK PHP ;IRQ OR BRK ?0106 8010 48 PHA0107 8011 8A TXA0108 8012 48 PHA0109 8013 BA TSX0110 8014 BD 04 01 LDA $0104,X ;PICK UP FLAGS0111 8017 29 10 AND #$100112 8019 F0 07 BEQ DETIRQ0113 801B 68 PLA ;BRK
 
0114 801C AA TAX0115 801D 68 PLA0116 801E 28 PLP0117 801F 6C F6 FF JMP ($FFF6)0118 8022 68 DETIRQ PLA ;IRQ (NON BRK)0119 8023 AA TAX0120 8024 68 PLA0121 8025 28 PLP0122 8026 6C F8 FF JMP ($FFF8)0123 8029 20 86 8B SVIRQ JSR ACCESS ;SAVE REGS AND DISPLAY CODE0124 802C 38 SEC0125 802D 20 64 80 JSR SAVINT0126 8030 A9 31 LDA #'1'0127 8032 4C 53 80 JMP IDISP0128 8035 08 USRENT PHP ;USER ENTRY0129 8036 20 86 8B JSR ACCESS0130 8039 38 SEC0131 803A 20 64 80 JSR SAVINT0132 803D EE 59 A6 INC PCLR0133 8040 D0 03 BNE *+50134 8042 EE 5A A6 INC PCHR0135 8045 A9 33 LDA #'3'0136 8047 4C 53 80 JMP IDISP0137 804A 20 86 8B SVBRK JSR ACCESS0138 804D 18 CLC0139 804E 20 64 80 JSR SAVINT0140 8051 A9 30 LDA #'0'0141 8053 ; INTRPT CODES 0 = BRK0142 8053 ; 1 = IRQ0143 8053 ; 2 = NMI0144 8053 ; 3 = USER ENTRY0145 8053 48 IDISP PHA ;OUT PC, INTRPT CODE (FROM A)0146 8054 20 D3 80 JSR DBOFF ;STOP NMI'S0147 8057 20 4D 83 JSR CRLF0148 805A 20 37 83 JSR OPCCOM0149 805D 68 PLA0150 805E 20 47 8A JSR OUTCHR0151 8061 4C 03 80 JMP WARM0152 8064 8D 5D A6 SAVINT STA AR ;SAVE USER REGS AFTER INTRPT0153 8067 8E 5E A6 STX XR0154 806A 8C 5F A6 STY YR0155 806D BA TSX0156 806E D8 CLD0157 806F BD 04 01 LDA $104,X0158 8072 69 FF ADC #$FF0159 8074 8D 59 A6 STA PCLR0160 8077 BD 05 01 LDA $105,X0161 807A 69 FF ADC #$FF0162 807C 8D 5A A6 STA PCHR0163 807F BD 03 01 LDA $103,X0164 8082 8D 5C A6 STA FR0165 8085 BD 02 01 LDA $102,X0166 8088 9D 05 01 STA $105,X0167 808B BD 01 01 LDA $101,X0168 808E 9D 04 01 STA $104,X0169 8091 E8 INX0170 8092 E8 INX0171 8093 E8 INX

You're Reading a Free Preview

Download
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->