Author Topic: [SOLVED]Why isnt this working? xm playing woes  (Read 837 times)

0 Members and 1 Guest are viewing this topic.

Offline Omnikam

  • Atari ST
  • ***
  • Posts: 101
  • Karma: 4
    • View Profile
Im trying to play the xm converted to data file with bin2data, the problem im having is im not sure exactly how to point to it. The following doesnt work




Code: [Select]
; ------------------------------------------------------------
;
;   PureBasic - Music example file
;
;    (c) Fantaisie Software
;
; ------------------------------------------------------------
;


If InitSound() = 0
  MessageRequester("Error", "Sound system not available.") : End
EndIf

FileName$ = "@simpukka_chilli.xmsimpukka_chilli_xm_start:"          ;i figured it would be like freebasic and use @ as a pointer
If FileName$
  If LoadMusic(0, FileName$)
    PlayMusic(0)   
    MessageRequester("PureBasic - Module player", "Playing the music module...")
   
    ; Now, perform a nice fading...
    ;
    For k=100 To 0 Step -1
      Delay(20)
      MusicVolume(0, k)
    Next
   
  Else
    MessageRequester("Error", "Can't load the music module or bad module format.")
  EndIf
EndIf
DataSection
  simpukka_chilli_xm_start:
    ; size : 28500 bytes
    Data.q $6465646E65747845,$3A656C75646F4D20,$6B6B75706D695320,$696C6C6968632061,$61461A2020202020
    Data.q $656B636172547473,$2030302E32762072,$0000011401042020,$0011000E00000011,$0087000C0001000B
    Data.q $0504030201100E0D,$0B0C0A0908070906,$000000000000000C,$0000000000000000,$0000000000000000
    Data.q $0000000000000000,$0000000000000000,$0000000000000000,$0000000000000000,$0000000000000000
    Data.q $0000000000000000,$0000000000000000,$0000000000000000,$0000000000000000,$0000000000000000
    Data.q $0000000000000000,$0000000000000000,$0000000000000000,$0000000000000000,$0000000000000000
    Data.q $0000000000000000,$0000000000000000,$0000000000000000,$0000000000000000,$0000000000000000
    Data.q $0000000000000000,$0000000000000000,$0000000000000000,$0000000000000000,$0000000000000000
    Data.q $0000000000000000,$0000000000000000,$ED00400000000009,$8380801A01558704,$0225838080800331
    Data.q $8080808080050D83,$8080806181808080,$80033D83050D8380,$8080806181808080,$02259B8080033983
    Data.q $0340836181800F0A,$8180808080808080,$0D83022583808061,$8080808061818005,$838080801A015D87
    Data.q $800520838080033F,$8080808003428380,$8080806181808080,$8180808061818080,$0342838080808061
    Data.q $8080800F0A02259B,$8080808003478380,$8380806181808080,$8080618180800344,$0331831A015C8780
    Data.q $0D83022583808080,$8080808080618105,$8080808061818080,$8080808080050D83,$0339838061818080
    Data.q $800F0A02259B8080,$8080808080808080,$0225838080618180,$8080808080050D83,$033F838080808080
    Data.q $8080800520838080,$8180808080808080,$8080808080808061,$8380808080808080,$800F0A02259B0342
    Data.q $8080808080808080,$8080806181808080,$1A01588780808080,$808080032C838080,$8080050D83022083
    Data.q $6181808080808080,$83050D8380808080,$6181808080800342,$8080033383808080,$6181800F0A02209B
    Data.q $8080808080034583,$2083808061818080,$80618180050D8302,$801A015787808080,$8380800338838080
    Data.q $8003458380800520,$6181808080808080,$8061818080808080,$8080808061818080,$0F0A02209B033983
    Data.q $2A034B8780808080,$8180808080808080,$8080034483808061,$015C878080806181,$83808080032C831A
    Data.q $806181050D830220,$6181808080808080,$80050D8380808080,$6181808080808080,$209B808003338380
    Data.q $80808080800F0A02,$8061818080808080,$80050D8302208380,$8080808080808080,$2083808003388380
    Data.q $8080808080808005,$8080806181808080,$8080808080808080,$209B033983808080,$80808080800F0A02
    Data.q $8180808080808080,$8080808080808061,$318380801A015C87,$8302258380808003,$808080808080050D
    Data.q $8080808061818080,$8080033D83050D83,$8380808061818080,$0A02259B80800338,$800347836181800F
    Data.q $6181808080808080,$050D830225838080,$8780808080618180,$39838080801A015D,$8080052083808003
    Data.q $8080808080034783,$8080808061818080,$6181808080618180,$9B03408380808080,$808080800F0A0225
    Data.q $8080808080034983,$4483808061818080,$8080806181808003,$800331831A015A87,$050D830225838080
    Data.q $8080808080806181,$8380808080618180,$808080808080050D,$8003388380618180,$80800F0A02259B80
    Data.q $8080808080808080,$8302258380806181,$808080808080050D,$8003398380808080,$8080808005208380
    Data.q $6181808080808080,$8080808080808080,$4083808080808080,$80800F0A02259B03,$8080808080808080
    Data.q $8080808061818080,$801A015887808080,$83808080032C8380,$808080050D83022C,$8061818080808080
    Data.q $4483050D83808080,$8061818080808003,$9B80800338838080,$836181800F0A022C,$808080808080034C
    Data.q $022C838080618180,$8080618180050D83,$80801A0157878080,$20838080033D8380,$8080034C83808005
    Data.q $8061818080808080,$8080618180808080,$8380808080618180,$800F0A022C9B0340,$8080034B83808080
    Data.q $8061818080808080,$6181808003498380,$831A015C87808080,$022C83808080032C,$8080806181050D83
    Data.q $8080618180808080,$808080050D838080,$8380618180808080,$0A022C9B80800338,$808080808080800F
    Data.q $8380806181808080,$808080050D83022C,$8380808080808080,$800520838080033D,$8080808080808080
    Data.q $8080808080618180,$8080808080808080,$0A022C9B03408380,$808080808080800F,$8061818080808080
    Data.q $0009808080808080,$8704EC0040000000,$03318380801A015C,$0D83022583808080,$8080808080808005
    Data.q $8380808080618180,$808080033D83050D,$3883808080618180,$0F0A02259B808003,$8080034483618180
    Data.q $8061818080808080,$80050D8302258380,$5887808080806181,$033D838080801A01,$8380800520838080
    Data.q $8080808080800344,$8080808080618180,$8061818080806181,$259B034083808080,$83808080800F0A02
    Data.q $8080808080800340,$033F838080618180,$8780808061818080,$80800331831A0155,$81050D8302258380
    Data.q $8080808080808061,$0D83808080806181,$8080808080808005,$8080033883806181,$8080800F0A02259B
    Data.q $8180808080808080,$0D83022583808061,$8080808080808005,$8080033D83808080,$8080808080052083
    Data.q $8061818080808080,$8080808080808080,$0340838080808080,$8080800F0A02259B,$8080808080808080
    Data.q $8080808080618180,$80801A0158878080,$2083808080032C83,$80808080050D8302,$8080618180808080
    Data.q $033F83050D838080,$8080618180808080,$209B808003338380,$47836181800F0A02,$8080808080808003
    Data.q $8302208380806181,$808080618180050D,$8080801A015A8780,$0520838080033883,$8080800347838080
    Data.q $8080618180808080,$8080806181808080,$3B83808080806181,$80800F0A02209B03,$8080800345838080
    Data.q $8080618180808080,$8061818080034483,$2C831A0157878080,$8302208380808003,$808080806181050D
    Data.q $8080806181808080,$80808080050D8380,$3383806181808080,$0F0A02209B808003,$8080808080808080
    Data.q $2083808061818080,$80808080050D8302,$3883808080808080,$8080052083808003,$8080808080808080
    Data.q $8080808080806181,$8080808080808080,$0F0A02209B033B83,$8080808080808080,$8080618180808080
    Data.q $015C878080808080,$808003318380801A,$80050D8302258380,$8180808080808080,$050D838080808061
    Data.q $8180808080033D83,$8003388380808061,$81800F0A02259B80,$8080808003478361,$8380806181808080
    Data.q $618180050D830225,$1A015D8780808080,$8080033983808080,$0347838080052083,$8180808080808080
    Data.q $6181808080808061,$8080806181808080,$0A02259B03408380,$034983808080800F,$8180808080808080
    Data.q $8080034483808061,$015A878080806181,$838080800331831A,$806181050D830225,$6181808080808080
    Data.q $80050D8380808080,$6181808080808080,$259B808003388380,$80808080800F0A02,$8061818080808080
    Data.q $80050D8302258380,$8080808080808080,$2083808003398380,$8080808080808005,$8080806181808080
    Data.q $8080808080808080,$259B034083808080,$80808080800F0A02,$8180808080808080,$8080808080808061
    Data.q $2C8380801A015887,$83022C8380808003,$808080808080050D,$8080808061818080,$8080034483050D83
    Data.q $8380808061818080,$0A022C9B80800338,$80034C836181800F,$6181808080808080,$050D83022C838080
    Data.q $8780808080618180,$3D838080801A0157,$8080052083808003,$8080808080034C83,$8080808061818080
    Data.q $6181808080618180,$9B03408380808080,$808080800F0A022C,$8080808080034B83,$4983808061818080
    Data.q $8080806181808003,$80032C831A015C87,$050D83022C838080,$8080808080806181,$8380808080618180
    Data.q $808080808080050D,$8003388380618180,$80800F0A022C9B80,$8080808080808080,$83022C8380806181
    Data.q $808080808080050D,$80033D8380808080,$8080808005208380,$6181808080808080,$8080808080808080
    Data.q $4083808080808080,$80800F0A022C9B03,$8080808080808080,$8080808061818080,$0000000009808080
    Data.q $1A01558704EC0040,$8080800331838080,$8080050D83022583,$6181808080808080,$83050D8380808080
    Data.q $6181808080800340,$8080033883808080,$6181800F0A02259B,$8080808080034783,$2583808061818080
    Data.q $80618180050D8302,$801A015887808080,$838080033D838080,$8003448380800520,$6181808080808080
    Data.q $8061818080808080,$8080808061818080,$0F0A02259B034083,$80034C8380808080,$6181808080808080
    Data.q $8180800344838080,$1A01508780808061,$2583808080033183,$80806181050D8302,$8061818080808080
    Data.q $8080050D83808080,$8061818080808080,$02259B8080033883,$8080808080800F0A,$8080618180808080
    Data.q $8080050D83022583,$8080808080808080,$0520838080033D83,$8080808080808080,$8080808061818080
    Data.q $8080808080808080,$02259B0340838080,$8080808080800F0A,$6181808080808080,$8780808080808080
    Data.q $032C8380801A0158,$0D83022083808080,$8080808080808005,$8380808080618180,$808080034483050D
    Data.q $3383808080618180,$0F0A02209B808003,$8080034C83618180,$8061818080808080,$80050D8302208380
    Data.q $5787808080806181,$0338838080801A01,$8380800520838080,$808080808080034C,$8080808080618180
    Data.q $8061818080806181,$209B033B83808080,$83808080800F0A02,$808080808080034B,$0347838080618180
    Data.q $8780808061818080,$8080032C831A015A,$81050D8302208380,$8080808080808061,$0D83808080806181
    Data.q $8080808080808005,$8080033383806181,$8080800F0A02209B,$8180808080808080,$0D83022083808061
    Data.q $8080808080808005,$8080033883808080,$8080808080052083,$8061818080808080,$8080808080808080
    Data.q $033B838080808080,$8080800F0A02209B,$8080808080808080,$8080808080618180,$80801A015C878080
    Data.q $2583808080033183,$80808080050D8302,$8080618180808080,$034483050D838080,$8080618180808080
    Data.q $259B808003388380,$4C836181800F0A02,$8080808080808003,$8302258380806181,$808080618180050D
    Data.q $8080801A01588780,$0520838080033983,$808080034C838080,$8080618180808080,$8080806181808080
    Data.q $4083808080806181,$80800F0A02259B03,$808080034B838080,$8080618180808080,$8061818080034E83
    Data.q $31831A0157878080,$8302258380808003,$808080806181050D,$8080806181808080,$80808080050D8380
    Data.q $3883806181808080,$0F0A02259B808003,$8080808080808080,$2583808061818080,$80808080050D8302
    Data.q $3983808080808080,$8080052083808003,$8080808080808080,$8080808080806181,$8080808080808080
    Data.q $0F0A02259B034083,$8080808080808080,$8080618180808080,$0158878080808080,$8080032C8380801A
    Data.q $80050D83022C8380,$8180808080808080,$050D838080808061,$8180808080034483,$8003388380808061
    Data.q $81800F0A022C9B80,$8080808003508361,$8380806181808080,$618180050D83022C,$1A01578780808080
    Data.q $8080033D83808080,$0351838080052083,$8180808080808080,$6181808080808061,$8080806181808080
    Data.q $0A022C9B03408380,$035083808080800F,$8180808080808080,$8080034483808061,$015C878080806181
    Data.q $83808080032C831A,$806181050D83022C,$6181808080808080,$80050D8380808080,$6181808080808080
    Data.q $2C9B808003388380,$80808080800F0A02,$8061818080808080,$80050D83022C8380,$8080808080808080
    Data.q $20838080033D8380,$8080808080808005,$8080806181808080,$8080808080808080,$2C9B034083808080
    Data.q $80808080800F0A02,$8180808080808080,$8080808080808061,$9800400000000009,$31838080043D8304
    Data.q $8302258380808003,$808080808080050D,$8080808061818080,$8080808080050D83,$8003388380808080
    Data.q $80800F0A02259B80,$8080808080808080,$8302258380806181,$808080808080050D,$8003408380808080
    Data.q $8080808005208380,$6181808080808080,$8080808080808080,$8380808080806181,$800F0A02259B0344
    Data.q $8080808080808080,$8080806181808080,$0440838080808080,$8380808003318380,$808080050D830225
    Data.q $8061818080808080,$8080050D83808080,$8380808080808080,$0A02259B80800338,$808080808080800F
    Data.q $8380806181808080,$808080050D830225,$8380808080808080,$8005208380800340,$8080808080808080
    Data.q $8080808080618180,$8080618180808080,$02259B0344838080,$8080808080800F0A,$6181808080808080
    Data.q $8080808080808080,$80032C83043F8380,$050D830220838080,$8080808080808080,$0D83808080806181
    Data.q $8080808080808005,$9B80800333838080,$808080800F0A0220,$6181808080808080,$050D830220838080
    Data.q $8080808080808080,$8380800338838080,$8080808080800520,$8080618180808080,$8080808080808080
    Data.q $033B838080806181,$8080800F0A02209B,$8080808080808080,$8080808080618180,$8380800442838080
    Data.q $022083808080032C,$8080808080050D83,$8080806181808080,$80808080050D8380,$0333838080808080
    Data.q $800F0A02209B8080,$8080808080808080,$0220838080618180,$8080808080050D83,$0338838080808080
    Data.q $8080800520838080,$8180808080808080,$8080808080808061,$8080808080618180,$0F0A02209B033B83
    Data.q $8080808080808080,$8080618180808080,$4483808080808080,$8080800334838004,$8080050D83022883
    Data.q $6181808080808080,$80050D8380808080,$8080808080808080,$02289B8080033883,$8080808080800F0A
    Data.q $8080618180808080,$8080050D83022883,$8080808080808080,$0520838080034083,$8080808080808080
    Data.q $8080808061818080,$8061818080808080,$289B034483808080,$80808080800F0A02,$8180808080808080
    Data.q $8080808080808061,$0334830440838080,$0D83022883808080,$8080808080808005,$8380808080618180
    Data.q $808080808080050D,$8080033883808080,$8080800F0A02289B,$8180808080808080,$0D83022883808061
    Data.q $8080808080808005,$8080034083808080,$8080808080052083,$8061818080808080,$8080808080808080
    Data.q $4483808080618180,$80800F0A02289B03,$8080808080808080,$8080808061818080,$8080044283808080
    Data.q $2383808080032F83,$80808080050D8302,$8080618180808080,$808080050D838080,$3683808080808080
    Data.q $0F0A02239B808003,$8080808080808080,$2383808061818080,$80808080050D8302,$3B83808080808080
    Data.q $8080052083808003,$8080808080808080,$8080808080806181,$8080808061818080,$0A02239B03428380
    Data.q $808080808080800F,$8061818080808080,$8380808080808080,$8080032F8380043F,$80050D8302238380
    Data.q $8180808080808080,$050D838080808061,$8080808080808080,$239B808003368380,$80808080800F0A02
    Data.q $8061818080808080,$80050D8302238380,$8080808080808080,$20838080033B8380,$8080808080808005
    Data.q $8080806181808080,$6181808080808080,$9B03428380808080,$808080800F0A0223,$8080808080808080
    Data.q $8080808080806181,$0040000000000980,$03318380808004C0,$0D83022583808080,$044087C5043D8705
    Data.q $81808080808080C5,$050D838080808061,$8080808080808080,$259B808003388380,$80808080800F0A02
    Data.q $8061818080808080,$80050D8302258380,$8080808080808080,$20838080033D8380,$8080808080808005
    Data.q $8080806181808080,$8080808080808080,$259B034083808080,$61816181800F0A02,$8080808080808080
    Data.q $8080808080618180,$0331838080808080,$0D83022583808080,$87CB043D87808005,$8180808080CB0444
    Data.q $050D838080808061,$8080808080808080,$259B808003388380,$80808080800F0A02,$8061818080808080
    Data.q $80050D8302258380,$8080808080808080,$20838080033D8380,$8080808080808005,$8080806181808080
    Data.q $8080808080808080,$259B034083808080,$61818080800F0A02,$8080808080806181,$8080808080618180
    Data.q $0336838080808080,$0D83022383808080,$044287CE043B8705,$81808080808080C1,$050D838080808061
    Data.q $8080808080808080,$239B8080033B8380,$80808080800F0A02,$8061818080808080,$80050D8302238380
    Data.q $8080808080808080,$20838080033F8380,$8080808080808005,$8080806181808080,$8080808080808080
    Data.q $239B034283808080,$61816181800F0A02,$8080808080808080,$8080808080618180,$0336838080808080
    Data.q $0D83022283808080,$87C5043A87808005,$8180808080CB0442,$050D838080808061,$8080808080808080
    Data.q $229B8080033A8380,$80808080800F0A02,$8061818080808080,$80050D8302228380,$8080808080808080
    Data.q $20838080033D8380,$8080808080808005,$8080806181808080,$8080808080808080,$229B034283808080
    Data.q $61818080800F0A02,$8080808080806181,$8080808080618180,$0331838080808080,$0D83022583808080
    Data.q $044087C5043D8705,$81808080808080C5,$050D838080808061,$8080808080808080,$259B808003388380
    Data.q $80808080800F0A02,$8061818080808080,$80050D8302258380,$8080808080808080,$20838080033D8380
    Data.q $8080808080808005,$8080806181808080,$8080808080808080,$259B034083808080,$61816181800F0A02
    Data.q $8080808080808080,$8080808080618180,$0331838080808080,$0D83022583808080,$87CB043D87808005
    Data.q $8180808080CB043F,$050D838080808061,$8080808080808080,$259B808003388380,$80808080800F0A02
    Data.q $8061818080808080,$80050D8302258380,$8080808080808080,$20838080033D8380,$8080808080808005
    Data.q $8080806181808080,$8080808080808080,$259B034083808080,$61818080800F0A02,$8080808080806181
    Data.q $8080808080618180,$0333838080808080,$0D83022383808080,$043F87C1043B8705,$81808080808080CE
    Data.q $050D838080808061,$8080808080808080,$239B808003368380,$80808080800F0A02,$8061818080808080
    Data.q $80050D8302238380,$8080808080808080,$20838080033B8380,$8080808080808005,$8080806181808080
    Data.q $8080808080808080,$239B033F83808080,$61816181800F0A02,$8080808080808080,$8080808080618180
    Data.q $032E838080808080,$0D83022283808080,$87C5043A87808005,$8180808080CB043D,$050D838080808061
    Data.q $8080808080808080,$229B808003318380,$80808080800F0A02,$8061818080808080,$80050D8302228380
    Data.q $8080808080808080,$2083808003368380,$8080808080808005,$8080806181808080,$8080808080808080
    Data.q $229B033D83808080,$61818080800F0A02,$8080808080806181,$8080808080618180,$4000000000098080
    Data.q $1A0CC6033D05EB00,$8080800331838080,$3D87050D83022583,$8080C5044087C504,$8180805104619980
    Data.q $050D838080808061,$5104988080808080,$8380801A0CCB0344,$0A02259B80800338,$988080808080800F
    Data.q $8080510461995104,$8302258380806181,$988080808080050D,$C603475104985104,$80033D8380801A0C
    Data.q $8080808005208380,$04981A0CCB034680,$8180805104619951,$8080808080808061,$C603445104619980
    Data.q $8080805104981A0C,$0F0A02259B034083,$8080806181618180,$3D51046199510498,$818080801A0CCB03
    Data.q $8080808080808061,$6199510498510498,$8080800331835104,$8080050D83022583,$CB044487CB043D87
    Data.q $9851049851049880,$8080808061815104,$8080808080050D83,$8051049851049880,$02259B8080033883
    Data.q $8080808080800F0A,$6181805104988080,$050D830225838080,$8080808080808080,$838080033D838080
    Data.q $8080808080800520,$8080618180808080,$8080808080808080,$9B03408380808080,$818080800F0A0225
    Data.q $8080808080618161,$8080808061818080,$1A0CC6033F808080,$8080800336838080,$3B87050D83022383
    Data.q $8080C1044287CE04,$8180805104619980,$050D838080808061,$5104988080808080,$8380801A0CCB0342
    Data.q $0A02239B8080033B,$988080808080800F,$8080510461995104,$8302238380806181,$988080808080050D
    Data.q $C6034B5104985104,$80033F8380801A0C,$8080808005208380,$04981A0CCB034980,$8180805104619951
    Data.q $8080808080808061,$C503475104619980,$8080805104981A0C,$0F0A02239B034283,$8080806181618180
    Data.q $4251046199510498,$818080801A0CCB03,$8080808080808061,$6199510498510498,$8080800336835104
    Data.q $8080050D83022283,$CB044287C5043A87,$9851049851049880,$8080808061815104,$8080808080050D83
    Data.q $0498510498510498,$9B8080033A838051,$808080800F0A0222,$8051049880808080,$8302228380806181
    Data.q $808080808080050D,$3D83808051049880,$8080052083808003,$8080808080808080,$8080808080806181
    Data.q $8080808080808080,$0F0A02229B034283,$8061816181808080,$6181808080808080,$4480808080808080
    Data.q $318380805104C603,$8302258380808003,$4087C5043D87050D,$046199808080C504,$8080806181808051
    Data.q $80808080050D8380,$04CB033D51049880,$8080033883808051,$8080800F0A02259B,$6199510498808080
    Data.q $8080618180805104,$8080050D83022583,$0498510498808080,$80805104C6034C51,$0520838080033D83
    Data.q $CB034B8080808080,$0461995104985104,$8080806181808051,$0461998080808080,$04985104C6034451
    Data.q $9B03408380808051,$816181800F0A0225,$9951049880808061,$5104CB0349510461,$8080806181808080
    Data.q $9851049880808080,$3183510461995104,$8302258380808003,$CB043D878080050D,$51049880CB043F87
    Data.q $6181510498510498,$80050D8380808080,$9851049880808080,$3883805104985104,$0F0A02259B808003
    Data.q $9880808080808080,$6181805104985104,$050D830225838080,$9880808080808080,$80033D8380805104
    Data.q $8080808005208380,$6181808080808080,$8080808080808080,$4083808080808080,$80800F0A02259B03
    Data.q $8080806181618180,$8080618180808080,$C6034E8080808080,$8003338380805104,$050D830223838080
    Data.q $CE043F87C1043B87,$8051046199808080,$8380808080618180,$988080808080050D,$805104CB034C5104
    Data.q $239B808003368380,$80808080800F0A02,$5104619951049880,$2383808061818080,$80808080050D8302
    Data.q $4B51049851049880,$3B8380805104C603,$8080052083808003,$0498510498808080,$8180805104619951
    Data.q $8080808080808061,$04985104CB033F80,$8380808051049851,$800F0A02239B033F,$9980808061816181
    Data.q $5104C60342510461,$6181808080510498,$9880808080808080,$0498510461995104,$83808080032E8351
    Data.q $878080050D830222,$80CB043D87C5043A,$0498510498510498,$8380808080618151,$988080808080050D
    Data.q $8380805104985104,$0A02229B80800331,$988080808080800F,$8180805104985104,$0D83022283808061
    Data.q $9880808080808005,$0336838080805104,$8180800520838080,$8080808080618161,$8080808080618180
    Data.q $8080808080808080,$0A02229B033D8380,$808080808080800F,$8061818080808080,$0009808080808080
    Data.q $3D05AB0040000000,$318380801A0CC603,$8302258380808003,$998080808080050D,$8061818080510461
    Data.q $8080050D83808080,$0344510498808080,$03388380801A0CCB,$800F0A02259B8080,$5104988080808080
    Data.q $6181808051046199,$050D830225838080,$5104988080808080,$1A0CC60347510498,$838080033D838080
    Data.q $4680808080800520,$995104981A0CCB03,$8061818080510461,$9980808080808080,$1A0CC60344510461
    Data.q $4083808080510498,$80800F0A02259B03,$9951049880808080,$1A0CCB033D510461,$8080806181808080
    Data.q $9851049880808080,$3183510461995104,$8302258380808003,$988080808080050D,$5104985104985104
    Data.q $0D83808080806181,$9880808080808005,$3883805104985104,$0F0A02259B808003,$8080808080808080
    Data.q $8080618180510498,$8080050D83022583,$8080808080808080,$0520838080033D83,$8080808080808080
    Data.q $8080808061818080,$8080808080808080,$02259B0340838080,$8080808080800F0A,$6181808080808080
    Data.q $3F80808080808080,$368380801A0CC603,$8302238380808003,$998080808080050D,$8061818080510461
    Data.q $8080050D83808080,$0342510498808080,$033B8380801A0CCB,$800F0A02239B8080,$5104988080808080
    Data.q $6181808051046199,$050D830223838080,$5104988080808080,$1A0CC6034B510498,$838080033F838080
    Data.q $4980808080800520,$995104981A0CCB03,$8061818080510461,$9980808080808080,$1A0CC50347510461
    Data.q $4283808080510498,$80800F0A02239B03,$9951049880808080,$1A0CCB0342510461,$8080806181808080
    Data.q $9851049880808080,$3683510461995104,$8302228380808003,$988080808080050D,$5104985104985104
    Data.q $0D83808080806181,$0498808080808005,$8051049851049851,$02229B8080033A83,$8080808080800F0A
    Data.q $6181805104988080,$050D830222838080,$9880808080808080,$80033D8380805104,$8080808005208380
    Data.q $6181808080808080,$8080808080808080,$4283808080808080,$80800F0A02229B03,$8080808080808080
    Data.q $8080808061818080,$5104C60344808080,$8080800331838080,$8080050D83022583,$8051046199808080
    Data.q $8380808080618180,$988080808080050D,$805104CB033D5104,$259B808003388380,$80808080800F0A02
    Data.q $5104619951049880,$2583808061818080,$80808080050D8302,$4C51049851049880,$3D8380805104C603
    Data.q $8080052083808003,$5104CB034B808080,$8051046199510498,$8080808080618180,$4451046199808080
    Data.q $805104985104C603,$02259B0340838080,$8080808080800F0A,$4951046199510498,$818080805104CB03
    Data.q $8080808080808061,$6199510498510498,$8080800331835104,$8080050D83022583,$0498510498808080
    Data.q $8080618151049851,$808080050D838080,$5104985104988080,$8003388380510498,$80800F0A02259B80
    Data.q $5104988080808080,$8080618180510498,$8080050D83022583,$5104988080808080,$838080033D838080
    Data.q $8080808080800520,$8080618180808080,$8080808080808080,$9B03408380808080,$808080800F0A0225
    Data.q $8080808080808080,$8080808080806181,$80805104C6034E80,$2383808080033383,$80808080050D8302
    Data.q $8180805104619980,$050D838080808061,$5104988080808080,$8380805104CB034C,$0A02239B80800336
    Data.q $988080808080800F,$8080510461995104,$8302238380806181,$988080808080050D,$C6034B5104985104
    Data.q $80033B8380805104,$8080808005208380,$9951049851049880,$8061818080510461,$3F80808080808080
    Data.q $985104985104CB03,$033F838080805104,$8080800F0A02239B,$4251046199808080,$805104985104C603
    Data.q $8080808061818080,$6199510498808080,$032E835104985104,$0D83022283808080,$0498808080808005
    Data.q $8151049851049851,$050D838080808061,$5104988080808080,$0331838080510498,$800F0A02229B8080
    Data.q $5104988080808080,$8061818080510498,$80050D8302228380,$5104988080808080,$8080033683808080
    Data.q $8080808080052083,$8061818080808080,$8080808080808080,$033D838080808080,$8080800F0A02229B
    Data.q $8080808080808080,$8080808080618180,$4000000000098080,$6181044083050700,$8180800331836181
    Data.q $0225838080808061,$8180808080050D83,$8080808003348361,$8080050D83808080,$0338836181808080
    Data.q $02259B8080808080,$8080808080800F0A,$8080033B83618180,$050D830225838080,$80033D8380808080
    Data.q $8080808080618180,$8080808040052087,$808080033B836181,$8080022583808080,$3883618180808080
    Data.q $259B808080808003,$80808080800F0A02,$8003348361818080,$8005208380808080,$318380043F836181
    Data.q $8080806181808003,$80050D8302258380,$0334836181808080,$8380808080808080,$818080808080050D
    Data.q $8080808003388361,$80800F0A02259B80,$8361818080808080,$258380808080033B,$61818080050D8302
    Data.q $8080033D83044783,$8380808080806181,$8380808080800520,$808080808080033B,$8080808080808080
    Data.q $8080808080033883,$8080800F0A02259B,$0334838080808080,$8380808080808080,$0336836181800442
    Data.q $8380808080808080,$808080050D83022A,$8080033A83618180,$050D838080808080,$8361818080808080
    Data.q $9B8080808080033B,$808080800F0A022A,$033D836181808080,$83022A8380808080,$408380808080050D
    Data.q $8080806181808003,$80910E4005208080,$033D836181808080,$8080808080808080,$8361818080808080
    Data.q $9B8080808080033B,$808080800F0A022A,$033A836181808080,$8180808080808080,$0336838004408361
    Data.q $8080808061818080,$8080050D83022A83,$80033A8361818080,$0D83808080808080,$6181808080808005
    Data.q $8080808080033B83,$8080800F0A022A9B,$3D83618180808080,$022A838080808003,$8361818080050D83
    Data.q $818080034083043F,$2083808080808061,$8361818080808005,$808080808080033D,$8180808080808080
    Data.q $80808080033B8361,$80800F0A022A9B80,$8361818080808080,$808080808080033A,$8361818004448380
    Data.q $8080618180800331,$050D830225838080,$3483618180808080,$8080808080808003,$8080808080050D83
    Data.q $8080800338836181,$800F0A02259B8080,$6181808080808080,$8380808080033B83,$808080050D830225
    Data.q $61818080033D8380,$0520838080808080,$3B83618180808080,$8080808080808003,$6181808080808080
    Data.q $8080808080033883,$8080800F0A02259B,$3483618180808080,$8080808080808003,$3183800442836181
    Data.q $8080806181808003,$80050D8302258380,$0334836181808080,$8380808080808080,$818080808080050D
    Data.q $8080808003388361,$80800F0A02259B80,$8361818080808080,$258380808080033B,$61818080050D8302
    Data.q $8080033D83044783,$8380808080806181,$6181808080800520,$8080808080033B83,$8080808080808080
    Data.q $8080800338836181,$800F0A02259B8080,$6181808080808080,$8080808080033483,$8004498380052483
    Data.q $818080032F836181,$0223838080808061,$8180808080050D83,$8080808003338361,$8080050D83808080
    Data.q $0334836181808080,$02239B8080808080,$8080808080800F0A,$8080033683618180,$050D830223838080
    Data.q $80033B8380808080,$8080808080618180,$8180808080052083,$8080808003368361,$8080808080808080
    Data.q $8080033483618180,$0F0A02239B808080,$8180808080808080,$8080808003338361,$044B836181808080
    Data.q $61818080032F8380,$8302238380808080,$618180808080050D,$8080808080033383,$808080050D838080
    Data.q $8003348361818080,$0A02239B80808080,$808080808080800F,$8080800336836181,$80050D8302238380
    Data.q $8080033B83808080,$8380808080806181,$6181808080800520,$8080808080033683,$8080808080808080
    Data.q $8080800334836181,$800F0A02239B8080,$6181808080808080,$8080808080033383,$4000000000098080
    Data.q $6181045083050B00,$8180800331836181,$0225838080808061,$8180808080050D83,$8080808003348361
    Data.q $8080050D83808080,$0338836181808080,$02259B8080808080,$8080808080800F0A,$8080033B83618180
    Data.q $050D830225838080,$80033D8380808080,$8080808080618180,$8080808040052087,$808080033B836181
    Data.q $8080022583808080,$3883618180808080,$259B808080808003,$80808080800F0A02,$8003348361818080
    Data.q $8005208380808080,$318380044E836181,$8080806181808003,$80050D8302258380,$0334836181808080
    Data.q $8380808080808080,$818080808080050D,$8080808003388361,$80800F0A02259B80,$8361818080808080
    Data.q $258380808080033B,$61818080050D8302,$8080033D83044C83,$8380808080806181,$8380808080800520
    Data.q $808080808080033B,$8080808080808080,$8080808080033883,$8080800F0A02259B,$0334838080808080
    Data.q $8380808080808080,$033683618180044B,$8380808080808080,$808080050D83022A,$8080033A83618180
    Data.q $050D838080808080,$8361818080808080,$9B8080808080033B,$808080800F0A022A,$033D836181808080
    Data.q $83022A8380808080,$408380808080050D,$8080806181808003,$80910E4005208080,$033D836181808080
    Data.q $8080808080808080,$8361818080808080,$9B8080808080033B,$808080800F0A022A,$033A836181808080
    Data.q $8180808080808080,$03368380044C8361,$8080808061818080,$8080050D83022A83,$80033A8361818080
    Data.q $0D83808080808080,$6181808080808005,$8080808080033B83,$8080800F0A022A9B,$3D83618180808080
    Data.q $022A838080808003,$8361818080050D83,$818080034083044E,$2083808080808061,$8361818080808005
    Data.q $808080808080033D,$8180808080808080,$80808080033B8361,$80800F0A022A9B80,$8361818080808080
    Data.q $808080808080033A,$8361818004508380,$8080618180800331,$050D830225838080,$3483618180808080
    Data.q $8080808080808003,$8080808080050D83,$8080800338836181,$800F0A02259B8080,$6181808080808080
    Data.q $8380808080033B83,$808080050D830225,$61818080033D8380,$0520838080808080,$3B83618180808080
    Data.q $8080808080808003,$6181808080808080,$8080808080033883,$8080800F0A02259B,$3483618180808080
    Data.q $8080808080808003,$318380044E836181,$8080806181808003,$80050D8302258380,$0334836181808080
    Data.q $8380808080808080,$818080808080050D,$8080808003388361,$80800F0A02259B80,$8361818080808080
    Data.q $258380808080033B,$61818080050D8302,$8080033D83044C83,$8380808080806181,$6181808080800520
    Data.q $8080808080033B83,$8080808080808080,$8080800338836181,$800F0A02259B8080,$6181808080808080
    Data.q $8080808080033483,$80044B8380052483,$818080032F836181,$0223838080808061,$8180808080050D83
    Data.q $8080808003338361,$8080050D83808080,$0334836181808080,$02239B8080808080,$8080808080800F0A
    Data.q $8080033683618180,$050D830223838080,$80033B8380808080,$8080808080618180,$8180808080052083
    Data.q $8080808003368361,$8080808080808080,$8080033483618180,$0F0A02239B808080,$8180808080808080
    Data.q $8080808003338361,$0447836181808080,$61818080032F8380,$8302238380808080,$618180808080050D
    Data.q $8080808080033383,$818080050D838080,$0334836181808061,$02239B8080808080,$8080808080800F0A
    Data.q $8080033683618180,$050D830223838080,$3B83044283808080,$8080806181808003,$8080800520838080
    Data.q $8080033683618180,$8080808080808080,$3483618180618180,$239B808080808003,$80808080800F0A02
    Data.q $8003338361818080,$0009808080808080,$8004E50040000000,$8180800331838080,$0225838080808061
    Data.q $8180808080050D83,$8080808003348361,$8080050D83808080,$0338836181808080,$02259B8080808080
    Data.q $8080808080800F0A,$8080033B83618180,$050D830225838080,$80033D8380808080,$8080808080618180
    Data.q $8080808040052087,$808080033B836181,$8080022583808080,$3883618180808080,$259B808080808003
    Data.q $80808080800F0A02,$8003348361818080,$8005208380808080,$8080033183808080,$2583808080806181
    Data.q $80808080050D8302,$8080800334836181,$80050D8380808080,$3883618180808080,$259B808080808003
    Data.q $80808080800F0A02,$80033B8361818080,$0D83022583808080,$033D838080808005,$8080808061818080
    Data.q $8080808005208380,$80808080033B8380,$8080808080808080,$8080800338838080,$800F0A02259B8080
    Data.q $8380808080808080,$8080808080800334,$8003368380808080,$2A83808080808080,$80808080050D8302
    Data.q $808080033A836181,$80050D8380808080,$3B83618180808080,$2A9B808080808003,$80808080800F0A02
    Data.q $80033D8361818080,$0D83022A83808080,$0340838080808005,$8080808061818080,$8080910E40052080
    Data.q $80033D8361818080,$8080808080808080,$3B83618180808080,$2A9B808080808003,$80808080800F0A02
    Data.q $80033A8361818080,$8080808080808080,$6181808003368380,$83022A8380808080,$618180808080050D
    Data.q $8080808080033A83,$808080050D838080,$80033B8361818080,$0A022A9B80808080,$808080808080800F
    Data.q $808080033D836181,$80050D83022A8380,$8080034083808080,$8380808080806181,$6181808080800520
    Data.q $8080808080033D83,$8080808080808080,$808080033B836181,$800F0A022A9B8080,$6181808080808080
    Data.q $8080808080033A83,$0331838080808080,$8080808061818080,$8080050D83022583,$8003348361818080
    Data.q $0D83808080808080,$6181808080808005,$8080808080033883,$8080800F0A02259B,$3B83618180808080
    Data.q $0225838080808003,$8380808080050D83,$808061818080033D,$8080052083808080,$80033B8361818080
    Data.q $8080808080808080,$3883618180808080,$259B808080808003,$80808080800F0A02,$8003348361818080
    Data.q $8080808080808080,$6181808003318380,$8302258380808080,$618180808080050D,$8080808080033483
    Data.q $808080050D838080,$8003388361818080,$0A02259B80808080,$808080808080800F,$808080033B836181
    Data.q $80050D8302258380,$8080033D83808080,$8380808080806181,$6181808080800520,$8080808080033B83
    Data.q $8080808080808080,$8080800338836181,$800F0A02259B8080,$6181808080808080,$8080808080033483
    Data.q $8380808080052483,$808061818080032F,$050D830223838080,$3383618180808080,$8080808080808003
    Data.q $8080808080050D83,$8080800334836181,$800F0A02239B8080,$6181808080808080,$8380808080033683
    Data.q $808080050D830223,$61818080033B8380,$0520838080808080,$3683618180808080,$8080808080808003
    Data.q $6181808080808080,$8080808080033483,$8080800F0A02239B,$3383618180808080,$8080808080808003
    Data.q $8080032F83808080,$2383808080806181,$80808080050D8302,$8080800333836181,$80050D8380808080
    Data.q $3483618180808080,$239B808080808003,$80808080800F0A02,$8003368361818080,$0D83022383808080
    Data.q $033B838080808005,$8080808061818080,$8080808005208380,$8080800336836181,$8080808080808080
    Data.q $8003348361818080,$0A02239B80808080,$808080808080800F,$8080800333836181,$0000000980808080
    Data.q $8080800521004000,$8761818080033183,$2583808080250349,$80808080050D8302,$8180800334836181
    Data.q $050D838080808061,$8361818080808080,$9B80808080800338,$808080800F0A0225,$033B836181808080
    Data.q $83808025034C8780,$808080050D830225,$61818080033D8380,$2087808080618180,$6181808080804005
    Data.q $8080808080033B83,$8080808002258380,$8003388361818080,$0A02259B80808080,$808080808080800F
    Data.q $8080800334836181,$8080800520838080,$6181808003318380,$83802A0350878080,$808080050D830225
    Data.q $8080033483618180,$0D83808061818080,$6181808080808005,$8080808080033883,$8080800F0A02259B
    Data.q $3B83618180808080,$0225838080808003,$8380808080050D83,$808061818080033D,$8080052083808080
    Data.q $8080033B83808080,$8080808080808080,$8003388380808080,$0A02259B80808080,$808080808080800F
    Data.q $8080808003348380,$3683808080808080,$2A03428780808003,$0D83022A83808080,$8361818080808005
    Data.q $808061818080033A,$808080050D838080,$80033B8361818080,$0A022A9B80808080,$808080808080800F
    Data.q $478780033D836181,$83022A8380802A03,$408380808080050D,$6181806181808003,$910E400520808080
    Data.q $3D83618180808080,$8080808080808003,$6181808080808080,$8080808080033B83,$8080800F0A022A9B
    Data.q $3A83618180808080,$8080808080808003,$8080033683808080,$2A03468780806181,$80050D83022A8380
    Data.q $033A836181808080,$8080618180808080,$8080808080050D83,$808080033B836181,$800F0A022A9B8080
    Data.q $6181808080808080,$802A034787033D83,$050D83022A838080,$8003408380808080,$8080806181618180
    Data.q $8080808005208380,$808080033D836181,$8080808080808080,$80033B8361818080,$9B80802A03498780
    Data.q $808080800F0A022A,$033A836181808080,$8080808080618180,$8080033183808080,$80802A0344876181
    Data.q $80050D8302258380,$0334836181808080,$8080808061818080,$8080808080050D83,$8080800338836181
    Data.q $800F0A02259B8080,$6181808080808080,$2A034B8780033B83,$050D830225838080,$80033D8380808080
    Data.q $8080618180618180,$8080808005208380,$808080033B836181,$8080808080808080,$8003388361818080
    Data.q $0A02259B80808080,$808080808080800F,$8080800334836181,$8380808080808080,$8080618180800331
    Data.q $022583802A034787,$8180808080050D83,$8080808003348361,$80050D8380806181,$3883618180808080
    Data.q $259B808080808003,$80808080800F0A02,$80033B8361818080,$0D83022583808080,$033D838080808005
    Data.q $8080808061818080,$8080808005208380,$808080033B836181,$8080808080808080,$8003388361818080
    Data.q $0A02259B80808080,$808080808080800F,$8080800334836181,$8080800524838080,$61818080032F8380
    Data.q $838080802A034E87,$808080050D830223,$8080033383618180,$0D83808080806181,$6181808080808005
    Data.q $8080808080033483,$8080800F0A02239B,$3683618180808080,$80802A034C878003,$8080050D83022383
    Data.q $818080033B838080,$8380808061818061,$6181808080800520,$8080808080033683,$8080808080808080
    Data.q $8080800334836181,$02239B802A034B87,$8080808080800F0A,$8080033383618180,$8080808080806181
    Data.q $61818080032F8380,$838080802A035087,$808080050D830223,$8080033383618180,$0D83808080806181
    Data.q $6181808080808005,$8080808080033483,$8080800F0A02239B,$3683618180808080,$0223838080808003
    Data.q $8380808080050D83,$808061818080033B,$8080052083808080,$8003368361818080,$8080808080808080
    Data.q $3483618180808080,$239B808080808003,$80808080800F0A02,$8003338361818080,$0009808080808080
    Data.q $8004650040000000,$4987808080808080,$0225838080802503,$8080808080050D83,$8080806181808080
    Data.q $80808080050D8380,$8080808080808080,$8080800F0A02259B,$8780808080808080,$022583808025034C
    Data.q $8080808080050D83,$8080618180808080,$8080804005208780,$8080808080808080,$8080808002258380
    Data.q $8080808080808080,$80800F0A02259B80,$8080808080808080,$8005208380808080,$8080808080808080
    Data.q $2583802A03508780,$80808080050D8302,$6181808080808080,$808080050D838080,$8080808080808080
    Data.q $80800F0A02259B80,$8080808080808080,$0D83022583808080,$8080808080808005,$2083808080808080
    Data.q $8080808080808005,$8080808080808080,$8080808080808080,$0F0A02259B808080,$8080808080808080
    Data.q $8080808080808080,$8780808080808080,$2A838080802A0342,$80808080050D8302,$8080618180808080
    Data.q $808080050D838080,$8080808080808080,$80800F0A022A9B80,$8080808080808080,$2A8380802A034787
    Data.q $80808080050D8302,$8061818080808080,$80910E4005208080,$8080808080808080,$8080808080808080
    Data.q $8080808080808080,$80800F0A022A9B80,$8080808080808080,$8080808080808080,$8780808080808080
    Data.q $83022A83802A0346,$808080808080050D,$8080618180808080,$8080808080050D83,$9B80808080808080
    Data.q $808080800F0A022A,$0347878080808080,$83022A838080802A,$808080808080050D,$8080808061818080
    Data.q $8080808080052083,$8080808080808080,$8080808080808080,$80802A0349878080,$8080800F0A022A9B
    Data.q $8180808080808080,$8080808080808061,$0344878080808080,$830225838080802A,$808080808080050D
    Data.q $8080808061818080,$8080808080050D83,$9B80808080808080,$808080800F0A0225,$4B87808080808080
    Data.q $8302258380802A03,$808080808080050D,$8080806181808080,$8080808080052083,$8080808080808080
    Data.q $8080808080808080,$02259B8080808080,$8080808080800F0A,$8080808080808080,$8080808080808080
    Data.q $802A034787808080,$8080050D83022583,$8080808080808080,$80050D8380806181,$8080808080808080
    Data.q $0F0A02259B808080,$8080808080808080,$0225838080808080,$8080808080050D83,$8080808080808080
    Data.q $8080808080052083,$8080808080808080,$8080808080808080,$02259B8080808080,$8080808080800F0A
    Data.q $8080808080808080,$8080808080052483,$802A034E87808080,$050D830223838080,$8080808080808080
    Data.q $0D83808080806181,$8080808080808005,$02239B8080808080,$8080808080800F0A,$2A034C8780808080
    Data.q $050D830223838080,$8080808080808080,$2083808080618180,$8080808080808005,$8080808080808080
    Data.q $8080808080808080,$239B802A034B8780,$80808080800F0A02,$6181808080808080,$8080808080808080
    Data.q $802A035087808080,$050D830223838080,$8080808080808080,$0D83808080806181,$8080808080808005
    Data.q $02239B8080808080,$8080808080800F0A,$8380808080808080,$808080050D830223,$8080808080808080
    Data.q $8080800520838080,$8080808080808080,$8080808080808080,$9B80808080808080,$808080800F0A0223
    Data.q $8080808080808080,$0000000980808080,$80808003BC004000,$2503498780808080,$8080808080808080
    Data.q $8061818080808080,$8080808080808080,$8080808080808080,$8080808080808080,$8025034C87808080
    Data.q $8080808080808080,$8080618180808080,$8080808080808080,$8080808080808080,$8080808080808080
    Data.q $8080808080808080,$8080808080808080,$8080808080808080,$5087808080808080,$8080808080802A03
    Data.q $8180808080808080,$8080808080808061,$8080808080808080,$8080808080808080,$8080808080808080
    Data.q $8080808080808080,$8080808080808080,$8080808080808080,$8080808080808080,$8080808080808080
    Data.q $8080808080808080,$8080808080808080,$8080808080808080,$808080802A034287,$8080808080808080
    Data.q $8080808080618180,$8080808080808080,$8080808080808080,$8780808080808080,$80808080802A0347
    Data.q $8080808080808080,$8080808080806181,$8080808080808080,$8080808080808080,$8080808080808080
    Data.q $8080808080808080,$8080808080808080,$8080808080808080,$80802A0346878080,$8080808080808080
    Data.q $8080806181808080,$8080808080808080,$8080808080808080,$4787808080808080,$8080808080802A03
    Data.q $8180808080808080,$8080808080808061,$8080808080808080,$8080808080808080,$0349878080808080
    Data.q $808080808080802A,$6181808080808080,$8080808080808080,$2A03448780808080,$8080808080808080
    Data.q $8061818080808080,$8080808080808080,$8080808080808080,$8080808080808080,$802A034B87808080
    Data.q $8080808080808080,$8080618180808080,$8080808080808080,$8080808080808080,$8080808080808080
    Data.q $8080808080808080,$8080808080808080,$8080808080808080,$4787808080808080,$8080808080802A03
    Data.q $8180808080808080,$8080808080808061,$8080808080808080,$8080808080808080,$8080808080808080
    Data.q $8080808080808080,$8080808080808080,$8080808080808080,$8080808080808080,$8080808080808080
    Data.q $8080808080808080,$8080808080808080,$8080808080808080,$808080802A034E87,$8080808080808080
    Data.q $8080808080618180,$8080808080808080,$8080808080808080,$8780808080808080,$80808080802A034C
    Data.q $8080808080808080,$8080808080806181,$8080808080808080,$8080808080808080,$4B87808080808080
    Data.q $8080808080802A03,$8180808080808080,$8080808080808061,$2A03508780808080,$8080808080808080
    Data.q $8061818080808080,$8080808080808080,$8080808080808080,$8080808080808080,$8080808080808080
    Data.q $8080808080808080,$8080808080808080,$8080808080808080,$8080808080808080,$8080808080808080
    Data.q $8080808080808080,$8080808080808080,$0040000000000980,$80801A015C8703B0,$8080808080808080
    Data.q $8080808080808080,$8080808080808080,$8080808080618180,$8080808080808080,$8080808080808080
    Data.q $8780808080808080,$80808080801A0158,$8080808080808080,$8080808080808080,$6181808080808080
    Data.q $8080808080808080,$8080808080808080,$8080808080808080,$1A01558780808080,$8080808080808080
    Data.q $8080808080808080,$8080808080808080,$8080806181808080,$8080808080808080,$8080808080808080
    Data.q $8080808080808080,$8080808080808080,$8080808080808080,$8080808080808080,$8080808080808080
    Data.q $8080808080808080,$8080808080808080,$5887808080808080,$8080808080801A01,$8080808080808080
    Data.q $8080808080808080,$8061818080808080,$8080808080808080,$8080808080808080,$8080808080808080
    Data.q $801A015A87808080,$8080808080808080,$8080808080808080,$8080808080808080,$8080808061818080
    Data.q $8080808080808080,$8080808080808080,$8080808080808080,$808080801A015787,$8080808080808080
    Data.q $8080808080808080,$8180808080808080,$8080808080808061,$8080808080808080,$8080808080808080
    Data.q $8080808080808080,$8080808080808080,$8080808080808080,$8080808080808080,$8080808080808080
    Data.q $8080808080808080,$8080808080808080,$80801A015C878080,$8080808080808080,$8080808080808080
    Data.q $8080808080808080,$8080808080618180,$8080808080808080,$8080808080808080,$8780808080808080
    Data.q $80808080801A015D,$8080808080808080,$8080808080808080,$6181808080808080,$8080808080808080
    Data.q $8080808080808080,$8080808080808080,$1A015A8780808080,$8080808080808080,$8080808080808080
    Data.q $8080808080808080,$8080806181808080,$8080808080808080,$8080808080808080,$8080808080808080
    Data.q $8080808080808080,$8080808080808080,$8080808080808080,$8080808080808080,$8080808080808080
    Data.q $8080808080808080,$5887808080808080,$8080808080801A01,$8080808080808080,$8080808080808080
    Data.q $8061818080808080,$8080808080808080,$8080808080808080,$8080808080808080,$801A015787808080
    Data.q $8080808080808080,$8080808080808080,$8080808080808080,$8080808061818080,$8080808080808080
    Data.q $8080808080808080,$8080808080808080,$808080801A015C87,$8080808080808080,$8080808080808080
    Data.q $8180808080808080,$8080808080808061,$8080808080808080,$8080808080808080,$8080808080808080
    Data.q $8080808080808080,$8080808080808080,$8080808080808080,$8080808080808080,$8080808080808080
    Data.q $8080808080808080,$4000000000098080,$801A015C87041000,$8080808003318380,$8080808080808080
    Data.q $8080808080618180,$8061818080808080,$8080800338838080,$8080808080808080,$8080808061818080
    Data.q $5887808080808080,$033D838080801A01,$8080808080808080,$8061818080808080,$8080808080808080
    Data.q $4083808080806181,$8080808080808003,$6181808080808080,$8080808080808080,$0331831A01558780
    Data.q $8080808080808080,$8061818080808080,$8080808080808080,$3883806181808080,$8080808080808003
    Data.q $6181808080808080,$8080808080808080,$3D83808080808080,$8080808080808003,$6181808080808080
    Data.q $8080808080808080,$4083808080808080,$8080808080808003,$6181808080808080,$8780808080808080
    Data.q $032C8380801A0158,$8080808080808080,$8061818080808080,$8080808080808080,$3383808080618180
    Data.q $8080808080808003,$6181808080808080,$8080808080808080,$80801A015A878080,$8080808003388380
    Data.q $8080808080808080,$8080808080618180,$8080618180808080,$808080033B838080,$8080808080808080
    Data.q $8080808061818080,$0157878080808080,$80808080032C831A,$8080808080808080,$8080808080618180
    Data.q $8180808080808080,$8080800333838061,$8080808080808080,$8080808061818080,$8080808080808080
    Data.q $8080800338838080,$8080808080808080,$8080808061818080,$8080808080808080,$808080033B838080
    Data.q $8080808080808080,$8080808061818080,$801A015C87808080,$8080808003318380,$8080808080808080
    Data.q $8080808080618180,$8061818080808080,$8080800338838080,$8080808080808080,$8080808061818080
    Data.q $5D87808080808080,$0339838080801A01,$8080808080808080,$8061818080808080,$8080808080808080
    Data.q $4083808080806181,$8080808080808003,$6181808080808080,$8080808080808080,$0331831A015A8780
    Data.q $8080808080808080,$8061818080808080,$8080808080808080,$3883806181808080,$8080808080808003
    Data.q $6181808080808080,$8080808080808080,$3983808080808080,$8080808080808003,$6181808080808080
    Data.q $8080808080808080,$4083808080808080,$8080808080808003,$6181808080808080,$8780808080808080
    Data.q $032C8380801A0158,$8080808080808080,$8061818080808080,$8080808080808080,$3883808080618180
    Data.q $8080808080808003,$6181808080808080,$8080808080808080,$80801A0157878080,$80808080033D8380
    Data.q $8080808080808080,$8080808080618180,$8080618180808080,$8080800340838080,$8080808080808080
    Data.q $8080808061818080,$015C878080808080,$80808080032C831A,$8080808080808080,$8080808080618180
    Data.q $8180808080808080,$8080800338838061,$8080808080808080,$8080808061818080,$8080808080808080
    Data.q $808080033D838080,$8080808080808080,$8080808061818080,$8080808080808080,$8080800340838080
    Data.q $8080808080808080,$8080808061818080,$0000000009808080,$0000000900000040,$015C8704B0004000
    Data.q $808003318380801A,$80050D8302258380,$8180808080808080,$050D838080808061,$8061818080808080
    Data.q $9B80800338838080,$808080800F0A0225,$6181808080808080,$050D830225838080,$5887808080808080
    Data.q $033D838080801A01,$8080800520838080,$8180808080808080,$8080808080808061,$8080808061818080
    Data.q $0F0A02259B034083,$8080808080808080,$8080618180808080,$8780808080808080,$80800331831A0155
    Data.q $80050D8302258380,$8180808080808080,$050D838080808061,$8180808080808080,$9B80800338838061
    Data.q $808080800F0A0225,$6181808080808080,$050D830225838080,$8080808080808080,$838080033D838080
    Data.q $8080808080800520,$8080618180808080,$8080808080808080,$9B03408380808080,$808080800F0A0225
    Data.q $8080808080808080,$8080808080806181,$8380801A01588780,$022083808080032C,$8080808080050D83
    Data.q $8080806181808080,$80808080050D8380,$3383808080618180,$0F0A02209B808003,$8080808080808080
    Data.q $2083808061818080,$80808080050D8302,$80801A015A878080,$2083808003388380,$8080808080808005
    Data.q $8080806181808080,$6181808080808080,$9B033B8380808080,$808080800F0A0220,$8080808080808080
    Data.q $8080808080806181,$831A015787808080,$022083808080032C,$8080808080050D83,$8080806181808080
    Data.q $80808080050D8380,$3383806181808080,$0F0A02209B808003,$8080808080808080,$2083808061818080
    Data.q $80808080050D8302,$3883808080808080,$8080052083808003,$8080808080808080,$8080808080806181
    Data.q $8080808080808080,$0F0A02209B033B83,$8080808080808080,$8080618180808080,$015C878080808080
    Data.q $808003318380801A,$80050D8302258380,$8180808080808080,$050D838080808061,$8061818080808080
    Data.q $9B80800338838080,$808080800F0A0225,$6181808080808080,$050D830225838080,$5D87808080808080
    Data.q $0339838080801A01,$8080800520838080,$8180808080808080,$8080808080808061,$8080808061818080
    Data.q $0F0A02259B034083,$8080808080808080,$8080618180808080,$8780808080808080,$80800331831A015A
    Data.q $80050D8302258380,$8180808080808080,$050D838080808061,$8180808080808080,$9B80800338838061
    Data.q $808080800F0A0225,$6181808080808080,$050D830225838080,$8080808080808080,$8380800339838080
    Data.q $8080808080800520,$8080618180808080,$8080808080808080,$9B03408380808080,$808080800F0A0225
    Data.q $8080808080808080,$8080808080806181,$8380801A01588780,$022C83808080032C,$8080808080050D83
    Data.q $8080806181808080,$80808080050D8380,$3883808080618180,$0F0A022C9B808003,$8080808080808080
    Data.q $2C83808061818080,$80808080050D8302,$80801A0157878080,$20838080033D8380,$8080808080808005
    Data.q $8080806181808080,$6181808080808080,$9B03408380808080,$808080800F0A022C,$8080808080808080
    Data.q $8080808080806181,$831A015C87808080,$022C83808080032C,$8080808080050D83,$8080806181808080
    Data.q $80808080050D8380,$3883806181808080,$0F0A022C9B808003,$8080808080808080,$2C83808061818080
    Data.q $80808080050D8302,$3D83808080808080,$8080052083808003,$8080808080808080,$8080808080806181
    Data.q $8080808080808080,$0F0A022C9B034083,$8080808080808080,$8080618180808080,$0001078080808080
    Data.q $6B75706D69532E00,$6C6C69686320616B,$1F00000000002E69,$0000000000280001,$0000000000000000
    Data.q $0000000000000000,$0000000000000000,$0000000000000000,$0000000000000000,$0000000000000000
    Data.q $0000000000000000,$0000000000000000,$0000000000000000,$0000000000000000,$0000000000000000
    Data.q $0000000000000000,$003B003500200000,$00C900030079001F,$003C0000003C0000,$0050000000460000
    Data.q $00640000005A0000,$00000000006E0000,$002D000C000C0020,$007F000B00500031,$005A0020005A0020
    Data.q $00640020005A0020,$00780020006E0020,$0505002000820020,$0503030100010001,$000001100A060000
    Data.q $0000000000000000,$0000000000000000,$0000054600000000,$0000054600000000,$202000198011002A
    Data.q $2020202020202020,$2020202020202020,$0200FFF820202020,$01F8022002100220,$0210021002100228
    Data.q $0208021002100208,$01E8021801E80210,$01E801F801E80208,$01E001E001F801F8,$01D001D801C801D8
    Data.q $01C801A801C801C8,$01A0019801B801B0,$01780190019001A0,$0170017001700188,$0140016001500160
    Data.q $0138012801300150,$0100011001200120,$00E800F000E80110,$00C800C800D000E0,$009000A800B800B0
    Data.q $0068008800880098,$0050005000600070,$0028003000400040,$FFF8000800100018,$FFE0FFE8FFE00000
    Data.q $FFB0FFB0FFC0FFC8,$FF90FF98FF98FFA0,$FF78FF58FF78FF80,$FF38FF48FF50FF48,$FF18FF20FF30FF30
    Data.q $FF08FEF0FF10FF08,$FED0FED0FEF0FEE0,$FEB0FEC0FEC0FEC8,$FE98FE90FEB0FEA8,$FE60FE80FE98FE80
    Data.q $FE50FE70FE60FE88,$FE48FE50FE50FE60,$FE30FE38FE40FE38,$FE30FE08FE30FE30,$FE08FE18FE20FE10
    Data.q $FE08FE00FE00FE10,$FE00FDF0FDF0FE08,$FDE0FDF0FE00FDF0,$FDF0FDF0FDE0FE00,$FDE8FDF0FDF0FDE8
    Data.q $FDF0FDF8FDE0FDE0,$FDD8FDF0FDF8FDE8,$FE00FDF8FDF8FDF8,$FDF0FE18FDF0FDE8,$FE10FE10FDF8FE10
    Data.q $FE10FE18FE18FE10,$FE28FE38FE20FE30,$FE40FE38FE30FE48,$FE60FE50FE58FE50,$FE68FE78FE60FE68
    Data.q $FEA8FE78FE98FE80,$FEB8FEA8FEA8FE88,$FEC8FED8FEB8FEB0,$FEF0FEE0FEF0FED8,$FF10FF10FF00FF00
    Data.q $FF30FF30FF38FF18,$FF50FF68FF50FF38,$FF78FF80FF78FF68,$FFB0FFA8FFA0FF90,$FFD8FFD0FFC0FFB0
    Data.q $FFF0FFF0FFF0FFD8,$0030001800080010,$0048004000400020,$0078007000600050,$0098008800880078
    Data.q $00C000C8009800B0,$00E800D800D000C0,$0110010000E800F0,$0130012001200108,$0158014001400120
    Data.q $0170015801580148,$0180017801780170,$019801A001900190,$01C001B001A001A8,$01B801D001C001B0
    Data.q $01C001E801D001E8,$01F001F001E001F8,$020801F801F801E8,$0210020001F80208,$0218020002180200
    Data.q $0210021802100210,$0218021002100218,$0210021002200218,$0208021002100220,$0210021002080220
    Data.q $0200020002000200,$01F001F801F80210,$01E801E801F801E8,$01D801D801E001D8,$01C801D001B801D0
    Data.q $01A001A801B801A8,$0188019001A001A0,$0170018801700198,$0158016001600168,$0128015001380148
    Data.q $0108012801200130,$00F000F801000108,$00B800E800D000F0,$00B800A800B800D0,$0080008000A00088
    Data.q $0050007000600080,$0030004000380058,$FFF8001000200038,$FFE0FFF0FFF00010,$FFC0FFC0FFD0FFD8
    Data.q $FFA0FF88FFB0FFB0,$FF68FF80FF78FF88,$FF48FF58FF50FF68,$FF20FF20FF40FF38,$FF08FF00FF08FF20
    Data.q $FEE0FEF0FEE0FEF8,$FEB8FEB8FED0FED8,$FE90FEB0FE98FEC0,$FE80FE80FE88FEA8,$FE60FE78FE70FE80
    Data.q $FE58FE48FE68FE58,$FE48FE40FE40FE38,$FE28FE30FE18FE30,$FE08FE28FE20FE18,$FE00FE18FE10FE00
    Data.q $FDF0FDF8FE00FE00,$FDF8FDF8FDF0FE00,$FDF0FDE0FDF0FDF8,$FDE8FDF8FDE0FDE8,$FDE8FDF0FDE0FDF8
    Data.q $FDE0FDF8FDE8FDE8,$FDF0FE08FDD8FE00,$FE08FDF0FE00FDF0,$FDF8FE00FE10FDF8,$FE10FE20FE08FE20
    Data.q $FE38FE38FE18FE20,$FE38FE48FE30FE10,$FE50FE58FE38FE58,$FE70FE70FE60FE60,$FE80FE80FE88FE68
    Data.q $FEA8FEA0FE90FEA0,$FEC8FEB8FEC8FEA0,$FEE0FEE0FEE0FED0,$FF18FEF0FF10FEE8,$FF38FF18FF28FF10
    Data.q $FF58FF38FF40FF38,$FF80FF70FF70FF60,$FFA8FFA0FF88FF78,$FFC0FFB8FFB8FFA0,$FFF0FFF0FFD0FFE8
    Data.q $001000100008FFF8,$0048003800280020,$0060006000480050,$0090008000800070,$00B000A800A000A0
    Data.q $00D000D000D000B8,$010000F000F000E0,$0110012001000110,$0150013801280130,$0150016001500140
    Data.q $0178017801600170,$01A0019001800190,$01B001A001B00190,$01D001C001A801C8,$01E001D001C801C8
    Data.q $01E001E801D801E8,$020001F001F001F8,$01F8020002000208,$0218021002000210,$0210021002080210
    Data.q $0308020702280210,$622E0000010701AE,$0000000000002E79,$0000000000000000,$2800011F00000000
    Data.q $0000000000000000,$0000000000000000,$0000000000000000,$0000000000000000,$0000000000000000
    Data.q $0000000000000000,$0000000000000000,$0000000000000000,$0000000000000000,$0000000000000000
    Data.q $0000000000000000,$0000000000000000,$0100300000000000,$0D00300006004000,$5400040036000B00
    Data.q $460000003C000000,$5A00000050000000,$6E00000064000000,$0C00200000000000,$310010001E003800
    Data.q $460020003C003800,$5A00200050002000,$6E00200064002000,$8200200078002000,$0503020606002000
    Data.q $0000000403030102,$0000000000012100,$0000000000000000,$0000000000000000,$0000000000054600
    Data.q $1100400000054600,$2020202020001980,$2020202020202020,$2020202020202020,$1002200200FFF820
 simpukka_chilli_xm_end:
EndDataSection
   
« Last Edit: October 29, 2015 by Omnikam »

Offline padman

  • Senior Member
  • Pentium
  • ********
  • Posts: 982
  • Karma: 258
    • View Profile
Re: Why isnt this working? xm playing woes
« Reply #1 on: October 29, 2015 »
Well, you are not loading a file from disk. You are trying to play the tune from memory. So LoadMusic() is the wrong command. Do the following and it'll work:

Code: [Select]

CatchMusic(0, ?Tune, ?TuneEnd-?Tune)
PlayMusic(0)

(...)


DataSection
   
Tune:
 Includebinary "simpukka_chilli.xm"   ; no need to convert it to DATA statments using bin2data, just include the file.
TuneEnd:
 

EndDataSection




Challenge Trophies Won:

Offline Omnikam

  • Atari ST
  • ***
  • Posts: 101
  • Karma: 4
    • View Profile
Re: Why isnt this working? xm playing woes
« Reply #2 on: October 29, 2015 »
OMG Padman, Thanks mate, yes that worked, I spend hours looking for a solution. Your the best
CatchMusic(0, ?Tune, ?TuneEnd-?Tune)
PlayMusic(0)
So happy :-)

Offline Omnikam

  • Atari ST
  • ***
  • Posts: 101
  • Karma: 4
    • View Profile
Re: [SOLVED]Why isnt this working? xm playing woes
« Reply #3 on: October 29, 2015 »
I did some testing playing xm from external source and from loading from memory
I compressed each exe with latest Upx( doesnt even trigger my antivirus, ccool)
First the Playing from external xm file
playexternalxm.exe = 82kb+26kb xm file    total size = 108kb
next playing from imbedded xm and loaded from memory
PlaySidInternal.exe = 82kb
Does that seem right to you?
Why is the embeded file so much smaller?
This is my code for playing external xm
UPDATE: Never mind im a dope, i was using the wrong command
the code should look like this
Code: [Select]
If InitSound() = 0
MessageRequester("Error", "Sound system not available.") : End
EndIf

 If  CatchMusic(0, ?Tune, ?TuneEnd-?Tune)
PlayMusic(0)
      MessageRequester("PureBasic - Module player", "Playing the music module...")
    ; Now, perform a nice fading...
 For k=100 To 0 Step -1
      Delay(20)
      MusicVolume(0, k)
    Next
     EndIf
    StopMusic(0)
    End

DataSection
   
Tune:
 IncludeBinary "simpukka_chilli.xm"   ; no need to convert it to DATA statments using bin2data, just include the file.
TuneEnd:
 

EndDataSection

Code: [Select]
If InitSound() = 0
MessageRequester("Error", "Sound system not available.") : End
EndIf
FileName$ = "simpukka_chilli.xm"
 If FileName$
  If LoadMusic(0, FileName$)
    PlayMusic(0)   
      MessageRequester("PureBasic - Module player", "Playing the music module...")
    ; Now, perform a nice fading...
 For k=100 To 0 Step -1
      Delay(20)
      MusicVolume(0, k)
    Next
     EndIf
    StopMusic(0)
    End
EndIf
DataSection
   
Tune:
 IncludeBinary "simpukka_chilli.xm"   ; no need to convert it to DATA statments using bin2data, just include the file.
TuneEnd:
 

EndDataSection
« Last Edit: October 29, 2015 by Omnikam »