mirror of https://gitlab.com/camelot/kickc.git
30 lines
936 B
INI
30 lines
936 B
INI
|
|
void main()
|
|
main: scope:[main] from
|
|
[0] byteboozer_decrunch::crunched = CRUNCHED_SPRITE
|
|
[1] call byteboozer_decrunch
|
|
to:main::@2
|
|
main::@2: scope:[main] from main
|
|
[2] *((byte*)VICII+OFFSET_STRUCT_MOS6569_VICII_SPRITES_ENABLE) = 1
|
|
to:main::toSpritePtr1
|
|
main::toSpritePtr1: scope:[main] from main::@2
|
|
[3] phi()
|
|
to:main::@1
|
|
main::@1: scope:[main] from main::toSpritePtr1
|
|
[4] *SPRITES_PTR = main::toSpritePtr1_return#0
|
|
[5] *SPRITES_COLOR = GREEN
|
|
[6] *SPRITES_XPOS = $15
|
|
[7] *SPRITES_YPOS = $33
|
|
to:main::@return
|
|
main::@return: scope:[main] from main::@1
|
|
[8] return
|
|
to:@return
|
|
|
|
void byteboozer_decrunch(volatile byte* byteboozer_decrunch::crunched)
|
|
byteboozer_decrunch: scope:[byteboozer_decrunch] from main
|
|
asm { ldycrunched ldxcrunched+1 jsrb2.Decrunch }
|
|
to:byteboozer_decrunch::@return
|
|
byteboozer_decrunch::@return: scope:[byteboozer_decrunch] from byteboozer_decrunch
|
|
[10] return
|
|
to:@return
|