diff options
-rw-r--r-- | GFX/Makefile | 12 | ||||
-rw-r--r-- | GFX/Sprites.dat | bin | 0 -> 32 bytes | |||
-rw-r--r-- | GFX/Tiles-16Col.dat | bin | 0 -> 64 bytes | |||
-rw-r--r-- | GFX/Tiles-4Col.dat | bin | 0 -> 1280 bytes | |||
-rw-r--r-- | GFX/palette.dat | bin | 0 -> 32 bytes | |||
-rw-r--r-- | Makefile | 7 | ||||
-rw-r--r-- | link.asm | 1 | ||||
-rw-r--r-- | tiles.asm | 23 |
8 files changed, 41 insertions, 2 deletions
diff --git a/GFX/Makefile b/GFX/Makefile new file mode 100644 index 0000000..fa6a26d --- /dev/null +++ b/GFX/Makefile @@ -0,0 +1,12 @@ +all: Tiles-4Col.dat Tiles-16Col.dat Sprites.dat palette.dat + +Tiles-4Col.dat: Tiles-4Col.png + snesgfx Tiles-4Col.png Tiles-4Col.dat + +palette.dat: Tiles-16Col.dat + +Tiles-16Col.dat: Tiles-16Col.png + snesgfx -p palette.dat -c 16 Tiles-16Col.png Tiles-16Col.dat + +Sprites.dat: Sprites.png + snesgfx -c 16 Sprites.png Sprites.dat diff --git a/GFX/Sprites.dat b/GFX/Sprites.dat Binary files differnew file mode 100644 index 0000000..0b644da --- /dev/null +++ b/GFX/Sprites.dat diff --git a/GFX/Tiles-16Col.dat b/GFX/Tiles-16Col.dat Binary files differnew file mode 100644 index 0000000..b5a1241 --- /dev/null +++ b/GFX/Tiles-16Col.dat diff --git a/GFX/Tiles-4Col.dat b/GFX/Tiles-4Col.dat Binary files differnew file mode 100644 index 0000000..972f4ba --- /dev/null +++ b/GFX/Tiles-4Col.dat diff --git a/GFX/palette.dat b/GFX/palette.dat Binary files differnew file mode 100644 index 0000000..91b427e --- /dev/null +++ b/GFX/palette.dat @@ -1,11 +1,14 @@ TARGET = tll-snes.sfc -LIBS = main.lib +LIBS = main.lib tiles.lib -TARGET: main.lib +$(TARGET): $(LIBS) link.asm casm link.asm main.lib: main.asm casm main.asm +tiles.lib: tiles.asm + casm tiles.asm + clean: rm -f $(TARGET) $(LIBS) @@ -7,3 +7,4 @@ option snes-irq,irq,irq_handler import "main.lib" + import "tiles.lib" diff --git a/tiles.asm b/tiles.asm new file mode 100644 index 0000000..0ed84df --- /dev/null +++ b/tiles.asm @@ -0,0 +1,23 @@ + processor 65c816 + + option output-file,"tiles.lib" + option output-format,lib + + org $8000 + bank 1 + +Col4Tiles: + incbin "GFX/Tiles-4Col.dat" +Col4TilesLen: equ $ - Col4Tiles + +Col16Tiles: + incbin "GFX/Tiles-16Col.dat" +Col16TilesLen: equ $ - Col16Tiles + +SpriteData: + incbin "GFX/Sprites.dat" +SpriteDataLen: equ $ - SpriteData + +PaletteData: + incbin "GFX/palette.dat" +PaletteDataLen: equ $ - PaletteData |