Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
Open sidebar
Ricardo Quesada
c64-commando-2084
Commits
f46c8dac
Commit
f46c8dac
authored
Sep 02, 2019
by
Ricardo Quesada
Browse files
rules to make co3.prg
parent
67042329
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
30 additions
and
9 deletions
+30
-9
Makefile
Makefile
+11
-4
src/co2.asm
src/co2.asm
+9
-5
src/co3.asm
src/co3.asm
+10
-0
src/main-map.bin
src/main-map.bin
+0
-0
src/sprites.bin
src/sprites.bin
+0
-0
No files found.
Makefile
View file @
f46c8dac
...
...
@@ -7,7 +7,10 @@ C1541 = c1541
all
:
clean d64 run
co1.prg
:
src/main.asm src/music.asm src/l0-charset.bin src/l1-charset.bin src/l0-map.bin src/l0-padding.bin src/l1-map.bin src/l1-padding.bin src/l3-map.bin src/l3-padding.bin
co1.prg
:
src/main.asm src/music.asm
\
src/l0-charset.bin src/l1-charset.bin
\
src/l0-map.bin src/l0-padding.bin src/l1-map.bin
\
src/l1-padding.bin src/l3-map.bin src/l3-padding.bin
64tass
-Wall
--cbm-prg
-o
bin/co1.prg
-L
bin/list-co1.txt
-l
bin/labels.txt
--vice-labels
src/main.asm
md5sum
bin/co1.prg orig/co1.prg
...
...
@@ -15,12 +18,16 @@ co2.prg: src/co2.asm src/main-charset.bin src/l3-charset.bin
64tass
-Wall
--cbm-prg
-o
bin/co2.prg
-L
bin/list-co2.txt src/co2.asm
md5sum
bin/co2.prg orig/co2.prg
d64
:
co1.prg co2.prg
co3.prg
:
src/sprites.bin
64tass
-Wall
--cbm-prg
-o
bin/co3.prg
-L
bin/list-co3.txt src/co3.asm
md5sum
bin/co3.prg orig/co3.prg
d64
:
co1.prg co2.prg co3.prg
$(C1541)
-format
"commando 2084,rq"
d64
$(D64_IMAGE)
$(C1541)
$(D64_IMAGE)
-write
orig/commando.prg
"commando"
$(C1541)
$(D64_IMAGE)
-write
bin/co1.prg co1
$(C1541)
$(D64_IMAGE)
-write
bin/co2.prg co2
$(C1541)
$(D64_IMAGE)
-write
orig
/co3.prg co3
$(C1541)
$(D64_IMAGE)
-write
bin
/co3.prg co3
$(C1541)
$(D64_IMAGE)
-list
run
:
d64
...
...
@@ -31,4 +38,4 @@ runsc: d64
clean
:
-
rm
$(D64_IMAGE)
-
rm
bin/co1.prg bin/co2.prg
-
rm
bin/co1.prg bin/co2.prg
bin/co3.prg
src/co2.asm
View file @
f46c8dac
...
...
@@ -9,6 +9,8 @@
.BYTE
$
05
,
$
00
,
$
15
,
$
00
,
$
05
,
$
00
,
$
15
,
$
00
.BYTE
$
39
,
$
00
; copy from e000-efff to d000-dfff
COPY_FROM_E000_TO_D000
;$F00A
LDA
$
DC0E
;CIA1: CIA Control Register A
AND
#
$
FE
;#%11111110
STA
$
DC0E
;CIA1: CIA Control Register A
...
...
@@ -16,8 +18,9 @@
AND
#
$
FB
;#%11111011
STA
$
01
LDX
#
$
00
;#%00000000
_L00
LDA
$
E000
,
X
STA
$
D000
,
X
;Sprite 0 X Pos
STA
$
D000
,
X
LDA
$
E100
,
X
STA
$
D100
,
X
LDA
$
E200
,
X
...
...
@@ -25,7 +28,7 @@
LDA
$
E300
,
X
STA
$
D300
,
X
LDA
$
E400
,
X
STA
$
D400
,
X
;Voice 1: Frequency Control - Low-Byte
STA
$
D400
,
X
LDA
$
E500
,
X
STA
$
D500
,
X
LDA
$
E600
,
X
...
...
@@ -41,15 +44,16 @@
LDA
$
EB00
,
X
STA
$
DB00
,
X
LDA
$
EC00
,
X
STA
$
DC00
,
X
;CIA1: Data Port Register A
STA
$
DC00
,
X
LDA
$
ED00
,
X
STA
$
DD00
,
X
;CIA2: Data Port Register A
STA
$
DD00
,
X
LDA
$
EE00
,
X
STA
$
DE00
,
X
LDA
$
EF00
,
X
STA
$
DF00
,
X
INX
BNE
$
F01A
BNE
_L00
LDA
$
01
ORA
#
$
04
;#%00000100
STA
$
01
...
...
src/co3.asm
0 → 100644
View file @
f46c8dac
*
=
$E000
; FIXME: can be removed, since it contains garbage
.BINARY
"
main
-
map.bin
"
; Sprites
* = $E400
.BINARY "
sp
rites.bin
"
src/main-map.bin
View file @
f46c8dac
No preview for this file type
src/sprites.bin
0 → 100644
View file @
f46c8dac
File added
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment