fix convert script and makefile
This commit is contained in:
@@ -23,7 +23,8 @@ F_CPU = 20000000 # in Hz
|
||||
TARGET = main
|
||||
AVRDUDE = avrdude -c usbasp -p $(DEVICE)
|
||||
SIZE = avr-size
|
||||
|
||||
LOADER = ../../roms/qd16boot02.smc
|
||||
ROM_CONVERT = ../../scripts/conv_rle.py
|
||||
|
||||
|
||||
|
||||
@@ -77,7 +78,7 @@ flash: main.hex
|
||||
$(AVRDUDE) -U flash:w:main.hex:i
|
||||
|
||||
loader:
|
||||
python ../../scripts/conv_rle.py ../../snes/qd16/qd16boot.smc
|
||||
python $(ROM_CONVERT) $(LOADER)
|
||||
|
||||
|
||||
.c.o:
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
File: ../../snes/qd16/qd16boot.smc
|
||||
Time: Fri, 16 Oct 2009 07:38:50
|
||||
File: qd16boot02.smc
|
||||
Time: Fri, 16 Oct 2009 07:51:04
|
||||
*/
|
||||
#include <avr/pgmspace.h>
|
||||
#include <loader.h>
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
/*
|
||||
File: qd16boot02.smc
|
||||
Time: Fri, 16 Oct 2009 07:51:04
|
||||
*/
|
||||
#ifndef __FIFO_H__
|
||||
#define __FIFO_H__
|
||||
|
||||
#define ROM_BUFFER_SIZE 58046
|
||||
#define ROM_HUFFMAN_SIZE 0
|
||||
#define ROM_RLE_SIZE 58046
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user