Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
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: 60
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: 11088
doesnt gt come including the sourcecode for the player? :)
2012-04-17 11:06
Angel of Death

Registered: Apr 2008
Posts: 210
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: 1626
whiners!
2012-04-17 12:03
Conrad

Registered: Nov 2006
Posts: 833
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: 1153
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
zscs
Mason/Unicess
Jazzcat/Onslaught
Guests online: 372
Top Demos
1 Next Level  (9.8)
2 Mojo  (9.7)
3 Coma Light 13  (9.7)
4 Edge of Disgrace  (9.6)
5 No Bounds  (9.6)
6 Comaland 100%  (9.6)
7 Uncensored  (9.6)
8 The Ghost  (9.6)
9 Wonderland XIV  (9.6)
10 Bromance  (9.6)
Top onefile Demos
1 Party Elk 2  (9.7)
2 Cubic Dream  (9.6)
3 Copper Booze  (9.5)
4 Rainbow Connection  (9.5)
5 TRSAC, Gabber & Pebe..  (9.5)
6 Onscreen 5k  (9.5)
7 Dawnfall V1.1  (9.5)
8 Quadrants  (9.5)
9 Daah, Those Acid Pil..  (9.5)
10 Birth of a Flower  (9.5)
Top Groups
1 Booze Design  (9.3)
2 Nostalgia  (9.3)
3 Oxyron  (9.3)
4 Censor Design  (9.3)
5 Crest  (9.3)
Top Organizers
1 Burglar  (9.9)
2 Sixx  (9.8)
3 hedning  (9.7)
4 Irata  (9.7)
5 MWS  (9.6)

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