INL-retro-progdump/host/source
Paul Molloy pinkASUS fe04496cfb Flashing NROM PRG-ROM working but unstable.
Not sure how I thought flash operations were previously working as there
were many bugs I had to correct to support flash operations properly.
Operations module appears to be working so far, still need to pass
functions to operation module.
Flash operations verify PRG-ROM 32KB writes working with file comparison.
Currently dependent on extra buffer status reads to delay next buffer.
I think the write operation is taking longer than the usb load operation.
Potentially due to slow code of operation module, but also possible I
had only been testing with slow eeepc linux machine previously.  Perhaps
combination of both.

Still need to correct issue so added buff status delays aren't needed.
buffer manager should be able to key off of status==USB_FULL but that
doesn't seem to work.  When trying I don't always get the same number of
buffers to get flashed so appear to have a race condition or something
not properly intialized..?

Need sort out sending of USB STALL if buffer isn't ready to be loaded yet.

This commit is mainly for documentation/reference purposes as things are
kind of working, but buggy/unstable.

AVR Memory Usage
----------------
Device: atmega164a

Program:    6486 bytes (39.6% Full)
(.text + .data + .bootloader)

Data:        679 bytes (66.3% Full)
(.data + .bss + .noinit)
2017-02-13 11:49:57 -06:00
..
buffer.c Flashing NROM PRG-ROM working but unstable. 2017-02-13 11:49:57 -06:00
buffer.h Creations of operation module and dictionary. 2016-12-25 13:48:30 -06:00
cartridge.c Big overdue commit of past few days effort.. 2016-12-11 01:06:41 -06:00
cartridge.h Creations of operation module and dictionary. 2016-12-25 13:48:30 -06:00
dictionary.c Creations of operation module and dictionary. 2016-12-25 13:48:30 -06:00
dictionary.h Basic cartridge detection working. NES detected with CIRAM /CE and PPU /A13N jumper. Famicom detected with audio in/out connection. SNES detected by enabling control signals and reading reset vector looking for non 0xff data. Still need to add check that would pass with blank flash cart though reading flash ID's perhaps. 2016-12-04 03:16:40 -06:00
dump.c Creations of operation module and dictionary. 2016-12-25 13:48:30 -06:00
dump.h Creations of operation module and dictionary. 2016-12-25 13:48:30 -06:00
erase.c Flashing NROM PRG-ROM working but unstable. 2017-02-13 11:49:57 -06:00
erase.h Making progress on main program flow with detection in preparation for dumping/writing operations. 2016-12-07 18:08:31 -06:00
file.c Basic flashing operatoins working. Still need to do some tests and erasing before flashing. 2016-12-18 01:26:51 -06:00
file.h Basic flashing operatoins working. Still need to do some tests and erasing before flashing. 2016-12-18 01:26:51 -06:00
flash.c Flashing NROM PRG-ROM working but unstable. 2017-02-13 11:49:57 -06:00
flash.h Creations of operation module and dictionary. 2016-12-25 13:48:30 -06:00
inlprog.c Flashing NROM PRG-ROM working but unstable. 2017-02-13 11:49:57 -06:00
io.c Making progress on main program flow with detection in preparation for dumping/writing operations. 2016-12-07 18:08:31 -06:00
io.h Making progress on main program flow with detection in preparation for dumping/writing operations. 2016-12-07 18:08:31 -06:00
memory.c Successful detection of UNROM512 mapper30 PRG-ROM flash 2016-12-09 01:58:34 -06:00
memory.h Much of dumping code for PRG-ROM completed but have some bugs with setting buff elements working on debugging... 2016-12-11 20:34:43 -06:00
nes.c Big overdue commit of past few days effort.. 2016-12-11 01:06:41 -06:00
nes.h Big overdue commit of past few days effort.. 2016-12-11 01:06:41 -06:00
operation.c Flashing NROM PRG-ROM working but unstable. 2017-02-13 11:49:57 -06:00
operation.h Creations of operation module and dictionary. 2016-12-25 13:48:30 -06:00
pindef.h Basic cartridge detection working. NES detected with CIRAM /CE and PPU /A13N jumper. Famicom detected with audio in/out connection. SNES detected by enabling control signals and reading reset vector looking for non 0xff data. Still need to add check that would pass with blank flash cart though reading flash ID's perhaps. 2016-12-04 03:16:40 -06:00
snes.c Making progress on main program flow with detection in preparation for dumping/writing operations. 2016-12-07 18:08:31 -06:00
snes.h Basic cartridge detection working. NES detected with CIRAM /CE and PPU /A13N jumper. Famicom detected with audio in/out connection. SNES detected by enabling control signals and reading reset vector looking for non 0xff data. Still need to add check that would pass with blank flash cart though reading flash ID's perhaps. 2016-12-04 03:16:40 -06:00
temp CHR-ROM dumping working for NROM checksum appears to be off need to compare files. 2016-12-12 10:56:53 -06:00
test.c Flashing NROM PRG-ROM working but unstable. 2017-02-13 11:49:57 -06:00
test.h fixing some typo bugs to permit compiling. Updating test.c to perform 2017-02-10 08:51:12 -06:00
usb_operations.c Reading nes file inputs and extracting data from header. 2016-12-05 00:42:29 -06:00
usb_operations.h Updating main command line input args, and libusb logging/debug messages. 2016-12-02 22:59:54 -06:00
write_operations.c Tons of edits... 2016-11-25 19:50:43 -06:00
write_operations.h Basic cartridge detection working. NES detected with CIRAM /CE and PPU /A13N jumper. Famicom detected with audio in/out connection. SNES detected by enabling control signals and reading reset vector looking for non 0xff data. Still need to add check that would pass with blank flash cart though reading flash ID's perhaps. 2016-12-04 03:16:40 -06:00