Changes

Digiblaster howto

27 bytes removed, 08:08, 6 November 2017
/* Diagram (Digiblaster v2) (Joshua) */
The program writes directly to the hardware of the CPC.
You can use the port with the adress address &EFxx.
Because the CPC has only a 7bit printer port (we need 8bit for the Digiblaster) we use the STROBE signal, which is inverted by the hardware, so you have to invert your sound value.
Now we want to output the value &C5:
<pre> LD a,&C5 ;A=&C5 LD B,&EF ;load the port adress address XOR &80 ;invert the 7th bit OUT (C),A ;out to the printer port LD a,&C5 ;A=&C5 LD B,&EF ;load the port adress XOR &80 ;invert the 7th bit OUT (C),A ;out to the printer port </pre>
The accu is the register A.
''[[Face Hugger|A. Stroiczek]]''
== Notes and Differences between v1 and v2 ==
Both versions are doing more or less the same (and are compatible at software side). Both versions produce linear D/A conversion (though in v1 the conversion is glitchy, v2 is more accurate). Also, in v2, the 470 Ohm POT is replaced by a normal 470 Ohm resistor plus 22uF capacitor.
v2 1K 2K 4K 8K 16K 32K 64K 128K
Where v1 uses standard E12-series values. Whilst v2 uses less common values like 2K (which you may not have at home), and even totally non-standard values like 4K (which aren't manufactured, and need to be produced by using two 2K resistors).
 
== Notes ==
* '''Caution''' Both schematics connect GND to Pin9, which works on the CPC's (unmodified) [[Connector:Printer_port|7bit printer port]], but not on (upgraded) [[8bit Printer Ports]], so better connect GND elsewhere (eg. Pin19).
[[Image:Digiblaster_diagram_v1.png]]
== Diagram (Digiblaster v2) (Joshua/Exodus) ==
[[Image:digiblaster diagram.jpg]]
''Converted 1996/1998 by [[Octoate]]'''
[[Category:Digiblaster]][[Category:DIY]][[Category:Programming]] [[Category:Printers and printer ports]] [[Category:Music and sound]]
2,088
edits