Home » Personal collection » Acorn ADFS disks » Electron » MTF_finished_programs.ADF » TAPE2/B/5TINYDUMP
TAPE2/B/5TINYDUMP
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 » MTF_finished_programs.ADF |
Filename: | TAPE2/B/5TINYDUMP |
Read OK: | ✔ |
File size: | 0685 bytes |
Load address: | FFFF0E00 |
Exec address: | FFFF8023 |
Duplicates
There are 3 duplicate copies of this file in the archive:
- Personal collection » Acorn ADFS disks » Electron » MTF_finished_programs.ADF » TAPE2/B/5TINYDUMP
- Personal collection » Acorn ADFS disks » Electron » Finished_programs.ADF » TAPE2/B/5TINYDUMP
- Personal collection » Acorn hard disk » zipped_disks » elk03 » finished/TAPE2/B/5TINYDUMP
- Personal collection » Acorn tapes » Own_Work » box02_tape04b_c15_acorn_print_utils_2.wav » 5.TINYDUMP
File contents
10 REM Screen Dump 20 REM CALL &C00 to dump 30 oswrch=&FFEE:osbyte=&FFF4:osword=&FFF1 40 x=&70:y=&72:block=&80 50 FOR pass=0 TO 2 STEP 2 60 P%=&C00 70 IF pass=2 PRINT"start...&";~P% 80 [ OPT pass 90 LDA #26:JSR oswrch \VDU 26 100 LDA #6:LDX #255:LDY #0:JSR osbyte \*FX 6,255 110 LDA #3:LDX #10:LDY #0:JSR osbyte \*FX3,10 120 LDA #27:JSR oswrch:LDA #85:JSR oswrch:LDA #1:JSR oswrch \VDU 27,85,1 130 LDA #27:JSR oswrch:LDA #51:JSR oswrch:LDA #2:JSR oswrch \VDU 27,65,2 140 LDA #1020 MOD256:STA y:LDA #1020 DIV256:STA y+1 \y=1020 150 .loop 160 LDA #10:JSR oswrch \VDU 10 170 LDA #27:JSR oswrch:LDA #76:JSR oswrch:LDA #320 MOD256:JSR oswrch:LDA #320 DIV256:JSR oswrch \VDU 27,76,320 MOD256,320 DIV256 180 LDA #0:STA x:STA x+1 \x=0 190 .loop1 200 LDA x:STA block:LDA x+1:STA block+1 210 LDA y:STA block+2:LDA y+1:STA block+3 220 LDA #9:LDX #block MOD256:LDY #block DIV256:JSR osword \POINT 230 LDA block+4:AND #7:TAX:LDY mult,X \Y=POINT*6 240 LDX #2 250 .loop2 260 LDA data,Y:JSR oswrch 270 INY:DEX:BNE loop2 280 CLC:LDA x:ADC #8:STA x:LDA x+1:ADC #0:STA x+1 \x=x+8 290 CMP #1280 DIV256:BNE loop1 300 SEC:LDA y:SBC #4:STA y:LDA y+1:SBC #0:STA y+1 \y=y-4 310 BNE loop 320 LDA y:BNE loop 330 LDA #3:LDX #4:LDY #0:JMP osbyte \*FX3,4 340 350 .mult 360 EQUB 0:EQUB 5*6:EQUB 6*6:EQUB 7*6 370 380 .data 390 EQUB 0:EQUB 0:EQUB 0:EQUB 0:EQUB 0:EQUB 0 400 EQUB 0:EQUB 1:EQUB 0:EQUB 0:EQUB 1:EQUB 0 410 EQUB 1:EQUB 0:EQUB 2:EQUB 2:EQUB 0:EQUB 1 420 EQUB 0:EQUB 3:EQUB 0:EQUB 0:EQUB 3:EQUB 0 430 EQUB 1:EQUB 1:EQUB 1:EQUB 1:EQUB 1:EQUB 1 440 EQUB 1:EQUB 0:EQUB 3:EQUB 0:EQUB 3:EQUB 0 450 EQUB 0:EQUB 1:EQUB 2:EQUB 1:EQUB 3:EQUB 2 460 EQUB 1:EQUB 1:EQUB 3:EQUB 3:EQUB 3:EQUB 3 470 ] 480 NEXT 490 PRINT"End.....&";~P%
� Screen Dump � CALL &C00 to dump + oswrch=&FFEE:osbyte=&FFF4:osword=&FFF1 ( x=&70:y=&72:block=&80 2 � pass=0 � 2 � 2 < P%=&C00 F � pass=2 �"start...&";~P% P [ OPT pass Z LDA #26:JSR oswrch \� 26 d2 LDA #6:LDX #255:LDY #0:JSR osbyte \*FX 6,255 n. LDA #3:LDX #10:LDY #0:JSR osbyte \*FX3,10 xG LDA #27:JSR oswrch:LDA #85:JSR oswrch:LDA #1:JSR oswrch \� 27,85,1 �G LDA #27:JSR oswrch:LDA #51:JSR oswrch:LDA #2:JSR oswrch \� 27,65,2 �9 LDA #1020 �256:STA y:LDA #1020 �256:STA y+1 \y=1020 � .loop � LDA #10:JSR oswrch \� 10 �w LDA #27:JSR oswrch:LDA #76:JSR oswrch:LDA #320 �256:JSR oswrch:LDA #320 �256:JSR oswrch \� 27,76,320 �256,320 �256 � LDA #0:STA x:STA x+1 \x=0 � .loop1 �( LDA x:STA block:LDA x+1:STA block+1 �* LDA y:STA block+2:LDA y+1:STA block+3 �> LDA #9:LDX #block �256:LDY #block �256:JSR osword \POINT �0 LDA block+4:� #7:TAX:LDY mult,X \Y=POINT*6 � LDX #2 � .loop2 LDA data,Y:JSR oswrch INY:DEX:BNE loop2 : CLC:LDA x:ADC #8:STA x:LDA x+1:ADC #0:STA x+1 \x=x+8 " CMP #1280 �256:BNE loop1 ,: SEC:LDA y:SBC #4:STA y:LDA y+1:SBC #0:STA y+1 \y=y-4 6 BNE loop @ LDA y:BNE loop J- LDA #3:LDX #4:LDY #0:JMP osbyte \*FX3,4 T ^ .mult h& EQUB 0:EQUB 5*6:EQUB 6*6:EQUB 7*6 r | .data �. EQUB 0:EQUB 0:EQUB 0:EQUB 0:EQUB 0:EQUB 0 �. EQUB 0:EQUB 1:EQUB 0:EQUB 0:EQUB 1:EQUB 0 �. EQUB 1:EQUB 0:EQUB 2:EQUB 2:EQUB 0:EQUB 1 �. EQUB 0:EQUB 3:EQUB 0:EQUB 0:EQUB 3:EQUB 0 �. EQUB 1:EQUB 1:EQUB 1:EQUB 1:EQUB 1:EQUB 1 �. EQUB 1:EQUB 0:EQUB 3:EQUB 0:EQUB 3:EQUB 0 �. EQUB 0:EQUB 1:EQUB 2:EQUB 1:EQUB 3:EQUB 2 �. EQUB 1:EQUB 1:EQUB 3:EQUB 3:EQUB 3:EQUB 3 � ] � � � �"End.....&";~P% �
00000000 0d 00 0a 12 20 f4 20 53 63 72 65 65 6e 20 44 75 |.... . Screen Du| 00000010 6d 70 0d 00 14 18 20 f4 20 43 41 4c 4c 20 26 43 |mp.... . CALL &C| 00000020 30 30 20 74 6f 20 64 75 6d 70 0d 00 1e 2b 20 6f |00 to dump...+ o| 00000030 73 77 72 63 68 3d 26 46 46 45 45 3a 6f 73 62 79 |swrch=&FFEE:osby| 00000040 74 65 3d 26 46 46 46 34 3a 6f 73 77 6f 72 64 3d |te=&FFF4:osword=| 00000050 26 46 46 46 31 0d 00 28 1a 20 78 3d 26 37 30 3a |&FFF1..(. x=&70:| 00000060 79 3d 26 37 32 3a 62 6c 6f 63 6b 3d 26 38 30 0d |y=&72:block=&80.| 00000070 00 32 15 20 e3 20 70 61 73 73 3d 30 20 b8 20 32 |.2. . pass=0 . 2| 00000080 20 88 20 32 0d 00 3c 0c 20 50 25 3d 26 43 30 30 | . 2..<. P%=&C00| 00000090 0d 00 46 1e 20 e7 20 70 61 73 73 3d 32 20 f1 22 |..F. . pass=2 ."| 000000a0 73 74 61 72 74 2e 2e 2e 26 22 3b 7e 50 25 0d 00 |start...&";~P%..| 000000b0 50 0f 20 5b 20 4f 50 54 20 70 61 73 73 0d 00 5a |P. [ OPT pass..Z| 000000c0 1e 20 4c 44 41 20 23 32 36 3a 4a 53 52 20 6f 73 |. LDA #26:JSR os| 000000d0 77 72 63 68 20 20 5c ef 20 32 36 0d 00 64 32 20 |wrch \. 26..d2 | 000000e0 4c 44 41 20 23 36 3a 4c 44 58 20 23 32 35 35 3a |LDA #6:LDX #255:| 000000f0 4c 44 59 20 23 30 3a 4a 53 52 20 6f 73 62 79 74 |LDY #0:JSR osbyt| 00000100 65 20 20 5c 2a 46 58 20 36 2c 32 35 35 0d 00 6e |e \*FX 6,255..n| 00000110 2e 20 4c 44 41 20 23 33 3a 4c 44 58 20 23 31 30 |. LDA #3:LDX #10| 00000120 3a 4c 44 59 20 23 30 3a 4a 53 52 20 6f 73 62 79 |:LDY #0:JSR osby| 00000130 74 65 20 5c 2a 46 58 33 2c 31 30 0d 00 78 47 20 |te \*FX3,10..xG | 00000140 4c 44 41 20 23 32 37 3a 4a 53 52 20 6f 73 77 72 |LDA #27:JSR oswr| 00000150 63 68 3a 4c 44 41 20 23 38 35 3a 4a 53 52 20 6f |ch:LDA #85:JSR o| 00000160 73 77 72 63 68 3a 4c 44 41 20 23 31 3a 4a 53 52 |swrch:LDA #1:JSR| 00000170 20 6f 73 77 72 63 68 20 5c ef 20 32 37 2c 38 35 | oswrch \. 27,85| 00000180 2c 31 0d 00 82 47 20 4c 44 41 20 23 32 37 3a 4a |,1...G LDA #27:J| 00000190 53 52 20 6f 73 77 72 63 68 3a 4c 44 41 20 23 35 |SR oswrch:LDA #5| 000001a0 31 3a 4a 53 52 20 6f 73 77 72 63 68 3a 4c 44 41 |1:JSR oswrch:LDA| 000001b0 20 23 32 3a 4a 53 52 20 6f 73 77 72 63 68 20 5c | #2:JSR oswrch \| 000001c0 ef 20 32 37 2c 36 35 2c 32 0d 00 8c 39 20 4c 44 |. 27,65,2...9 LD| 000001d0 41 20 23 31 30 32 30 20 83 32 35 36 3a 53 54 41 |A #1020 .256:STA| 000001e0 20 79 3a 4c 44 41 20 23 31 30 32 30 20 81 32 35 | y:LDA #1020 .25| 000001f0 36 3a 53 54 41 20 79 2b 31 20 20 5c 79 3d 31 30 |6:STA y+1 \y=10| 00000200 32 30 0d 00 96 0a 20 2e 6c 6f 6f 70 0d 00 a0 1d |20.... .loop....| 00000210 20 4c 44 41 20 23 31 30 3a 4a 53 52 20 6f 73 77 | LDA #10:JSR osw| 00000220 72 63 68 20 5c ef 20 31 30 0d 00 aa 77 20 4c 44 |rch \. 10...w LD| 00000230 41 20 23 32 37 3a 4a 53 52 20 6f 73 77 72 63 68 |A #27:JSR oswrch| 00000240 3a 4c 44 41 20 23 37 36 3a 4a 53 52 20 6f 73 77 |:LDA #76:JSR osw| 00000250 72 63 68 3a 4c 44 41 20 23 33 32 30 20 83 32 35 |rch:LDA #320 .25| 00000260 36 3a 4a 53 52 20 6f 73 77 72 63 68 3a 4c 44 41 |6:JSR oswrch:LDA| 00000270 20 23 33 32 30 20 81 32 35 36 3a 4a 53 52 20 6f | #320 .256:JSR o| 00000280 73 77 72 63 68 20 5c ef 20 32 37 2c 37 36 2c 33 |swrch \. 27,76,3| 00000290 32 30 20 83 32 35 36 2c 33 32 30 20 81 32 35 36 |20 .256,320 .256| 000002a0 0d 00 b4 1f 20 4c 44 41 20 23 30 3a 53 54 41 20 |.... LDA #0:STA | 000002b0 78 3a 53 54 41 20 78 2b 31 20 20 5c 78 3d 30 0d |x:STA x+1 \x=0.| 000002c0 00 be 0b 20 2e 6c 6f 6f 70 31 0d 00 c8 28 20 4c |... .loop1...( L| 000002d0 44 41 20 78 3a 53 54 41 20 62 6c 6f 63 6b 3a 4c |DA x:STA block:L| 000002e0 44 41 20 78 2b 31 3a 53 54 41 20 62 6c 6f 63 6b |DA x+1:STA block| 000002f0 2b 31 0d 00 d2 2a 20 4c 44 41 20 79 3a 53 54 41 |+1...* LDA y:STA| 00000300 20 62 6c 6f 63 6b 2b 32 3a 4c 44 41 20 79 2b 31 | block+2:LDA y+1| 00000310 3a 53 54 41 20 62 6c 6f 63 6b 2b 33 0d 00 dc 3e |:STA block+3...>| 00000320 20 4c 44 41 20 23 39 3a 4c 44 58 20 23 62 6c 6f | LDA #9:LDX #blo| 00000330 63 6b 20 83 32 35 36 3a 4c 44 59 20 23 62 6c 6f |ck .256:LDY #blo| 00000340 63 6b 20 81 32 35 36 3a 4a 53 52 20 6f 73 77 6f |ck .256:JSR oswo| 00000350 72 64 20 20 5c 50 4f 49 4e 54 0d 00 e6 30 20 4c |rd \POINT...0 L| 00000360 44 41 20 62 6c 6f 63 6b 2b 34 3a 80 20 23 37 3a |DA block+4:. #7:| 00000370 54 41 58 3a 4c 44 59 20 6d 75 6c 74 2c 58 20 20 |TAX:LDY mult,X | 00000380 5c 59 3d 50 4f 49 4e 54 2a 36 0d 00 f0 0b 20 4c |\Y=POINT*6.... L| 00000390 44 58 20 23 32 0d 00 fa 0b 20 2e 6c 6f 6f 70 32 |DX #2.... .loop2| 000003a0 0d 01 04 1a 20 4c 44 41 20 64 61 74 61 2c 59 3a |.... LDA data,Y:| 000003b0 4a 53 52 20 6f 73 77 72 63 68 0d 01 0e 16 20 49 |JSR oswrch.... I| 000003c0 4e 59 3a 44 45 58 3a 42 4e 45 20 6c 6f 6f 70 32 |NY:DEX:BNE loop2| 000003d0 0d 01 18 3a 20 43 4c 43 3a 4c 44 41 20 78 3a 41 |...: CLC:LDA x:A| 000003e0 44 43 20 23 38 3a 53 54 41 20 78 3a 4c 44 41 20 |DC #8:STA x:LDA | 000003f0 78 2b 31 3a 41 44 43 20 23 30 3a 53 54 41 20 78 |x+1:ADC #0:STA x| 00000400 2b 31 20 20 5c 78 3d 78 2b 38 0d 01 22 1d 20 43 |+1 \x=x+8..". C| 00000410 4d 50 20 23 31 32 38 30 20 81 32 35 36 3a 42 4e |MP #1280 .256:BN| 00000420 45 20 6c 6f 6f 70 31 0d 01 2c 3a 20 53 45 43 3a |E loop1..,: SEC:| 00000430 4c 44 41 20 79 3a 53 42 43 20 23 34 3a 53 54 41 |LDA y:SBC #4:STA| 00000440 20 79 3a 4c 44 41 20 79 2b 31 3a 53 42 43 20 23 | y:LDA y+1:SBC #| 00000450 30 3a 53 54 41 20 79 2b 31 20 20 5c 79 3d 79 2d |0:STA y+1 \y=y-| 00000460 34 0d 01 36 0d 20 42 4e 45 20 6c 6f 6f 70 0d 01 |4..6. BNE loop..| 00000470 40 13 20 4c 44 41 20 79 3a 42 4e 45 20 6c 6f 6f |@. LDA y:BNE loo| 00000480 70 0d 01 4a 2d 20 4c 44 41 20 23 33 3a 4c 44 58 |p..J- LDA #3:LDX| 00000490 20 23 34 3a 4c 44 59 20 23 30 3a 4a 4d 50 20 6f | #4:LDY #0:JMP o| 000004a0 73 62 79 74 65 20 20 5c 2a 46 58 33 2c 34 0d 01 |sbyte \*FX3,4..| 000004b0 54 05 20 0d 01 5e 0a 20 2e 6d 75 6c 74 0d 01 68 |T. ..^. .mult..h| 000004c0 26 20 45 51 55 42 20 30 3a 45 51 55 42 20 35 2a |& EQUB 0:EQUB 5*| 000004d0 36 3a 45 51 55 42 20 36 2a 36 3a 45 51 55 42 20 |6:EQUB 6*6:EQUB | 000004e0 37 2a 36 0d 01 72 05 20 0d 01 7c 0a 20 2e 64 61 |7*6..r. ..|. .da| 000004f0 74 61 0d 01 86 2e 20 45 51 55 42 20 30 3a 45 51 |ta.... EQUB 0:EQ| 00000500 55 42 20 30 3a 45 51 55 42 20 30 3a 45 51 55 42 |UB 0:EQUB 0:EQUB| 00000510 20 30 3a 45 51 55 42 20 30 3a 45 51 55 42 20 30 | 0:EQUB 0:EQUB 0| 00000520 0d 01 90 2e 20 45 51 55 42 20 30 3a 45 51 55 42 |.... EQUB 0:EQUB| 00000530 20 31 3a 45 51 55 42 20 30 3a 45 51 55 42 20 30 | 1:EQUB 0:EQUB 0| 00000540 3a 45 51 55 42 20 31 3a 45 51 55 42 20 30 0d 01 |:EQUB 1:EQUB 0..| 00000550 9a 2e 20 45 51 55 42 20 31 3a 45 51 55 42 20 30 |.. EQUB 1:EQUB 0| 00000560 3a 45 51 55 42 20 32 3a 45 51 55 42 20 32 3a 45 |:EQUB 2:EQUB 2:E| 00000570 51 55 42 20 30 3a 45 51 55 42 20 31 0d 01 a4 2e |QUB 0:EQUB 1....| 00000580 20 45 51 55 42 20 30 3a 45 51 55 42 20 33 3a 45 | EQUB 0:EQUB 3:E| 00000590 51 55 42 20 30 3a 45 51 55 42 20 30 3a 45 51 55 |QUB 0:EQUB 0:EQU| 000005a0 42 20 33 3a 45 51 55 42 20 30 0d 01 ae 2e 20 45 |B 3:EQUB 0.... E| 000005b0 51 55 42 20 31 3a 45 51 55 42 20 31 3a 45 51 55 |QUB 1:EQUB 1:EQU| 000005c0 42 20 31 3a 45 51 55 42 20 31 3a 45 51 55 42 20 |B 1:EQUB 1:EQUB | 000005d0 31 3a 45 51 55 42 20 31 0d 01 b8 2e 20 45 51 55 |1:EQUB 1.... EQU| 000005e0 42 20 31 3a 45 51 55 42 20 30 3a 45 51 55 42 20 |B 1:EQUB 0:EQUB | 000005f0 33 3a 45 51 55 42 20 30 3a 45 51 55 42 20 33 3a |3:EQUB 0:EQUB 3:| 00000600 45 51 55 42 20 30 0d 01 c2 2e 20 45 51 55 42 20 |EQUB 0.... EQUB | 00000610 30 3a 45 51 55 42 20 31 3a 45 51 55 42 20 32 3a |0:EQUB 1:EQUB 2:| 00000620 45 51 55 42 20 31 3a 45 51 55 42 20 33 3a 45 51 |EQUB 1:EQUB 3:EQ| 00000630 55 42 20 32 0d 01 cc 2e 20 45 51 55 42 20 31 3a |UB 2.... EQUB 1:| 00000640 45 51 55 42 20 31 3a 45 51 55 42 20 33 3a 45 51 |EQUB 1:EQUB 3:EQ| 00000650 55 42 20 33 3a 45 51 55 42 20 33 3a 45 51 55 42 |UB 3:EQUB 3:EQUB| 00000660 20 33 0d 01 d6 06 20 5d 0d 01 e0 06 20 ed 0d 01 | 3.... ].... ...| 00000670 ea 15 20 f1 22 45 6e 64 2e 2e 2e 2e 2e 26 22 3b |.. ."End.....&";| 00000680 7e 50 25 0d ff |~P%..| 00000685