1012 Commits

Author SHA1 Message Date
sanni
72651a9cf1
Merge pull request #1055 from gemarcano/gb_minor_optimizations
GB minor optimizations
2025-01-07 15:58:54 +01:00
Gabriel Marcano
9210769405 Optimizations for Cart_Reader.ino
- Removed strcpy_P from print_STR, not necessary as print*_Msg supports
   __FlashStringHelper strings, so pass those through.
 - Change RTCStamp signature, don't return String as that allocates on
   the heap, require caller to allocate a buffer however they want of at
   least 21 bytes in size. Updated call-sites to follow this new
   convention. String output is now no longer completely uppercase.
 - delete print_right(). This function doesn't quite do what it claims
   to do, at least on HW5, as the font isn't monospace.
 - Fix number literal types for clkcal. No need to use ULL, as the
   variables in use are int32_t, and on AVR these are just L. Unsure of
   how to make it more cross-platform for now.
 - delete atoi32_signed, as we can just use atol() and save progmem.
 - cleanup readClockOffset(), and use atol also.
 - minor cleanups in initializeClockOffset that actually reduced
   progmem.
 - rewrote void print_Msg(const char myString[]) wrapping implementation
   to reduce progmem. call print_Msg in println_Msg (not sure why it
   wasn't called). This actually fixes a bug where only the first line
   would wrap.
 - checkButton(), rotaryDir doesn't need to be more than int8_t.
 - delete large switch-case in fileBrowser, unnecessary, just index the
   fileNames string directly.
 - buildRom, loop size doesn't need to be more than byte as length is a
   byte.
 - In total, progmem usage went from 181634 bytes to 180484 (over 1KB
   saved).
2025-01-07 01:03:06 -08:00
p0ojisan
c1c04e32cd Fix offset address for mapper 24/26/78 2025-01-07 12:04:32 +09:00
nsx0r
8ccafde72a
Update NES.ino - fix for mapper 206.1, little cleanup
Update NES.ino - fix for mapper 206.1, little cleanup
2025-01-01 21:30:36 +00:00
nsx0r
cccc74c068
Update NES.ino - trimming a couple extra lines
Update NES.ino - trimming a couple extra lines
2025-01-01 13:54:33 +00:00
nsx0r
c6f3e8b8f4
Update NES.ino - fixed mapper 88
Update NES.ino - fixed mapper 88
2025-01-01 13:50:35 +00:00
smesgr9000
44ad089188 support "Bentley Bear's Crystal Quest" and "Bounty Bob Strikes Back!" 2025-01-01 10:28:12 +01:00
nsx0r
2100cd55f6
Update NES.ino - fix for SEROM/SHROM/SH1ROM PCBs
fix for SEROM/SHROM/SH1ROM PCBs
2024-12-31 08:14:25 +00:00
sakman55
fb8835b6c4
Update NES.ino
Modified Mapper 226 to use pulsing M2 code (BMC Super 42-in-1, 76-in-1, et al.).

Added Mapper 233 which requires power cycling the cart reader to switch between the two PRG chips (BMC 22-in-1/20-in-1 (42-in-1)).
2024-12-25 17:55:32 -10:00
Gabriel Marcano
d2b9a5d9b9 Update GB.ino
- Move shared GB port initialization into its own function
2024-12-23 12:25:58 -08:00
Gabriel Marcano
9f92f6614d Update Cart_Reader.ino
- Add support for simulating a long press for the serial interface by
   seinding `l` or `L`. This lets someone actually run the SNES clock
   calibration using the serial interface.
2024-12-22 23:33:21 -08:00
Gabriel Marcano
62b8182dee Update Cart_Reader.ino
- Don't use `Serial.read() - 48` to extract chars. Just treat the data
   as chars. This is more legible, and actually reduced the program
   storage space utilization slightly.
2024-12-22 23:33:21 -08:00
Gabriel Marcano
b2578512e5 Update Cart_Reader.ino
- Remove incomingByte global variable, mark all uses as local
   variables. This leads to a tiny (yet measurable) decrease in global
   variable use, and no change in sketch memory use. Of course, the
   variable now resides in the stack, but only while the functions using
   it exist, which isn't always.
2024-12-22 23:33:21 -08:00
nsx0r
1a16fcf875
Update NES.ino
- regrouped more MMC3-like mappers
- fixed mapper 91
- simplified mappers 1/155, 9, 10, 157
2024-12-22 08:25:24 +00:00
nsx0r
3f22b405ad
Update NES.ino
- RAM dump extension changed from .bin to .sav for direct use with emulators (see https://github.com/sanni/cartreader/discussions/1049)
- regrouped scripts for MMC3-based mappers
- regrouped scripts for CxROM-like mappers
- regrouped scripts for BxROM-like mappers
- added support for 268 submapper 1
2024-12-21 23:33:25 +00:00
nsx0r
ab6b462919
[NES] - added mapper 470
[NES] - added mapper 470
2024-12-17 05:49:55 +00:00
nsx0r
d30be9dc29
Update NES.ino
fix mapper 52
2024-12-15 12:58:19 +00:00
nsx0r
7473f3e5eb
Update NES.ino
added chr-rom support for mapper 268
added mappers 315 and 366
2024-12-15 08:41:33 +00:00
Ancyker
2199e15e03
Fix printInstructions() overriding dont_log state 2024-11-27 12:37:22 -05:00
nsx0r
a513c4c219
Update NES.ino 2024-11-24 21:53:44 +00:00
sakman55
68ab9b6f2b
Update NES.ino
Fixed Mapper 59.  Updated the index to the code sections.
2024-11-23 12:15:23 -10:00
nsx0r
443f33ec0c
Update NES.ino : added mapper 268 submapper 0
Update NES.ino : added mapper 268 submapper 0
2024-11-14 12:28:04 +00:00
nsx0r
464a573074
Update LEAP.ino - even simpler solution
Update LEAP.ino - even simpler solution
2024-11-09 07:38:32 +00:00
nsx0r
f1c023e6bb
LEAP.ino : fixed dumping and typos
LEAP.ino : fixed dumping and typos
2024-11-09 07:09:15 +00:00
sakman55
d6dd621aa9
Update MSX.ino
Added support for the Hudson Soft Bee Pack and Bee Cards.

Requires a Hudson Soft Bee Pack inserted into the MSX Adapter.

Be sure to fully insert the Bee Card into the Bee Pack.

Select Mapper 14 "Hudson Soft Bee Pack" and set the ROM size (16K/32K).
2024-11-05 07:49:24 -10:00
sakman55
5aa66780c0
Update LJPRO.ino
Added support for new Flash chips - MX25L4005 and MX25L6405.

The new chips were found in cart with PCB B1043-03B.

Removed the ROM size selection as we detect the ROM size based on the Flash ID.
2024-11-01 21:38:52 -10:00
sanni
fb87a0aa44 Add 39SF020 and 39SF010 to flashrom programmer 2024-09-20 16:38:00 +02:00
sanni
4f427c0ce4 GB: Fix flashing MBC0 2024-09-16 10:36:54 +02:00
sanni
7ad07067c9
Merge pull request #1027 from partlyhuman/lynx-fix-electrocop
Fix for overdumping Electrocop/Lynx
2024-09-16 09:07:28 +02:00
Roger Braunstein
dcf4aa85a3 Fix for overdumping Electrocop/Lynx 2024-09-15 16:17:01 -07:00
sanni
a19a10b16b Update GB.ino 2024-09-15 20:31:54 +02:00
sanni
6222b1fe3f GB: Only trigger audio and not WR on flash cart with audio as WE, add 39SF cart without MBC 2024-09-15 19:52:04 +02:00
Ancyker
a226a3cb97
Fix #1026 (StarTropics/NES mapper 4.1) 2024-09-14 15:11:09 -04:00
sanni
b390a52adb Change busycheck in GB.ino 2024-09-13 18:31:01 +02:00
sanni
63b3c7ee24 Update GB.ino 2024-09-13 17:13:53 +02:00
sanni
d82ee0432f Add support for 39F040 to flash programmer 2024-09-13 15:26:28 +02:00
sanni
405b73577a Fix compiler error 2024-09-13 09:32:13 +02:00
sanni
e108d8d63d
Merge pull request #1024 from herzmx/cps3
Release CPS3 OSCR Adapter
2024-09-13 09:18:41 +02:00
PsyK0p4T
1d2a016d3c
Update MD.ino
- Moved code to retrieve the cart name earlier and possibly rely on it to identify a game instead of game ID + CRC
- Moved code to regroup the different game checks
- Some comments and conditions get reduced
2024-09-12 23:19:45 +02:00
herzmx
c301d610ba Merge branch 'master' of github.com:sanni/cartreader into cps3 2024-09-12 15:09:57 -06:00
herzmx
62c4f5e5a0 Release CPS3 OSCR Adapter commit 2024-09-12 14:31:19 -06:00
nsx0r
d5252f2211
Update NES.ino - mapper 552 typo fix
mapper 552 typo fix
2024-09-11 19:22:11 +00:00
sanni
1e24b47329 Add writing MD FlashKit with S29GL064N 2024-09-11 17:15:06 +02:00
sanni
bff854c4e2
Remove duplicates of #define ENABLE_CLOCKGEN from config.h 2024-09-11 12:37:58 +02:00
sanni
9dce89ab05 Update Cart_Reader.ino 2024-08-29 11:18:20 +02:00
nsx0r
e04188d27c
Update NES.ino - added mapper 552
added mapper 552
2024-08-28 20:16:25 +00:00
nsx0r
6cbc8a59cf
Update NES.ino - fix mapper 80+82
fix mapper 80+82
2024-08-28 20:03:00 +00:00
nsx0r
5cbbfa6b68
Update NES.ino
fix mapper 80
2024-08-28 19:57:30 +00:00
Michael Singer
66e153d319 GBM: Fix some comments and unused function 2024-08-23 14:40:22 +02:00
sanni
0d602720c2 Remove more co-dependencies 2024-08-16 19:54:57 +02:00