Listing of file='TRACE.DOC;01' on disk='vmedia/chip_117-sector.ccvf'
### Disk Sector 106 ### 00: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 10: 20 20 20 20 20 20 54 52 41 43 45 20 20 49 4e 53 TRACE INS 20: 54 52 55 43 54 49 4f 4e 53 0d 0d 0d 0d 20 20 20 TRUCTIONS.... 30: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 40: 20 20 20 20 20 62 79 20 54 2e 52 2e 20 57 75 6c by T.R. Wul 50: 66 66 0d 0d 20 20 20 20 20 20 20 20 20 20 20 20 ff.. 60: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 32 2 70: 35 20 4a 75 6e 65 20 38 34 0d 0d 20 20 20 20 20 5 June 84.. ### Disk Sector 107 ### 00: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 10: 20 20 20 20 20 20 56 45 52 20 36 2e 38 34 0d 0d VER 6.84.. 20: 0d 0d 20 20 20 20 20 54 72 61 63 65 20 69 73 20 .. Trace is 30: 61 20 70 72 6f 67 72 61 6d 20 74 68 61 74 20 61 a program that a 40: 6c 6c 6f 77 73 20 74 68 65 20 75 73 65 72 20 74 llows the user t 50: 6f 20 6f 62 73 65 72 76 65 20 74 68 65 0d 0d 6f o observe the..o 60: 70 65 72 61 74 69 6f 6e 20 6f 66 20 61 20 6d 61 peration of a ma 70: 63 68 69 6e 65 20 6c 61 6e 67 75 61 67 65 20 70 chine language p ### Disk Sector 108 ### 00: 72 6f 67 72 61 6d 2e 20 20 4f 6e 20 65 61 63 68 rogram. On each 10: 20 6d 61 63 68 69 6e 65 0d 0d 6c 61 6e 67 75 61 machine..langua 20: 67 65 20 69 6e 73 74 72 75 63 74 69 6f 6e 20 74 ge instruction t 30: 72 61 63 65 20 63 61 75 73 65 73 20 74 68 65 20 race causes the 40: 6f 70 65 72 61 74 69 6f 6e 20 74 6f 20 6f 63 63 operation to occ 50: 75 72 20 61 6e 64 0d 0d 70 72 69 6e 74 73 20 6f ur and..prints o 60: 75 74 20 74 68 65 20 72 65 73 75 6c 74 73 2e 20 ut the results. 70: 54 68 65 20 72 65 73 75 6c 74 73 20 63 6f 6e 73 The results cons ### Disk Sector 109 ### 00: 69 73 74 20 6f 66 20 73 74 61 74 75 73 2c 20 72 ist of status, r 10: 65 67 69 73 74 65 72 0d 0d 64 61 74 61 2c 20 73 egister..data, s 20: 74 61 63 6b 20 64 61 74 61 20 26 20 61 64 64 72 tack data & addr 30: 65 73 73 65 73 2c 20 6d 65 6d 6f 72 79 20 61 63 esses, memory ac 40: 63 65 73 73 65 73 2c 20 63 6f 6d 6d 61 6e 64 73 cesses, commands 50: 20 61 6e 64 20 74 68 65 0d 0d 70 72 6f 67 72 61 and the..progra 60: 6d 20 63 6f 75 6e 74 65 72 2e 20 54 72 61 63 65 m counter. Trace 70: 20 69 73 20 64 69 66 66 65 72 65 6e 74 20 66 72 is different fr ### Disk Sector 110 ### 00: 6f 6d 20 6f 74 68 65 72 20 64 69 73 61 73 73 65 om other disasse 10: 6d 62 6c 65 72 73 0d 0d 69 6e 20 74 68 61 74 20 mblers..in that 20: 74 68 65 20 6f 70 65 72 61 74 69 6f 6e 73 20 61 the operations a 30: 63 74 75 61 6c 6c 79 20 6f 63 63 75 72 2e 20 54 ctually occur. T 40: 68 65 72 65 66 6f 72 65 20 6a 75 6d 70 73 2c 0d herefore jumps,. 50: 0d 72 65 74 75 72 6e 73 2c 20 61 6e 64 20 63 61 .returns, and ca 60: 6c 6c 73 20 6f 6e 20 73 74 61 74 75 73 20 61 72 lls on status ar 70: 65 20 70 72 6f 70 65 72 6c 79 20 65 78 65 63 75 e properly execu ### Disk Sector 111 ### 00: 74 65 64 2e 20 54 72 61 63 65 20 0d 0d 74 68 65 ted. Trace ..the 10: 72 65 66 6f 72 65 20 61 63 74 73 20 6c 69 6b 65 refore acts like 20: 20 74 68 65 20 6d 69 63 72 6f 70 72 6f 63 65 73 the microproces 30: 73 6f 72 20 61 6e 64 20 61 6c 6c 6f 77 73 20 74 sor and allows t 40: 68 65 20 75 73 65 72 20 74 6f 0d 0d 61 63 74 75 he user to..actu 50: 61 6c 6c 79 20 73 65 65 20 74 68 65 20 6f 70 65 ally see the ope 60: 72 74 69 6f 6e 73 20 6f 66 20 61 20 6d 61 63 68 rtions of a mach 70: 69 6e 65 20 6c 61 6e 67 75 61 67 65 20 70 72 6f ine language pro ### Disk Sector 112 ### 00: 67 72 61 6d 2e 0d 0d 0d 0d 20 20 20 20 20 52 45 gram..... RE 10: 51 55 49 52 45 4d 45 4e 54 53 3a 0d 0d 0d 0d 20 QUIREMENTS:.... 20: 20 20 20 20 31 2e 20 53 49 4e 47 4c 45 20 44 49 1. SINGLE DI 30: 53 4b 0d 0d 20 20 20 20 20 32 2e 20 31 36 4b 20 SK.. 2. 16K 40: 4d 45 4d 4f 52 59 0d 0d 20 20 20 20 20 33 2e 20 MEMORY.. 3. 50: 50 52 49 4e 54 45 52 20 41 54 54 41 43 48 45 44 PRINTER ATTACHED 60: 20 54 4f 20 52 53 32 33 32 20 50 4f 52 54 0d 0d TO RS232 PORT.. 70: 0d 0d 20 20 20 20 20 4f 50 45 52 41 54 49 4f 4e .. OPERATION ### Disk Sector 113 ### 00: 3a 0d 0d 0d 0d 20 20 20 20 20 54 52 41 43 45 20 :.... TRACE 10: 72 65 71 75 69 72 65 73 20 61 20 6d 61 63 68 69 requires a machi 20: 6e 65 20 70 72 6f 67 72 61 6d 20 3c 20 50 52 30 ne program < PR0 30: 30 34 32 2e 50 52 47 3b 31 3e 20 74 6f 20 62 65 042.PRG;1> to be 40: 0d 0d 6c 6f 61 64 65 64 20 69 6e 74 6f 20 6d 65 ..loaded into me 50: 6d 6f 72 79 2e 20 49 66 20 50 52 30 30 34 32 20 mory. If PR0042 60: 69 73 20 6f 6e 20 74 68 65 20 73 61 6d 65 20 64 is on the same d 70: 69 73 6b 20 61 73 20 54 52 41 43 45 2c 0d 0d 74 isk as TRACE,..t ### Disk Sector 114 ### 00: 68 65 6e 20 69 74 20 77 69 6c 6c 20 62 65 20 61 hen it will be a 10: 75 74 6f 6d 61 74 69 63 61 6c 6c 79 20 6c 6f 61 utomatically loa 20: 64 65 64 20 62 65 66 6f 72 65 20 74 68 65 20 74 ded before the t 30: 72 61 63 69 6e 67 20 62 65 67 69 6e 73 2e 0d 0d racing begins... 40: 49 66 20 66 6f 72 20 73 6f 6d 65 20 72 65 61 73 If for some reas 50: 6f 6e 20 50 52 30 30 34 32 20 67 65 74 73 20 61 on PR0042 gets a 60: 6c 74 65 72 65 64 20 64 75 72 69 6e 67 20 74 68 ltered during th 70: 65 20 72 75 6e 20 69 74 20 63 61 6e 20 62 65 0d e run it can be. ### Disk Sector 115 ### 00: 0d 72 65 6c 6f 61 64 65 64 20 62 79 20 72 65 69 .reloaded by rei 10: 6e 73 65 72 74 69 6e 67 20 74 68 65 20 70 72 6f nserting the pro 20: 67 72 61 6d 20 64 69 73 6b 20 61 6e 64 20 65 6e gram disk and en 30: 74 65 72 69 6e 67 2c 0d 0d 52 55 4e 20 34 30 30 tering,..RUN 400 40: 30 2c 20 66 72 6f 6d 20 42 61 73 69 63 2e 20 54 0, from Basic. T 50: 68 65 20 70 72 6f 67 72 61 6d 20 70 72 6f 6d 70 he program promp 60: 74 73 20 74 68 65 20 75 73 65 72 20 66 6f 72 20 ts the user for 70: 73 65 76 65 72 61 6c 0d 0d 71 75 65 73 74 69 6f several..questio ### Disk Sector 116 ### 00: 6e 73 20 61 74 20 74 68 65 20 73 74 61 72 74 20 ns at the start 10: 6f 66 20 74 68 65 20 70 72 6f 67 72 61 6d 2e 20 of the program. 20: 54 68 65 79 20 61 72 65 20 61 73 20 66 6f 6c 6c They are as foll 30: 6f 77 73 3a 0d 0d 0d 0d 20 20 20 20 20 31 2e 20 ows:.... 1. 40: 45 4e 54 45 52 20 54 48 45 20 23 20 4f 46 20 43 ENTER THE # OF C 50: 48 52 53 2f 4c 49 4e 45 20 3c 38 30 3e 20 20 20 HRS/LINE <80> 60: 20 3c 64 65 66 61 75 6c 74 20 76 61 6c 75 65 73 <default values 70: 3e 0d 0d 0d 0d 54 68 69 73 20 69 73 20 74 68 65 >....This is the ### Disk Sector 117 ### 00: 20 63 68 61 72 61 63 74 65 72 20 77 69 64 74 68 character width 10: 20 6f 66 20 79 6f 75 72 20 70 72 69 6e 74 65 72 of your printer 20: 2e 20 45 6e 74 65 72 69 6e 67 20 61 20 72 65 74 . Entering a ret 30: 75 72 6e 0d 0d 77 69 6c 6c 20 70 72 6f 64 75 63 urn..will produc 40: 65 20 61 20 64 65 66 61 75 6c 74 20 6f 66 20 38 e a default of 8 50: 30 20 63 68 72 73 2f 6c 69 6e 65 2e 0d 0d 0d 0d 0 chrs/line..... 60: 20 20 20 20 20 32 2e 20 45 4e 54 45 52 20 20 54 2. ENTER T 70: 48 45 20 4e 55 4d 42 45 52 20 4f 46 20 4c 49 4e HE NUMBER OF LIN ### Disk Sector 118 ### 00: 45 53 2f 50 41 47 45 20 3c 38 30 3e 0d 0d 0d 0d ES/PAGE <80>.... 10: 54 68 69 73 20 69 73 20 74 68 65 20 6e 75 6d 62 This is the numb 20: 65 72 20 6f 66 20 6c 69 6e 65 73 20 74 68 61 74 er of lines that 30: 20 79 6f 75 20 77 69 73 68 20 6f 6e 20 61 20 70 you wish on a p 40: 61 67 65 2e 20 54 68 65 0d 0d 64 65 66 61 75 6c age. The..defaul 50: 74 20 69 73 20 38 30 20 6c 69 6e 65 73 2f 70 61 t is 80 lines/pa 60: 67 65 2e 20 54 68 65 20 70 72 6f 67 72 61 6d 20 ge. The program 70: 77 69 6c 6c 20 67 65 6e 65 72 61 74 65 20 61 20 will generate a ### Disk Sector 119 ### 00: 70 61 67 65 0d 0d 63 6f 6d 6d 61 6e 64 20 62 61 page..command ba 10: 73 65 64 20 6f 6e 20 74 68 69 73 20 69 6e 66 6f sed on this info 20: 72 6d 61 74 69 6f 6e 2e 20 49 74 20 77 69 6c 6c rmation. It will 30: 20 61 6c 73 6f 20 70 72 69 6e 74 20 74 68 65 0d also print the. 40: 0d 74 69 74 6c 65 2c 20 73 74 61 72 74 20 61 64 .title, start ad 50: 64 72 65 73 73 20 61 6e 64 20 70 61 67 65 20 6e dress and page n 60: 75 6d 62 65 72 20 61 74 20 74 68 65 20 74 6f 70 umber at the top 70: 2e 0d 0d 0d 0d 20 20 20 20 20 33 2e 20 54 49 54 ..... 3. TIT ### Disk Sector 120 ### 00: 4c 45 0d 0d 0d 0d 54 68 69 73 20 69 73 20 74 65 LE....This is te 10: 78 74 20 69 6e 66 6f 72 6d 61 74 69 6f 6e 20 74 xt information t 20: 68 61 74 20 69 73 20 70 72 69 6e 74 65 64 20 6f hat is printed o 30: 6e 20 65 61 63 68 20 70 61 67 65 2e 20 49 74 0d n each page. It. 40: 0d 73 68 6f 75 6c 64 20 6e 6f 74 20 62 65 20 6c .should not be l 50: 6f 6e 67 65 72 20 74 68 61 6e 20 74 68 65 20 23 onger than the # 60: 20 6f 66 20 63 68 72 73 2f 6c 69 6e 65 2e 20 4c of chrs/line. L 70: 6f 6e 67 65 72 20 74 65 78 74 20 77 69 6c 6c 0d onger text will. ### Disk Sector 121 ### 00: 0d 63 61 75 73 65 20 74 68 65 20 70 72 6f 67 72 .cause the progr 10: 61 6d 20 74 6f 20 61 64 64 20 6d 6f 72 65 20 74 am to add more t 20: 68 61 6e 20 74 68 65 20 73 70 65 63 69 66 69 65 han the specifie 30: 64 20 6e 75 6d 62 65 72 20 6f 66 0d 0d 6c 69 6e d number of..lin 40: 65 73 2e 0d 0d 0d 0d 20 20 20 20 20 34 2e 20 53 es..... 4. S 50: 54 41 52 54 20 41 44 44 52 45 53 53 0d 0d 0d 0d TART ADDRESS.... 60: 54 68 69 73 20 69 73 20 74 68 65 20 61 64 64 72 This is the addr 70: 65 73 73 20 61 74 20 77 68 69 63 68 20 79 6f 75 ess at which you ### Disk Sector 122 ### 00: 20 77 69 73 68 20 74 6f 20 62 65 67 69 6e 20 74 wish to begin t 10: 68 65 20 74 72 61 63 65 2e 20 4e 4f 54 45 0d 0d he trace. NOTE.. 20: 74 68 69 73 20 73 68 6f 75 6c 64 20 62 65 20 74 this should be t 30: 68 65 20 6c 6f 67 69 63 61 6c 20 73 74 61 72 74 he logical start 40: 69 6e 67 20 70 6f 69 6e 74 20 6f 66 20 61 20 70 ing point of a p 50: 72 6f 67 72 61 6d 20 6f 72 20 0d 0d 69 6e 74 65 rogram or ..inte 60: 72 72 75 70 74 2e 20 54 68 65 20 73 74 61 72 74 rrupt. The start 70: 69 6e 67 20 61 64 64 72 65 73 73 20 69 73 20 69 ing address is i ### Disk Sector 123 ### 00: 6e 20 64 65 63 69 6d 61 6c 2e 0d 0d 0d 0d 20 20 n decimal..... 10: 20 20 20 35 2e 20 53 43 52 45 45 4e 20 4f 52 20 5. SCREEN OR 20: 50 52 49 4e 54 45 52 20 0d 0d 0d 0d 54 68 69 73 PRINTER ....This 30: 20 74 65 6c 6c 73 20 74 68 65 20 70 72 6f 67 72 tells the progr 40: 61 6d 20 77 68 65 74 68 65 72 20 74 68 65 20 74 am whether the t 50: 72 61 63 65 20 69 6e 66 6f 72 6d 61 74 69 6f 6e race information 60: 20 69 73 20 74 6f 20 62 65 0d 0d 70 72 69 6e 74 is to be..print 70: 65 64 20 6f 6e 20 74 68 65 20 73 63 72 65 65 6e ed on the screen ### Disk Sector 124 ### 00: 20 6f 72 20 73 65 6e 74 20 74 6f 20 74 68 65 20 or sent to the 10: 70 72 69 6e 74 65 72 2e 20 54 68 65 20 75 73 65 printer. The use 20: 72 20 74 79 70 65 73 0d 0d 69 6e 20 53 43 52 45 r types..in SCRE 30: 45 4e 20 6f 72 20 50 52 49 4e 54 45 52 2e 0d 0d EN or PRINTER... 40: 0d 0d 20 20 20 20 20 36 2e 20 42 41 55 44 20 52 .. 6. BAUD R 50: 41 54 45 0d 0d 0d 0d 54 68 65 20 64 65 66 61 75 ATE....The defau 60: 6c 74 20 69 73 20 39 36 30 30 20 62 61 75 64 2e lt is 9600 baud. 70: 20 45 6e 74 65 72 20 74 68 65 20 64 65 73 69 72 Enter the desir ### Disk Sector 125 ### 00: 65 64 20 62 61 75 64 20 72 61 74 65 20 73 75 63 ed baud rate suc 10: 68 20 61 73 0d 0d 33 30 30 20 6f 72 20 32 34 30 h as..300 or 240 20: 30 2e 20 49 74 20 64 6f 65 73 20 6e 6f 74 20 72 0. It does not r 30: 65 63 6f 67 6e 69 7a 65 20 74 68 65 20 62 61 75 ecognize the bau 40: 64 20 72 61 74 65 20 63 6f 64 65 73 20 6f 66 20 d rate codes of 50: 31 20 0d 0d 74 68 72 75 20 37 2e 0d 0d 0d 0d 41 1 ..thru 7.....A 60: 66 74 65 72 20 74 68 65 20 70 72 65 6c 69 6d 69 fter the prelimi 70: 6e 61 72 79 20 69 6e 66 6f 72 6d 61 74 69 6f 6e nary information ### Disk Sector 126 ### 00: 20 69 73 20 65 6e 74 65 72 65 64 2c 20 74 68 65 is entered, the 10: 20 70 72 6f 67 72 61 6d 20 77 69 6c 6c 0d 0d 74 program will..t 20: 72 61 63 65 20 75 6e 74 69 6c 20 61 20 48 4c 54 race until a HLT 30: 20 63 6f 64 65 20 69 73 20 65 6e 63 6f 75 6e 74 code is encount 40: 65 72 65 64 20 3c 31 31 38 3e 20 6f 72 20 74 68 ered <118> or th 50: 65 20 41 54 54 4e 20 42 52 45 41 4b 0d 0d 6b 65 e ATTN BREAK..ke 60: 79 20 69 73 20 64 65 70 72 65 73 73 65 64 2e 20 y is depressed. 70: 53 69 6e 63 65 20 54 52 41 43 45 20 75 73 65 73 Since TRACE uses ### Disk Sector 127 ### 00: 20 61 20 6d 61 63 68 69 6e 65 20 6c 61 6e 67 75 a machine langu 10: 61 67 65 20 70 72 6f 67 72 61 6d 0d 0d 74 68 65 age program..the 20: 20 72 65 67 69 73 74 65 72 73 20 61 6e 64 20 6f registers and o 30: 74 68 65 72 20 70 72 6f 63 65 73 73 6f 72 20 69 ther processor i 40: 6e 66 6f 72 6d 61 74 69 6f 6e 20 69 73 20 6e 6f nformation is no 50: 74 20 64 65 73 74 72 6f 79 65 64 0d 0d 77 68 65 t destroyed..whe 60: 6e 20 74 68 65 20 70 72 6f 67 72 61 6d 20 69 73 n the program is 70: 20 72 65 72 75 6e 20 50 52 4f 56 49 44 45 44 20 rerun PROVIDED ### Disk Sector 128 ### 00: 50 52 30 30 34 32 20 69 73 20 6e 6f 74 20 72 65 PR0042 is not re 10: 6c 6f 61 64 65 64 2e 0d 0d 0d 0d 20 20 20 20 20 loaded..... 20: 46 49 4e 41 4c 20 4e 4f 54 45 53 3a 0d 0d 0d 0d FINAL NOTES:.... 30: 20 20 20 20 20 54 52 41 43 45 20 70 6c 61 63 65 TRACE place 40: 73 20 50 52 30 30 34 32 2e 50 52 47 20 69 6d 6d s PR0042.PRG imm 50: 65 64 69 61 74 65 6c 79 20 61 66 74 65 72 20 74 ediately after t 60: 68 65 20 42 41 53 49 43 0d 0d 70 72 6f 67 72 61 he BASIC..progra 70: 6d 2e 20 49 66 20 79 6f 75 20 61 6c 74 65 72 20 m. If you alter ### Disk Sector 129 ### 00: 74 68 65 20 42 41 53 49 43 20 70 6f 72 74 69 6f the BASIC portio 10: 6e 20 6f 66 20 54 52 41 43 45 20 61 6e 64 20 67 n of TRACE and g 20: 65 74 20 61 6e 20 4f 4d 0d 0d 65 72 72 6f 72 2c et an OM..error, 30: 20 79 6f 75 20 64 6f 20 6e 6f 74 20 68 61 76 65 you do not have 40: 20 74 6f 20 72 65 61 73 73 65 6d 62 6c 65 20 50 to reassemble P 50: 52 30 30 34 32 2e 20 41 74 20 74 68 65 20 62 65 R0042. At the be 60: 67 69 6e 6e 69 6e 67 0d 0d 6f 66 20 74 68 65 20 ginning..of the 70: 70 72 6f 67 72 61 6d 20 69 6e 20 6c 69 6e 65 20 program in line ### Disk Sector 130 ### 00: 31 2c 20 79 6f 75 20 77 69 6c 6c 20 73 65 65 20 1, you will see 10: 41 30 20 3d 20 31 36 35 2e 20 54 68 69 73 20 69 A0 = 165. This i 20: 73 20 75 73 65 64 0d 0d 74 6f 20 73 65 74 20 74 s used..to set t 30: 68 65 20 74 6f 70 20 6f 66 20 62 61 73 69 63 20 he top of basic 40: 52 41 4d 2e 20 49 74 20 69 73 20 61 6c 73 6f 20 RAM. It is also 50: 75 73 65 64 20 69 6e 20 70 6c 61 63 69 6e 67 20 used in placing 60: 50 52 30 30 34 32 20 0d 0d 69 6e 20 74 68 65 20 PR0042 ..in the 70: 61 70 70 72 6f 70 72 69 61 74 65 20 6d 65 6d 6f appropriate memo ### Disk Sector 131 ### 00: 72 79 20 61 72 65 61 2e 20 49 6e 63 72 65 61 73 ry area. Increas 10: 69 6e 67 20 41 30 20 77 69 6c 6c 20 70 72 6f 76 ing A0 will prov 20: 69 64 65 20 6d 6f 72 65 0d 0d 42 41 53 49 43 20 ide more..BASIC 30: 6d 65 6d 6f 72 79 20 73 70 61 63 65 20 61 6e 64 memory space and 40: 20 61 6c 73 6f 20 6c 6f 61 64 20 50 52 30 30 34 also load PR004 50: 32 20 74 6f 20 61 20 68 69 67 68 65 72 20 61 64 2 to a higher ad 60: 64 72 65 73 73 2e 0d 20 0d 54 68 69 73 20 6c 6f dress.. .This lo 70: 61 64 20 69 6e 63 6c 75 64 65 73 20 61 64 64 72 ad includes addr ### Disk Sector 132 ### 00: 65 73 73 20 63 68 61 6e 67 65 73 20 69 6e 20 50 ess changes in P 10: 52 30 30 34 32 2e 20 54 52 41 43 45 20 61 6c 73 R0042. TRACE als 20: 6f 0d 0d 69 64 65 6e 74 69 66 69 65 73 20 61 6e o..identifies an 30: 79 20 75 6e 64 65 66 69 6e 65 64 20 66 75 6e 63 y undefined func 40: 74 69 6f 6e 73 20 62 75 74 20 64 6f 65 73 20 6e tions but does n 50: 6f 74 20 6f 70 65 72 61 74 65 20 6f 6e 20 74 68 ot operate on th 60: 65 6d 2e 0d 0d 00 00 00 00 00 00 00 00 00 00 00 em.............. 70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................