Commit Graph

251 Commits

Author SHA1 Message Date
Paul Molloy 3e052ced37 Merge branch 'master' into 'master'
Fix overdumping 16KB nrom/cnrom, snes autodetection issues

Closes #18 and #17

See merge request InfiniteNesLives/INL-retro-progdump!25
2019-05-08 13:56:24 +00:00
Paul Molloy 55e7aca6ae Merge branch 'unromcnrom' into 'master'
Correct iNES IDs for UxROM/CNROM

See merge request InfiniteNesLives/INL-retro-progdump!24
2019-05-08 13:55:31 +00:00
beyondcoast 24130b476d Fix issues with snes autodetection and header parsing. LoROMs can have valid headers in HiROM addr and vice versa. 2019-05-06 21:20:50 -05:00
beyondcoast 8f9e5bb3c2 Fix overdumping 16KB nrom/cnrom 2019-04-21 17:17:32 -05:00
Peter Piwowarski 1a2cb1cb74 Correct iNES IDs for UxROM/CNROM
This fixes dumping the one UNROM cartridge (Jordan Vs. Bird) to which
 I have access. I do not have access to any CNROM carts to test.
2019-04-11 12:54:15 -04:00
Paul XPS 577277cd2b Basic NES file header creation. PRG/CHR-ROM sizes are filled in based
on provided prg/chr rom input args for dumping.  Mirroring is sensed &
entered for fixed mirror mappers.  So this is basic iNES file format.

Still don't have automatic banktable locating, nor mapper detection.

But this provides a basic header that should work with most currently
supported NES mappers.  If the headers need tweaked, I recommend opening
in Mesen and using it's header modifcation tool.
2019-03-21 20:28:53 -05:00
Paul Molloy 5bd4799d2b Merge branch 'master' into 'master'
Add header parsing for Genesis, ROM size autodetection, checksum validation.

See merge request InfiniteNesLives/INL-retro-progdump!23
2019-03-16 23:09:54 +00:00
beyondcoast 6bf1d82c4a Remove size checking in C for Sega because autodetection was implemented. 2019-03-16 17:22:42 -05:00
beyondcoast ef8868a7fb Merge branch 'master' of https://gitlab.com/InfiniteNesLives/INL-retro-progdump 2019-03-16 17:20:45 -05:00
beyondcoast b8d39e3e3c Add header parsing for Genesis, ROM size autodetection, checksum validation. 2019-03-16 17:20:26 -05:00
Paul Molloy 9e27f253c4 Merge branch 'master' into 'master'
Fix HiROM/LoROM detection, add autodetect for sram sizes, make displaying...

Closes #13

See merge request InfiniteNesLives/INL-retro-progdump!22
2019-03-04 06:31:37 +00:00
beyondcoast 403ba88f86 Merge branch 'master' of https://gitlab.com/InfiniteNesLives/INL-retro-progdump
Add gtrom support.
2019-03-03 15:37:45 -06:00
beyondcoast da9945954b Fix HiROM/LoROM detection, add autodetect for sram sizes, make displaying header resilient to unknown values. 2019-03-03 15:34:03 -06:00
Paul Win10 shuttle PC 0884d6608d Support for GTROM mapper 111. Both INLretro6 firmware and AVR firmware
included.  Not making an offical firmware release, will have to upload to
INLretro6 with fwupdate call.

The colordream firmware updates are also included.  But not the host
scripts, need to clean them up a bit.
2019-02-16 10:04:11 -06:00
Paul Molloy 1d9aa2f00f Merge branch 'master' into 'master'
Add support for reading internal SNES Header, limited autoconfiguration (HiROM v LoROM).

See merge request InfiniteNesLives/INL-retro-progdump!21
2019-02-11 19:55:50 +00:00
beyondcoast ba94792de8 fix mapping detection 2019-02-10 19:06:33 -06:00
beyondcoast 8f8bb2e9ff Add support for reading internal SNES Header, limited autoconfiguration (HiROM v LoROM). 2019-02-10 18:53:52 -06:00
Paul XPS 2a82101fa8 few missing changes for NESmaker support of older firmware from previous
commit.
2019-02-07 23:37:38 -06:00
Paul XPS 20cf2a81e5 Committing host version that works with all hardware versions that
shipped to NESmaker Kickstarter backers.

inlretro.exe -s scripts\inlretro2.lua -c NES -m mapper30v2 -x 512 -p
romname.nes
2019-02-07 23:16:28 -06:00
Paul XPS ca604c08b6 committing inlretro.exe for windows with the fix for the -k flag from previous commit 2019-02-07 16:06:13 -06:00
Paul XPS 935e73a83f fixing -k flag. 2019-02-07 16:05:04 -06:00
Paul XPS 8d88925cb6 changing variable to int hopefully resolves build errors on all systems.
Committing inlretro.exe for windows users to run latest command line
args.
2019-01-29 12:33:54 -06:00
Paul Molloy 63f2c1b358 Merge branch 'master' into 'master'
inlretro2 support for snes, all consoles now supported via CLI

See merge request InfiniteNesLives/INL-retro-progdump!20
2019-01-24 20:51:47 +00:00
beyondcoast 1d7f40b097 inlretro2 support for snes, all consoles now supported via CLI 2019-01-23 20:19:17 -06:00
Paul Molloy 870c33cb0c Merge branch 'master' into 'master'
Cleanup gb scripts/add to inlretro2, add -k CLI option for rom size in kilobytes

See merge request InfiniteNesLives/INL-retro-progdump!19
2019-01-14 21:16:54 +00:00
beyondcoast 7443c2bd17 Update comments/help for clarity about rom size and mappers 2019-01-14 07:19:54 -06:00
beyondcoast f899518989 Allow specifying rom size in kilobytes via CLI, do related plumbing to keep Kb as internal representation w/o breaking support for also accepting size in megabits. Cleanup gb scripts to remove unreachable code that was left around from their origin as nes scripts, migrate process()'s to be table driven, add support for gb in inlretro2.lua 2019-01-14 07:14:15 -06:00
Paul Molloy a11940f93d Merge branch 'master' into 'master'
Fix Issue #6

See merge request InfiniteNesLives/INL-retro-progdump!18
2019-01-11 16:23:25 +00:00
beyondcoast f1ce0f44e4 Fix -lm order in to unbreak Linux build 2019-01-02 15:18:59 -06:00
Paul Molloy 3b85cf152a Merge branch 'cleanup' into 'master'
Cleanup Genesis Script, host Makefile

See merge request InfiniteNesLives/INL-retro-progdump!17
2018-12-30 06:14:19 +00:00
Max e49ff6d2d0 Fix osx target -> machos 2018-12-21 03:30:13 +00:00
Paul Molloy 1e2aabc8d5 Merge branch 'master' into 'master'
Fix https://gitlab.com/InfiniteNesLives/INL-retro-progdump/issues/5

Closes #5

See merge request InfiniteNesLives/INL-retro-progdump!16
2018-12-20 17:04:31 +00:00
beyondcoast d844c9dd1f Make Linux and OS X aliases for Unix build, which will work for both. 2018-12-20 07:48:49 -06:00
beyondcoast d8d610b290 Merge branch 'master' of https://gitlab.com/beyondcoast/INL-retro-progdump into cleanup 2018-12-20 07:40:36 -06:00
beyondcoast 4fec4855b6 Update .gitignore to ignore VSCode metadata 2018-12-20 07:27:46 -06:00
beyondcoast d1e9e54874 Fix reported bug about nil path using -p flag to flash cart 2018-12-20 07:25:21 -06:00
beyondcoast 2972654e3b Cleanup of Genesis console script: add unsupported messages, dead code removal, table usage inlined, fix off-by-one error, make debug msgs variable controlled. 2018-12-20 07:16:46 -06:00
paul fa2e2afe4a adding -lm flag to include math library. 2018-12-18 20:46:48 -06:00
Paul Molloy 0678b8cb10 Merge branch 'master' into 'master'
Flag support cleanup

See merge request InfiniteNesLives/INL-retro-progdump!15
2018-12-18 04:55:24 +00:00
beyondcoast 97c5258f86 Add mmc5 support to inlretro2.lua 2018-12-17 19:19:17 -06:00
beyondcoast d33e9c2489 Deduplicate some logic in inlretro2.lua, make mapper/console flags case insensitive, update --help message. 2018-12-17 19:18:21 -06:00
Paul XPS 64ebb49617 Adding support for dumping MMC5 roms, wram reading/writting probably
works, but is untested.  (I don't own a MMC5 cart with PRG-RAM)

Tested with Laser Invasion for NES (128KB PRG & CHR ROMs)
2018-12-17 00:05:30 -06:00
Paul Molloy 9b9d4aaa2b Merge branch 'master' into 'master'
Add long versions for all existing options, ex: -c => --console

See merge request InfiniteNesLives/INL-retro-progdump!14
2018-12-16 19:13:22 +00:00
beyondcoast ea204fda31 Add long versions for all existing options, ex: -c => --console 2018-12-16 12:34:22 -06:00
Paul Molloy e8058e4da1 Merge branch 'master' into 'master'
Add GBA, Sega, N64 to inlretro2/CLI support + minor cleanup.

See merge request InfiniteNesLives/INL-retro-progdump!13
2018-12-10 05:44:19 +00:00
beyondcoast 6685122c09 Support N64,GBA,Genesis in inlretro2, add CLI -z option for ROM size in megabits 2018-12-09 17:53:03 -06:00
beyondcoast 5b47ff3fe6 Merge branch 'cleanup' 2018-12-09 17:10:59 -06:00
Paul XPS c1b35baf06 Big ol' commit with addition of support for GBA, Genesis, & N64
cartridge reading!

have some cleanup to do:
clean up sega dumping so don't need a page0/1
implement sega single reads

Add GBA to some of the common opcodes

dumping Don't think need addrH |= of mapper, but maybe this is key to
cleaning up first note..

gba, sega, n64 has extra NOPs, remove and test.

create pinport renames for sega pins, move mask defines to pinport.h

clean up comments for genesis page reads..
2018-12-08 16:01:59 -06:00
beyondcoast f0865b1aed Cleanup registration of lua globals, initialize INLOptions with empty strings to avoid potential segfault. 2018-12-07 09:23:47 -06:00
Paul XPS fa71e2ef2a GBA cart dumping supported!
haven't done anything with save ram/flash yet, but should be able to
dump rom for any/all GBA carts now!  Tested with 8Mbyte Metroid Fusion.
Took ~75sec at 107KBps
2018-12-06 20:12:21 -06:00