lemm: add title now that we no longer run hello.bas

This commit is contained in:
Vince Weaver 2022-03-15 15:45:54 -04:00
parent 7e9b9e90f2
commit 576ece0680
4 changed files with 58 additions and 3 deletions

View File

@ -71,7 +71,7 @@ lemm.o: lemm.s zp.inc hardware.inc \
hgr_hlin.s hgr_vlin.s update_menu.s \
interrupt_handler.s keyboard.s draw_pointer.s \
pointer_sprites.inc \
level1.s level5.s
level1.s level5.s title.s
ca65 -o lemm.o lemm.s -l lemm.lst

View File

@ -10,5 +10,4 @@
-- music
+ let's go sound
+ fill in some of the ground so we don't get stuck when digging
+ update level5 end message to be personalized

View File

@ -11,6 +11,12 @@ lemm_test_start:
lda #0
sta DRAW_PAGE
;====================
; show title message
;====================
jsr show_title
;====================
; detect model
;====================
@ -293,6 +299,7 @@ load_song_chunk_good:
.include "hgr_vlin.s"
.include "update_menu.s"
.include "wait_a_bit.s"
.include "title.s"
; pt3 player

49
games/lemm/title.s Normal file
View File

@ -0,0 +1,49 @@
;=====================================
; print the title screen
;=====================================
show_title:
; clear text screen
jsr clear_all
; print non-inverse
jsr set_normal
; print messages
lda #<title_text
sta OUTL
lda #>title_text
sta OUTH
; print the text
ldx #12
title_loop:
jsr move_and_print
dex
bne title_loop
jsr set_inverse
rts
title_text:
.byte 0, 0,"LOADING LEMM V0.01",0
.byte 0, 1," LEMM PROOF-OF-CONCEPT DEMAKE",0
.byte 0, 4,"BASED ON LEMMINGS BY DMA DESIGN",0
.byte 0, 7,"APPLE II PORT: VINCE WEAVER",0
.byte 0, 8,"DISK CODE : QKUMBA",0
.byte 0, 9,"LZSA CODE : EMMANUEL MARTY",0
.byte 0,11," WASD/ARROWS MOVE",0
.byte 0,12," ENTER ACTION",0
.byte 0,13," J TOGGLES JOYSTICK",0
.byte 0,16," ______",0
.byte 0,17," A \/\/\/ SOFTWARE PRODUCTION",0
.byte 0,19," HTTP://WWW.DEATER.NET/WEAVE/VMWPROD",0