Home » Personal collection » Acorn hard disk » files » DomFord » RoughWork/LightDark

RoughWork/LightDark

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 hard disk » files » DomFord
Filename: RoughWork/LightDark
Read OK:
File size: 00C5 bytes
Load address: 0000
Exec address: 0000
File contents
   10REM SpriteTest
   20*I AM DOMFORD
   30*SLOAD !Sprites
   40b=0
   50FORX=0TO25
   60FORY=0TO25
   70SYS "OS_SpriteOp",41,,"Sprite",X,Y TO ,,,,,C,T
   80IF C<>0 THEN b=b+1
   90NEXT,
  100IF b>300 THEN PRINT"IT'S DARK" ELSE PRINT"IT'S LIGHT"

� SpriteTest
*I AM DOMFORD
*SLOAD !Sprites
(b=0
2�X=0�25
<�Y=0�25
F0ș "OS_SpriteOp",41,,"Sprite",X,Y � ,,,,,C,T
P� C<>0 � b=b+1
Z�,
d*� b>300 � �"IT'S DARK" � �"IT'S LIGHT"
�
00000000  0d 00 0a 10 f4 20 53 70  72 69 74 65 54 65 73 74  |..... SpriteTest|
00000010  0d 00 14 11 2a 49 20 41  4d 20 44 4f 4d 46 4f 52  |....*I AM DOMFOR|
00000020  44 0d 00 1e 13 2a 53 4c  4f 41 44 20 21 53 70 72  |D....*SLOAD !Spr|
00000030  69 74 65 73 0d 00 28 07  62 3d 30 0d 00 32 0b e3  |ites..(.b=0..2..|
00000040  58 3d 30 b8 32 35 0d 00  3c 0b e3 59 3d 30 b8 32  |X=0.25..<..Y=0.2|
00000050  35 0d 00 46 30 c8 99 20  22 4f 53 5f 53 70 72 69  |5..F0.. "OS_Spri|
00000060  74 65 4f 70 22 2c 34 31  2c 2c 22 53 70 72 69 74  |teOp",41,,"Sprit|
00000070  65 22 2c 58 2c 59 20 b8  20 2c 2c 2c 2c 2c 43 2c  |e",X,Y . ,,,,,C,|
00000080  54 0d 00 50 12 e7 20 43  3c 3e 30 20 8c 20 62 3d  |T..P.. C<>0 . b=|
00000090  62 2b 31 0d 00 5a 06 ed  2c 0d 00 64 2a e7 20 62  |b+1..Z..,..d*. b|
000000a0  3e 33 30 30 20 8c 20 f1  22 49 54 27 53 20 44 41  |>300 . ."IT'S DA|
000000b0  52 4b 22 20 8b 20 f1 22  49 54 27 53 20 4c 49 47  |RK" . ."IT'S LIG|
000000c0  48 54 22 0d ff                                    |HT"..|
000000c5