GSCats/gscats.s

67 lines
1022 B
ArmAsm
Raw Normal View History

2017-07-28 22:11:25 +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
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 "random.s"
2017-07-28 22:11:25 +00:00
.include "graphics.s"
.include "sound.s"
.include "animation.s"
2017-12-24 19:36:31 +00:00
.include "player.s"
.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"
.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"
.include "fan.s"
.include "projectile.s"
2018-04-20 20:04:39 +00:00
.include "inventory.s"
.include "dirt.s"
2023-06-22 03:07:30 +00:00
.include "crosshair.s"
.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"