Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PoroCYon
4klang-linux
Commits
764ac935
Commit
764ac935
authored
May 10, 2019
by
PoroCYon
Browse files
add Oidos example
parent
a83a9564
Changes
5
Hide whitespace changes
Inline
Side-by-side
.gitmodules
View file @
764ac935
[submodule "v2/fr_public"]
[submodule "v2/fr_public"]
path = v2/fr_public
path = v2/fr_public
url = https://github.com/PoroCYon/fr_public
url = https://github.com/PoroCYon/fr_public
[submodule "oidos/oidos"]
path = oidos/oidos
url = https://gitlab.com/PoroCYon/oidos.git
README.md
View file @
764ac935
# Linux templates for PC intro synths
# Linux templates for PC intro synths
Small template code to get 4klang and V2 running on Linux :)
Small template code to get 4klang
, Oidos
and V2 running on Linux :)
Quickly hacked together by PoroCYon.
Quickly hacked together by PoroCYon.
...
@@ -22,6 +22,12 @@ Hugs to Alkama and noby for providing 4klang test tracks!
...
@@ -22,6 +22,12 @@ Hugs to Alkama and noby for providing 4klang test tracks!
2.
Run
`make`
2.
Run
`make`
3.
Run
`bin/runner`
3.
Run
`bin/runner`
#### Oidos
1.
Put the
`.xrns`
files in the
`mus`
folder.
2.
Run
`make`
3.
Run
`bin/play-<songname> | aplay`
#### V2
#### V2
1.
Put the exported
`.v2m`
files in the
`mus`
folder.
1.
Put the exported
`.v2m`
files in the
`mus`
folder.
...
...
oidos/.gitignore
0 → 100644
View file @
764ac935
bin/
obj/
mus/*.xrns
oidos/Makefile
0 → 100644
View file @
764ac935
NASM
?=
nasm
NASMFLAGS
:=
-DLINUX
-felf32
-I
obj
-I
oidos/player/
default
:
all
%/
:
mkdir
-p
"
$@
"
obj/%.xrns.asm
:
mus/%.xrns obj/
oidos/convert/oidosconvert.py
"
$<
"
"
$@
"
obj/play.o
:
oidos/player/play.c obj/
$(CC)
-m32
-c
-o
"
$@
"
"
$<
"
obj/random.o
:
oidos/player/random.asm obj/
$(NASM)
$(NASMFLAGS)
-o
"
$@
"
"
$<
"
obj/%.xrns.o
:
obj/%.xrns.asm oidos/player/oidos.asm
cp
"
$<
"
"obj/music.asm"
$(NASM)
$(NASMFLAGS)
-o
"
$@
"
oidos/player/oidos.asm
$(RM)
"obj/music.asm"
bin/play-%
:
obj/play.o obj/random.o obj/%.xrns.o bin/
$(CC)
-m32
-o
"
$@
"
$(
filter-out
bin/,
$^
)
INFILES
:=
$(
wildcard
mus/
*
.xrns
)
OUTFILES
:=
$(
patsubst
mus/%.xrns,bin/play-%,
$(INFILES)
)
all
:
$(OUTFILES)
clean
:
$(RM)
-rv
obj/
.PHONY
:
default all clean
oidos
@
c7bc996d
Subproject commit c7bc996d17793a17d770a761dcc9bd4e26462205
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