mirror of
https://github.com/deater/dos33fsprogs.git
synced 2024-12-27 17:29:49 +00:00
vgi: final doom version
This commit is contained in:
parent
ae09564fb8
commit
fbcbc7e6b6
@ -4,8 +4,9 @@ DOS33 = ../../../utils/dos33fs-utils/dos33
|
||||
TOKENIZE = ../../../utils/asoft_basic-utils/tokenize_asoft
|
||||
LINKERSCRIPTS = ../../../linker_scripts
|
||||
EMPTYDISK = ../../../empty_disk/empty.dsk
|
||||
MAKEVGI = ./make_vgi_asm
|
||||
|
||||
all: vgi_myst.dsk make_boxes_asm
|
||||
all: vgi_myst.dsk make_vgi_asm
|
||||
|
||||
vgi_myst.dsk: HELLO VGI-MYST VGI-DOOM
|
||||
cp $(EMPTYDISK) vgi_myst.dsk
|
||||
@ -44,57 +45,57 @@ doom_vgi.o: doom.data \
|
||||
|
||||
###
|
||||
|
||||
doom.data: make_boxes_asm doom.vgi
|
||||
doom.data: make_vgi_asm doom.vgi
|
||||
echo "doom_data:" > doom.data
|
||||
./make_boxes_asm < doom.vgi >> doom.data
|
||||
./make_vgi_asm < doom.vgi >> doom.data
|
||||
|
||||
###
|
||||
|
||||
clock.data: make_boxes_asm clock.vgi
|
||||
clock.data: make_vgi_asm clock.vgi
|
||||
echo "clock_data:" > clock.data
|
||||
./make_boxes_asm < clock.vgi >> clock.data
|
||||
./make_vgi_asm < clock.vgi >> clock.data
|
||||
|
||||
###
|
||||
|
||||
path.data: make_boxes_asm path.vgi
|
||||
path.data: make_vgi_asm path.vgi
|
||||
echo "path_data:" > path.data
|
||||
./make_boxes_asm < path.vgi >> path.data
|
||||
./make_vgi_asm < path.vgi >> path.data
|
||||
|
||||
###
|
||||
|
||||
rocket.data: make_boxes_asm rocket.vgi
|
||||
rocket.data: make_vgi_asm rocket.vgi
|
||||
echo "rocket_data:" > rocket.data
|
||||
./make_boxes_asm < rocket.vgi >> rocket.data
|
||||
./make_vgi_asm < rocket.vgi >> rocket.data
|
||||
|
||||
###
|
||||
|
||||
rocket_door.data: make_boxes_asm rocket_door.vgi
|
||||
rocket_door.data: make_vgi_asm rocket_door.vgi
|
||||
echo "rocket_door_data:" > rocket_door.data
|
||||
./make_boxes_asm < rocket_door.vgi >> rocket_door.data
|
||||
./make_vgi_asm < rocket_door.vgi >> rocket_door.data
|
||||
|
||||
|
||||
###
|
||||
|
||||
red_book.data: make_boxes_asm red_book.vgi
|
||||
red_book.data: make_vgi_asm red_book.vgi
|
||||
echo "red_book_data:" > red_book.data
|
||||
./make_boxes_asm < red_book.vgi >> red_book.data
|
||||
./make_vgi_asm < red_book.vgi >> red_book.data
|
||||
|
||||
###
|
||||
|
||||
fireplace.data: make_boxes_asm fireplace.vgi
|
||||
fireplace.data: make_vgi_asm fireplace.vgi
|
||||
echo "fireplace_data:" > fireplace.data
|
||||
./make_boxes_asm < fireplace.vgi >> fireplace.data
|
||||
./make_vgi_asm < fireplace.vgi >> fireplace.data
|
||||
|
||||
|
||||
###
|
||||
|
||||
make_boxes_asm: make_boxes_asm.o
|
||||
$(CC) -o make_boxes_asm make_boxes_asm.o $(LFLAGS)
|
||||
make_vgi_asm: make_vgi_asm.o
|
||||
$(CC) -o make_vgi_asm make_vgi_asm.o $(LFLAGS)
|
||||
|
||||
make_boxes_asm.o: make_boxes_asm.c
|
||||
$(CC) $(CFLAGS) -c make_boxes_asm.c
|
||||
make_vgi_asm.o: make_vgi_asm.c
|
||||
$(CC) $(CFLAGS) -c make_vgi_asm.c
|
||||
|
||||
###
|
||||
|
||||
clean:
|
||||
rm -f *~ *.o *.lst HELLO VGI-MYST VGI-DOOM make_boxes_asm *.data
|
||||
rm -f *~ *.o *.lst HELLO VGI-MYST VGI-DOOM make_vgi_asm *.data
|
||||
|
@ -113,7 +113,7 @@ start_interrupts:
|
||||
|
||||
jsr play_vgi
|
||||
|
||||
jsr wait_until_keypress
|
||||
; jsr wait_until_keypress
|
||||
|
||||
|
||||
|
||||
@ -126,6 +126,10 @@ loopy:
|
||||
sta OUTH
|
||||
|
||||
jsr fake_input
|
||||
|
||||
; lda #21
|
||||
; sta $22
|
||||
|
||||
jsr fake_input
|
||||
jsr fake_input
|
||||
|
||||
@ -207,12 +211,19 @@ all_done:
|
||||
;
|
||||
|
||||
string1:
|
||||
.byte "YOU SEE A CLOCK TOWER READING 12:00",13
|
||||
.byte " LEFT/RIGHT/FORWARD",13,0
|
||||
; 01234567890123456789012345678901234567890
|
||||
.byte " ====> AMMO: 50 HEALTH: 100% <====",13,0
|
||||
|
||||
; SWIM TO TOWER
|
||||
string99:
|
||||
.byte " ====> AMMO: 50 HEALTH: 100% <====",13
|
||||
.byte "YOU ARE SOME SORT OF SPACE MARINE",13
|
||||
.byte "YOU HEAR SOME ROCKING CHIPTUNES",0
|
||||
|
||||
; FORWARD
|
||||
string2:
|
||||
.byte "YOU DON'T KNOW HOW TO ",34,"SWIM",34,13,0
|
||||
.byte " ====> AMMO: 50 HEALTH: 100% <====",13
|
||||
.byte "ARE YOU SURE YOU WANT TO MOVE?",13
|
||||
.byte "IT TOOK A BIT TO RENDER THAT LAST FRAME",13,0
|
||||
|
||||
; WADE TO TOWER
|
||||
string3:
|
||||
|
Loading…
Reference in New Issue
Block a user