Tyler J. Stachecki
54230639ce
Fix typo in WinAPI cen64_cv_wait(...).
...
This fixes -multithread on Windows.
2016-01-27 00:26:34 -05:00
Tyler J. Stachecki
f6bd236834
This was overdue: update CONTRIBUTORS.
...
@mikeryan, please inspect diff.
2016-01-26 21:02:33 -05:00
Tyler Stachecki
11c7e527a1
Merge pull request #28 from mikeryan/build-osx
...
build on OS X
2016-01-26 21:02:00 -05:00
Mike Ryan
4360b6923b
build on OS X
2016-01-26 17:51:42 -08:00
Tyler Stachecki
a429c2c5e8
Merge pull request #26 from mikeryan/si-fixes
...
Minor fixes to SI
2016-01-26 00:32: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
357fb92862
ai: Channels were backwards, swap them.
...
krom noticed that the channels were swapped. Good ear.
Data comes off the RSP as:
LH LL RH RL
bswap 32 results in:
RL RH LL LH
Need to flip again to get:
LL LH RL RH
2016-01-26 00:23:10 -05:00
Tyler Stachecki
800cfc5b6f
Merge pull request #25 from mikeryan/flashram-save
...
FlashRAM saves
2016-01-25 23:17:51 -05:00
Mike Ryan
e48d982023
flashram: implement FlashRAM in PI, with mapped reads
2016-01-25 20:09:46 -08:00
Mike Ryan
782b8cb826
flashram: take command line option and pass into PI
2016-01-25 20:09:46 -08:00
Tyler J. Stachecki
c548e9b7e2
Prevent audio problems with -multithread.
2016-01-25 03:55:16 -05:00
Tyler J. Stachecki
5b2bb550fd
OpenAL: Try to dynamically adjust frequency.
...
Most carts only seem to use one frequency. Add a dirty
hack to change the frequency on the fly so things sound
less horrendous.
2016-01-25 03:37:01 -05:00
Tyler J. Stachecki
b0082df3ca
Add experimental multithreading support.
2016-01-25 01:10:10 -05:00
Tyler J. Stachecki
376dcc2f86
Add more options for running without audio/video.
...
This commit does the following:
* Renames the -nointerface argument to -headless
* Adds -noaudio and -novideo arguments
2016-01-24 23:29:46 -05:00
Tyler J. Stachecki
1c5360b97a
Implement open_gb_save for WinAPI's save_file.
2016-01-24 23:12:04 -05:00
Tyler J. Stachecki
5e6b3181ca
Prevent segfaults with unconfigured EEPROM.
2016-01-24 22:22:32 -05:00
Tyler J. Stachecki
401811c33f
Drop in atomics (required for multithreading).
2016-01-24 22:13:36 -05:00
Tyler J. Stachecki
76c633598a
Implement save_file for WinAPI.
2016-01-24 21:58:15 -05:00
Tyler Stachecki
33f425bb19
Merge pull request #22 from mikeryan/transfer-pak
...
Transfer pak
2016-01-24 21:57:50 -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
cdd3c44aea
Add a subsystem for detecting carts.
2016-01-24 19:01:51 -05:00
Tyler Stachecki
25e8e201ee
Merge pull request #21 from mikeryan/sram-save
...
Implement SRAM saves
2016-01-24 17:27:19 -05:00
Mike Ryan
b07994687f
sram: do not memcpy to NULL buffer
2016-01-24 14:20:27 -08:00
Mike Ryan
21d588c6ed
sram: copy data between RDRAM and SRAM
2016-01-24 14:18:18 -08:00
Mike Ryan
3ba39b536d
sram: load on command line and stuff into PI
2016-01-24 14:18:18 -08:00
Mike Ryan
4e8f3d3406
pi: correct memory ranges for SRAM and DD modem
2016-01-24 14:18:18 -08:00
Tyler J. Stachecki
7b57685baf
Print VI/s when using -nointerface.
2016-01-24 16:30:53 -05: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
Tyler Stachecki
30b53ca3eb
Merge pull request #20 from mikeryan/mempak-save
...
Implement mempak saves and stub out rumble and transfer paks
2016-01-24 15:34:46 -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
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