hackish darwine

This commit is contained in:
optixx
2009-10-20 21:41:44 +02:00
parent 6eead3e37d
commit 1adabc080f
5 changed files with 2275 additions and 2009 deletions

View File

@@ -23,9 +23,10 @@ F_CPU = 20000000
TARGET = main
AVRDUDE = avrdude -c usbasp -p $(DEVICE)
SIZE = avr-size
BOOT_ROM_SMALL = ../../roms/qd16boot01.smc
BOOT_ROM_FULL = ../../roms/qd16boot02.smc
ROM_CONVERT = ../../scripts/conv_rle.py
BOOT_ROM01 = ../../roms/qd16boot01.smc
BOOT_ROM02 = ../../roms/qd16boot02.smc
CONVERT_RLE = ../../scripts/conv_rle.py
CONVERT_ZIP = ../../scripts/conv_zip.py
@@ -79,11 +80,11 @@ fuse:
flash: main.hex
$(AVRDUDE) -U flash:w:main.hex:i
loader:
python $(ROM_CONVERT) $(BOOT_ROM_SMALL)
loader01:
python $(CONVERT_RLE) $(BOOT_ROM01)
loader_full:
python $(ROM_CONVERT) $(BOOT_ROM_FULL)
loader02:
python $(CONVERT_ZIP) $(BOOT_ROM02)
.c.o:
$(COMPILE) -c $< -o $@

File diff suppressed because it is too large Load Diff

View File

@@ -1,14 +1,14 @@
/*
File: qd16boot01.smc
Time: Sun, 18 Oct 2009 09:40:40
File: qd16boot02.smc
Time: Tue, 20 Oct 2009 21:41:01
*/
#ifndef __FIFO_H__
#define __FIFO_H__
#define ROM_HUFFMAN_SIZE 0
#define ROM_RLE_SIZE 31091
#define ROM_BUFFER_CNT 1
#define ROM_ZIP_SIZE 33654
#define ROM_BUFFER_CNT 2
#define ROM_BUFFER_SIZE01 31091
#define ROM_BUFFER_SIZE01 32767
#define ROM_BUFFER_SIZE02 887
#endif