Apple II User Manual

Page of 257
UT1LH         A007      UT2L          A008      UT2H          A009
USR           A00A      UACR          A00B      UPCR          A00C
UIFR          A00D      UIER          A00E      UDRA          A00F
UIN           0108      UOUT          010A      UP            F6F9
UPNO          F709      UP1           F713      UP4           F720
VECKSM        E694      VECK1         E69E      VECK2         E6AC
VALID         FCDD      VECK5         FF66      VECK4         FF6F
WRITAZ        E2DB      WRITAD        E2DD      WHEREI        E848
WHE1          E85C      WHE2          E868      WHE3          E870
WHEREO        E871      WHRO1         E885      WHRO2         E88E
WHRO3         E897      WHRO4         E89F      WHICHT        E8A8
WRAX          EA42      XORY          FDEF      XORYZ         FDF1
XORY1         FDFC      XORYRT        FE02      ZON           F25D
ZON1          F261      ZON2          F26C      ZPAGE         FC38
ZPY           FC50      ZPX           FC55
tasm: Number of errors = 0
AIM 65 MICROCOMPUTER MONITOR PROGRAM LISTING
Rockwell International
Document No. 29650 N36L
Rev. 1, April 1979
I used the Telemark Cross Assembler v3.1 (TASM) to re-create the source code.
See http://www.halcyon.com/squakvly/
I tried to exactly duplicate the original source but some errors may exist.
The exceptions are when the original had a hexadecimal constant instead
of an ASCII constant or ASCII equate (especially CR) in some immediate
mode instructions; I changed them to ASCII constants or an equate.
For example, line 468 in the printed listing is:
0468  E185  A9 BC       STA1   LDA #$BC        ;"<" CHR WITH MSB=1 FOR DISP
My version is:
0468   E185 A9 BC       STA1   LDA #'<'+$80    ;"<" CHR WITH MSB=1 FOR DISP
The TASM assembler is not the same one that Rockwell used to write the
code, so some assembler directives and opcode formats are different.
However, the ASM file uses the same line numbering as the printed listing.
That is, line 1000 in the printed listing corresponds to line 1000 in the
ASM file and line 1000 in the LST file.
I could not fully read eight lines in the program listing because I was
looking at a scanned copy, not the original.  The rightmost characters
were lost in the binding.  These are the lines:
0149  HIST   =NAME           ;FOUR LAST ADDR + NEXT (SINGL STEP)
1796         JSR SWSTAK      ;SWAP X , Y WITH RTRN ADDR FROM S
1804         JSR SWSTAK      ;SWAP X , Y WITH RTRN ADDR FROM
2159  RDBIT  LDA TSPEED      ;ARE WE IN C7 OR 5B,5A FREQUENC
2262  OUTDP1 JMP (DILINK)    ;HERE HE COULD ECHO SOMEWHERE ELSE
3205         BNE IN02        ;CONTIN , DISP WONT ALLOW > 60 CHR
3719         LDA TYPE        ;CHCK FOR BRNCH WITH RELATIVE ADDR
3727  TRY34  LDA #04         ;CHECK FOR ABSOLUTE OR ZP,X ORZP,
NOTE: I have since been told that the cut-off lines above exist in the
original manual.