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: 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: 11510
doesnt gt come including the sourcecode for the player? :)
2012-04-17 11:06
Angel of Death

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

Registered: Nov 2006
Posts: 856
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: 1163
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
4gentE/ΤRIΛD
Toggle/Padua
Frozen Fire
Guests online: 114
Top Demos
1 Next Level  (9.7)
2 13:37  (9.7)
3 Codeboys & Endians  (9.7)
4 Mojo  (9.6)
5 Coma Light 13  (9.6)
6 Edge of Disgrace  (9.6)
7 Signal Carnival  (9.6)
8 Uncensored  (9.5)
9 Wonderland XIV  (9.5)
10 No Bounds  (9.5)
Top onefile Demos
1 Nine  (9.7)
2 Layers  (9.6)
3 Cubic Dream  (9.6)
4 Party Elk 2  (9.6)
5 Copper Booze  (9.5)
6 Scan and Spin  (9.5)
7 Onscreen 5k  (9.5)
8 Grey  (9.5)
9 Dawnfall V1.1  (9.5)
10 Rainbow Connection  (9.5)
Top Groups
1 Artline Designs  (9.3)
2 Booze Design  (9.3)
3 Oxyron  (9.3)
4 Performers  (9.3)
5 Censor Design  (9.3)
Top Webmasters
1 Slaygon  (9.7)
2 Perff  (9.6)
3 Sabbi  (9.5)
4 Morpheus  (9.4)
5 CreaMD  (9.1)

Home - Disclaimer
Copyright © No Name 2001-2025
Page generated in: 0.233 sec.