Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add the OCM kernel ROM to the build process. #91

Merged
merged 1 commit into from
Aug 19, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 13 additions & 1 deletion source/kernel/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ endef
### MAIN RULE ###
###################

all: base ide ide-emu ascii8 ascii16 mfrsd flashjacks
all: base ide ide-emu ascii8 ascii16 mfrsd flashjacks ocm

TOOLS := M80 L80 LIB80 objcopy sdcc mknexrom dd

Expand Down Expand Up @@ -216,6 +216,18 @@ drivers/Flashjacks/Nextor-$(VERSION).Flashjacks.ROM: \
$(call copy_to_bin,$@)


### OCM (1-chip MSX, SX|2, and compatibles)

ocm: drivers/OCM/Nextor-$(VERSION).OCM.ROM

drivers/OCM/Nextor-$(VERSION).OCM.ROM: \
nextor_base.dat \
drivers/StandaloneASCII8/CHGBNK.BIN

mknexrom nextor_base.dat $@ /d:drivers/OCM/driver.dat /m:drivers/StandaloneASCII8/CHGBNK.BIN
$(call copy_to_bin,$@)


### Common rules

256.bytes:
Expand Down
Binary file added source/kernel/drivers/OCM/driver.dat
Binary file not shown.