test inflate

This commit is contained in:
optixx 2009-10-21 08:55:31 +02:00
parent e13b124e93
commit 97137ed993
4 changed files with 2119 additions and 1954 deletions

View File

@ -27,7 +27,8 @@
char inflate_done = 0;
void inflate_init(){
void inflate_init()
{
neginf_init(0);
sram_bulk_write_start(0x000000);
}
@ -49,6 +50,7 @@ void neginf_cb_copy(nsize from, nsize to, nint length)
uint32_t addr;
uint8_t c;
printf("neginf_cb_copy %lx %lx %li", from, to, length);
/*
sram_bulk_addr_save();
for (addr=from; addr<from+length; addr++){

File diff suppressed because it is too large Load Diff

View File

@ -1,14 +1,14 @@
/*
File: qd16boot01.smc
Time: Tue, 20 Oct 2009 21:42:10
File: qd16boot02.smc
Time: Tue, 20 Oct 2009 22:07:40
*/
#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

View File

@ -408,7 +408,7 @@ void shell_run(void)
}
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){
case 0x00:
info_P(PSTR("Rom\n"));