bsmiles32
d5336c5286
Merge pull request #809 from timgates42/bugfix_typo_unconditional
...
docs: fix simple typo, unconditonal -> unconditional
2020-12-12 15:28:37 +01:00
Tim Gates
13d3e01189
docs: fix simple typo, unconditonal -> unconditional
...
There is a small typo in src/device/r4300/new_dynarec/new_dynarec.c.
Should read `unconditional` rather than `unconditonal`.
2020-12-12 06:21:37 +11:00
carnivoroussociety
cf615aa446
Rewrote overclock implementation
...
Rename enable_overclock to count_per_op_denom_pot
Renamed cfg option
2020-12-08 05:42:03 +00:00
carnivoroussociety
245d917fa9
Rewrote overclock implementation
...
Rename enable_overclock to count_per_op_denom_pot
Renamed cfg option
2020-12-08 05:39:22 +00:00
Bobby Smiles
e57c70fb97
storage backend save method nows know about modified byte range
...
Also, for file_storage_backend, we need to do a full save on the first
write to guaranty that file content matches current in-memory data.
Further calls to save will only update chunks being modified.
2020-12-06 23:43:46 +01:00
bsmiles32
4599eceafc
Merge pull request #743 from bsmiles32/flash_wip
...
Rework flashram implementation
2020-12-06 22:41:56 +01:00
Bobby Smiles
6049618def
Rework flashram implementation
...
By combining the following sources :
- reverse engineering of Majoras Mask flashram functions [1]
- @sanni's cart reader [2]
- and MX29L1611 datasheet ("close enough" flash memory from Macronix)
I was able to figure a better model for flashram than what we currently
have. As this new modelling of flashram doesn't match one-to-one with
old model, meaning it will possibly "break" older savestate,
I had to bump savestate version.
[1] pending PR in https://github.com/n64decomp/majora/
[2] https://github.com/sanni/cartreader/blob/master/Cart_Reader/N64.ino
2020-12-06 10:54:08 +01:00
bsmiles32
8ae539f610
Merge pull request #762 from LuigiBlood/diskupdate
...
[Disk] Major Disk Support Changes
2020-12-06 10:53:12 +01:00
LuigiBlood
102122b009
Merge pull request #6 from bsmiles32/diskupdate
...
Diskupdate
2020-12-05 14:41:08 +01:00
Bobby Smiles
0062351e59
Refactor load_dd_disk
...
- Extract scan_and_expand_disk_format from load_dd_disk
- Extract get_disk_format_name
2020-12-05 12:38:33 +01:00
Bobby Smiles
51886e1b1b
Call GenerateLBATOPhysTable inside dd_load_dd_disk
...
prefer dd_disk forward declaration to disk header inclusion
2020-12-05 11:06:49 +01:00
LuigiBlood
ae26f5de2b
[Disk] Change DiskSaveFormat description according to current implementation
2020-12-05 01:51:12 +01:00
LuigiBlood
be85ae3076
Merge pull request #5 from bsmiles32/diskupdate
...
Diskupdate
2020-12-05 01:48:51 +01:00
Bobby Smiles
9a450b6eef
Use proper save names (path + ext) for 64DD disk saves.
2020-12-05 01:21:24 +01:00
Bobby Smiles
b098adc1ae
Refactor load_dd_disk
2020-12-05 01:13:07 +01:00
Bobby Smiles
522dd2f43c
Fix warnings about potentially uninitialized variable
...
In this case it was a false -alarm from GCC, but forcing 0 doesn't hurt.
2020-12-05 01:13:07 +01:00
LuigiBlood
60d6a9f66e
[Disk] Optimize RAM seek for D64 seek
2020-12-03 20:27:01 +01:00
LuigiBlood
269e127085
[Disk] Fix Write freeze
2020-12-03 18:13:54 +01:00
LuigiBlood
3c19a69baa
Merge pull request #4 from bsmiles32/diskupdate
...
Move seek_track logic to disk module
2020-12-03 18:09:02 +01:00
Bobby Smiles
2747266b45
Silence DD_MS_RAM read warnings
2020-12-03 12:44:17 +01:00
Bobby Smiles
e7474a44bc
Make ASIC_CUR_TK and ASIC_CUR_SECTOR read-only
2020-12-03 12:38:44 +01:00
Bobby Smiles
83949db50a
Make DD_ASIC_CUR_SECTOR more like hardware (data in upper 16 bits).
...
I had to adapt the sector usage in several places code was expecting a
sector in the [0,90[ range and not the "full" sector number in the
[0,179[ range.
This way I could get rid of bm_block intermedaite variable.
2020-12-03 12:21:03 +01:00
Bobby Smiles
87ca7bb4f5
Make DD_ASIC_CUR_TK more like hardware (data in upper 16bits)
2020-12-02 23:49:18 +01:00
Bobby Smiles
749a17ba28
Developement disk have a 0xC0 sector size for head=0,track<6
2020-12-02 23:49:02 +01:00
Bobby Smiles
1f4260f97f
Refactor disk interface to better decoralate drive access from disk geometry
2020-12-02 22:31:22 +01:00
Bobby Smiles
a986d23cb3
Move seek_track logic to disk module
2020-12-01 22:55:05 +01:00
LuigiBlood
09f25ca7a0
Merge pull request #3 from bsmiles32/diskupdate
...
Diskupdate
2020-12-01 19:25:18 +01:00
LuigiBlood
7ce6da5028
[Disk] Fix D64 RAM Save Loading + Move DD Disk Debug Info
2020-12-01 18:39:18 +01:00
LuigiBlood
8673068901
[Disk] Load Saved Disk Data
...
- Keep offset to ram for future use for saving
2020-12-01 18:30:18 +01:00
Bobby Smiles
7b73d2db68
fix GCC warning about maybe-uninitialized data
...
The warning ws a false-positive from GCC.
Still it doesn't hurt to zero these variables and avoid the warning.
2020-12-01 18:22:19 +01:00
Bobby Smiles
9b11cecb96
fix printing of already free'd filepath in savestate module
2020-12-01 18:22:19 +01:00
Bobby Smiles
2296e514f8
Use Og instead of O0 when building with DEBUG=1
...
It gives better performance without compromising debugging experience
2020-12-01 18:22:19 +01:00
Bobby Smiles
8c9a072cfc
Move Disk helper functions to disk module
2020-12-01 18:04:46 +01:00
Bobby Smiles
5a906492d0
Readd empty line.
2020-12-01 17:33:53 +01:00
LuigiBlood
49ad26bc9d
Merge pull request #2 from bsmiles32/diskupdate
...
Handle DD disk format differences through a specific storage backend
2020-12-01 17:18:40 +01:00
Bobby Smiles
d9da47de5b
Handle DD disk format differences through a specific storage backend
2020-11-29 19:28:28 +01:00
LuigiBlood
7efbc2754c
Merge pull request #1 from bsmiles32/diskupdate
...
Remove extra data from storage_backend_interface
2020-11-29 13:05:34 +01:00
Bobby Smiles
84f30aa0fd
Remove extra data from storage_backend_interface
...
Storage backend is only meant to abstract storage accesses, not format.
Pass all the format information as regular parameters to dd controller.
2020-11-29 12:34:44 +01:00
Rosalie Wanders
678ded09ac
Allow customizable save slot keybindings
2020-11-11 20:55:16 +01:00
Logan
04b080759a
More careful releasing when WIN32
2020-11-01 20:40:26 -07:00
Logan McNaughton
73472c4c44
Align memory for parallel-rdp
...
Port from 29ffb30c7f (diff-bf40cfecf6b954a6a6074a40e19efbb0bdc1a4997ec7f014dce41647d8a9038a)
2020-11-01 20:17:48 -07:00
carnivoroussociety
1fbc36df94
Tweak indent
2020-10-31 15:46:46 +10:00
carnivoroussociety
d3f293da39
Use EnableOverclock as overclock factor varible
2020-10-31 15:26:02 +10:00
carnivoroussociety
c8349f2787
Add EnableOverclock argument to CoreParameters doc
2020-10-31 12:58:54 +10:00
carnivoroussociety
9e9db3d36a
Add EnableOverclock argument to CoreParameters doc
2020-10-31 12:57:51 +10:00
carnivoroussociety
7b6ef69664
Fixed netplay_sync_settings() for non-netplay
2020-10-31 01:14:03 +10:00
Rosalie Wanders
c9def89c0a
Add M64CMD_ROM_SET_SETTINGS
2020-10-29 13:03:21 +01:00
Richard Goedeken
91b909414d
Merge pull request #794 from loganmc10/linked
...
Clean up netplay linked list
2020-10-28 22:11:34 -07:00
Richard Goedeken
509640fba9
Merge pull request #793 from loganmc10/netplay_cheats
...
Just stop frontend from enabling cheats during netplay
2020-10-28 22:09:58 -07:00
Logan McNaughton
831df339d1
Clean up netplay linked list
2020-10-28 13:11:34 -07:00