;-------------------------------------------------------------------------------
;Global defines for all the parts and the loader
;-------------------------------------------------------------------------------
;by Pex 'Mahoney' Tufvesson, 11th of March 2004

;Memory map:
;$02-$0a Loader zeropage registers
;$20-$fa Parts Zero-page registers
;$fb-$ff Music Zero-page
;$0100-$01ff Stack
;$0200-$03ff
;$0400-$1fff Loader code
;$2000-$3400 Goattracker music
;$3400-$3ffe Loader sprites for the lower border
;$3fff special
;$4000-$5fff Loader Bitmap shown during loading
;$6000-$63ff Loader Screen memory for bitmap
;$6400-$67ff Loader Colour memory for the bitmap
;$6800-$6fff Loader Sprites, if any
;$7000-$ffff Memory free for parts


sintbl = $1ec0
costbl = $1f00

MUSIC_PLAY = $2003
MUSIC_INIT = $2000
;No_music:
;MUSIC_INIT = sintbl + $23
;MUSIC_PLAY = sintbl + $23

loaderirq_cou = $6ffe  ;Increased each irq at raster=#$0f9, directly after music is played, but before #$000
exitbounce = $6fff
decrunchimage = $6ffb ;jmp Decrunch_an_image (used in the logostretch part c4.s)

;loaderirq_cou = $2ffe  ;Increased each irq at raster=#$0f9, directly after music is played, but before #$000
;exitbounce = $2fff
;decrunchimage = $2ffb ;jmp Decrunch_an_image (used in the logostretch part c4.s)

PART5_START = $7680
