If you appreciate the work done within the wiki, please consider supporting The Cutting Room Floor on Patreon. Thanks for all your support!

Ballistix (Amiga)

From The Cutting Room Floor
Jump to navigation Jump to search

Title Screen

Ballistix

Developer: Reflections
Publisher: Psyclapse
Platform: Amiga
Released internationally: 1989


SourceIcon.png This game has uncompiled source code.


Source Code

A portion of code, including what is apparently part of the title sequence, can be seen between 45F and 15FE.

      $557,$779,$99b,$bbc,$001,$ca8,$000

q13:
dc.w $0,$333,$300,$900,$500,$310,$521,$753
dc.w $975,$b97,$335,$557,$779,$99b,$bbd,$ddd
dc.w $200,$420,$642,$864,$a86,$ca8,$113,$224
dc.w $446,$668,$88a,$aac,$ccd,$002,$db9,$100

q14:
.dc.w $0,$444,$400,$a00,$600,$420,$642,$864
dc.w $a86,$ca8,$446,$668,$88a,$aac,$cce,$eee
dc.w $310,$531,$753,$975,$b97,$db9,$224,$335
dc.w $557,$779,$99b,$bbd,$dde,$113,$eca,$200

q15:
dc.w $0,$555,$500,$b00,$700,$530,$753,$975
dc.w $b97,$db9,$557,$779,$99b,$bbd,$ddf,$fff
dc.w $420,$642,$864,$a86,$ca8,$eca,$335,$446
dc.w $668,$88a,$aac,$cce,$eef,$224,$fdb,$310


;pal for the reflections screen
;fade pal for "AN AMIGA GAME BY"

textcols:
dc.w $100,$000,$000
dc.w $200,$000,$000
dc.w $300,$000,$000
dc.w $400,$000,$000
dc.w $500,$000,$000
dc.w $600,$000,$000
dc.w $700,$100,$000
dc.w $811,$200,$000
dc.w $922,$300,$000
dc.w $a33,$400,$000
dc.w $b44,$500,$100
dc.w $c55,$611,$200
dc.w $d66,$722,$300
dc.w $e77,$833,$400
dc.w $f88,$944,$500

;pal for the reflections screen

refcols:
dc.w $000,$f88,$235,$346,$457,$568,$679,$78a
dc.w $89b,$9ac,$abd,$bce,$cdf,$def,$124,$fff
dc.w $321,$432,$543,$654,$765,$876,$987,$a98
dc.w $ba9,$cba,$dcb,$edc,$fed,$ffe,$944,$500

refcols1:
dc.w $000,$e77,$124,$235,$346,$457,$568,$679
dc.w $78a,$89b,$9ac,$abd,$bce,$cdf,$013,$eee
dc.w $210,$321,$432,$543,$654,$765,$876,$987
dc.w $a98,$ba9,$cba,$dcb,$edc,$fed,$833,$400

refcols2:
dc.w $000,$d66,$013,$124,$235,$346,$457,$568
dc.w $679,$78a,$89b,$9ac,$abd,$bce,$002,$ddd
dc.w $100,$210,$321,$432,$543,$654,$765,$876
dc.w $987,$a98,$ba9,$cba,$dcb,$edc,$722,$300

refcols3:
dc.w $000,$c55,$002,$013,$124,$235,$346,$457
dc.w $568,$679,$78a,$89b,$9ac,$abd,$001,$ccc
dc.w $000,$100,$210,$321,$432,$543,$654,$765
dc.w $876,$987,$a98,$ba9,$cba,$dcb,$611,$200

refcols4:
dc.w $000,$b44,$001,$002,$013,$124,$235,$346
dc.w $457,$568,$679,$78a,$89b,$9ac,$000,$bbb
dc.w $000,$000,$100,$210,$321,$432,$543,$654
dc.w $765,$876,$987,$a98,$ba9,$cba,$500,$100

refcols5:
dc.w $000,$a33,$000,$001,$002,$013,$124,$235
dc.w $346,$457,$568,$679,$78a,$89b,$000,$aaa
dc.w $000,$000,$000,$100,$210,$321,$432,$543
dc.w $654,$765,$876,$987,$a98,$ba9,$400,$000

refcols6:
dc.w $000,$922,$000,$000,$001,$002,$013,$124
dc.w $235,$346,$457,$568,$679,$78a,$000,$999
dc.w $000,$000,$000,$000,$100,$210,$321,$432
dc.w $543,$654,$765,$876,$987,$a98,$300,$000

refcols7:
dc.w $000,$811,$000,$000,$000,$001,$002,$013
dc.w $124,$235,$346,$457,$568,$679,$000,$888
dc.w $000,$000,$000,$000,$000,$100,$210,$321
dc.w $432,$543,$654,$765,$876,$987,$200,$000

refcols8:
dc.w $000,$700,$000,$000,$000,$000,$001,$002
dc.w $013,$124,$235,$346,$457,$568,$000,$777
dc.w $000,$000,$000,$000,$000,$000,$100,$210
dc.w $321,$432,$543,$654,$765,$876,$100,$000

refcols9:
dc.w $000,$600,$000,$000,$000,$000,$000,$001
dc.w $002,$013,$124,$235,$346,$457,$000,$666
dc.w $000,$000,$000,$000,$000,$000,$000,$100
dc.w $210,$321,$432,$543,$654,$765,$000,$000

refcols10:
dc.w $000,$500,$000,$000,$000,$000,$000,$000
dc.w $001,$002,$013,$124,$235,$346,$000,$555
dc.w $000,$000,$000,$000,$000,$000,$000,$000
dc.w $100,$210,$321,$432,$543,$654,$000,$000

refcols11:
dc.w $000,$400,$000,$000,$000,$000,$000,$000
dc.w $000,$001,$002,$013,$124,$235,$000,$444
dc.w $000,$000,$000,$000,$000,$000,$000,$000
dc.w $000,$100,$210,$321,$432,$543,$000,$000

refcols12:
dc.w $000,$300,$000,$000,$000,$000,$000,$000
dc.w $000,$000,$001,$002,$013,$124,$000,$333
dc.w $000,$000,$000,$000,$000,$000,$000,$000
dc.w $000,$000,$100,$210,$321,$432,$000,$000

refcols13:
dc.w $000,$200,$000,$000,$000,$000,$000,$000
dc.w $000,$000,$000,$001,$002,$013,$000,$222
dc.w $000,$000,$000,$000,$000,$000,$000,$000
dc.w $000,$000,$000,$100,$210,$321,$000,$000

refcols14:
dc.w $000,$100,$000,$000,$000,$000,$000,$000
dc.w $000,$000,$000,$000,$001,$002,$000,$111
dc.w $000,$000,$000,$000,$000,$000,$000,$000
dc.w $000,$000,$000,$000,$100,$210,$000,$000

refcols15:
dc.w $000,$000,$000,$000,$000,$000,$000,$000
dc.w $000,$000,$000,$000,$000,$001,$000,$000
dc.w $000,$000,$000,$000,$000,$000,$000,$000
dc.w $000,$000,$000,$000,$000,$100,$000,$000

;phew !!

passed:
dc.l 0

finalcheck:
lea finalcheckstart,a1
lea finalcheckend,a3
move.l #$112a0,a6
sub.w #$ca80,a6
move.w (a6),d0

l4check1:
sub.w (a1)+,d0
add.w #$1428,d0
cmp.l a1,a3
bne l4check1

l4check1cmp:
cmp.w #$5555,d0

finalcheckstart:
beq l4okay1
illegal

l4okay1:
rts

er:
or.b #0,d0
or.b #0,d0
not.w d0
eor.w #$56,d0
bne er

checkpsycred:
lea psyclapse,a0
lea checkdisk1,a2
move.w $cb2e,d2

l3check2:
sub.w (a0)+,d2
not.w d2
cmp.l a0,a2
bne l3check2