Commit graph

61 commits

Author SHA1 Message Date
PeterLemon
52f639c90b Add remaining iQue Bootcode CRCs 2018-04-28 01:36:31 +01:00
PeterLemon
ec38dd93a1 Rename iQue Bootcode CRC 2018-04-27 19:14:14 +01:00
PeterLemon
9006a1d890 Add iQue Bootcode CRC 2018-04-25 14:17:40 +01:00
Tyler J. Stachecki
063f76a57e tab -> whitespace.
Signed-off-by: Tyler J. Stachecki <stachecki.tyler@gmail.com>
2018-01-04 18:46:26 -05:00
queueRAM
dd14dc9bbc Clear reset type bits in CIC seed values from PIF
Some CIC seed values had bit 0x20000 set which is the reset type
indicated from PIF (1 = NMI, 0 = Cold Reset). Some games
follow different initialization paths for NMIs which can cause
some unexpected boot behavior during a cold reset.

Fixes #58 Expansion Pak detection in Perfect Dark
2017-05-08 19:24:10 -05:00
Simon Eriksson
51cd3eec1e si: Add support for 7102 CIC.
Fixes Lylat Wars (PAL).
2016-10-21 16:02:54 +02:00
Mike Ryan
36a4a6fdfa dd: identify IPL and add support for all known dumped IPLs
This also fixes a regression introduced in 3900be4 that prevented the DD
IPL from booting.
2016-08-31 18:33:15 -07:00
Tyler J. Stachecki
3288229a50 Start fixing MSVC builds.
Conflicts:
	rdp/n64video.c
2016-06-26 17:19:17 -04:00
Mike Ryan
7068720b25 si: return PIF error when controller not present
Closes #38
2016-06-17 17:07:11 -07:00
Mike Ryan
73f4420a4c fix all build warnings, does not affect functionality 2016-06-16 20:40:51 -07:00
Mike Ryan
b2721e7d37 rtc: implement RTC
Untested in-game since Animal Forest does not yet run.
2016-02-05 21:44:48 -05:00
Jason Benaim
20e251ba75 One less annoying print. 2016-01-28 00:42:35 -05:00
Jason Benaim
c16561e388 Remove annoying print, add some comments 2016-01-28 00:42:35 -05:00
Jason Benaim
ee9e777701 Don't segfault if no tpak save was supplied. 2016-01-28 00:42:35 -05:00
Jason Benaim
b6c2e0bd7a Header fixes. 2016-01-28 00:42:35 -05:00
Jason Benaim
0c4a20abe1 Add support for MBC3. This is enough to get Pokemon games working with the transfer pak. 2016-01-28 00:42:35 -05:00
Tyler J. Stachecki
a4f0d7245a bus: Reduce number of MMIO address mappings. 2016-01-27 03:13:57 -05:00
Mike Ryan
abfa90185f transfer pak: send correct buffer to GB read function 2016-01-25 21:30:57 -08:00
Mike Ryan
5d9ace0226 si: clear top bit of status byte without blowing it away 2016-01-25 21:28:20 -08:00
Mike Ryan
14fe91df7d si: do not fail PIF commands when controller is not present 2016-01-25 21:28:20 -08:00
Tyler J. Stachecki
5e6b3181ca Prevent segfaults with unconfigured EEPROM. 2016-01-24 22:22:32 -05:00
Mike Ryan
e83da838f7 transfer pak: implement transfer pak read and write
This code will not boot Pokemon Stadium 1 or 2 after extensive
debugging. The code lacks Game Boy MBC support (though this is not the
reason the games refuse to boot).
2016-01-24 17:46:44 -08:00
Mike Ryan
799b2af628 transfer pak: parse command line and load tpak ROM/saves 2016-01-24 17:46:44 -08:00
Tyler J. Stachecki
f255fc94c3 Restore -nointerface functionality.
-nointerface was horribly broken when the device model was
refactored a few months ago. This commit unbreaks it and
restores functionality.
2016-01-24 16:13:43 -05:00
Mike Ryan
e7bbc4f822 pak: implement mempak and stub out rumble and transfer pak 2016-01-24 12:28:48 -08:00
Mike Ryan
93cf8d8eea eeprom: only attempt to memcpy if EEPROM is present 2016-01-24 12:28:48 -08:00
Mike Ryan
ca1f71b6fe eeprom: kbit, not kbyte 2016-01-24 12:28:48 -08:00
Mike Ryan
27f89580e1 si: return either 4k or 16k EEPROM 2016-01-23 21:02:42 -08:00
Mike Ryan
72c147255d eeprom: take options on command line and pass file into SI 2016-01-23 21:02:42 -08:00
Mike Ryan
30a2303a4a si: implement EEPROM read/write
This code does not handle saving or loading of EEPROM data from a save
file. Any save data will be lost once cen64 quits.
2016-01-23 21:02:42 -08:00
Mike Ryan
adf46db9df si: stub out interface for unimplemented PIF commands 2016-01-23 21:02:42 -08:00
Tyler J. Stachecki
ef28500d68 si/cic: Add 5105 CIC used by Zoinkity's Aleck64 ROMs.
Thanks go out to krom for providing the patch.
2015-08-14 11:43:50 -04:00
Derek "Turtle" Roe
8b89df2fdc See long description
Replaced all references to simulation with emulation
Updated copyright year
Updated .gitignore to reduce chances of random files being uploaded to
the repo
Added .gitattributes to normalize all text files, and to ignore binary
files (which includes the logo and the NEC PDF)
2015-07-01 18:44:21 -05:00
Tyler J. Stachecki
0077026667 Update 8303 CIC checksum. 2015-05-23 12:33:11 -04:00
Tyler J. Stachecki
d348c23e2f Commit the new X11 user interface.
Streamline the design/layout of the UI code. An excellent,
unexpected side-effect of this commit resulted in a significant
increase in performance...
2015-05-16 15:51:17 -04:00
Tyler J. Stachecki
7f203b7175 Start working in the new interfaces.
Seriously broken WinAPI stuff, no input, no multi-
threading a bunch of other terrible stuff (yet).
2015-05-16 15:50:54 -04:00
Tyler J. Stachecki
8f342106de Commit krom's (@PeterLemon) 64DD cart patch.
Add patch to CIC checks to permit Zoinkity's cart
conversions to boot.

(P.S.: No hardware rev 3 required! 64drive what?)
2015-05-01 11:13:03 -04:00
Jason Benaim
93d86a2219 Fixed typo in comment 2015-04-27 18:59:30 -04:00
Tyler Stachecki
1ba67eec9d Alignment/size optimizations. 2015-01-28 22:41:07 -05:00
Tyler Stachecki
28d4b7e122 Give DDIPL a lower priority than carts. 2015-01-17 11:51:29 -05:00
Tyler Stachecki
56426bb6ef Make the cart ROM an optional argument. 2015-01-08 12:17:26 -05:00
Tyler Stachecki
10fc81d7a3 Start filling in lots of 64DD implementation.
Also, fix a few bugs in the past two commits.
2015-01-06 22:21:00 -05:00
Tyler Stachecki
40ff6bd9ac Automatically seed the PIF RAM based on CIC type. 2015-01-01 15:01:33 -05:00
Tyler Stachecki
c90e55a05d Lock around input reads.
Fix some obvious memory consistency issues.
2014-11-16 10:19:56 -05:00
Tyler Stachecki
e89f054674 Optimize extremely aggressively.
Tell GCC to optimize cold functions for size and stash them away in
a separate part of the binary. Put the simulate core, meanwhile, on
the hot path. Also, bump optimization to -O3 as we can now "afford"
to do so.
2014-11-05 08:39:47 -05:00
Tyler Stachecki
0d15bd9ddc Add some preliminary input support. 2014-08-27 23:13:08 -04:00
Tyler Stachecki
84deb2fd6b Set available RDRAM size for 6102/6105 carts. 2014-08-23 15:59:15 -04:00
Tyler Stachecki
c28f74ba98 Fix up warnings, clean up initialization code. 2014-07-31 12:07:12 -04:00
Tyler Stachecki
6b65055137 Fix a minor issue in pif_perform_command. 2014-07-26 09:30:04 -04:00
Tyler Stachecki
4a48a987e5 Restore some PIF functionality. 2014-07-13 21:07:24 -04:00