| |
Magnar
Registered: Aug 2009 Posts: 61 |
GoatTracker - Offset points for play info
Hi,
I was just wondering about Goattracker player and where to peek for play info such as:
* Current song play position in sequence list per channel
* Current song play position in current pattern per channel
* What instrument is being played per channel
And any other offsets that would be useful.
Anyone got a register template that could be reused for this purpose?
Cheers Magnar |
|
| |
chatGPZ
Registered: Dec 2001 Posts: 11386 |
doesnt gt come including the sourcecode for the player? :) |
| |
Angel of Death
Registered: Apr 2008 Posts: 211 |
Ehm...
That shouldn't be too hard to find out yourself, should it?
(we did it with all the players so it can't be that hard) |
| |
Frantic
Registered: Mar 2003 Posts: 1648 |
whiners! |
| |
Conrad
Registered: Nov 2006 Posts: 849 |
If compiled at $1000, memory dump is usually around $1300-$1400 area, but it depends because the compiler creates the player code based on the features you have used in your tune. |
| |
cadaver
Registered: Feb 2002 Posts: 1160 |
If you disable optimizations, or use funktempo in the song, you can search for the byte pattern $08 $05 $00 $00 $00 $00 ... from the packed tune. The zeros are the variable area start, check the file src/player.s for the variable order. The variables are ordered in groups of 7 bytes for each channel, to keep in line with the SID register addressing.
|