sanni
d977b14cf4
Fix MD Zero Wing (E) (thx to jaffa225)
...
More info: https://github.com/sanni/cartreader/issues/664
2022-12-20 10:31:35 +01:00
splash5
eea4fb365f
Do compareCRC when reading game in SFM.
...
Don't rename when calculate checksum, just use filename and folder.
2022-12-11 10:49:07 +08:00
splash5
ed1c1f0bea
Fix SNES Daikaijuu Monogatari 2
2022-11-24 17:08:41 +08:00
Remy Starshade
aee632642d
Add Voltage Selection Module
2022-11-12 14:13:22 -05:00
Vincent Pelletier
90303b45c0
SNES.ino: Restore code with side-effects
...
This code was removed as part of
a555f21
("All: Resolve all compiler and linker warnings")
because it was filling a 1kB buffer which was never read from.
While I expect reading values from PINC should be invisible from the
cartridge's perspective, writing to PORTL, PORTF and PORTK is definitely
visible.
I have currently no way of testing if this code is required, so in doubt
restore the parts which have effects visible from the cartridge.
2022-11-01 07:56:15 +00:00
Vincent Pelletier
c82815f0d5
SFM.ino, SNES.ino: Rework compiler warnings resolution
...
I am not sure why I changed some variables from 16 bit types to 8 bit types
when the warnings being resolved were only about signedness.
Fixes: a555f21
("All: Resolve all compiler and linker warnings")
2022-11-01 07:53:35 +00:00
sanni
cc17c70e30
Fix reading/writing 4MB HiROM
...
HiROM starts at bank 192 and has 64 banks so byte variable currBank overflows.
2022-10-31 15:41:29 +01:00
Vincent Pelletier
f07f6f9025
All: Replace print_Error(*, boolean) calls with print_{,Fatal}Error(*)
...
Also, make print_FatalError(*) independent from print_Error(*).
Also, factorise common parts of print_Error(*).
Frees 2336 bytes of program space and 5 bytes of global ram space.
2022-10-31 08:52:33 +00:00
sanni
30d880bfa7
Fix SNES romName
2022-10-28 13:38:16 +02:00
Vincent Pelletier
67b54a690b
All: Factorise title generation from cart.
...
Fix out-of-bound access when first byte is not an ascii printable
character.
Reduces program space use by 480 bytes.
2022-10-28 05:29:44 +00:00
Vincent Pelletier
3b05046ee9
All: Factorise CRC functions.
...
This saves 370 bytes of program space.
2022-10-28 05:29:41 +00:00
Vincent Pelletier
0a627e5bd4
All: Use f.seekCur(x) instead of f.seekSet(f.curPosition() + x)
...
Saves 450 bytes of program space.
2022-10-28 05:29:20 +00:00
Vincent Pelletier
a555f2117f
All: Resolve all compiler and linker warnings
...
No functional change intended.
2022-10-28 05:29:20 +00:00
Vincent Pelletier
3fcd1a808d
https://github.com/sanni/cartreader/issues/574#issuecomment-1286956251
2022-10-28 05:29:20 +00:00
sanni
5357dea659
Print checksum and header CRC32 when searching database
2022-10-27 23:43:46 +02:00
BacteriaMage
ab5f94af85
fix superfx sram size detection
...
The header offsets were wrong so the size wasn't correctly computed and generally ended up defaulting to 32KB. Stunt Race FX, at least, uses 64KB and so only half the save data was being read.
2022-10-25 19:54:40 -05:00
sanni
4badfff458
Move to Arduino IDE 2.0.0 (different auto formatting, no code changes)
2022-10-13 09:49:03 +02:00
sanni
21e7468dfd
Fix flicker in Controller Test
2022-10-08 23:07:15 +02:00
sanni
1a8d127011
Increase romName array size from 17 to 22
...
Crashed with Lufia II(Estpolis II) before.
2022-10-06 10:20:02 +02:00
sanni
bef9d0f5f9
Don't log manual mapper selection to file for NES/GBA
2022-10-04 20:30:53 +02:00
Lesserkuma
6098700fdd
Merge branch 'master'
2022-09-25 17:06:58 +02:00
Lesserkuma
140401161b
UI improvements for GB, GBA, N64, SNES
2022-09-25 16:40:21 +02:00
sanni
6659b84d9d
Add support for Benesse Pocket Challenge W Module (thx to skaman)
2022-09-25 10:36:28 +02:00
Lesserkuma
77c0daeb6a
Update to displaying full ROM title on SNES, N64, GB, GBA
2022-09-24 14:36:13 +02:00
splash5
d506cd5358
Support for dumping "Street Fighter Zero 2" (SDD1 ROM Only)
2022-08-24 11:48:49 +08:00
sanni
d7d49bac75
Add some text when changing size based on database
2022-08-22 21:20:05 +02:00
sanni
c353451e31
Forgot about Tales
2022-08-22 20:50:52 +02:00
sanni
2a409bd848
Update SNES database to 20220812
2022-08-22 17:49:19 +02:00
sanni
fb743285fe
Only correct SNES ROM size if non-standard size found in database, else trust header info to be correct
2022-08-19 12:16:14 +02:00
sanni
f002e40aa6
Add back option to dump headerless NES ROM
2022-08-03 12:14:32 +02:00
sanni
c07a9334fd
Small fixes
2022-07-26 23:26:20 +02:00
sanni
0e56a3451a
V9.2 Alpha: Adds Coleco- and Intellivision (thx to skaman)
2022-07-23 11:16:37 +02:00
sanni
e02a8e49df
V9.1 Delete broken entries from SNES database
2022-07-18 09:16:56 +02:00
sanni
0a4a4d0039
Add no-intro database to NES
...
This is just a beta release, stuff might be broken.
2022-07-07 00:15:13 +02:00
sanni
44d853e1bb
Add CRC32 and filenames to SNES database
2022-06-21 13:29:19 +02:00
sanni
fac6f8eab2
Copy latest log to dump dir
2022-06-16 15:15:43 +02:00
Kreeblah
75e85af20f
Automatically create snes_clk.txt if it doesn't exist
2022-02-26 21:20:33 -08:00
sanni
eef1c6e8cc
Add check if Clockgen is working
2021-11-18 14:55:50 +01:00
sanni
dfec64917d
V7.2: LCD bugfix #2
2021-11-17 21:31:18 +01:00
sanni
21736a241a
V7.2: LCD bugfix
2021-11-17 20:13:24 +01:00
CaitSith2
bbe6e3cceb
Add Clock generator calibration option
2021-10-28 14:26:10 -07:00
sanni
5a3b311feb
Fix Led and missing word wrap
2021-10-26 17:13:42 +02:00
sanni
05deb817ac
V7.0: Add basic support for MKS MINI12864 V3
...
https://www.aliexpress.com/item/1005003098864693.html
2021-10-24 00:41:18 +02:00
sanni
a981bb0c3e
Make clockgen calibration optional
2021-10-14 09:53:07 +02:00
sanni
527f3562ed
V6.4: Add ExLoRom and ExHiRom flash options
...
- LoRom (P0) will write up to 8MB starting from file 0x0 to flashrom 0x0.
- HiRom (P0) will write up to 4MB starting from file 0x0 to flashrom 0x0.
- ExLoRom (P1) will write the first 4MB starting from file 0x0 to flashrom 0x400000. And then a second block up to 4MB from file 0x400000 to flashrom 0x0.
- ExHiRom (P1) will write the first 4MB starting from file 0x0 to flashrom 0x400000. And then a second block up to 4MB from file 0x400000 to flashrom 0x0.
2021-06-09 11:28:39 +02:00
sanni
c343094966
Add option to force A23 to high while flashing HiROM repros
...
A23-> low enables P0 and A23->high enables P1 flashrom.
2021-05-12 17:42:49 +02:00
sanni
e78d6e99e0
V6.1: Add support for exFAT SD cards (>32GB)
2021-04-26 18:20:30 +02:00
sanni
1bf1d2b720
Up version number and default to clock correction factor 0
2021-01-31 13:31:23 +01:00
Kreeblah
c471a9161e
Added attempt to load SNES clock offset from /snes_clk.txt before defaulting to -16000
2021-01-26 23:05:25 -08:00
jiyunomegami
e73ee4b171
modular compilation fixes
2020-07-11 20:39:12 +09:00