Skip to content

Commit 7f21748

Browse files
authored
Merge pull request #166 from pkali/develop
v1.43
2 parents 2bc8a6d + 89edbc6 commit 7f21748

67 files changed

Lines changed: 8487 additions & 1918 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@
33
*.lab
44
*.lst
55
artwork/talk.as_
6+
Manuals/build.bat

Atari/Manual/manual.asm

Lines changed: 113 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,113 @@
1+
2+
3+
* --- MAIN PROGRAM
4+
org $2000
5+
FontManual
6+
ins '../../artwork/weapons_AW6_mod.fnt' ; 'artwork/weapons.fnt'
7+
8+
StartManual
9+
; jsr init_song
10+
11+
lda >FontManual
12+
sta chbase
13+
sta chbas
14+
lda #$00
15+
sta colbak
16+
lda #$00
17+
sta colpf0
18+
lda #$02
19+
sta colpf1
20+
lda #$08
21+
sta colpf2
22+
lda #$00
23+
sta colpf3
24+
lda #$03
25+
26+
; and now display manual language selection screen
27+
mva <ManualDL dlptrs
28+
mva >ManualDL dlptrs+1
29+
mva #%00111110 dmactls ;set new screen width
30+
31+
@checkkey
32+
lda trig0 ; FIRE #0
33+
beq game
34+
35+
lda trig1 ; FIRE #1
36+
beq game
37+
38+
lda consol ; START
39+
and #1
40+
beq game
41+
42+
lda skctl ; ANY KEY
43+
and #$04
44+
bne @checkkey
45+
46+
game
47+
; silent
48+
lda #0
49+
ldx #8
50+
@ sta POKEY,x
51+
sta POKEY2,x ; stereo
52+
dex
53+
bpl @-
54+
55+
;no glitching please (issue #67)
56+
lda #0
57+
sta $D400 ;dmactl
58+
sta $022F ;dmactls
59+
60+
61+
mva #$ff portb ;ROM switch on
62+
mva #$40 nmien ;only NMI interrupts, DLI disabled
63+
cli ;IRQ enabled
64+
65+
; and now display manual language selection screen
66+
mva <lngDL dlptrs
67+
mva >lngDL dlptrs+1
68+
mva #%00111110 dmactls ;set new screen width
69+
rts ;return to ... DOS
70+
71+
72+
InitEnglish
73+
lda ManualLangFlag
74+
cmp #1 ; english
75+
jeq StartManual
76+
rts
77+
78+
InitPolish
79+
lda ManualLangFlag
80+
cmp #2 ; polish
81+
jeq StartManual
82+
rts
83+
84+
//--------------------
85+
ManualDL
86+
.byte $70
87+
.byte $47
88+
.word ManTitle
89+
.byte $70,$70
90+
.byte $42
91+
.word ManText
92+
.byte $02
93+
.byte $41
94+
.word ManualDL
95+
; ------------------------------------------------
96+
ManualTexts
97+
ManTitle
98+
dta d" manual "*
99+
ManText
100+
dta d" English Manual "
101+
dta d" English Manual "
102+
;---
103+
ini InitEnglish
104+
;---
105+
106+
org ManualTexts
107+
dta d" instrukcja "*
108+
dta d" Polska instrukcja "
109+
dta d" Polska instrukcja "
110+
;---
111+
ini InitPolish
112+
;---
113+

Atari/display_main_menu.asm

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ OptionsHere
1313
dta d"Rounds : 10 20 30 40 50 "
1414
dta d"Missiles : slug slow norm fast hare "
1515
dta d"Seppuku : nevr rare norm oftn alws "
16-
dta d"Mountains: NL BE CZ CH NP "
16+
dta d"Mountain : NL BE CZ CH NP "
1717
dta d"Walls : none wrap bump boxy rand "
1818
;; 01234567890123456789012345678901
1919
; dta d"Players: 2 3 4 5 6 "
@@ -29,9 +29,13 @@ OptionsScreenEnd
2929

3030
;-----------------------------------------------
3131
NameScreen2
32-
dta d" Tank 1 *1 +1 Name:"
32+
dta d" Tank 1 "
33+
dta char_joy
34+
dta d"1 "
35+
dta char_tank
36+
dta d"1 Name:"
3337
NameAdr
34-
dta d" "
38+
dta d" "
3539
NameScreen4
3640
dta d" "
3741
NamesOfLevels

Atari/display_purchasedl.asm

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@
33
.IF *>0 ;this is a trick that prevents compiling this file alone
44
;---------------------------------------------------
55
purchaseTextBuffer
6-
dta d"Player: * Cash: 0" ; ZERO TO MAKE YOU RICHER ON THE SCREEN
6+
dta d"Player: "
7+
dta char_joy
8+
dta d" Cash: 0" ; ZERO TO MAKE YOU RICHER ON THE SCREEN
79

810
; DLs fragments (modified by game code)
911
; all Purchase DL :)

Atari/display_static.asm

Lines changed: 58 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,31 @@ OptionsScreen
1919
dta d" "
2020
dta d" Press "
2121
dta d"Return"*
22-
dta d" to proceed "
22+
dta d" to proceed " ; this text has common part with OptionsSubTitle (7bytes) :)
2323
.ELIF TARGET = 5200
2424
dta d" Please select option with joystick one "
25-
dta d" and press FIRE to proceed "
25+
dta d" and press FIRE to proceed " ; this text has common part with OptionsSubTitle (7bytes) :)
2626
.ENDIF
2727
; 0123456789012345678901234567890123456789
2828
;-----------------------------------------------
29+
OptionsSubTitle
30+
dta d" Unknown Father of All Games"
31+
;-----------------------------------------------
32+
MoreUp
33+
dta d" " ; common part of this text and OptionsSubTitle :)
34+
dta 92,92,92
35+
dta d" more "
36+
dta 92,92,92
37+
; dta d" "
38+
MoreDown
39+
dta d" " ; common part of both texts
40+
dta 93,93,93
41+
dta d" more "
42+
dta 93,93,93
43+
; dta d" " ; common part of text and empty line :)
44+
EmptyLine
45+
dta d" "
46+
;-----------------------------------------------
2947
NameScreen
3048
.IF TARGET = 800
3149
dta d" Enter names of players "
@@ -46,7 +64,7 @@ NameScreen5
4664
dta d"INV"*
4765
dta d" - Shape "
4866
dta d"Return"*
49-
dta d" - Proceed "
67+
dta d" - Proceed" ; two spaces in nex text
5068
.ELIF TARGET = 5200
5169
dta d" "
5270
dta d"(5)"*
@@ -55,58 +73,51 @@ NameScreen5
5573
dta d" - Diffic. "
5674
dta d" "
5775
dta d"FIRE"*
58-
dta d" - Proceed "
76+
dta d" - Proceed " ; two spaces in nex text
5977
.ENDIF
60-
;-----------------------------------------------
61-
MoreUp
62-
dta d" "
63-
dta 92,92,92
64-
dta d" more "
65-
dta 92,92,92
66-
dta d" "
67-
MoreDown
68-
dta d" "
69-
dta 93,93,93
70-
dta d" more "
71-
dta 93,93,93
72-
dta d" "
7378
WeaponsDescription
7479
; 0123456789012345678901234567890123456789
7580
.IF TARGET = 800
76-
dta d"Tab"*
77-
dta d ": Defensive/Offensive weapon "
81+
dta d" " ; common part of this and previous text
82+
dta $fe ; left arrow symbol
83+
dta d"/"
84+
dta d"Tab"*
85+
dta d ": Defensives/Offensives "
7886
.ELIF TARGET = 5200
79-
dta d"Left"*
80-
dta d ": Defensive/Offensive weapon"
87+
dta d" "
88+
dta d"Left"*
89+
dta d ": Defensives/Offensives "
8190
.ENDIF
8291
PurchaseDescription
83-
; 0123456789012345678901234567890123456789
92+
; 0123456789012345678901234567890123456789
8493
.IF TARGET = 800
85-
dta d"Space"*
86-
dta d": Purchase "
87-
dta d"Return"*
88-
dta d": Finish "
94+
dta $ff ; right arrow symbol
95+
dta d"/"
96+
dta d"Space"*
97+
dta d": Purchase "
98+
dta d"Return"*
99+
dta d": Next"
89100
.ELIF TARGET = 5200
90101
dta d"Right"*
91-
dta d": Purchase "
92-
dta d"FIRE"*
93-
dta d": Finish "
102+
dta d": Purchase "
103+
dta d"FIRE"*
104+
dta d": Next "
94105
.ENDIF
95106
ActivateDescription
96-
; 0123456789012345678901234567890123456789
107+
; 0123456789012345678901234567890123456789
97108
.IF TARGET = 800
98-
dta d"Space"*
99-
dta d": Activate "
100-
dta d"Return"*
101-
dta d": Finish "
109+
dta $ff ; right arrow symbol
110+
dta d"/"
111+
dta d"Space"*
112+
dta d": Activate "
113+
dta d"Return"*
114+
dta d": Exit"
102115
.ELIF TARGET = 5200
103116
dta d"Right"*
104-
dta d": Activate "
105-
dta d"FIRE"*
106-
dta d": Finish "
117+
dta d": Activate "
118+
dta d"FIRE"*
119+
dta d": Exit "
107120
.ENDIF
108-
EmptyLine
109-
dta d" "
110121
;---------------------------------------------------
111122
OptionsTitle
112123
.IF TARGET = 800
@@ -115,13 +126,13 @@ OptionsTitle
115126
dta d" scorch supersystem "*
116127
.ENDIF
117128
DifficultyTitle
118-
dta d" difficulty "*
129+
dta d" difficulty"* ; " " 3 bytes - common part of 2 texts
130+
GameOverTitle
131+
dta d" game over "*
119132
PurchaseTitle
120133
dta d"purchase weapons"
121134
InventoryTitle
122135
dta d"activate weapons"*
123-
GameOverTitle
124-
dta d" game over "*
125136
GameOverTitle2
126137
dta d" Player Points Hits Earned Money "
127138
;-----------------------------------------------------
@@ -169,7 +180,8 @@ dl ; MAIN game display list
169180
.by $0f+$80 ; DLI
170181
:2 .by $0f ;2
171182
.by $0f+$80 ; DLI (black to end);1
172-
:38 .byte $0f ;35 ..... = 200
183+
:37 .byte $0f ;34 ..... = 199
184+
.by $0f+$80 ; DLI - Black Hole
173185
.by $4f
174186
.wo EmptyLine ; additional line of ground
175187
.byte $41
@@ -193,6 +205,9 @@ OptionsDL
193205
.byte $4f
194206
.word (display+140*40)
195207
:21 .by $0f ;76
208+
.byte $70+$80
209+
.byte $42
210+
.word OptionsSubTitle
196211
.byte $41
197212
.word OptionsDL
198213
;------------------------

Atari/display_status.asm

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@
44

55
statusBuffer
66
; 0123456789012345678901234567890123456789
7-
dta d"Player: * "
7+
dta d"Player: "
8+
dta char_joy
9+
dta d" "
810
dta d"Energy: Angle: Force: "
911
dta d"Round: Wind: "
1012

0 commit comments

Comments
 (0)