INL-retro-progdump/firmware/source
Paul XPS d0c8ab82fe Moved usbMsgPtr to usb_buff ram successfully.
Deleted shared_usb.h because it was a copy of shared_dict_usb.h

This build_stm .hex does include some NROM flash updates to allow
checking if the last byte programmed successfully because was having
weird problems with that.  But not ready to commit all those changes and
they're highly unrelated to this commit.

Now that usb code doesn't use any .data nor .bss need to fully separate
the USB firmware code from the application.  Main way to do this will be
to have usb code be effectively entirely interrupt driven.

Thinking the best way to initialize usb will to have the application
code jump to the USB ISR and maybe use some messaging system with the 2
unused usb_buff indexes (4Bytes).

The USB code will include the vector table, so it will point to the
reset handler, but that will point to the application code's reset
handler, just need to make sure that's at a fixed location.

The USB code is just over 1KByte last I checked, so dedicating 2KByte
should be good.  Erase granularity is 1 page (1KB on C6, 2KB on RB).  So
that will work well.  Write protection granularity is 4KByte, but really
we shouldn't need to use write protection as there will always be the
built in bootloader to save a bricked device.
2018-11-27 02:00:47 -06:00
..
asm_stm Massive commit with bunch of random junk.. 2018-09-06 23:01:59 -05:00
old Have USB drivers successfully calling usbFunctionSetup when vendor setup 2017-07-24 21:56:34 -05:00
avr_gpio.h Double and long overdue commit.. 2018-01-01 23:32:09 -06:00
bootload.c Massive commit with bunch of random junk.. 2018-09-06 23:01:59 -05:00
bootload.h Massive commit with bunch of random junk.. 2018-09-06 23:01:59 -05:00
buffer.c slight tweak to buffer.c for firmware, want buffer status to be last thing 2017-08-24 13:56:09 -05:00
buffer.h Have PRG-ROM flashing working for NROM on AVR KAZZO 2017-08-08 15:08:39 -05:00
ciccom.c Massive commit with bunch of random junk.. 2018-09-06 23:01:59 -05:00
ciccom.h Massive commit with bunch of random junk.. 2018-09-06 23:01:59 -05:00
dump.c Most things working on STM_NES now with more complete pinport_al.h 2018-11-25 22:17:36 -06:00
dump.h Have basic SNES cart detection and dumping working. Dumping mario paint 2017-08-21 12:30:39 -05:00
flash.c Most things working on STM_NES now with more complete pinport_al.h 2018-11-25 22:17:36 -06:00
flash.h Big old first major commit since publicly releasing.. 2018-11-09 21:52:33 -06:00
gameboy.c Most things working on STM_NES now with more complete pinport_al.h 2018-11-25 22:17:36 -06:00
gameboy.h Massive commit with bunch of random junk.. 2018-09-06 23:01:59 -05:00
gba.c Most things working on STM_NES now with more complete pinport_al.h 2018-11-25 22:17:36 -06:00
gba.h Massive commit with bunch of random junk.. 2018-09-06 23:01:59 -05:00
io.c Most things working on STM_NES now with more complete pinport_al.h 2018-11-25 22:17:36 -06:00
io.h Big old first major commit since publicly releasing.. 2018-11-09 21:52:33 -06:00
jtag.c Another late commit from bunch of updates I made over a month ago.. 2018-02-13 14:36:43 -06:00
jtag.h Another late commit from bunch of updates I made over a month ago.. 2018-02-13 14:36:43 -06:00
main.c Massive commit with bunch of random junk.. 2018-09-06 23:01:59 -05:00
n64.c Most things working on STM_NES now with more complete pinport_al.h 2018-11-25 22:17:36 -06:00
n64.h Massive commit with bunch of random junk.. 2018-09-06 23:01:59 -05:00
nes.c Most things working on STM_NES now with more complete pinport_al.h 2018-11-25 22:17:36 -06:00
nes.h Most things working on STM_NES now with more complete pinport_al.h 2018-11-25 22:17:36 -06:00
operation.c Big update, have PRG-ROM dumping on NROM working for all devices! 2017-08-07 16:06:23 -05:00
operation.h Big update, have PRG-ROM dumping on NROM working for all devices! 2017-08-07 16:06:23 -05:00
pinport.c Most things working on STM_NES now with more complete pinport_al.h 2018-11-25 22:17:36 -06:00
pinport.h Big old first major commit since publicly releasing.. 2018-11-09 21:52:33 -06:00
pinport_al.h fixing EXP definitions for STM_NES so it'll actually build for previous 2018-11-25 22:30:04 -06:00
sega.c Most things working on STM_NES now with more complete pinport_al.h 2018-11-25 22:17:36 -06:00
sega.h Massive commit with bunch of random junk.. 2018-09-06 23:01:59 -05:00
snes.c Most things working on STM_NES now with more complete pinport_al.h 2018-11-25 22:17:36 -06:00
snes.h Big update from past weeks' work. Most of the work involves converting 2018-11-19 18:00:03 -06:00
swim.c Double and long overdue commit.. 2018-01-01 23:32:09 -06:00
swim.h Double and long overdue commit.. 2018-01-01 23:32:09 -06:00
types.h Big update from past weeks' work. Most of the work involves converting 2018-11-19 18:00:03 -06:00
usb.c Moved usbMsgPtr to usb_buff ram successfully. 2018-11-27 02:00:47 -06:00
usb.h Moved usbMsgPtr to usb_buff ram successfully. 2018-11-27 02:00:47 -06:00