-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #59 from jcobol/jcobol_makefiles
Looks good, let me know if you need anything else. Still haven't messed with Docker yet, but it's on my TODO list.
- Loading branch information
Showing
13 changed files
with
101 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
build.lst | ||
build.sym |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#!/bin/bash | ||
|
||
# Ensure Docker is available | ||
if ! docker info &>/dev/null; then | ||
echo "ERROR: Please ensure you have Docker installed and that your shell user is part of the 'docker' group" 1>&2 | ||
exit 1 | ||
fi | ||
|
||
# Build Docker image | ||
# Will use cached copy if already built | ||
(cd ../docker && ./build.sh) | ||
|
||
# Execute build inside Docker container | ||
|
||
docker run -it --rm -v $(pwd):/asm imagebbs_docker:latest bash -c "cd /asm && make clean all" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -312,7 +312,7 @@ dispd3: | |
jsr dispdt | ||
lda d1str+6 | ||
jsr dispdt | ||
lda #',' | ||
lda #comma | ||
jsr dispdt | ||
lda #' ' | ||
jsr dispdt | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -119,7 +119,7 @@ movie1: | |
pha | ||
jsr clrchn | ||
ldx movdly | ||
ldy#0 | ||
ldy #0 | ||
dl1: | ||
dey | ||
bne dl1 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
FROM ubuntu:latest | ||
|
||
RUN apt-get update \ | ||
&& apt install -y --no-install-recommends \ | ||
apt-transport-https \ | ||
bison \ | ||
build-essential \ | ||
ca-certificates \ | ||
flex \ | ||
git \ | ||
gnupg \ | ||
gpg-agent \ | ||
libreadline-dev \ | ||
libxaw7-dev \ | ||
unzip \ | ||
wget | ||
|
||
# Adapted from https://github.com/scottyhardy/docker-wine/blob/master/Dockerfile | ||
# Install wine | ||
ARG WINE_BRANCH="stable" | ||
ARG C64LIST_VER="4.04" | ||
RUN wget -nv -O- https://dl.winehq.org/wine-builds/winehq.key | APT_KEY_DONT_WARN_ON_DANGEROUS_USAGE=1 apt-key add - \ | ||
&& echo "deb https://dl.winehq.org/wine-builds/ubuntu/ $(grep VERSION_CODENAME= /etc/os-release | cut -d= -f2) main" >> /etc/apt/sources.list \ | ||
&& dpkg --add-architecture i386 \ | ||
&& DEBIAN_FRONTEND="noninteractive" apt-get install -y --install-recommends wine-${WINE_BRANCH} | ||
|
||
RUN apt install -y libwine --install-recommends \ | ||
&& apt update \ | ||
&& apt install -y wine32 --no-install-recommends | ||
|
||
|
||
# Configure locale for unicode | ||
#RUN locale-gen en_US.UTF-8 | ||
ENV LANG en_US.UTF-8 | ||
|
||
COPY files/C64List${C64LIST_VER}/Win32/C64List.exe /bin/C64List.exe | ||
|
||
RUN apt install -y vice |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#!/bin/sh | ||
|
||
docker build -t imagebbs_docker . |
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# C64List | ||
|
||
The C64List binaries and .docx files were downloaded from (here)[http://commodoreserver.com/BlogEntryView.asp?EID=8AA5A8C601114E8C8FEEC094A758FABA] | ||
and are included in this Git repository for simplicity. | ||
|