From e73d10d09e10f2002122ea8d2cd878951b7eda0e Mon Sep 17 00:00:00 2001 From: Bad Diode Date: Sun, 23 May 2021 14:18:22 +0200 Subject: Move roms to separate directory --- Makefile | 5 ++--- roms/audio.rom | Bin 0 -> 437 bytes roms/bifurcan.rom | Bin 0 -> 596 bytes roms/console.rom | Bin 0 -> 29 bytes roms/controller.buttons.rom | Bin 0 -> 297 bytes roms/controller.keys.rom | Bin 0 -> 1151 bytes roms/dvd.rom | Bin 0 -> 317 bytes roms/file.load.rom | Bin 0 -> 1235 bytes roms/file.save.rom | Bin 0 -> 108 bytes roms/hover.rom | Bin 0 -> 508 bytes roms/label.rom | Bin 0 -> 1470 bytes roms/noodle.rom | Bin 0 -> 6465 bytes roms/polycat.rom | Bin 0 -> 807 bytes roms/proportional_fonts.rom | Bin 0 -> 1335 bytes roms/screen.rom | Bin 0 -> 447 bytes roms/shapes.rom | Bin 0 -> 1085 bytes roms/theme.rom | Bin 0 -> 3251 bytes roms/wallpaper.rom | Bin 0 -> 191 bytes src/uxn/roms/console.c | 5 ----- src/uxn/roms/dvd.c | 22 ---------------------- src/uxn/roms/dvd.rom | Bin 317 -> 0 bytes src/uxn/roms/piano.rom | Bin 2815 -> 0 bytes 22 files changed, 2 insertions(+), 30 deletions(-) create mode 100644 roms/audio.rom create mode 100644 roms/bifurcan.rom create mode 100644 roms/console.rom create mode 100644 roms/controller.buttons.rom create mode 100644 roms/controller.keys.rom create mode 100644 roms/dvd.rom create mode 100644 roms/file.load.rom create mode 100644 roms/file.save.rom create mode 100644 roms/hover.rom create mode 100644 roms/label.rom create mode 100644 roms/noodle.rom create mode 100644 roms/polycat.rom create mode 100644 roms/proportional_fonts.rom create mode 100644 roms/screen.rom create mode 100644 roms/shapes.rom create mode 100644 roms/theme.rom create mode 100644 roms/wallpaper.rom delete mode 100644 src/uxn/roms/console.c delete mode 100644 src/uxn/roms/dvd.c delete mode 100644 src/uxn/roms/dvd.rom delete mode 100644 src/uxn/roms/piano.rom diff --git a/Makefile b/Makefile index a16b658..9d830b8 100644 --- a/Makefile +++ b/Makefile @@ -16,7 +16,7 @@ SRC_DIR := src BUILD_DIR := build SRC_MAIN := $(SRC_DIR)/main.c ROM := $(BUILD_DIR)/rom.c -ROM_SRC := $(SRC_DIR)/uxn/roms/dvd.rom +ROM_SRC := roms/dvd.rom ASM_FILES := $(wildcard $(SRC_DIR)/*.s) WATCH_SRC := $(shell find $(SRC_DIRS) -name *.c -or -name *.s -or -name *.h) INC_DIRS := $(shell find $(SRC_DIR) -type d) @@ -79,8 +79,7 @@ run: main # Remove build directory. clean: - rm $(ROM) - rm -r $(BUILD_DIR) + rm -rf $(BUILD_DIR) tools: make -C tools/bin2carr diff --git a/roms/audio.rom b/roms/audio.rom new file mode 100644 index 0000000..462204d Binary files /dev/null and b/roms/audio.rom differ diff --git a/roms/bifurcan.rom b/roms/bifurcan.rom new file mode 100644 index 0000000..f82861d Binary files /dev/null and b/roms/bifurcan.rom differ diff --git a/roms/console.rom b/roms/console.rom new file mode 100644 index 0000000..255f0fc Binary files /dev/null and b/roms/console.rom differ diff --git a/roms/controller.buttons.rom b/roms/controller.buttons.rom new file mode 100644 index 0000000..8a33b98 Binary files /dev/null and b/roms/controller.buttons.rom differ diff --git a/roms/controller.keys.rom b/roms/controller.keys.rom new file mode 100644 index 0000000..d31f071 Binary files /dev/null and b/roms/controller.keys.rom differ diff --git a/roms/dvd.rom b/roms/dvd.rom new file mode 100644 index 0000000..4de8d72 Binary files /dev/null and b/roms/dvd.rom differ diff --git a/roms/file.load.rom b/roms/file.load.rom new file mode 100644 index 0000000..f91b772 Binary files /dev/null and b/roms/file.load.rom differ diff --git a/roms/file.save.rom b/roms/file.save.rom new file mode 100644 index 0000000..a2af61d Binary files /dev/null and b/roms/file.save.rom differ diff --git a/roms/hover.rom b/roms/hover.rom new file mode 100644 index 0000000..09d0db6 Binary files /dev/null and b/roms/hover.rom differ diff --git a/roms/label.rom b/roms/label.rom new file mode 100644 index 0000000..9abb678 Binary files /dev/null and b/roms/label.rom differ diff --git a/roms/noodle.rom b/roms/noodle.rom new file mode 100644 index 0000000..c0830b5 Binary files /dev/null and b/roms/noodle.rom differ diff --git a/roms/polycat.rom b/roms/polycat.rom new file mode 100644 index 0000000..0c7282f Binary files /dev/null and b/roms/polycat.rom differ diff --git a/roms/proportional_fonts.rom b/roms/proportional_fonts.rom new file mode 100644 index 0000000..ba46fca Binary files /dev/null and b/roms/proportional_fonts.rom differ diff --git a/roms/screen.rom b/roms/screen.rom new file mode 100644 index 0000000..e85ddc9 Binary files /dev/null and b/roms/screen.rom differ diff --git a/roms/shapes.rom b/roms/shapes.rom new file mode 100644 index 0000000..6438cfa Binary files /dev/null and b/roms/shapes.rom differ diff --git a/roms/theme.rom b/roms/theme.rom new file mode 100644 index 0000000..4da6332 Binary files /dev/null and b/roms/theme.rom differ diff --git a/roms/wallpaper.rom b/roms/wallpaper.rom new file mode 100644 index 0000000..cd35dcd Binary files /dev/null and b/roms/wallpaper.rom differ diff --git a/src/uxn/roms/console.c b/src/uxn/roms/console.c deleted file mode 100644 index 13d669a..0000000 --- a/src/uxn/roms/console.c +++ /dev/null @@ -1,5 +0,0 @@ -u16 uxn_rom[] = { - 0x0121, 0x9411, 0x1801, 0x2117, 0x0100, 0x9438, 0xf401, 0x230d, - 0x4800, 0x6c65, 0x6f6c, 0x5720, 0x726f, 0x646c, 0x6620, 0x6f72, - 0x206d, 0x5855, 0x214e, 0x000d -}; diff --git a/src/uxn/roms/dvd.c b/src/uxn/roms/dvd.c deleted file mode 100644 index 2cccc84..0000000 --- a/src/uxn/roms/dvd.c +++ /dev/null @@ -1,22 +0,0 @@ -u16 uxn_rom[] = { - 0x4c21, 0x01fd, 0x3708, 0x4c21, 0x01f3, 0x370a, 0xdc21, 0x01f2, - 0x370c, 0x0121, 0x0133, 0x3720, 0x2201, 0x2136, 0x0200, 0x013b, - 0x3100, 0x2401, 0x2136, 0x0200, 0x013b, 0x3102, 0x2101, 0x0121, - 0x2eb2, 0x0100, 0x2120, 0xb201, 0x012e, 0x3000, 0x2201, 0x2136, - 0x2000, 0x2839, 0x0001, 0x2130, 0x0000, 0x2128, 0x0000, 0x0128, - 0x0d09, 0x0401, 0x0110, 0x0800, 0x0401, 0x0111, 0x3002, 0x2401, - 0x2136, 0x1000, 0x2839, 0x0201, 0x2130, 0x0000, 0x2128, 0x0000, - 0x0128, 0x0d09, 0x0501, 0x0110, 0x0800, 0x0501, 0x0111, 0x3000, - 0x0021, 0x0101, 0x0100, 0x1004, 0x0001, 0x2108, 0xfeff, 0x383a, - 0x0138, 0x3100, 0x0201, 0x2130, 0x0100, 0x0001, 0x0501, 0x0110, - 0x0800, 0xff21, 0x3afe, 0x3838, 0x0201, 0x0131, 0x2121, 0xb201, - 0x002e, 0x210f, 0xfd01, 0x2c01, 0x0137, 0x3002, 0x0201, 0x2130, - 0x1000, 0x2638, 0x2a01, 0x0137, 0x3000, 0x0001, 0x2130, 0x2000, - 0x2638, 0x2801, 0xcf37, 0x2e01, 0x0117, 0x362c, 0x0021, 0x3808, - 0x2c01, 0x2537, 0x0021, 0x3808, 0xab25, 0xe401, 0x230d, 0x2523, - 0x0021, 0x3808, 0xab25, 0xca01, 0x230d, 0x4323, 0x006c, 0x3f1f, - 0x3838, 0x7838, 0x007f, 0xfefe, 0x777e, 0xe377, 0x00c3, 0x1f0f, - 0x7b3b, 0xe777, 0x00c7, 0xfefc, 0x878f, 0x0e07, 0x7ffc, 0x0000, - 0xff0f, 0x077f, 0x0300, 0x0001, 0xf0ff, 0xfff8, 0x8700, 0x0000, - 0x7fff, 0xff7f, 0xf000, 0x0000, 0xfce0, 0x80fc, 0x0a00, -}; diff --git a/src/uxn/roms/dvd.rom b/src/uxn/roms/dvd.rom deleted file mode 100644 index 4de8d72..0000000 Binary files a/src/uxn/roms/dvd.rom and /dev/null differ diff --git a/src/uxn/roms/piano.rom b/src/uxn/roms/piano.rom deleted file mode 100644 index 0556ccf..0000000 Binary files a/src/uxn/roms/piano.rom and /dev/null differ -- cgit v1.2.1