Commit Graph

2 Commits

Author SHA1 Message Date
Paul Black ASUS win7 c208924e45 Have BNROM 512KB PRG-ROM working for dumping and flashing.
Realizing much of my problems with discrete boards on original kazzos was
that I completely ignored the fact that most discretes are subject to bus
conflicts.  This makes writes to the mapper bank selecting uber flakey...
Created routine in bnrom.lua script to start flash operation by writing
the bank table to where Lizard puts it.  Need to write routine to find the
bank table in a provided rom for flashing.  And dumping needs to find the
bank table prior to making mapper writes and then use it for bank
switching!

Tested and working on AVR, stm adapter, and inl6
Lizard 512KB flash/dump:
AVR decrepit old firmware & app: 7.9KBps flash
AVR new firmware and app (this build) F:12.1KBps D:14.6KBps
STM adapter: F:31KBps D:114KBps
INL6: F:40KBps D:120KBps
2018-02-15 14:34:52 -06:00
Paul Black ASUS win7 9d35ad0c0f Getting closer to supporting various mappers.
Modified flash/dump scripts to be more generic accepting mapper/memory
args and file names.  Then they only handle the buffer and file
operations.
Created scripts/nes folder for holding all mapper scripts.  Currently only
nrom.lua is working and verified with inlretro6.  Found issue where the
very first byte read from PRG-ROM was garbage.  Narrowed it down to lower
address byte not settling in time, added NOP and resolved issue.
Still need to test on original kazzo and stm adapter, planning to do that
after this commit.
Next task is to get BNROM working so I can start getting to work on lizard
builds while taking advantage of speed boost!
2018-02-15 11:20:24 -06:00