Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
 Welcome to our latest new user jobj ! (Registered 2024-12-25) You are not logged in - nap
CSDb User Forums


Forums > C64 Composing > GoatTracker - Offset points for play info
2012-04-17 09:08
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
2012-04-17 10:52
chatGPZ

Registered: Dec 2001
Posts: 11386
doesnt gt come including the sourcecode for the player? :)
2012-04-17 11:06
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)
2012-04-17 11:40
Frantic

Registered: Mar 2003
Posts: 1648
whiners!
2012-04-17 12:03
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.
2012-04-17 17:05
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.


RefreshSubscribe to this thread:

You need to be logged in to post in the forum.

Search the forum:
Search   for   in  
All times are CET.
Search CSDb
Advanced
Users Online
Andy/AEG
hedning/G★P
Six/G★P
JEZ
kbs/Pht/Lxt
Didi/Laxity
Stinsen/G★P
Deev/Onslaught
Sychamis
Chesser/Blazon
Ghost/Quantum
zscs
E$G/HF ⭐ 7
Guests online: 120
Top Demos
1 Next Level  (9.7)
2 13:37  (9.7)
3 Mojo  (9.7)
4 Coma Light 13  (9.6)
5 The Demo Coder  (9.6)
6 Edge of Disgrace  (9.6)
7 What Is The Matrix 2  (9.6)
8 Uncensored  (9.6)
9 Comaland 100%  (9.6)
10 Wonderland XIV  (9.6)
Top onefile Demos
1 Layers  (9.6)
2 Cubic Dream  (9.6)
3 Party Elk 2  (9.6)
4 X-Mas Demo 2024  (9.6)
5 Copper Booze  (9.6)
6 Dawnfall V1.1  (9.5)
7 Rainbow Connection  (9.5)
8 Onscreen 5k  (9.5)
9 Morph  (9.5)
10 Libertongo  (9.5)
Top Groups
1 Booze Design  (9.3)
2 Oxyron  (9.3)
3 Performers  (9.3)
4 Censor Design  (9.3)
5 Triad  (9.3)
Top Swappers
1 Derbyshire Ram  (10)
2 Jerry  (9.8)
3 Violator  (9.7)
4 Acidchild  (9.7)
5 Cash  (9.6)

Home - Disclaimer
Copyright © No Name 2001-2024
Page generated in: 0.035 sec.