Home » Personal collection » Commodore disks » disk41b_autostereo.d64 » char-convert
char-convert
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 » Commodore disks » disk41b_autostereo.d64 |
Filename: | char-convert |
Read OK: | ✔ |
File size: | 0128 bytes |
Load address: | 0801 |
Exec address: | 0000 |
File contents
5 FORR=0TO7:READCL(R):NEXT 10 FORCH=1TO31:PRINTCH:FORX=0TO15:FORY=0TO15 20 C=PEEK($2000+$80*CH+8*INT(X/2)+(Y AND7)+64*INT(Y/8)) 30 IF (X AND1)=0 THEN C=C/2 40 C=(C AND 1)+(C AND 4)/2+(C AND 16)/4 50 AD=$8000+16*CH+$400*INT(Y/8)+$200*INT((X AND 4)/4)+(X AND8)+(Y AND 7) 60 POKEAD,PEEK(AD)+CL(C)*4^(3-(X AND3)) 100 NEXT:NEXT:NEXT 110 : 120 DATA 0,2,1,0,3,3,2,3
�R�0�7:�CL(R):� 6 �CH�1�31:�CH:�X�0�15:�Y�0�15 f C��($2000�$80�CH�8��(X�2)�(Y �7)�64��(Y�8)) } � (X �1)�0 � C�C�2 �( C�(C � 1)�(C � 4)�2�(C � 16)�4 �2 AD�$8000�16�CH�$400��(Y�8)�$200��((X � 4)�4)�(X �8)�(Y � 7) <