mirror of
https://github.com/Pecusx/dino-game.git
synced 2026-05-20 22:33:23 +02:00
information during loading
This commit is contained in:
@@ -7,7 +7,7 @@ Code: [Pecus](https://github.com/Pecusx) and [pirx](https://github.com/pkali)
|
|||||||
|
|
||||||
Msx: Alex and Jochen Hippel
|
Msx: Alex and Jochen Hippel
|
||||||
|
|
||||||
Used portions of LZSS player by [DMSC](https://github.com/dmsc/lzss-sap)
|
Used portions of LZSS player by [dmsc](https://github.com/dmsc/lzss-sap)
|
||||||
|
|
||||||
Assembly:
|
Assembly:
|
||||||
```
|
```
|
||||||
@@ -18,4 +18,5 @@ cat intro/tech_diff.xex dino_.xex > tdc.xex; rm dino_.xex
|
|||||||
|
|
||||||
Stand-alone game (no intro):
|
Stand-alone game (no intro):
|
||||||
```
|
```
|
||||||
mads dino.asm -o:dino.xex -d:ALONE=1```
|
mads dino.asm -o:dino.xex -d:ALONE=1
|
||||||
|
```
|
||||||
|
|||||||
+21
-12
@@ -23,8 +23,11 @@
|
|||||||
ini $3000
|
ini $3000
|
||||||
org $2000
|
org $2000
|
||||||
PLAYER
|
PLAYER
|
||||||
icl '../music/playlzs16.asm' ; Music Player
|
icl '../music/playlzs16.asm' ; Music Player, dmsc lzss
|
||||||
;---------------------------------------------------
|
;---------------------------------------------------
|
||||||
|
leet_screen = $a000 ; further than samples
|
||||||
|
leet_screen_end = leet_screen + 32*9
|
||||||
|
|
||||||
ORG $2c00
|
ORG $2c00
|
||||||
start1
|
start1
|
||||||
mva #$ff portb
|
mva #$ff portb
|
||||||
@@ -85,11 +88,20 @@ next_letter
|
|||||||
jmp @-
|
jmp @-
|
||||||
|
|
||||||
leet_end
|
leet_end
|
||||||
|
; normal (not leeted) text back
|
||||||
|
mwa #pre_screen temp_w
|
||||||
|
mwa #leet_screen temp_w3
|
||||||
|
ldy #0
|
||||||
|
@
|
||||||
|
lda (temp_w),y
|
||||||
|
sta (temp_w3),y
|
||||||
|
inw temp_w
|
||||||
|
inw temp_w3
|
||||||
|
cpw temp_w #pre_screen_end
|
||||||
|
bne @-
|
||||||
|
|
||||||
jsr StopMusic
|
jsr StopMusic
|
||||||
jsr wait_for_releasing_keyz
|
jsr wait_for_releasing_keyz
|
||||||
mva #0 dmactls ; dark screen
|
|
||||||
; and wait one frame :)
|
|
||||||
waitRTC
|
|
||||||
rts
|
rts
|
||||||
|
|
||||||
|
|
||||||
@@ -188,9 +200,6 @@ IsPAL
|
|||||||
NoMusic
|
NoMusic
|
||||||
jmp XITVBV
|
jmp XITVBV
|
||||||
.endp
|
.endp
|
||||||
leet_screen
|
|
||||||
.ds 32*9
|
|
||||||
leet_screen_end
|
|
||||||
.align $100
|
.align $100
|
||||||
MUSIC_DATA
|
MUSIC_DATA
|
||||||
ins '../music/title.lzss' ; title music
|
ins '../music/title.lzss' ; title music
|
||||||
@@ -200,8 +209,6 @@ MUSIC_DATA_END
|
|||||||
;---------------------------------------------------
|
;---------------------------------------------------
|
||||||
|
|
||||||
org $3000
|
org $3000
|
||||||
screen
|
|
||||||
ins 'difficulties.bmp',+62
|
|
||||||
DL
|
DL
|
||||||
:13 .by SKIP8
|
:13 .by SKIP8
|
||||||
.by MODEF+LMS
|
.by MODEF+LMS
|
||||||
@@ -308,9 +315,8 @@ exit_tech_diff
|
|||||||
lda #$40
|
lda #$40
|
||||||
sta $d40e ; NMI On
|
sta $d40e ; NMI On
|
||||||
cli ; IRQ on
|
cli ; IRQ on
|
||||||
mva #0 DMACTLS
|
|
||||||
sta dmactl
|
;jmp quiet ; rts ; POZOR PREMATURE OTTIMIZZAZIONE
|
||||||
;jmp quiet ; rts
|
|
||||||
|
|
||||||
.proc quiet
|
.proc quiet
|
||||||
ldx #8
|
ldx #8
|
||||||
@@ -386,4 +392,7 @@ samples_end_h
|
|||||||
.by >sample_end2
|
.by >sample_end2
|
||||||
.by >sample_end4
|
.by >sample_end4
|
||||||
finito
|
finito
|
||||||
|
org $b000 ; empty space I hope
|
||||||
|
screen
|
||||||
|
ins 'difficulties.bmp',+62
|
||||||
ini start
|
ini start
|
||||||
|
|||||||
Binary file not shown.
Reference in New Issue
Block a user