Skip to content

Commit

Permalink
Merge pull request #64 from davidgiven/brother
Browse files Browse the repository at this point in the history
Even more Brother organisation.
  • Loading branch information
davidgiven committed Jan 7, 2024
2 parents 7001619 + 49e609d commit 7c8d636
Show file tree
Hide file tree
Showing 38 changed files with 38 additions and 37 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ccpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ jobs:
path: |
bazel-bin/arch/brother/pn8510/diskimage.img
bazel-bin/arch/brother/pn8800/diskimage.img
bazel-bin/arch/brotherop2/diskimage.img
bazel-bin/arch/brotherwp1/diskimage.img
bazel-bin/arch/brother/lw30/diskimage.img
bazel-bin/arch/brother/wp2450/diskimage.img
bazel-bin/arch/brother/wp1/diskimage.img
bazel-bin/arch/kayproii/diskimage.img
bazel-bin/arch/nc200/diskimage.img
bazel-bin/arch/wp2450/diskimage.img
9 changes: 5 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,12 @@ jobs:
token: ${{ github.token }}
tag: dev
assets: |
brotherpowernote.img
pn8510.img
pn8510.img
pn8800.img
brotherop2.img
brotherwp1.img
lw30.img
wp1.img
kayproii.img
nc200.img
wp2450.img
Expand All @@ -67,8 +68,8 @@ jobs:
files: |
pn8510.img
pn8800.img
brotherop2.img
brotherwp1.img
lw30.img
wp1.img
kayproii.img
nc200.img
wp2450.img
Expand Down
4 changes: 2 additions & 2 deletions BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ filegroup(
"//arch/brother/pn8510:diskimage",
"//arch/brother/pn8800:diskimage",
"//arch/brother/wp2450:diskimage",
"//arch/brotherop2:diskimage",
"//arch/brotherwp1:diskimage",
"//arch/brother/lw30:diskimage",
"//arch/brother/wp1:diskimage",
"//arch/kayproii:diskimage",
"//arch/nc200:diskimage",
]
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ Currently it supports these platforms:

- [the Amstrad NC200 laptop](arch/nc200/README.md)
- [the Kaypro II](arch/kayproii/README.md)
- [the Brother WP-1 typewriter (and probably others)](arch/brotherwp1/README.md)
- [the Brother LW-30 typewriter (and probably others)](arch/brotherop2/README.md)
- [the Brother WP-1 typewriter (and probably others)](arch/brother/wp1/README.md)
- [the Brother LW-30 typewriter (and probably others)](arch/brother/lw30/README.md)
- [the Brother WP-2450DS typewriter (and probably others)](arch/brother/wp2450/README.md)
- [the Brother PN-8510MDS SuperPowerNote laptop (and probably others)](arch/brother/pn8510/README.md)
- [the Brother PN-8800FXB SuperPowerNote laptop (and probably others)](arch/brother/pn8800/README.md)
Expand Down
8 changes: 4 additions & 4 deletions arch/brotherop2/BUILD → arch/brother/lw30/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,18 @@ package(default_visibility = ["//visibility:public"])

genrule(
name = "font_inc",
tools = [ "//arch/brotherop2/utils:fontconvert" ],
tools = [ "//arch/brother/lw30/utils:fontconvert" ],
srcs = [ "//utils:6x7font.bdf" ],
outs = [ "font.inc" ],
cmd = "$(location //arch/brotherop2/utils:fontconvert) $< > $@"
cmd = "$(location //arch/brother/lw30/utils:fontconvert) $< > $@"
)

zmac(
name = "boot_o",
z180 = True,
srcs = [
"boot.z80",
"//arch/brotherop2/include:brotherop2.lib",
"//arch/brother/lw30/include:lw30.lib",
"//arch/common/utils:tty.lib",
"//include:cpmish.lib",
"//include:z180.lib",
Expand All @@ -40,7 +40,7 @@ ld80(
z180 = True,
srcs = [
n + ".z80",
"//arch/brotherop2/include:brotherop2.lib",
"//arch/brother/lw30/include:lw30.lib",
"//arch/common/utils:print.lib",
"//arch/common/utils:tty.lib",
"//include:cpm.lib",
Expand Down
2 changes: 1 addition & 1 deletion arch/brotherop2/README.md → arch/brother/lw30/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ Build cpmish.

Use FluxEngine to write this to a DD 3.5" floppy, using a command line like:

fluxengine write brother -i brotherop2.img
fluxengine write brother -i lw30.img

Insert the disk into the machine's drive, power on, and press FILE to open the
disk menu.
Expand Down
2 changes: 1 addition & 1 deletion arch/brotherop2/bios.z80 → arch/brother/lw30/bios.z80
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

maclib cpm
maclib cpmish
maclib brotherop2
maclib lw30

public SYSIN
public SYSOUT
Expand Down
2 changes: 1 addition & 1 deletion arch/brotherop2/boot.z80 → arch/brother/lw30/boot.z80
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
; gets loaded with BBR=CBR=0x60, CBAR=0x55, which means that DRAM from
; physical addresses 0x65000 to 0x6ffff is mapped to logical 0x5000 to 0xffff.

maclib brotherop2
maclib lw30
maclib cpmish

start:
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

maclib cpm
maclib cpmish
maclib brotherop2
maclib lw30

extrn SYSIN
extrn SYSOUT
Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion arch/brotherop2/tty.z80 → arch/brother/lw30/tty.z80
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

maclib cpm
maclib cpmish
maclib brotherop2
maclib lw30

extrn SYSIN
extrn SYSOUT
Expand Down
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions arch/brother/pn8510/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ BIOS_SRCS = [
"//include:cpmish.lib",
"//include:z180.lib",
":keytab_inc",
"//arch/brother/pn8510/include:brotherpowernote.lib",
"//arch/brother/pn8510/include:pn8510.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/brother/pn8510/include:brotherpowernote.lib",
"//arch/brother/pn8510/include:pn8510.lib",
":addresses",
],
)
Expand Down
2 changes: 1 addition & 1 deletion arch/brother/pn8510/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ How to use it

Build cpmish.

Use `dd` or your favourite disk imager to write the `brotherpowernote.img` file
Use `dd` or your favourite disk imager to write the `pn8510.img` file
to an HD 3.5" floppy. You're probably best off formatting this on a PC as the
way the disk system works means that you want 1:1 interleave.

Expand Down
2 changes: 1 addition & 1 deletion arch/brother/pn8510/bios.z80
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

maclib cpm
maclib cpmish
maclib brotherpowernote
maclib pn8510
maclib addresses

extern BDMA
Expand Down
2 changes: 1 addition & 1 deletion arch/brother/pn8510/boot.z80
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

maclib cpmish
maclib cpm
maclib brotherpowernote
maclib pn8510
maclib addresses

extrn FDBUF
Expand Down
2 changes: 1 addition & 1 deletion arch/brother/pn8510/floppy.z80
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
; See COPYING.cpmish in the distribution root directory for more information.

maclib cpm
maclib brotherpowernote
maclib pn8510

extrn TTYPUTC
extrn TTYPUT8
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion arch/brother/pn8510/keyboard.z80
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
; See COPYING.cpmish in the distribution root directory for more information.

maclib cpm
maclib brotherpowernote
maclib pn8510

extrn TTYPUTC
extrn TTYPUT8
Expand Down
2 changes: 1 addition & 1 deletion arch/brother/pn8510/tty.z80
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

maclib cpm
maclib cpmish
maclib brotherpowernote
maclib pn8510

extrn SYSIN
extrn SYSOUT
Expand Down
2 changes: 1 addition & 1 deletion arch/brother/pn8800/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ How to use it

Build cpmish.

Use `dd` or your favourite disk imager to write the `brotherpowernote.img` file
Use `dd` or your favourite disk imager to write the `pn8510.img` file
to an HD 3.5" floppy. You're probably best off formatting this on a PC as the
way the disk system works means that you want 1:1 interleave.

Expand Down
6 changes: 3 additions & 3 deletions arch/brotherwp1/BUILD → arch/brother/wp1/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ BIOS_SRCS = [
"//include:cpm.lib",
"//include:cpmish.lib",
"//include:z180.lib",
"//arch/brotherwp1/include:brotherwp1.lib",
"//arch/brother/wp1/include:wp1.lib",
"//arch/common/utils:tty.lib",
"//arch/common/utils:print.lib",
":addresses",
Expand All @@ -64,10 +64,10 @@ BIOS_SRCS = [

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

# This is a 64kB file containing the entire CP/M memory image.
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion arch/brotherwp1/README.md → arch/brother/wp1/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ Build cpmish.

Use FluxEngine to write this to a DD 3.5" floppy, using a command line like:

fluxengine write brother120 -i brotherwp1.img
fluxengine write brother120 -i wp1.img

Insert the disk into the machine's drive, and then power on while holding
CODE+Q. The machine will boot from the disk.
Expand Down
2 changes: 1 addition & 1 deletion arch/brotherwp1/bios.z80 → arch/brother/wp1/bios.z80
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

maclib cpm
maclib cpmish
maclib brotherwp1
maclib wp1
maclib addresses

public SYSIN
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion arch/brotherwp1/floppy.z80 → arch/brother/wp1/floppy.z80
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

maclib cpm
maclib cpmish
maclib brotherwp1
maclib wp1

extrn SYSIN
extrn SYSOUT
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

maclib cpm
maclib cpmish
maclib brotherwp1
maclib wp1

public KBDINIT
public KBDSTAT
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion arch/brotherwp1/tty.z80 → arch/brother/wp1/tty.z80
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

maclib cpm
maclib cpmish
maclib brotherwp1
maclib wp1

extrn SYSIN
extrn SYSOUT
Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit 7c8d636

Please sign in to comment.