2017-07-28 22:11:25 +00:00
|
|
|
;
|
2017-07-30 18:54:37 +00:00
|
|
|
; gscats
|
2017-07-28 22:11:25 +00:00
|
|
|
;
|
|
|
|
; Created by Quinn Dunki on 7/9/17
|
|
|
|
;
|
|
|
|
|
|
|
|
|
|
|
|
.include "macros.s"
|
|
|
|
.include "equates.s"
|
2017-10-02 00:36:09 +00:00
|
|
|
|
2018-01-16 20:56:53 +00:00
|
|
|
.import renderTerrainSpans
|
|
|
|
.import unrenderTerrainSpans
|
|
|
|
.import compileTerrainSpans
|
|
|
|
|
2017-10-04 20:14:16 +00:00
|
|
|
.org $0000
|
2017-10-02 00:36:09 +00:00
|
|
|
|
2017-07-29 21:47:17 +00:00
|
|
|
|
|
|
|
mainBank2:
|
|
|
|
SYNCDBR
|
|
|
|
BITS8
|
2017-07-28 22:11:25 +00:00
|
|
|
lda #$f0
|
|
|
|
sta TEXTCOLOR
|
2017-07-29 21:47:17 +00:00
|
|
|
BITS16
|
2017-07-28 22:11:25 +00:00
|
|
|
|
2017-10-06 19:28:18 +00:00
|
|
|
; Set up video
|
2017-07-28 22:11:25 +00:00
|
|
|
jsr initSCBs
|
2017-08-25 04:45:05 +00:00
|
|
|
SHRVIDEO
|
2017-10-06 19:28:18 +00:00
|
|
|
SHADOWMEMORY
|
2017-07-28 22:11:25 +00:00
|
|
|
|
2017-08-16 02:04:22 +00:00
|
|
|
jmp beginGameplay
|
2017-07-28 22:11:25 +00:00
|
|
|
|
2017-08-16 02:04:22 +00:00
|
|
|
quitGame:
|
2017-10-06 19:28:18 +00:00
|
|
|
NORMALMEMORY
|
2017-07-30 22:43:55 +00:00
|
|
|
CLASSICVIDEO
|
2017-10-02 00:36:09 +00:00
|
|
|
jml (PRODOSRETURN)
|
2017-07-28 22:11:25 +00:00
|
|
|
|
|
|
|
|
|
|
|
.include "graphics.s"
|
2017-08-13 21:54:18 +00:00
|
|
|
.include "font.s"
|
2017-12-24 19:36:31 +00:00
|
|
|
.include "player.s"
|
2017-07-30 18:54:37 +00:00
|
|
|
.include "terrain.s"
|
2017-09-03 03:52:19 +00:00
|
|
|
.include "collision.s"
|
2017-08-13 22:36:12 +00:00
|
|
|
.include "gameobject.s"
|
2017-08-15 19:40:14 +00:00
|
|
|
.include "utility.s"
|
2017-08-06 19:52:21 +00:00
|
|
|
.include "tables.s"
|
2017-08-16 02:04:22 +00:00
|
|
|
.include "gamemanager.s"
|
2017-08-16 02:20:47 +00:00
|
|
|
.include "input.s"
|
2017-08-20 22:15:46 +00:00
|
|
|
.include "projectile.s"
|
2017-08-16 02:20:47 +00:00
|
|
|
|
2017-07-29 21:47:17 +00:00
|
|
|
endMainBank2:
|
|
|
|
|
2017-07-28 22:11:25 +00: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"
|