Hey guys,
I've written up a serial interface for the NES using an ATMEGA328 (standalone or Arduino) - I've ironed out all of the kinks with the serial (tx->NES only) code and it works perfectly. I've written a few ROMs to release with the software/schematics (basic MIDI interface, nametable tool + live upload to HW), but one of major things I wanted to do was a fast PRG upload for debugging. I've swapped the CF card one too many times on that powerpak!
I wrote a small program that uploads up to 2K to PRG-RAM (6000-7FFF) then jumps to $6000 which works just fine if I disable the NMI since I can't change the vector as far as I know.
Anyway,
Is there a way I can write to PRG-ROM when I'm using the powerpak from within the code (i.e STA $8000-$FFFF)?
(I guess I would have a ROM that copied the serial code to RAM - jump there - do the serial upload and then jump back to 8000.)
If not has anyone had any experience writing a powerpak mapper for something like this? Could I change the write enable on the "ROM" or will that interfere in fetching instructions?
Quick example of the nametable editor (uploads to CHR-RAM)
http://www.youtube.com/watch?v=mvH7GuDFQlg
I've written up a serial interface for the NES using an ATMEGA328 (standalone or Arduino) - I've ironed out all of the kinks with the serial (tx->NES only) code and it works perfectly. I've written a few ROMs to release with the software/schematics (basic MIDI interface, nametable tool + live upload to HW), but one of major things I wanted to do was a fast PRG upload for debugging. I've swapped the CF card one too many times on that powerpak!
I wrote a small program that uploads up to 2K to PRG-RAM (6000-7FFF) then jumps to $6000 which works just fine if I disable the NMI since I can't change the vector as far as I know.
Anyway,
Is there a way I can write to PRG-ROM when I'm using the powerpak from within the code (i.e STA $8000-$FFFF)?
(I guess I would have a ROM that copied the serial code to RAM - jump there - do the serial upload and then jump back to 8000.)
If not has anyone had any experience writing a powerpak mapper for something like this? Could I change the write enable on the "ROM" or will that interfere in fetching instructions?
Quick example of the nametable editor (uploads to CHR-RAM)
http://www.youtube.com/watch?v=mvH7GuDFQlg