Changes

Digiblaster howto

62 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.
''Converted 1996/1998 by [[Octoate]]'''
[[Category:Digiblaster]][[Category:DIY]][[Category:Programming]] [[Category:HardwarePrinters and printer ports]] [[Category:DIYMusic and sound]]
2,088
edits