test inflate
This commit is contained in:
parent
e13b124e93
commit
97137ed993
@ -27,7 +27,8 @@
|
|||||||
|
|
||||||
char inflate_done = 0;
|
char inflate_done = 0;
|
||||||
|
|
||||||
void inflate_init(){
|
void inflate_init()
|
||||||
|
{
|
||||||
neginf_init(0);
|
neginf_init(0);
|
||||||
sram_bulk_write_start(0x000000);
|
sram_bulk_write_start(0x000000);
|
||||||
}
|
}
|
||||||
@ -49,6 +50,7 @@ void neginf_cb_copy(nsize from, nsize to, nint length)
|
|||||||
uint32_t addr;
|
uint32_t addr;
|
||||||
uint8_t c;
|
uint8_t c;
|
||||||
|
|
||||||
|
printf("neginf_cb_copy %lx %lx %li", from, to, length);
|
||||||
/*
|
/*
|
||||||
sram_bulk_addr_save();
|
sram_bulk_addr_save();
|
||||||
for (addr=from; addr<from+length; addr++){
|
for (addr=from; addr<from+length; addr++){
|
||||||
|
|||||||
4055
avr/usbload/loader.c
4055
avr/usbload/loader.c
File diff suppressed because it is too large
Load Diff
@ -1,14 +1,14 @@
|
|||||||
/*
|
/*
|
||||||
File: qd16boot01.smc
|
File: qd16boot02.smc
|
||||||
Time: Tue, 20 Oct 2009 21:42:10
|
Time: Tue, 20 Oct 2009 22:07:40
|
||||||
*/
|
*/
|
||||||
#ifndef __FIFO_H__
|
#ifndef __FIFO_H__
|
||||||
#define __FIFO_H__
|
#define __FIFO_H__
|
||||||
|
|
||||||
#define ROM_HUFFMAN_SIZE 0
|
#define ROM_ZIP_SIZE 33654
|
||||||
#define ROM_RLE_SIZE 31091
|
#define ROM_BUFFER_CNT 2
|
||||||
#define ROM_BUFFER_CNT 1
|
|
||||||
|
|
||||||
#define ROM_BUFFER_SIZE01 31091
|
#define ROM_BUFFER_SIZE01 32767
|
||||||
|
#define ROM_BUFFER_SIZE02 887
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@ -408,7 +408,7 @@ void shell_run(void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
c = sram_read(0xffd6 - offset);
|
c = sram_read(0xffd6 - offset);
|
||||||
info_P(PSTR("TYPE 0x%04xc"), (0xffd6 - offset),c);
|
info_P(PSTR("TYPE 0x%04x "), (0xffd6 - offset),c);
|
||||||
switch(c){
|
switch(c){
|
||||||
case 0x00:
|
case 0x00:
|
||||||
info_P(PSTR("Rom\n"));
|
info_P(PSTR("Rom\n"));
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user