diff --git a/poc/avr_sdcard/Makefile b/poc/avr_sdcard/Makefile index 035b198..bc222a0 100644 --- a/poc/avr_sdcard/Makefile +++ b/poc/avr_sdcard/Makefile @@ -181,7 +181,7 @@ LDFLAGS += $(PRINTF_LIB_MIN) $(SCANF_LIB) $(MATH_LIB) AVRDUDE_PROGRAMMER = stk500v2 # com1 = serial port. Use lpt1 to connect to parallel port. -AVRDUDE_PORT = /dev/tty.PL2303-00002006 # programmer connected to serial device +AVRDUDE_PORT = /dev/tty.PL2303-00001324 # programmer connected to serial device AVRDUDE_WRITE_FLASH = -U flash:w:$(TARGET).hex #AVRDUDE_WRITE_EEPROM = -U eeprom:w:$(TARGET).eep diff --git a/poc/avr_sdcard/main.c b/poc/avr_sdcard/main.c index 3a043e8..00a714d 100644 --- a/poc/avr_sdcard/main.c +++ b/poc/avr_sdcard/main.c @@ -41,7 +41,7 @@ #define READ_BUFFER_SIZE 512 -#define BLOCKS 512 +#define BLOCKS 510 #define debug(x, fmt) printf("%s:%u: %s=" fmt, __FILE__, __LINE__, #x, x) @@ -238,23 +238,30 @@ int main(void) &fat_size, &fat_attrib, read_buffer) == 1) { + - for (uint16_t block_cnt=0; block_cnt linkerfile.prj @@ -25,6 +29,6 @@ linkfile: $(APP): linkfile $(GFX) $(OBJS) $(GFX) $(LD) -vr linkerfile.prj $@ - + ucon64 $(APP) -swc $(SWC) clean: - rm -vf $(APP) *.prj *.o + rm -vf $(SWC) $(APP) *.prj *.o diff --git a/snes/simpletest/header.inc b/snes/simpletest/header.inc index 5e2c655..0f16c41 100644 --- a/snes/simpletest/header.inc +++ b/snes/simpletest/header.inc @@ -28,7 +28,7 @@ CARTRIDGETYPE $00 ; $00 = ROM only, see WLA documentation for others ROMSIZE $08 ; $0 = 0.5 Mbits, see WLA doc for more.. SRAMSIZE $00 ; No SRAM see WLA doc for more.. - COUNTRY $01 ; $01 = U.S. $00 = Japan, that's all I know + COUNTRY $02 ; $01 = U.S. $00 = Japan, that's all I know LICENSEECODE $00 ; Just use $00 VERSION $00 ; $00 = 1.00, $01 = 1.01, etc. .ENDSNES diff --git a/snes/simpletest/sprite.raw b/snes/simpletest/sprite.raw new file mode 100644 index 0000000..0415c95 Binary files /dev/null and b/snes/simpletest/sprite.raw differ diff --git a/snes/simpletest/sprite.swc b/snes/simpletest/sprite.swc new file mode 100644 index 0000000..f8eac55 Binary files /dev/null and b/snes/simpletest/sprite.swc differ