News:

Printed Amstrad Addict magazine announced, check it out here!

Main Menu
avatar_XeNoMoRPH

SNDh2AYc - iNViTRO for Benediction Coding Party

Started by XeNoMoRPH, 19:31, 13 August 25

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

Targhan

Yes, the DMA allows you to buffer AY values, so that you the player can fill it, and then is done, and you have all the rest of the CPU to do your game/effect. This is also what allows Grim (in the Semilanceata demos: Sappy and Seminoisin), and also Power (Heat Beats demo), featuring samples and MOD playing, to mix effects with more elaborate sounds.

Doing that on a real CPC is from ultra-bothersome to impossible, depending on what you want to achieve.
Targhan/Arkos

Arkos Tracker 3.2.7 now released! - Follow the news on Twitter!
CPC Scene Radio! 24/7 CPC music only! Website Stream
Disark - A cross-platform Z80 disassembler/source converter
FDC Tool 1.2 - Read Amsdos files without the system

Imperial Mahjong
Orion Prime

andycadley

The DMA has 3 channels that each run a sort of mini program, without the CPU needing to be involved. Each can execute one  command per scanlines, so you can effectively write to 3 AY registers every 64us.

The advantage is twofold: 1) It can do this without the CPU being involved and the timing can be very precise. 2) Three arbitrary register writes is faster than the CPU can ever do, so you can feed the AY more data. 

Powered by SMFPacks Menu Editor Mod