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
|
|
|
|
|
|
|
|
2020-01-05 23:11:14 +00:00
|
|
|
.include "random.s"
|
2017-07-28 22:11:25 +00:00
|
|
|
.include "graphics.s"
|
2023-07-05 03:09:17 +00:00
|
|
|
.include "sound.s"
|
2023-06-30 22:32:17 +00:00
|
|
|
.include "animation.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"
|
2018-12-22 18:41:12 +00:00
|
|
|
.include "fan.s"
|
2017-08-20 22:15:46 +00:00
|
|
|
.include "projectile.s"
|
2018-04-20 20:04:39 +00:00
|
|
|
.include "inventory.s"
|
2020-01-05 23:11:14 +00:00
|
|
|
.include "dirt.s"
|
2023-06-22 03:07:30 +00:00
|
|
|
.include "crosshair.s"
|
2023-07-18 03:36:04 +00:00
|
|
|
.include "progressBar.s"
|
|
|
|
|
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"
|