2018-08-29 15:46:25 +00:00
|
|
|
; Apple II Megademo
|
|
|
|
|
|
|
|
; by deater (Vince Weaver) <vince@deater.net>
|
|
|
|
|
2018-08-29 21:14:43 +00:00
|
|
|
.include "zp.inc"
|
2018-08-29 15:57:54 +00:00
|
|
|
.include "hardware.inc"
|
|
|
|
|
|
|
|
|
2018-09-30 01:57:22 +00:00
|
|
|
;===================
|
|
|
|
; Check for Apple II and patch
|
|
|
|
;===================
|
|
|
|
|
|
|
|
lda $FBB3 ; IIe and newer is $06
|
|
|
|
cmp #6
|
|
|
|
beq apple_iie
|
|
|
|
|
|
|
|
lda #$54 ; patch the check_email font code
|
|
|
|
sta ce_patch+1
|
|
|
|
|
|
|
|
|
|
|
|
apple_iie:
|
|
|
|
|
2018-08-29 15:57:54 +00:00
|
|
|
;===================
|
|
|
|
; set graphics mode
|
|
|
|
;===================
|
|
|
|
jsr HOME
|
|
|
|
|
2018-10-01 02:10:13 +00:00
|
|
|
jsr starring
|
|
|
|
|
2018-09-17 04:12:51 +00:00
|
|
|
; C64 Opening Sequence
|
2018-08-29 21:14:43 +00:00
|
|
|
|
2018-09-23 03:07:59 +00:00
|
|
|
jsr c64_opener
|
2018-08-29 21:14:43 +00:00
|
|
|
|
2018-09-17 04:12:51 +00:00
|
|
|
; Falling Apple II
|
2018-08-29 21:14:43 +00:00
|
|
|
|
2018-09-17 04:12:51 +00:00
|
|
|
jsr falling_apple
|
2018-08-29 21:14:43 +00:00
|
|
|
|
2018-09-17 04:12:51 +00:00
|
|
|
; Starring Screens
|
2018-10-01 02:10:13 +00:00
|
|
|
jsr starring
|
2018-09-17 04:12:51 +00:00
|
|
|
|
|
|
|
; E-mail arriving
|
2018-09-29 04:59:14 +00:00
|
|
|
jsr check_email
|
|
|
|
|
2018-09-26 18:01:14 +00:00
|
|
|
; Leaving house
|
|
|
|
|
|
|
|
; Riding bird
|
2018-09-27 03:52:36 +00:00
|
|
|
jsr bird_mountain
|
2018-09-26 18:01:14 +00:00
|
|
|
|
|
|
|
; Waterfall
|
|
|
|
|
|
|
|
; Enter ship
|
|
|
|
|
2018-09-29 04:59:14 +00:00
|
|
|
; mode7 (???)
|
|
|
|
|
2018-09-26 18:01:14 +00:00
|
|
|
; Fly in space
|
|
|
|
|
|
|
|
; Arrive
|
|
|
|
|
|
|
|
; Fireworks
|
|
|
|
|
|
|
|
jsr fireworks
|
|
|
|
|
|
|
|
; Game over
|
|
|
|
game_over_man:
|
|
|
|
jmp game_over_man
|
2018-08-29 15:46:25 +00:00
|
|
|
|
|
|
|
;===================
|
2018-09-17 04:44:32 +00:00
|
|
|
; Loop Forever
|
2018-08-29 15:46:25 +00:00
|
|
|
;===================
|
2018-09-17 04:44:32 +00:00
|
|
|
loop_forever:
|
|
|
|
jmp loop_forever
|
2018-08-29 15:46:25 +00:00
|
|
|
|
|
|
|
|
2018-08-29 21:14:43 +00:00
|
|
|
.include "lz4_decode.s"
|
2018-09-17 04:12:51 +00:00
|
|
|
.include "c64_opener.s"
|
2018-09-17 04:44:32 +00:00
|
|
|
.include "falling_apple.s"
|
2018-10-01 02:10:13 +00:00
|
|
|
.include "starring.s"
|
2018-09-29 04:59:14 +00:00
|
|
|
.include "check_email.s"
|
2018-09-23 17:44:03 +00:00
|
|
|
.align $100
|
2018-09-17 17:26:45 +00:00
|
|
|
.include "gr_offsets.s"
|
2018-09-17 17:51:53 +00:00
|
|
|
.include "gr_hline.s"
|
|
|
|
.include "vapor_lock.s"
|
2018-09-21 04:33:51 +00:00
|
|
|
.include "delay_a.s"
|
2018-09-23 03:07:59 +00:00
|
|
|
.include "wait_keypress.s"
|
2018-09-26 18:01:14 +00:00
|
|
|
.include "random16.s"
|
|
|
|
.align $100
|
|
|
|
.include "fireworks.s"
|
|
|
|
.include "hgr.s"
|
2018-09-27 03:52:36 +00:00
|
|
|
.include "bird_mountain.s"
|
2018-09-26 18:01:14 +00:00
|
|
|
.include "move_letters.s"
|
2018-09-27 03:52:36 +00:00
|
|
|
.align $100
|
|
|
|
.include "gr_putsprite.s"
|