mirror of
https://github.com/deater/dos33fsprogs.git
synced 2025-02-24 11:29:18 +00:00
peasant: update graphics
hgr is evil
This commit is contained in:
parent
bc86b41d5b
commit
2c2ff1d909
@ -25,7 +25,7 @@ PEASANT: peasant.o
|
|||||||
ld65 -o PEASANT peasant.o -C $(LINKER_SCRIPTS)/apple2_6000.inc
|
ld65 -o PEASANT peasant.o -C $(LINKER_SCRIPTS)/apple2_6000.inc
|
||||||
|
|
||||||
peasant.o: peasant.s graphics/graphics.inc \
|
peasant.o: peasant.s graphics/graphics.inc \
|
||||||
directions.s
|
directions.s cottage.s
|
||||||
ca65 -o peasant.o peasant.s -l peasant.lst
|
ca65 -o peasant.o peasant.s -l peasant.lst
|
||||||
|
|
||||||
###
|
###
|
||||||
|
31
games/peasant/cottage.s
Normal file
31
games/peasant/cottage.s
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
; THATCHED ROOF COTTAGES
|
||||||
|
|
||||||
|
cottage:
|
||||||
|
|
||||||
|
;************************
|
||||||
|
; Cottage
|
||||||
|
;************************
|
||||||
|
|
||||||
|
lda #<(cottage_lzsa)
|
||||||
|
sta getsrc_smc+1
|
||||||
|
lda #>(cottage_lzsa)
|
||||||
|
sta getsrc_smc+2
|
||||||
|
|
||||||
|
lda #$40
|
||||||
|
|
||||||
|
jsr decompress_lzsa2_fast
|
||||||
|
|
||||||
|
lda #<peasant_text
|
||||||
|
sta OUTL
|
||||||
|
lda #>peasant_text
|
||||||
|
sta OUTH
|
||||||
|
|
||||||
|
jsr hgr_put_string
|
||||||
|
|
||||||
|
|
||||||
|
jsr wait_until_keypress
|
||||||
|
|
||||||
|
rts
|
||||||
|
|
||||||
|
peasant_text:
|
||||||
|
.byte 25,2,"Peasant's Quest",0
|
@ -21,10 +21,10 @@ graphics.inc: \
|
|||||||
echo "title_lzsa: .incbin \"peasant_title.lzsa\"" >> graphics.inc
|
echo "title_lzsa: .incbin \"peasant_title.lzsa\"" >> graphics.inc
|
||||||
echo "tips_lzsa: .incbin \"tips.lzsa\"" >> graphics.inc
|
echo "tips_lzsa: .incbin \"tips.lzsa\"" >> graphics.inc
|
||||||
echo "cottage_lzsa: .incbin \"cottage.lzsa\"" >> graphics.inc
|
echo "cottage_lzsa: .incbin \"cottage.lzsa\"" >> graphics.inc
|
||||||
echo "lake_e_lzsa: .incbin \"lake_e.lzsa\"" >> graphics.inc
|
|
||||||
echo "lake_w_lzsa: .incbin \"lake_w.lzsa\"" >> graphics.inc
|
echo "lake_w_lzsa: .incbin \"lake_w.lzsa\"" >> graphics.inc
|
||||||
echo "river_lzsa: .incbin \"river.lzsa\"" >> graphics.inc
|
# echo "lake_e_lzsa: .incbin \"lake_e.lzsa\"" >> graphics.inc
|
||||||
echo "knight_lzsa: .incbin \"knight.lzsa\"" >> graphics.inc
|
# echo "river_lzsa: .incbin \"river.lzsa\"" >> graphics.inc
|
||||||
|
# echo "knight_lzsa: .incbin \"knight.lzsa\"" >> graphics.inc
|
||||||
|
|
||||||
|
|
||||||
###
|
###
|
||||||
|
Binary file not shown.
Before Width: | Height: | Size: 2.9 KiB After Width: | Height: | Size: 15 KiB |
Binary file not shown.
Before Width: | Height: | Size: 3.4 KiB After Width: | Height: | Size: 9.9 KiB |
@ -1,4 +1,4 @@
|
|||||||
5 HOME
|
5 HOME
|
||||||
10 PRINT CHR$(4)"CATALOG"
|
10 REM PRINT CHR$(4)"CATALOG"
|
||||||
20 REM PRINT CHR$(4)"BRUN PEASANT"
|
20 PRINT CHR$(4)"BRUN PEASANT"
|
||||||
|
|
||||||
|
@ -71,19 +71,9 @@ hgr_display:
|
|||||||
; Cottage
|
; Cottage
|
||||||
;************************
|
;************************
|
||||||
|
|
||||||
lda #<(cottage_lzsa)
|
jsr cottage
|
||||||
sta getsrc_smc+1
|
|
||||||
lda #>(cottage_lzsa)
|
|
||||||
sta getsrc_smc+2
|
|
||||||
|
|
||||||
lda #$40
|
|
||||||
|
|
||||||
jsr decompress_lzsa2_fast
|
|
||||||
|
|
||||||
jsr wait_until_keypress
|
|
||||||
|
|
||||||
|
|
||||||
.if 0
|
|
||||||
;************************
|
;************************
|
||||||
; Lake West
|
; Lake West
|
||||||
;************************
|
;************************
|
||||||
@ -100,6 +90,8 @@ hgr_display:
|
|||||||
jsr wait_until_keypress
|
jsr wait_until_keypress
|
||||||
|
|
||||||
|
|
||||||
|
.if 0
|
||||||
|
|
||||||
;************************
|
;************************
|
||||||
; Lake East
|
; Lake East
|
||||||
;************************
|
;************************
|
||||||
@ -156,6 +148,8 @@ forever:
|
|||||||
.include "wait_keypress.s"
|
.include "wait_keypress.s"
|
||||||
|
|
||||||
.include "directions.s"
|
.include "directions.s"
|
||||||
|
.include "cottage.s"
|
||||||
|
|
||||||
.include "hgr_font.s"
|
.include "hgr_font.s"
|
||||||
|
|
||||||
.include "graphics/graphics.inc"
|
.include "graphics/graphics.inc"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user