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
|
|
|
|
2018-01-16 12:56:53 -08:00
|
|
|
.import renderTerrainSpans
|
|
|
|
.import unrenderTerrainSpans
|
|
|
|
.import compileTerrainSpans
|
|
|
|
|
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
|
|
|
|
|
|
|
|
2020-01-05 15:11:14 -08:00
|
|
|
.include "random.s"
|
2017-07-28 17:11:25 -05:00
|
|
|
.include "graphics.s"
|
2023-07-04 20:09:17 -07:00
|
|
|
.include "sound.s"
|
2023-06-30 15:32:17 -07:00
|
|
|
.include "animation.s"
|
2017-12-24 12:36:31 -07:00
|
|
|
.include "player.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 "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"
|
2018-12-22 11:41:12 -07:00
|
|
|
.include "fan.s"
|
2017-08-20 15:15:46 -07:00
|
|
|
.include "projectile.s"
|
2018-04-20 13:04:39 -07:00
|
|
|
.include "inventory.s"
|
2020-01-05 15:11:14 -08:00
|
|
|
.include "dirt.s"
|
2023-06-21 20:07:30 -07:00
|
|
|
.include "crosshair.s"
|
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"
|