| [hatari-devel] Using hatari to generate YM register dump | 
[ Thread Index | 
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
] 
- To: hatari-devel@xxxxxxxxxxxxxxxxxxx
- Subject: [hatari-devel] Using hatari to generate YM register dump
- From: Georges Kesseler <gkess@xxxxx>
- Date: Fri, 3 Nov 2023 22:49:07 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed;	d=pt.lu; s=ptlu1;	h=content-transfer-encoding:content-type:subject:from:to:mime-version:date:	 message-id:from;	bh=98Kf+rNCqjDaK8eQmkSPurPY3vtSVno09V17EhDFMhw=;	b=UqiP4+CJQp9ep2r10lIKREEuZCHNKdKax+BJ/UaUN2Ig0Km2fRvoY3jTMaAHPokNCx3G+3HxY61fo	 Kaecj+sw7acXQqgDuD2sNTI3oosUP5q+Vdr26CBFQh0S5Iy5OhnQJIzkvBUhh9m7p0odRjhtui6X+7	 7jaVLjDt5ypc1BOsyUkiAwF3Nff667jX4to8LhIln0rLGfAjU6ijktyP4t5rWnSVMdk1YGFSgw4FWm	 KQfKLYB+B3lwivb0pJm1vQuniuzkhX/ALFDyher4QFfHiFdffhNqC+C0m/5TqLTt0nMd5xfg1zvba0	 Y2KUI4LzuE2yLxKuEVY6t5TkazDr5Gg==
Some may know me creating videos of chiptune register dumps.
I currently use sc68 which has a realtime dump feature of the YM2149 
registers.
I process that with a result like this:
https://www.youtube.com/watch?v=2cLCJ3gRBgw
(read video description for details of whats shown)
As sc68 does often not play DMA channel, I want to use another engine, 
i.e. why not hatari.
My idea is to hook somewhere (that's the question of this email) into 
hatari to write all YM registes and the system clock every time a 
register is updated. This is on linux. So write to stdout, then 
postprocess for "nice" display.
The dump won't include DMA, too much data. So only YM.
Before I start digging into the code, maybe there is already something 
available?
George/Gunstick