Mike Ryan
701388da13
save_file: return an int that indicates whether file was created
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
Tyler Stachecki
1d66d2e188
Merge pull request #19 from mikeryan/eeprom-save
...
Implement EEPROM saves
2016-01-24 00:11:02 -05: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
ec739c8c94
create a generic type for save files
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
ede3ae921c
Fix clang build issue.
2015-11-06 22:06:04 -05:00
Tyler J. Stachecki
f27c7c7d97
Delay when the cache operation requires it.
...
Also slightly tighten the emulated memory delays. With
this commit, WDC boots (but crashes shortly after). Seems
like memory timings are coming into play, among other
things.
2015-08-19 00:07:15 -04:00
Tyler J. Stachecki
03fd39cd4a
Fix mingw64 build issues.
2015-08-17 13:52:46 -04: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
Tyler Stachecki
98d3ae952c
Implement DCB-type stalls.
2015-07-05 08:15:47 -04:00
Tyler J. Stachecki
a53d9a6d88
Change once last instance of 'simulator' to 'emulator'.
2015-07-03 08:17:05 -04:00
Tyler Stachecki
e410df4035
Merge pull request #13 from vgturtle127/master
...
See description
2015-07-02 10:04:54 -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
Derek "Turtle" Roe
8868fd4854
Update registers.md
2015-07-01 16:45:48 -05:00
Derek "Turtle" Roe
4f8c43fc50
Update README.md
2015-07-01 16:44:12 -05:00
Tyler Stachecki
335c8c88a7
Fix a bug in the X11 window code.
...
Thanks go out to izy for this commit.
2015-06-11 08:54:35 -04:00
Tyler Stachecki
dc336ecfd1
Fix a WinAPI VirtualFree bug.
...
Thanks go out to izy for this commit.
2015-06-11 08:19:24 -04:00
Tyler Stachecki
28bdec42fc
Build fix for Arch Linux.
...
Thanks go out to Presence for this commit.
2015-06-11 08:18:29 -04:00
Tyler J. Stachecki
e415f26b6c
Fix a serious typo.
2015-05-23 23:10:31 -04:00
Tyler J. Stachecki
653bd0d5b6
Add (initial) audio support.
...
"It's a meeee, Mario!"
There's no resampler as of yet, so we just tell OpenAL
that everything is 44.1KHz for the time being. In the
future, a resampler thread will be created and things
won't sound as bad as they do in this commit.
2015-05-23 22:00:20 -04:00
Tyler J. Stachecki
0077026667
Update 8303 CIC checksum.
2015-05-23 12:33:11 -04:00
Tyler J. Stachecki
af9b9a489a
Add a temporary hack for the CACHE instruction.
...
When a CACHE instruction uses a mapped virtual address,
and a TLB miss results... just ignore it! Clearly, this
isn't the right thing to do, but all documentation is
ambiguous and this seems to float the boat for now.
2015-05-20 22:36:41 -04:00
Tyler J. Stachecki
8b07f9ec6f
VI: Save processor context before using floats.
2015-05-20 20:58:10 -04:00
Tyler J. Stachecki
4cdfb706af
VR4300: Minor optimization.
2015-05-20 20:58:01 -04:00
Tyler J. Stachecki
daee3698e4
VR4300: CACHE instructions can't cause TLB Mod.
2015-05-20 20:57:46 -04:00
Tyler J. Stachecki
793d8212fd
VR4300: Minor pipeline optimizations.
2015-05-20 20:57:33 -04:00
Tyler J. Stachecki
4e6f11fa0c
Prevent a possible crash on Windows/SSE2 builds.
2015-05-19 20:49:06 -04:00
Tyler J. Stachecki
9bb044ce5b
Workaround an X11 keypress issue?
2015-05-16 17:40:11 -04:00
Tyler J. Stachecki
391b967725
Work on cleaning up the build system somewhat.
2015-05-16 17:15:19 -04:00
Tyler J. Stachecki
db673be5c2
Mutexes seem to result in better performance?
2015-05-16 15:51:35 -04:00
Tyler J. Stachecki
9a9388400f
Commit the new WinAPI user interface.
...
Streamline the Windows version of the source. There is
some breakage with regard to the console window and other
odds and ends.
2015-05-16 15:51:29 -04:00
Tyler J. Stachecki
1619e0fd98
More cleanup/streamlining of UI pullup.
2015-05-16 15:51:21 -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
bf38ee1879
Fix comment styles and such things.
2015-05-16 15:51:09 -04:00
Tyler J. Stachecki
b4b6a1d9a2
Refactor windowing component of VI.
2015-05-16 15:51:01 -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
b5fbc3d939
Add low-level memory allocation interfaces.
2015-05-16 15:50:46 -04:00
Tyler J. Stachecki
926f02a84c
Migrate keycodes into new directories.
2015-05-16 15:50:31 -04:00
Tyler J. Stachecki
6d4d8a442a
Commit a WinAPI implementation of cen64_gl_*.
2015-05-16 15:50:27 -04:00
Tyler J. Stachecki
6eccdf4901
Commit an X11 implementation of cen64_gl_*.
...
This cen64_gl_* common API will eventually replace the OS-
dependent windowing setup disaster that occurs when we currently
bringup CEN64.
2015-05-16 15:50:16 -04:00
Tyler J. Stachecki
674b0b4f78
Add a function to save/restore hostregs.
2015-05-16 15:50:09 -04:00
Tyler J. Stachecki
f4b182835c
Various small optimizations.
2015-05-08 09:58:18 -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
1e6fd9af4b
Fix a slew of cache bugs.
2015-01-29 10:09:14 -05:00
Tyler Stachecki
2f64037d94
Various FPU optimizations.
2015-01-29 10:09:06 -05:00