2017-07-28 17:11:25 -05:00
|
|
|
;
|
2017-07-30 11:54:37 -07:00
|
|
|
; gscats
|
2017-07-28 17:11:25 -05:00
|
|
|
;
|
|
|
|
; Created by Quinn Dunki on 7/9/17
|
|
|
|
;
|
|
|
|
|
|
|
|
|
|
|
|
.include "macros.s"
|
|
|
|
.include "equates.s"
|
2017-10-01 17:36:09 -07:00
|
|
|
|
2017-10-04 13:14:16 -07:00
|
|
|
.org $0000
|
2017-10-01 17:36:09 -07:00
|
|
|
|
2017-07-29 14:47:17 -07:00
|
|
|
|
|
|
|
mainBank2:
|
|
|
|
SYNCDBR
|
|
|
|
|
|
|
|
BITS8
|
2017-07-28 17:11:25 -05:00
|
|
|
lda #$f0
|
|
|
|
sta TEXTCOLOR
|
2017-07-29 14:47:17 -07:00
|
|
|
BITS16
|
2017-07-28 17:11:25 -05:00
|
|
|
|
2017-10-06 12:28:18 -07:00
|
|
|
; Set up video
|
2017-07-28 17:11:25 -05:00
|
|
|
jsr initSCBs
|
2017-08-24 21:45:05 -07:00
|
|
|
SHRVIDEO
|
2017-10-06 12:28:18 -07:00
|
|
|
SHADOWMEMORY
|
2017-07-28 17:11:25 -05:00
|
|
|
|
2017-08-15 19:04:22 -07:00
|
|
|
jmp beginGameplay
|
2017-07-28 17:11:25 -05:00
|
|
|
|
2017-08-15 19:04:22 -07:00
|
|
|
quitGame:
|
2017-10-06 12:28:18 -07:00
|
|
|
NORMALMEMORY
|
2017-07-30 15:43:55 -07:00
|
|
|
CLASSICVIDEO
|
2017-10-01 17:36:09 -07:00
|
|
|
jml (PRODOSRETURN)
|
2017-07-28 17:11:25 -05:00
|
|
|
|
|
|
|
|
|
|
|
.include "graphics.s"
|
2017-08-13 14:54:18 -07:00
|
|
|
.include "font.s"
|
2017-07-30 11:54:37 -07:00
|
|
|
.include "terrain.s"
|
2017-09-02 20:52:19 -07:00
|
|
|
.include "collision.s"
|
2017-08-13 15:36:12 -07:00
|
|
|
.include "gameobject.s"
|
2017-08-15 12:40:14 -07:00
|
|
|
.include "player.s"
|
|
|
|
.include "utility.s"
|
2017-08-06 12:52:21 -07:00
|
|
|
.include "tables.s"
|
2017-08-15 19:04:22 -07:00
|
|
|
.include "gamemanager.s"
|
2017-08-15 19:20:47 -07:00
|
|
|
.include "input.s"
|
2017-08-20 15:15:46 -07:00
|
|
|
.include "projectile.s"
|
2017-08-15 19:20:47 -07:00
|
|
|
|
2017-07-29 14:47:17 -07:00
|
|
|
endMainBank2:
|
|
|
|
|
2017-07-28 17:11:25 -05:00
|
|
|
|
|
|
|
; Suppress some linker warnings - Must be the last thing in the file
|
|
|
|
; This is because Quinn doesn't really know how to use ca65 properly
|
|
|
|
.SEGMENT "ZPSAVE"
|
|
|
|
.SEGMENT "EXEHDR"
|
|
|
|
.SEGMENT "STARTUP"
|
|
|
|
.SEGMENT "INIT"
|
|
|
|
.SEGMENT "LOWCODE"
|