Skip to content

Commit

Permalink
Merge pull request #60 from davidgiven/brother
Browse files Browse the repository at this point in the history
Move the PowerNote stuff into a directory named after the exact model it works on.
  • Loading branch information
davidgiven authored Jan 2, 2024
2 parents c2a4e9c + 88df13c commit 9b4dd3e
Show file tree
Hide file tree
Showing 16 changed files with 10 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ccpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
with:
name: ${{ github.event.repository.name }}.${{ github.sha }}
path: |
bazel-bin/arch/brotherpowernote/diskimage.img
bazel-bin/arch/brother/pn8510/diskimage.img
bazel-bin/arch/brotherop2/diskimage.img
bazel-bin/arch/brotherwp1/diskimage.img
bazel-bin/arch/kayproii/diskimage.img
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ jobs:
tag: dev
assets: |
brotherpowernote.img
pn8510.img
brotherop2.img
brotherwp1.img
kayproii.img
Expand All @@ -62,7 +63,7 @@ jobs:
with:
name: Development build ${{ env.RELEASE_DATE }}
files: |
brotherpowernote.img
pn8510.img
brotherop2.img
brotherwp1.img
kayproii.img
Expand Down
2 changes: 1 addition & 1 deletion BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ exports_files([ "diskdefs" ])
filegroup(
name = "diskimages",
srcs = [
"//arch/brotherpowernote:diskimage",
"//arch/brother/pn8510:diskimage",
"//arch/brotherop2:diskimage",
"//arch/brotherwp1:diskimage",
"//arch/kayproii:diskimage",
Expand Down
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
all:
bazel test -c dbg //...
bazel build -c opt //:diskimages
for a in $$(dirname bazel-bin/arch/*/diskimage.img); do f=$$(basename $$a); ln -sf bazel-bin/arch/$$f/diskimage.img $$f.img; done
for a in $$(dirname bazel-bin/arch/*/diskimage.img bazel-bin/arch/*/*/diskimage.img); do \
f=$$(basename $$a); ln -sf $$a $$f.img; done

verbose:
bazel test -s -c dbg //...
Expand Down
8 changes: 4 additions & 4 deletions arch/brotherpowernote/BUILD → arch/brother/pn8510/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ top_of_memory = 0x10000

genrule(
name = "keytab_inc",
tools = [ "//arch/brotherpowernote/utils:mkkeytab" ],
tools = [ "//arch/brother/pn8510/utils:mkkeytab" ],
outs = [ "keytab.inc" ],
cmd = "$(location //arch/brotherpowernote/utils:mkkeytab) > $@"
cmd = "$(location //arch/brother/pn8510/utils:mkkeytab) > $@"
)

# Object files --------------------------------------------------------------
Expand All @@ -45,7 +45,7 @@ BIOS_SRCS = [
"//include:cpmish.lib",
"//include:z180.lib",
":keytab_inc",
"//arch/brotherpowernote/include:brotherpowernote.lib",
"//arch/brother/pn8510/include:brotherpowernote.lib",
"//arch/common/utils:tty.lib",
"//arch/common/utils:print.lib",
":addresses",
Expand Down Expand Up @@ -80,7 +80,7 @@ zmac(
"//include:cpm.lib",
"//include:cpmish.lib",
"//include:z180.lib",
"//arch/brotherpowernote/include:brotherpowernote.lib",
"//arch/brother/pn8510/include:brotherpowernote.lib",
":addresses",
],
)
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 9b4dd3e

Please sign in to comment.