Home » Personal collection » Acorn tapes » Own_Work » box01_tape08b_d90_acorn_rough_stuff.wav » TINYDSPOOL

TINYDSPOOL

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 tapes » Own_Work » box01_tape08b_d90_acorn_rough_stuff.wav
Filename: TINYDSPOOL
Read OK:
File size: 0758 bytes
Load address: FFFFFFFF
Exec address: FFFFFFFF
File contents
>L.

  500 REM Screen Dump

  501 REM CALL &C00 to dump

  502 oswrch=&FFEE:osbyte=&FFF4:osword=&FFF1

  503 x=&70:y=&72:block=&80

  504 FOR pass=0 TO 2 STEP 2

  505 P%=&C00

  506 IF pass=2 PRINT"start...&";~P%

  507 [ OPT pass

  508 LDA #26:JSR oswrch  \VDU 26

  509 LDA #6:LDX #255:LDY #0:JSR osbyte  \*FX 6,255

  510 LDA #3:LDX #10:LDY #0:JSR osbyte \*FX3,10

  511 LDA #27:JSR oswrch:LDA #85:JSR oswrch:LDA #1:JSR oswrch \VDU 27,85,1

  512 LDA #27:JSR oswrch:LDA #51:JSR oswrch:LDA #2:JSR oswrch \VDU 27,65,2

  513 LDA #1020 MOD256:STA y:LDA #1020 DIV256:STA y+1  \y=1020

  514 .loop

  515 LDA #10:JSR oswrch \VDU 10

  516 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

  517 LDA #0:STA x:STA x+1  \x=0

  518 .loop1

  519 LDA x:STA block:LDA x+1:STA block+1

  520 LDA y:STA block+2:LDA y+1:STA block+3

  521 LDA #9:LDX #block MOD256:LDY #block DIV256:JSR osword  \POINT

  522 LDA block+4:AND #7:TAX:LDY mult,X  \Y=POINT*6

  523 LDX #2

  524 .loop2

  525 LDA data,Y:JSR oswrch

  526 INY:DEX:BNE loop2

  527 CLC:LDA x:ADC #8:STA x:LDA x+1:ADC #0:STA x+1  \x=x+8

  528 CMP #1280 DIV256:BNE loop1

  529 SEC:LDA y:SBC #4:STA y:LDA y+1:SBC #0:STA y+1  \y=y-4

  530 BNE loop

  531 LDA y:BNE loop

  532 LDA #3:LDX #4:LDY #0:JMP osbyte  \*FX3,4

  533 

  534 .mult

  535 EQUB 0:EQUB 5*6:EQUB 6*6:EQUB 7*6

  536 

  537 .data

  538 EQUB 0:EQUB 0:EQUB 0:EQUB 0:EQUB 0:EQUB 0

  539 EQUB 0:EQUB 1:EQUB 0:EQUB 0:EQUB 1:EQUB 0

  540 EQUB 1:EQUB 0:EQUB 2:EQUB 2:EQUB 0:EQUB 1

  541 EQUB 0:EQUB 3:EQUB 0:EQUB 0:EQUB 3:EQUB 0

  542 EQUB 1:EQUB 1:EQUB 1:EQUB 1:EQUB 1:EQUB 1

  543 EQUB 1:EQUB 0:EQUB 3:EQUB 0:EQUB 3:EQUB 0

  544 EQUB 0:EQUB 1:EQUB 2:EQUB 1:EQUB 3:EQUB 2

  545 EQUB 1:EQUB 1:EQUB 3:EQUB 3:EQUB 3:EQUB 3

  546 ]

  547 NEXT

  548 PRINT"End.....&";~P%

>*SPOOL

00000000  3e 4c 2e 0a 0d 20 20 35  30 30 20 52 45 4d 20 53  |>L...  500 REM S|
00000010  63 72 65 65 6e 20 44 75  6d 70 0a 0d 20 20 35 30  |creen Dump..  50|
00000020  31 20 52 45 4d 20 43 41  4c 4c 20 26 43 30 30 20  |1 REM CALL &C00 |
00000030  74 6f 20 64 75 6d 70 0a  0d 20 20 35 30 32 20 6f  |to dump..  502 o|
00000040  73 77 72 63 68 3d 26 46  46 45 45 3a 6f 73 62 79  |swrch=&FFEE:osby|
00000050  74 65 3d 26 46 46 46 34  3a 6f 73 77 6f 72 64 3d  |te=&FFF4:osword=|
00000060  26 46 46 46 31 0a 0d 20  20 35 30 33 20 78 3d 26  |&FFF1..  503 x=&|
00000070  37 30 3a 79 3d 26 37 32  3a 62 6c 6f 63 6b 3d 26  |70:y=&72:block=&|
00000080  38 30 0a 0d 20 20 35 30  34 20 46 4f 52 20 70 61  |80..  504 FOR pa|
00000090  73 73 3d 30 20 54 4f 20  32 20 53 54 45 50 20 32  |ss=0 TO 2 STEP 2|
000000a0  0a 0d 20 20 35 30 35 20  50 25 3d 26 43 30 30 0a  |..  505 P%=&C00.|
000000b0  0d 20 20 35 30 36 20 49  46 20 70 61 73 73 3d 32  |.  506 IF pass=2|
000000c0  20 50 52 49 4e 54 22 73  74 61 72 74 2e 2e 2e 26  | PRINT"start...&|
000000d0  22 3b 7e 50 25 0a 0d 20  20 35 30 37 20 5b 20 4f  |";~P%..  507 [ O|
000000e0  50 54 20 70 61 73 73 0a  0d 20 20 35 30 38 20 4c  |PT pass..  508 L|
000000f0  44 41 20 23 32 36 3a 4a  53 52 20 6f 73 77 72 63  |DA #26:JSR oswrc|
00000100  68 20 20 5c 56 44 55 20  32 36 0a 0d 20 20 35 30  |h  \VDU 26..  50|
00000110  39 20 4c 44 41 20 23 36  3a 4c 44 58 20 23 32 35  |9 LDA #6:LDX #25|
00000120  35 3a 4c 44 59 20 23 30  3a 4a 53 52 20 6f 73 62  |5:LDY #0:JSR osb|
00000130  79 74 65 20 20 5c 2a 46  58 20 36 2c 32 35 35 0a  |yte  \*FX 6,255.|
00000140  0d 20 20 35 31 30 20 4c  44 41 20 23 33 3a 4c 44  |.  510 LDA #3:LD|
00000150  58 20 23 31 30 3a 4c 44  59 20 23 30 3a 4a 53 52  |X #10:LDY #0:JSR|
00000160  20 6f 73 62 79 74 65 20  5c 2a 46 58 33 2c 31 30  | osbyte \*FX3,10|
00000170  0a 0d 20 20 35 31 31 20  4c 44 41 20 23 32 37 3a  |..  511 LDA #27:|
00000180  4a 53 52 20 6f 73 77 72  63 68 3a 4c 44 41 20 23  |JSR oswrch:LDA #|
00000190  38 35 3a 4a 53 52 20 6f  73 77 72 63 68 3a 4c 44  |85:JSR oswrch:LD|
000001a0  41 20 23 31 3a 4a 53 52  20 6f 73 77 72 63 68 20  |A #1:JSR oswrch |
000001b0  5c 56 44 55 20 32 37 2c  38 35 2c 31 0a 0d 20 20  |\VDU 27,85,1..  |
000001c0  35 31 32 20 4c 44 41 20  23 32 37 3a 4a 53 52 20  |512 LDA #27:JSR |
000001d0  6f 73 77 72 63 68 3a 4c  44 41 20 23 35 31 3a 4a  |oswrch:LDA #51:J|
000001e0  53 52 20 6f 73 77 72 63  68 3a 4c 44 41 20 23 32  |SR oswrch:LDA #2|
000001f0  3a 4a 53 52 20 6f 73 77  72 63 68 20 5c 56 44 55  |:JSR oswrch \VDU|
00000200  20 32 37 2c 36 35 2c 32  0a 0d 20 20 35 31 33 20  | 27,65,2..  513 |
00000210  4c 44 41 20 23 31 30 32  30 20 4d 4f 44 32 35 36  |LDA #1020 MOD256|
00000220  3a 53 54 41 20 79 3a 4c  44 41 20 23 31 30 32 30  |:STA y:LDA #1020|
00000230  20 44 49 56 32 35 36 3a  53 54 41 20 79 2b 31 20  | DIV256:STA y+1 |
00000240  20 5c 79 3d 31 30 32 30  0a 0d 20 20 35 31 34 20  | \y=1020..  514 |
00000250  2e 6c 6f 6f 70 0a 0d 20  20 35 31 35 20 4c 44 41  |.loop..  515 LDA|
00000260  20 23 31 30 3a 4a 53 52  20 6f 73 77 72 63 68 20  | #10:JSR oswrch |
00000270  5c 56 44 55 20 31 30 0a  0d 20 20 35 31 36 20 4c  |\VDU 10..  516 L|
00000280  44 41 20 23 32 37 3a 4a  53 52 20 6f 73 77 72 63  |DA #27:JSR oswrc|
00000290  68 3a 4c 44 41 20 23 37  36 3a 4a 53 52 20 6f 73  |h:LDA #76:JSR os|
000002a0  77 72 63 68 3a 4c 44 41  20 23 33 32 30 20 4d 4f  |wrch:LDA #320 MO|
000002b0  44 32 35 36 3a 4a 53 52  20 6f 73 77 72 63 68 3a  |D256:JSR oswrch:|
000002c0  4c 44 41 20 23 33 32 30  20 44 49 56 32 35 36 3a  |LDA #320 DIV256:|
000002d0  4a 53 52 20 6f 73 77 72  63 68 20 5c 56 44 55 20  |JSR oswrch \VDU |
000002e0  32 37 2c 37 36 2c 33 32  30 20 4d 4f 44 32 35 36  |27,76,320 MOD256|
000002f0  2c 33 32 30 20 44 49 56  32 35 36 0a 0d 20 20 35  |,320 DIV256..  5|
00000300  31 37 20 4c 44 41 20 23  30 3a 53 54 41 20 78 3a  |17 LDA #0:STA x:|
00000310  53 54 41 20 78 2b 31 20  20 5c 78 3d 30 0a 0d 20  |STA x+1  \x=0.. |
00000320  20 35 31 38 20 2e 6c 6f  6f 70 31 0a 0d 20 20 35  | 518 .loop1..  5|
00000330  31 39 20 4c 44 41 20 78  3a 53 54 41 20 62 6c 6f  |19 LDA x:STA blo|
00000340  63 6b 3a 4c 44 41 20 78  2b 31 3a 53 54 41 20 62  |ck:LDA x+1:STA b|
00000350  6c 6f 63 6b 2b 31 0a 0d  20 20 35 32 30 20 4c 44  |lock+1..  520 LD|
00000360  41 20 79 3a 53 54 41 20  62 6c 6f 63 6b 2b 32 3a  |A y:STA block+2:|
00000370  4c 44 41 20 79 2b 31 3a  53 54 41 20 62 6c 6f 63  |LDA y+1:STA bloc|
00000380  6b 2b 33 0a 0d 20 20 35  32 31 20 4c 44 41 20 23  |k+3..  521 LDA #|
00000390  39 3a 4c 44 58 20 23 62  6c 6f 63 6b 20 4d 4f 44  |9:LDX #block MOD|
000003a0  32 35 36 3a 4c 44 59 20  23 62 6c 6f 63 6b 20 44  |256:LDY #block D|
000003b0  49 56 32 35 36 3a 4a 53  52 20 6f 73 77 6f 72 64  |IV256:JSR osword|
000003c0  20 20 5c 50 4f 49 4e 54  0a 0d 20 20 35 32 32 20  |  \POINT..  522 |
000003d0  4c 44 41 20 62 6c 6f 63  6b 2b 34 3a 41 4e 44 20  |LDA block+4:AND |
000003e0  23 37 3a 54 41 58 3a 4c  44 59 20 6d 75 6c 74 2c  |#7:TAX:LDY mult,|
000003f0  58 20 20 5c 59 3d 50 4f  49 4e 54 2a 36 0a 0d 20  |X  \Y=POINT*6.. |
00000400  20 35 32 33 20 4c 44 58  20 23 32 0a 0d 20 20 35  | 523 LDX #2..  5|
00000410  32 34 20 2e 6c 6f 6f 70  32 0a 0d 20 20 35 32 35  |24 .loop2..  525|
00000420  20 4c 44 41 20 64 61 74  61 2c 59 3a 4a 53 52 20  | LDA data,Y:JSR |
00000430  6f 73 77 72 63 68 0a 0d  20 20 35 32 36 20 49 4e  |oswrch..  526 IN|
00000440  59 3a 44 45 58 3a 42 4e  45 20 6c 6f 6f 70 32 0a  |Y:DEX:BNE loop2.|
00000450  0d 20 20 35 32 37 20 43  4c 43 3a 4c 44 41 20 78  |.  527 CLC:LDA x|
00000460  3a 41 44 43 20 23 38 3a  53 54 41 20 78 3a 4c 44  |:ADC #8:STA x:LD|
00000470  41 20 78 2b 31 3a 41 44  43 20 23 30 3a 53 54 41  |A x+1:ADC #0:STA|
00000480  20 78 2b 31 20 20 5c 78  3d 78 2b 38 0a 0d 20 20  | x+1  \x=x+8..  |
00000490  35 32 38 20 43 4d 50 20  23 31 32 38 30 20 44 49  |528 CMP #1280 DI|
000004a0  56 32 35 36 3a 42 4e 45  20 6c 6f 6f 70 31 0a 0d  |V256:BNE loop1..|
000004b0  20 20 35 32 39 20 53 45  43 3a 4c 44 41 20 79 3a  |  529 SEC:LDA y:|
000004c0  53 42 43 20 23 34 3a 53  54 41 20 79 3a 4c 44 41  |SBC #4:STA y:LDA|
000004d0  20 79 2b 31 3a 53 42 43  20 23 30 3a 53 54 41 20  | y+1:SBC #0:STA |
000004e0  79 2b 31 20 20 5c 79 3d  79 2d 34 0a 0d 20 20 35  |y+1  \y=y-4..  5|
000004f0  33 30 20 42 4e 45 20 6c  6f 6f 70 0a 0d 20 20 35  |30 BNE loop..  5|
00000500  33 31 20 4c 44 41 20 79  3a 42 4e 45 20 6c 6f 6f  |31 LDA y:BNE loo|
00000510  70 0a 0d 20 20 35 33 32  20 4c 44 41 20 23 33 3a  |p..  532 LDA #3:|
00000520  4c 44 58 20 23 34 3a 4c  44 59 20 23 30 3a 4a 4d  |LDX #4:LDY #0:JM|
00000530  50 20 6f 73 62 79 74 65  20 20 5c 2a 46 58 33 2c  |P osbyte  \*FX3,|
00000540  34 0a 0d 20 20 35 33 33  20 0a 0d 20 20 35 33 34  |4..  533 ..  534|
00000550  20 2e 6d 75 6c 74 0a 0d  20 20 35 33 35 20 45 51  | .mult..  535 EQ|
00000560  55 42 20 30 3a 45 51 55  42 20 35 2a 36 3a 45 51  |UB 0:EQUB 5*6:EQ|
00000570  55 42 20 36 2a 36 3a 45  51 55 42 20 37 2a 36 0a  |UB 6*6:EQUB 7*6.|
00000580  0d 20 20 35 33 36 20 0a  0d 20 20 35 33 37 20 2e  |.  536 ..  537 .|
00000590  64 61 74 61 0a 0d 20 20  35 33 38 20 45 51 55 42  |data..  538 EQUB|
000005a0  20 30 3a 45 51 55 42 20  30 3a 45 51 55 42 20 30  | 0:EQUB 0:EQUB 0|
000005b0  3a 45 51 55 42 20 30 3a  45 51 55 42 20 30 3a 45  |:EQUB 0:EQUB 0:E|
000005c0  51 55 42 20 30 0a 0d 20  20 35 33 39 20 45 51 55  |QUB 0..  539 EQU|
000005d0  42 20 30 3a 45 51 55 42  20 31 3a 45 51 55 42 20  |B 0:EQUB 1:EQUB |
000005e0  30 3a 45 51 55 42 20 30  3a 45 51 55 42 20 31 3a  |0:EQUB 0:EQUB 1:|
000005f0  45 51 55 42 20 30 0a 0d  20 20 35 34 30 20 45 51  |EQUB 0..  540 EQ|
00000600  55 42 20 31 3a 45 51 55  42 20 30 3a 45 51 55 42  |UB 1:EQUB 0:EQUB|
00000610  20 32 3a 45 51 55 42 20  32 3a 45 51 55 42 20 30  | 2:EQUB 2:EQUB 0|
00000620  3a 45 51 55 42 20 31 0a  0d 20 20 35 34 31 20 45  |:EQUB 1..  541 E|
00000630  51 55 42 20 30 3a 45 51  55 42 20 33 3a 45 51 55  |QUB 0:EQUB 3:EQU|
00000640  42 20 30 3a 45 51 55 42  20 30 3a 45 51 55 42 20  |B 0:EQUB 0:EQUB |
00000650  33 3a 45 51 55 42 20 30  0a 0d 20 20 35 34 32 20  |3:EQUB 0..  542 |
00000660  45 51 55 42 20 31 3a 45  51 55 42 20 31 3a 45 51  |EQUB 1:EQUB 1:EQ|
00000670  55 42 20 31 3a 45 51 55  42 20 31 3a 45 51 55 42  |UB 1:EQUB 1:EQUB|
00000680  20 31 3a 45 51 55 42 20  31 0a 0d 20 20 35 34 33  | 1:EQUB 1..  543|
00000690  20 45 51 55 42 20 31 3a  45 51 55 42 20 30 3a 45  | EQUB 1:EQUB 0:E|
000006a0  51 55 42 20 33 3a 45 51  55 42 20 30 3a 45 51 55  |QUB 3:EQUB 0:EQU|
000006b0  42 20 33 3a 45 51 55 42  20 30 0a 0d 20 20 35 34  |B 3:EQUB 0..  54|
000006c0  34 20 45 51 55 42 20 30  3a 45 51 55 42 20 31 3a  |4 EQUB 0:EQUB 1:|
000006d0  45 51 55 42 20 32 3a 45  51 55 42 20 31 3a 45 51  |EQUB 2:EQUB 1:EQ|
000006e0  55 42 20 33 3a 45 51 55  42 20 32 0a 0d 20 20 35  |UB 3:EQUB 2..  5|
000006f0  34 35 20 45 51 55 42 20  31 3a 45 51 55 42 20 31  |45 EQUB 1:EQUB 1|
00000700  3a 45 51 55 42 20 33 3a  45 51 55 42 20 33 3a 45  |:EQUB 3:EQUB 3:E|
00000710  51 55 42 20 33 3a 45 51  55 42 20 33 0a 0d 20 20  |QUB 3:EQUB 3..  |
00000720  35 34 36 20 5d 0a 0d 20  20 35 34 37 20 4e 45 58  |546 ]..  547 NEX|
00000730  54 0a 0d 20 20 35 34 38  20 50 52 49 4e 54 22 45  |T..  548 PRINT"E|
00000740  6e 64 2e 2e 2e 2e 2e 26  22 3b 7e 50 25 0a 0d 3e  |nd.....&";~P%..>|
00000750  2a 53 50 4f 4f 4c 0a 0d                           |*SPOOL..|
00000758
TINYDSPOOL.m0
TINYDSPOOL.m1
TINYDSPOOL.m2
TINYDSPOOL.m4
TINYDSPOOL.m5