Home » Archimedes archive » Micro User » MU 1991-06.adf » Listings » IIC3

IIC3

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 » Archimedes archive » Micro User » MU 1991-06.adf » Listings
Filename: IIC3
Read OK:
File size: 00B1 bytes
Load address: 0000
Exec address: 0000
Duplicates

There is 1 duplicate copy of this file in the archive:

File contents
   10REM> IIC3
   20PRINT"IIC BUS OUTPUT"
   30PRINT"Binary Count to device at &70"
   40PRINT"By Mike Cook"
   50DIM PBK% 3
   60REPEAT
   70FOR A%=0 TO 255
   80?PBK%=A%
   90SYS "IIC_Control",&70,PBK%,1
  100NEXT
  110UNTIL FALSE

�> IIC3
�"IIC BUS OUTPUT"
$�"Binary Count to device at &70"
(�"By Mike Cook"
2� PBK% 3
<�
F� A%=0 � 255
P?PBK%=A%
Zș "IIC_Control",&70,PBK%,1
d�
n� �
�
00000000  0d 00 0a 0b f4 3e 20 49  49 43 33 0d 00 14 15 f1  |.....> IIC3.....|
00000010  22 49 49 43 20 42 55 53  20 4f 55 54 50 55 54 22  |"IIC BUS OUTPUT"|
00000020  0d 00 1e 24 f1 22 42 69  6e 61 72 79 20 43 6f 75  |...$."Binary Cou|
00000030  6e 74 20 74 6f 20 64 65  76 69 63 65 20 61 74 20  |nt to device at |
00000040  26 37 30 22 0d 00 28 13  f1 22 42 79 20 4d 69 6b  |&70"..(.."By Mik|
00000050  65 20 43 6f 6f 6b 22 0d  00 32 0c de 20 50 42 4b  |e Cook"..2.. PBK|
00000060  25 20 33 0d 00 3c 05 f5  0d 00 46 10 e3 20 41 25  |% 3..<....F.. A%|
00000070  3d 30 20 b8 20 32 35 35  0d 00 50 0c 3f 50 42 4b  |=0 . 255..P.?PBK|
00000080  25 3d 41 25 0d 00 5a 1f  c8 99 20 22 49 49 43 5f  |%=A%..Z... "IIC_|
00000090  43 6f 6e 74 72 6f 6c 22  2c 26 37 30 2c 50 42 4b  |Control",&70,PBK|
000000a0  25 2c 31 0d 00 64 05 ed  0d 00 6e 07 fd 20 a3 0d  |%,1..d....n.. ..|
000000b0  ff                                                |.|
000000b1