Home » Personal collection » Acorn ADFS disks » Electron_User_Group » EUG_28.ADF » P/+TRAKR1
P/+TRAKR1
This website contains an archive of files for the Acorn Electron, BBC Micro, Acorn Archimedes, Commodore 16 and Commodore 64 computers, which Dominic Ford has rescued from his private collection of floppy disks and cassettes.
Some of these files were originally commercial releases in the 1980s and 1990s, but they are now widely available online. I assume that copyright over them is no longer being asserted. If you own the copyright and would like files to be removed, please contact me.
Tape/disk: | Home » Personal collection » Acorn ADFS disks » Electron_User_Group » EUG_28.ADF |
Filename: | P/+TRAKR1 |
Read OK: | ✔ |
File size: | 079F bytes |
Load address: | 1010D2E |
Exec address: | 0000 |
File contents
�PBoff TRACKER DISSASSEMBLER ~~~~~~~~~~~~~~~~~~~~~ By Richard Dimond This is the dissassembler that I use for all my machine coding and I find it very useful. Now that I have a Master, I found that it needed some small modifications to make it work satisfactorily. The first thing was to set up CHR$255 using VDU23 as needed on the Master and this was done by changing line 1000. The program set up the character by simply setting up the bytes CF8 - CFF which can be done with the Elk. The inversion of the colours of the flags was done by EORing the bytes of CF8 - CFF. I have modified the line 210 to use the COLOUR command. The code is written to &72C0 and thus occupies the lower half of the MODE 6 screen. This can be avoided by switching on your MRB if you have this or using MODE 134 on th Master. To use the program, you must enter MODE 6 (or MODE 134) first to clear the screen before running the program as it will not work if the screen has scrolled. The program can then be run by *TRACKER. The keys to use are - A - to enter a new address (in hex) F - to move forward 256 bytes B - to move Backward 256 bytes J - to toggle JSR on/off M - to toggle JMP on/off P - to toggle the printer on/off Any other key will advance to the next op code ESCAPE will break out of the program but you can start up again by the command *GO. This uses a vector change so, if you are finished with the program, there is a command *RID for resetting the vectors to normal. If you want to start the program at a certain address, you can set D% to this address before calling the program. I have found that, when using the printer, you need a buffer large enough to hold all the coding you wish to print and, when this is loaded into the buffer, you then need to press BREAK to start the printer. **************************************************************************
00000000 80 50 42 6f 66 66 0d 54 52 41 43 4b 45 52 20 44 |.PBoff.TRACKER D| 00000010 49 53 53 41 53 53 45 4d 42 4c 45 52 0d 7e 7e 7e |ISSASSEMBLER.~~~| 00000020 7e 7e 7e 7e 7e 7e 7e 7e 7e 7e 7e 7e 7e 7e 7e 7e |~~~~~~~~~~~~~~~~| 00000030 7e 7e 0d 42 79 20 52 69 63 68 61 72 64 20 44 69 |~~.By Richard Di| 00000040 6d 6f 6e 64 0d 0d 54 68 69 73 20 69 73 20 74 68 |mond..This is th| 00000050 65 20 64 69 73 73 61 73 73 65 6d 62 6c 65 72 20 |e dissassembler | 00000060 74 68 61 74 1a 20 49 20 75 73 65 20 66 6f 72 20 |that. I use for | 00000070 61 6c 6c 20 6d 79 20 6d 61 63 68 69 6e 65 20 63 |all my machine c| 00000080 6f 64 69 6e 67 20 61 6e 64 20 49 20 66 69 6e 64 |oding and I find| 00000090 0d 69 74 20 76 65 72 79 20 75 73 65 66 75 6c 2e |.it very useful.| 000000a0 20 20 4e 6f 77 20 74 68 61 74 20 49 1a 20 68 61 | Now that I. ha| 000000b0 76 65 1a 20 61 1a 20 4d 61 73 74 65 72 2c 1a 20 |ve. a. Master,. | 000000c0 49 20 66 6f 75 6e 64 20 74 68 61 74 20 69 74 20 |I found that it | 000000d0 6e 65 65 64 65 64 20 73 6f 6d 65 0d 73 6d 61 6c |needed some.smal| 000000e0 6c 20 6d 6f 64 69 66 69 63 61 74 69 6f 6e 73 20 |l modifications | 000000f0 74 6f 20 6d 61 6b 65 20 69 74 20 77 6f 72 6b 20 |to make it work | 00000100 73 61 74 69 73 66 61 63 74 6f 72 69 6c 79 2e 0d |satisfactorily..| 00000110 0d 54 68 65 20 66 69 72 73 74 20 74 68 69 6e 67 |.The first thing| 00000120 20 77 61 73 20 74 6f 20 73 65 74 20 75 70 20 43 | was to set up C| 00000130 48 52 24 32 35 35 20 75 73 69 6e 67 20 56 44 55 |HR$255 using VDU| 00000140 32 33 20 61 73 1a 20 6e 65 65 64 65 64 20 6f 6e |23 as. needed on| 00000150 20 74 68 65 20 4d 61 73 74 65 72 0d 61 6e 64 20 | the Master.and | 00000160 74 68 69 73 20 77 61 73 20 64 6f 6e 65 20 62 79 |this was done by| 00000170 20 63 68 61 6e 67 69 6e 67 20 6c 69 6e 65 20 31 | changing line 1| 00000180 30 30 30 2e 20 20 54 68 65 20 70 72 6f 67 72 61 |000. The progra| 00000190 6d 20 73 65 74 20 75 70 20 74 68 65 20 63 68 61 |m set up the cha| 000001a0 72 61 63 74 65 72 0d 62 79 20 73 69 6d 70 6c 79 |racter.by simply| 000001b0 20 73 65 74 74 69 6e 67 20 75 70 20 74 68 65 20 | setting up the | 000001c0 62 79 74 65 73 20 43 46 38 20 2d 20 43 46 46 20 |bytes CF8 - CFF | 000001d0 77 68 69 63 68 20 63 61 6e 20 62 65 20 64 6f 6e |which can be don| 000001e0 65 20 77 69 74 68 20 74 68 65 20 45 6c 6b 2e 0d |e with the Elk..| 000001f0 0d 54 68 65 1a 20 69 6e 76 65 72 73 69 6f 6e 20 |.The. inversion | 00000200 6f 66 20 74 68 65 20 63 6f 6c 6f 75 72 73 20 6f |of the colours o| 00000210 66 20 74 68 65 20 66 6c 61 67 73 20 77 61 73 20 |f the flags was | 00000220 64 6f 6e 65 20 62 79 20 45 4f 52 69 6e 67 20 74 |done by EORing t| 00000230 68 65 20 62 79 74 65 73 20 6f 66 0d 43 46 38 20 |he bytes of.CF8 | 00000240 2d 20 43 46 46 2e 20 20 49 20 68 61 76 65 20 6d |- CFF. I have m| 00000250 6f 64 69 66 69 65 64 20 74 68 65 20 6c 69 6e 65 |odified the line| 00000260 20 32 31 30 20 74 6f 20 75 73 65 20 74 68 65 20 | 210 to use the | 00000270 43 4f 4c 4f 55 52 20 63 6f 6d 6d 61 6e 64 2e 0d |COLOUR command..| 00000280 0d 54 68 65 20 63 6f 64 65 1a 20 69 73 20 77 72 |.The code. is wr| 00000290 69 74 74 65 6e 20 74 6f 20 26 37 32 43 30 20 61 |itten to &72C0 a| 000002a0 6e 64 20 74 68 75 73 20 6f 63 63 75 70 69 65 73 |nd thus occupies| 000002b0 20 74 68 65 20 6c 6f 77 65 72 20 68 61 6c 66 20 | the lower half | 000002c0 6f 66 20 74 68 65 20 4d 4f 44 45 0d 36 20 73 63 |of the MODE.6 sc| 000002d0 72 65 65 6e 2e 20 20 54 68 69 73 1a 20 63 61 6e |reen. This. can| 000002e0 1a 20 62 65 20 61 76 6f 69 64 65 64 20 62 79 20 |. be avoided by | 000002f0 73 77 69 74 63 68 69 6e 67 20 6f 6e 20 79 6f 75 |switching on you| 00000300 72 20 4d 52 42 20 69 66 20 79 6f 75 20 68 61 76 |r MRB if you hav| 00000310 65 20 74 68 69 73 0d 6f 72 20 75 73 69 6e 67 20 |e this.or using | 00000320 4d 4f 44 45 20 31 33 34 20 6f 6e 20 74 68 20 4d |MODE 134 on th M| 00000330 61 73 74 65 72 2e 0d 0d 54 6f 20 75 73 65 20 74 |aster...To use t| 00000340 68 65 20 70 72 6f 67 72 61 6d 2c 20 79 6f 75 20 |he program, you | 00000350 6d 75 73 74 20 65 6e 74 65 72 20 4d 4f 44 45 20 |must enter MODE | 00000360 36 20 28 6f 72 20 4d 4f 44 45 20 31 33 34 29 20 |6 (or MODE 134) | 00000370 66 69 72 73 74 20 74 6f 20 63 6c 65 61 72 20 74 |first to clear t| 00000380 68 65 0d 73 63 72 65 65 6e 20 62 65 66 6f 72 65 |he.screen before| 00000390 20 72 75 6e 6e 69 6e 67 20 74 68 65 20 70 72 6f | running the pro| 000003a0 67 72 61 6d 1a 20 61 73 1a 20 69 74 1a 20 77 69 |gram. as. it. wi| 000003b0 6c 6c 20 6e 6f 74 20 77 6f 72 6b 20 69 66 20 74 |ll not work if t| 000003c0 68 65 20 73 63 72 65 65 6e 20 68 61 73 0d 73 63 |he screen has.sc| 000003d0 72 6f 6c 6c 65 64 2e 20 20 54 68 65 20 70 72 6f |rolled. The pro| 000003e0 67 72 61 6d 20 63 61 6e 20 74 68 65 6e 20 62 65 |gram can then be| 000003f0 20 72 75 6e 20 62 79 20 2a 54 52 41 43 4b 45 52 | run by *TRACKER| 00000400 2e 0d 0d 54 68 65 20 6b 65 79 73 20 74 6f 20 75 |...The keys to u| 00000410 73 65 20 61 72 65 20 2d 0d 0d 20 20 20 20 20 20 |se are -.. | 00000420 20 41 20 2d 20 74 6f 20 65 6e 74 65 72 20 61 20 | A - to enter a | 00000430 6e 65 77 20 61 64 64 72 65 73 73 20 28 69 6e 20 |new address (in | 00000440 68 65 78 29 0d 20 20 20 20 20 20 20 46 20 2d 20 |hex). F - | 00000450 74 6f 20 6d 6f 76 65 20 66 6f 72 77 61 72 64 20 |to move forward | 00000460 32 35 36 20 62 79 74 65 73 0d 20 20 20 20 20 20 |256 bytes. | 00000470 20 42 20 2d 20 74 6f 20 6d 6f 76 65 20 42 61 63 | B - to move Bac| 00000480 6b 77 61 72 64 20 32 35 36 20 62 79 74 65 73 0d |kward 256 bytes.| 00000490 20 20 20 20 20 20 20 4a 20 2d 20 74 6f 20 74 6f | J - to to| 000004a0 67 67 6c 65 20 4a 53 52 20 6f 6e 2f 6f 66 66 0d |ggle JSR on/off.| 000004b0 20 20 20 20 20 20 20 4d 20 2d 20 74 6f 20 74 6f | M - to to| 000004c0 67 67 6c 65 20 4a 4d 50 20 6f 6e 2f 6f 66 66 0d |ggle JMP on/off.| 000004d0 20 20 20 20 20 20 20 50 20 2d 20 74 6f 20 74 6f | P - to to| 000004e0 67 67 6c 65 20 74 68 65 20 70 72 69 6e 74 65 72 |ggle the printer| 000004f0 20 6f 6e 2f 6f 66 66 0d 20 20 20 20 20 20 20 41 | on/off. A| 00000500 6e 79 20 6f 74 68 65 72 20 6b 65 79 20 77 69 6c |ny other key wil| 00000510 6c 20 61 64 76 61 6e 63 65 20 74 6f 20 74 68 65 |l advance to the| 00000520 20 6e 65 78 74 20 6f 70 20 63 6f 64 65 0d 0d 45 | next op code..E| 00000530 53 43 41 50 45 1a 20 77 69 6c 6c 1a 20 62 72 65 |SCAPE. will. bre| 00000540 61 6b 1a 20 6f 75 74 1a 20 6f 66 20 74 68 65 20 |ak. out. of the | 00000550 70 72 6f 67 72 61 6d 20 62 75 74 20 79 6f 75 20 |program but you | 00000560 63 61 6e 20 73 74 61 72 74 20 75 70 20 61 67 61 |can start up aga| 00000570 69 6e 20 62 79 20 74 68 65 0d 63 6f 6d 6d 61 6e |in by the.comman| 00000580 64 20 2a 47 4f 2e 20 20 54 68 69 73 20 75 73 65 |d *GO. This use| 00000590 73 20 61 1a 20 76 65 63 74 6f 72 1a 20 63 68 61 |s a. vector. cha| 000005a0 6e 67 65 20 73 6f 2c 20 69 66 20 79 6f 75 20 61 |nge so, if you a| 000005b0 72 65 20 66 69 6e 69 73 68 65 64 20 77 69 74 68 |re finished with| 000005c0 20 74 68 65 0d 70 72 6f 67 72 61 6d 2c 20 74 68 | the.program, th| 000005d0 65 72 65 20 69 73 20 61 20 63 6f 6d 6d 61 6e 64 |ere is a command| 000005e0 20 2a 52 49 44 20 66 6f 72 20 72 65 73 65 74 74 | *RID for resett| 000005f0 69 6e 67 20 74 68 65 20 76 65 63 74 6f 72 73 20 |ing the vectors | 00000600 74 6f 20 6e 6f 72 6d 61 6c 2e 0d 0d 49 66 20 79 |to normal...If y| 00000610 6f 75 20 77 61 6e 74 20 74 6f 20 73 74 61 72 74 |ou want to start| 00000620 20 74 68 65 1a 20 70 72 6f 67 72 61 6d 1a 20 61 | the. program. a| 00000630 74 20 61 20 63 65 72 74 61 69 6e 20 61 64 64 72 |t a certain addr| 00000640 65 73 73 2c 20 79 6f 75 20 63 61 6e 20 73 65 74 |ess, you can set| 00000650 20 44 25 20 74 6f 0d 74 68 69 73 20 61 64 64 72 | D% to.this addr| 00000660 65 73 73 20 62 65 66 6f 72 65 20 63 61 6c 6c 69 |ess before calli| 00000670 6e 67 20 74 68 65 20 70 72 6f 67 72 61 6d 2e 0d |ng the program..| 00000680 0d 49 20 68 61 76 65 20 66 6f 75 6e 64 20 74 68 |.I have found th| 00000690 61 74 2c 20 77 68 65 6e 20 75 73 69 6e 67 20 74 |at, when using t| 000006a0 68 65 20 70 72 69 6e 74 65 72 2c 1a 20 79 6f 75 |he printer,. you| 000006b0 20 6e 65 65 64 20 61 20 62 75 66 66 65 72 20 6c | need a buffer l| 000006c0 61 72 67 65 20 65 6e 6f 75 67 68 0d 74 6f 20 68 |arge enough.to h| 000006d0 6f 6c 64 20 61 6c 6c 20 74 68 65 20 63 6f 64 69 |old all the codi| 000006e0 6e 67 20 79 6f 75 20 77 69 73 68 20 74 6f 20 70 |ng you wish to p| 000006f0 72 69 6e 74 20 61 6e 64 2c 20 77 68 65 6e 20 74 |rint and, when t| 00000700 68 69 73 20 69 73 20 6c 6f 61 64 65 64 20 69 6e |his is loaded in| 00000710 74 6f 20 74 68 65 0d 62 75 66 66 65 72 2c 20 79 |to the.buffer, y| 00000720 6f 75 20 74 68 65 6e 20 6e 65 65 64 20 74 6f 20 |ou then need to | 00000730 70 72 65 73 73 20 42 52 45 41 4b 20 74 6f 20 73 |press BREAK to s| 00000740 74 61 72 74 20 74 68 65 20 70 72 69 6e 74 65 72 |tart the printer| 00000750 2e 0d 0d 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a |...*************| 00000760 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a |****************| * 00000790 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 0d 0d |*************..| 0000079f