home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Sauce 'n' Code 1
/
sauce-n-code-01.adf
/
ASCII_Source
/
ModuleExamine.asc
< prev
next >
Wrap
Text File
|
1995-05-07
|
1KB
|
45 lines
' cODED bY ßudda/NFA
' StARtEd : when I started it
' FiNiSHed: an hour or so after
Track Load Fsel$("Work:","MOD.","Find Me A Module","* must be SOUNDTRACKER compatable *"),3
Screen Open 0,640,256,2,Hires
Palette $0,$FFF
Curs Off
' -- Changeable Variables --
BNK_NUMBER=3 : Rem AMOS Memory Bank That Module Is Loaded Into
SONG=Start(BNK_NUMBER) : Rem Module Location Address In Memory
' -- Listen To The Module --
Track Loop On
Track Play BNK_NUMBER
' -- The Song Data --
Print "SONG NAME:";Peek$(SONG,22) : Rem Song Name
Print " "
Print "LENGTH:";Peek(SONG+950) : Rem Song Length
Print "SIZE:";Length(BNK_NUMBER)-32 : Rem Song Size In Bytes
Print "WORD:";Peek$(SONG+1080,4) : Rem 4 Special ID Letters
' If These="M.K." then it's a 31 Instrument module
Wait Key
Cls
' -- The 31 Instruments --
SAM=1
For P=20 To 920 Step 30
Locate 0,SAM-1 : Print "SAMPLE "+Str$(SAM) : Rem Sample Number
Locate 15,SAM-1 : Print Peek$(SONG+P,22) : Rem Sample Name
Locate 40,SAM-1 : Print Peek(SONG+P+25) : Rem Sample Volume
Locate 50,SAM-1 : Print Deek(SONG+P+22)*2 : Rem Sample Byte Size
Add SAM,1,1 To 31
Next P
Wait Key