Globals :

MOD_AMIGA = 0
	Change this to 1 for "AMIGA Mode" (Only 3 octaves)
	do this before you use MOD_LoadData
	If you want to change that during playback you must "reload" with MOD_LoadData
	but, you dont need to pause the music 

Functions :

- MOD_LoadData% (name$) 
	Load datas from a modfile (header). The samples are not stored.
	Returns 1 (Ok) or 0 (Error)
Note: You must call this function one time to get datas !

- MOD_GetName$ () 
	Returns the name$ of a modfile

- MOD_GetOrders% ()
	Returns the number of orders to play (value 0-127)

- MOD_GetTracker$ ()
	Returns the trackers$ groupe (protracker/fastracker etc)

- MOD_GetActiveChannels% () 
	Returns the channels in this mod (value 1-32)

- MOD_GetId$ ()
	Returns the trackerID$ 

- MOD_GetPatterns% ()
	Returns the number of "real" patterns (value 0-127)

- MOD_GetSampleName$ (sample%) 
	Returns the name$ of a sample (value 1-31)
	Else returns ""Not a valid sample number (1-31)"

- MOD_GetSampleLenght% (sample%) 
- MOD_GetSampleFineTune% (sample%) 
- MOD_GetSampleVolume% (sample%)
- MOD_GetSampleLoopStart% (sample%)
- MOD_GetSampleLoopEnd% (sample%)
	Returns the value% asked or 0 if the sample slot is empty
	Lenght = from 0 to 65535 bytes
	FineTune = (normaly) from -8 to +7
	Volume = from 1 to 64 (0 = off)
	Loopstart = from 0 to 65535 bytes
	LoopEnd = from 0 to 65535 bytes

- MOD_GetActivePattern% (order%)
	Returns the pattern to play at that order position

- MOD_GetSample%(pattern%,row%,channel%)
	Returns the sample% entry at that position

- MOD_GetRSample$(pattern%,row%,channel%)
	Returns the sample number as a string at that position
	
- MOD_GetNote$(pattern%,row%,channel%)
	Returns the note$ entry at that position

- MOD_GetFx%(pattern%,row%,channel%)
	Returns the fx(hex) value at that position

- MOD_GetRFx$(pattern%,row%,channel%)
	Returns the fx(hex) as a string at that position

- MOD_MakeNoteString$ (value%)
	convert a value% to a note$
	this is only used by the MOD_GetData function

- MOD_Reset ()
	reset all the values to 0
	this is also used by the MOD_GetData function



Tip: to speedup your code use the dims and globals in the modinfo.bb ;)
Look at the demo_modinfo.bb in the bass folder for examples. 