AVR Emulator of IC AY-8910, AY-3-8910, AY-3-8912 for Atmega8
Version 24.4 Atmega48 version (30.01.2016) 2 channels + speaker version

New serial protocol from version 14.0
- Baud Rate: 57600
- Data Bits: 8
- Stop Bits: 1
- Parity: NONE
- Registers sent as 2 values 1) Register number 0-13, 2) Register value
- To synchronize, just send 0xFF at start of sending

Features:

- Complete chip emulation
- Parallel mode support (Read mode also supported)
- Serial mode support using pin 2 (RX) at speed 57600
- Very fast INT interrupts for parallel mode

Uploading:

	Use avrdude and USBAsp programmer

	avrdude -p m48 -c USBasp -U flash:w:AY_Emul_244_2ch_m48_speaker.hex -U eeprom:w:Conf_XXX_YYMHz_ZZMhz.hex -U lfuse:w:0xEE:m -U hfuse:w:0xDD:m
Example:
	avrdude -p m48 -c USBasp -U flash:w:AY_Emul_244_2ch_m48_speaker.hex -U eeprom:w:Conf_standard_27MHz_1_75Mhz.hex -U lfuse:w:0xEE:m -U hfuse:w:0xDD:m

files:
	AY_Emul_XXX_2ch.hex 	        - emulator HEX file to flash (2 channel version without speaker)
	AY_Emul_XXX_2ch_speaker.hex 	- emulator HEX file to flash (2 channel version with speaker port input on PD1)
	
	Conf_XXX_YYMHz_ZZMhz.hex	- configuration file for emulator to write to EEPROM
		where XXX - standard, parallel or serial
			standard - use both types of connection parallel and serial
			parallel - use only parallel mode connection for using in real hardware (e.g. ZX-Spectrum)
			serial - use only serial mode connection (use RX pin on atmega8 with USB->TTL converter and AYPlayer or other software)
		YY - atmega8 oscillator frequency
		ZZ - AY chip oscillator frequency emulation 1_75 = 1.75MHz, 2 - 2MHz

ORIGIN: http://www.avray.ru