Lior Halphon
|
ba6e22dfc0
|
Merge branch 'bess' into gbs
|
2021-04-14 16:44:51 +03:00 |
|
Lior Halphon
|
976f5e4d02
|
Merge branch 'master' into bess
|
2021-04-13 20:50:29 +03:00 |
|
Lior Halphon
|
44c75ae7be
|
Remove commented out code
|
2021-04-10 18:43:24 +03:00 |
|
Lior Halphon
|
bb3a73ff88
|
Cocoa GBS Player
|
2021-04-03 01:29:43 +03:00 |
|
Lior Halphon
|
e460b0a7b4
|
Change the border format to SNES-style
|
2021-03-31 00:54:55 +03:00 |
|
Lior Halphon
|
8adaba237e
|
SGB support in BESS, BE fixes, changes to SGB save state format on BE machines
|
2021-03-29 02:47:57 +03:00 |
|
Lior Halphon
|
71c88323b7
|
Rename UNROLL to unrolled (unrolled for )
|
2021-02-22 14:45:30 +02:00 |
|
Lior Halphon
|
159d9d0348
|
Color temperature control
|
2020-12-25 14:17:57 +02:00 |
|
Lior Halphon
|
b5a611c5db
|
More accurate color correction curves
|
2020-12-24 23:17:20 +02:00 |
|
Lior Halphon
|
66f62d696c
|
More window fixes
|
2020-12-24 20:50:47 +02:00 |
|
Lior Halphon
|
8f64f49c3b
|
More accurate emulation of window timing, actual correct fix of #123
|
2020-12-23 23:49:57 +02:00 |
|
Lior Halphon
|
67c0e03f3b
|
Fix a window bug in CGB mode, fixes #123
|
2020-11-22 00:21:19 +02:00 |
|
Lior Halphon
|
7fdc58a07e
|
Implement CGB-mode TILE_SEL mixing, fixes cgb-acid-hell and m3_lcdc_tile_sel_change2, closes #308
|
2020-11-20 16:24:16 +02:00 |
|
Lior Halphon
|
fa7232944f
|
Better emulation of CGB’s first frame behavior
|
2020-05-30 01:25:21 +03:00 |
|
Lior Halphon
|
ffa569deeb
|
Partial emulation of reading VRAM right after mode 3
|
2020-05-29 23:10:23 +03:00 |
|
Lior Halphon
|
17dfe0dd6a
|
Fix minor CGB-C regression
|
2020-05-29 16:30:40 +03:00 |
|
Lior Halphon
|
6448a692e2
|
Add smart rumble to games without a rumblepak
|
2020-04-29 16:06:11 +03:00 |
|
Lior Halphon
|
5a14eb93c6
|
Merge branch 'master' into JoyKit
# Conflicts:
# Cocoa/Document.m
# Cocoa/GBView.h
# Cocoa/GBView.m
# Cocoa/joypad.m
# Cocoa/main.m
# Core/display.c
# Core/gb.h
# Core/save_state.c
|
2020-04-29 15:52:03 +03:00 |
|
Lior Halphon
|
0cf168f32b
|
Fixing inconsistent style
|
2020-04-24 20:37:57 +03:00 |
|
Lior Halphon
|
695c6ee943
|
Don't crash if a naughty frontend runs the boot ROM without a ROM
|
2020-04-11 19:21:00 +03:00 |
|
Lior Halphon
|
a6567d9ee1
|
Update old coding style
|
2020-04-09 14:32:52 +03:00 |
|
Lior Halphon
|
5ecb845662
|
Add accurate frame blending option
|
2020-03-26 20:54:18 +02:00 |
|
Lior Halphon
|
e94e7cc501
|
Add another color correction mode
|
2020-03-25 20:33:13 +02:00 |
|
Lior Halphon
|
c6f9d05124
|
Emulate LCD-PPU horizontal desync on DMGs
|
2020-03-06 14:41:13 +02:00 |
|
Lior Halphon
|
4d2f56c42d
|
Minor bug fix
|
2020-03-04 23:43:05 +02:00 |
|
Lior Halphon
|
1c7351fc85
|
Missing braces
|
2020-03-04 23:34:36 +02:00 |
|
Lior Halphon
|
409ab2a6d4
|
Accurate emulation of tilemap advancement timings
|
2020-03-03 02:21:19 +02:00 |
|
Lior Halphon
|
e846f4f3b0
|
Hacky, but correct emulation of WX=166
|
2020-03-01 23:58:28 +02:00 |
|
Lior Halphon
|
2a8b26d5e6
|
Add TODO
|
2020-03-01 00:23:50 +02:00 |
|
Lior Halphon
|
b7194402eb
|
Accurately emulate Window X = Object X
|
2020-03-01 00:17:45 +02:00 |
|
Lior Halphon
|
5ca602fbd2
|
WX=0 emulation
|
2020-02-29 18:26:16 +02:00 |
|
Lior Halphon
|
39b999a68b
|
Emulate the FIFO insertion glitch (WX variant)
|
2020-02-29 17:06:08 +02:00 |
|
Lior Halphon
|
955860b463
|
Get rid of the FIFO pause flags
|
2020-02-28 22:36:51 +02:00 |
|
Lior Halphon
|
e29246fd91
|
Window tile is reset on WX trigger
|
2020-02-28 18:28:47 +02:00 |
|
Lior Halphon
|
2a8f15c68b
|
The fetcher pushes pixels to the FIFO as soon as it's empty
|
2020-02-28 18:10:09 +02:00 |
|
Lior Halphon
|
0c716bd970
|
More accurate timing emulation of window-objects interaction
|
2020-02-27 23:42:16 +02:00 |
|
Lior Halphon
|
89303ab046
|
WX access conflicts
|
2020-02-27 00:12:42 +02:00 |
|
Lior Halphon
|
9c7a8fdb1b
|
WY is tested every cycle
|
2020-02-26 22:24:08 +02:00 |
|
Lior Halphon
|
b37a0b285a
|
Window Y still advances if WX=166
|
2020-02-24 23:59:18 +02:00 |
|
Lior Halphon
|
7456beb7b9
|
Better emulation of negative WX positions
|
2020-02-24 21:23:06 +02:00 |
|
Lior Halphon
|
248e7bc332
|
Timing improvements
|
2020-02-24 20:46:00 +02:00 |
|
Lior Halphon
|
3864ff37e1
|
Timing improvements
|
2020-02-24 00:32:47 +02:00 |
|
Lior Halphon
|
c22611c701
|
Minor bugfix
|
2020-02-23 23:48:08 +02:00 |
|
Lior Halphon
|
c0ba898ef2
|
Basic window implementation
|
2020-02-23 23:16:45 +02:00 |
|
Lior Halphon
|
2be58439bf
|
Starting over – removing all window related code
|
2020-02-23 00:38:47 +02:00 |
|
Lior Halphon
|
d8282fe3c9
|
Please pretend the last commit never happened
|
2020-02-22 00:45:52 +02:00 |
|
Lior Halphon
|
39b88d546b
|
The upper bits of SCX might mid-line
|
2020-02-21 21:59:03 +02:00 |
|
Lior Halphon
|
ea2f32b255
|
The fetcher state machine advances even while handling an object
|
2020-02-21 21:44:44 +02:00 |
|
Lior Halphon
|
8409d3bcfb
|
Emulate changing sprite height mid-fetch
|
2020-02-21 16:43:51 +02:00 |
|
Lior Halphon
|
7d51ba3d97
|
More fixes, SGB emulation of the same quirk
|
2020-02-21 16:16:02 +02:00 |
|
Lior Halphon
|
91404edd13
|
Disgusting hacks to emulate disabling objects while an object is being fetched
|
2020-02-21 15:14:33 +02:00 |
|
Lior Halphon
|
56118d2a67
|
Move improvements to LCDC conflicts
|
2020-02-21 14:22:25 +02:00 |
|
Lior Halphon
|
0290e70445
|
Improvements to AGB color correction
|
2020-02-17 23:05:11 +02:00 |
|
Lior Halphon
|
bec09a012c
|
More accurate emulation of STOP mode
|
2020-02-15 19:21:43 +02:00 |
|
Lior Halphon
|
08eb2f3d98
|
Correct emulation of FF6C (Turns out it controls object priority)
|
2020-02-15 15:32:06 +02:00 |
|
Lior Halphon
|
f550360f1a
|
More accurate CGB color correction curve
|
2020-02-15 13:21:21 +02:00 |
|
Lior Halphon
|
103caa56e1
|
Allow displaying borders outside of SGB emulation, including borrowing SGB border. Allow not displaying SGB borders. (Todo: libretro support)
|
2020-02-08 13:28:46 +02:00 |
|
Lior Halphon
|
38ee020653
|
Fixed a regression bug that made the first CGB frame blank instead of repeated.
|
2020-01-31 01:29:59 +02:00 |
|
Lior Halphon
|
163a5ea20c
|
Add DMG color palettes (Cocoa)
|
2020-01-29 14:19:11 +02:00 |
|
Lior Halphon
|
0ece21bca7
|
Replace the SDL-derived controller support with my own JoyKit framework. Adds rumble support, LED support, better manual and automatic configurations, analog speed controls.
|
2019-10-19 19:26:04 +03:00 |
|
Lior Halphon
|
851dbd3ccd
|
SGB and AGB color correction
|
2019-09-13 17:13:21 +03:00 |
|
Lior Halphon
|
8c1f76a594
|
Fix HLE SGB
|
2019-07-19 20:37:58 +03:00 |
|
Lior Halphon
|
ffb9f1b134
|
Fix HLE SGB
|
2019-07-19 20:34:26 +03:00 |
|
Lior Halphon
|
4f9c8e9374
|
Match the HLE timings to the LLE timings
|
2019-07-19 20:19:09 +03:00 |
|
Lior Halphon
|
df7f7d8171
|
Fix silly desync inaccuracy
|
2019-07-18 22:55:11 +03:00 |
|
Lior Halphon
|
772289c545
|
Fix a silly bug
|
2019-07-18 00:53:11 +03:00 |
|
Lior Halphon
|
ce9ce07817
|
Make the ICD APIs pixel based
|
2019-07-16 20:44:27 +03:00 |
|
Lior Halphon
|
346e499602
|
ICD APIs
|
2019-07-15 23:02:58 +03:00 |
|
Lior Halphon
|
2bfe922650
|
Allow emulating an SGB without SFC HLE
|
2019-07-15 20:47:16 +03:00 |
|
Lior Halphon
|
36a87f96bd
|
Formatting
|
2019-06-21 16:58:56 +03:00 |
|
Lior Halphon
|
431f1f8199
|
Remove redundant calls to display_vblank on non-SGB models and in irregular FPS scenarios. Affects #161
|
2019-06-18 23:16:28 +03:00 |
|
Lior Halphon
|
0da2930109
|
Fix #175
|
2019-06-08 14:35:52 +03:00 |
|
Lior Halphon
|
64879f5b02
|
Accurate emulation of (most aspects of) stop mode
|
2019-06-07 13:53:50 +03:00 |
|
Lior Halphon
|
06670fc970
|
Fix #172. Allow unroll optimizations when compiling with GCC.
|
2019-05-10 21:51:11 +03:00 |
|
orbea
|
2bded45397
|
Disable pragmas for gcc.
|
2019-05-09 10:55:31 -07:00 |
|
Lior Halphon
|
7242ddae64
|
speling is difikult
|
2019-03-16 20:56:22 +02:00 |
|
Lior Halphon
|
0b03b61564
|
Render the first line 0, as required for SGB emulation
|
2019-02-16 04:19:16 +02:00 |
|
Lior Halphon
|
9d0aadb83f
|
Emulate missing Vreset signal (SGB only for now) and ICD2 desyncing
|
2019-02-15 17:04:48 +02:00 |
|
Lior Halphon
|
73a54049d2
|
Accurate PPU access timings
|
2019-01-19 19:32:26 +02:00 |
|
Lior Halphon
|
7b36ee10a4
|
Merge branch 'master' into sgb
|
2019-01-05 19:00:22 +02:00 |
|
Lior Halphon
|
af0430dbc5
|
Unroll some loops in PPU code, more efficient timer handling
|
2018-12-31 22:06:20 +02:00 |
|
Lior Halphon
|
398148f7ea
|
Basic SGB border support
|
2018-11-16 16:04:40 +02:00 |
|
Lior Halphon
|
2f2b792edf
|
SGB save states
|
2018-11-16 01:53:01 +02:00 |
|
Lior Halphon
|
634a54c046
|
SGB resolution support (Cocoa only so far)
|
2018-11-15 00:21:21 +02:00 |
|
Lior Halphon
|
ce80acc818
|
Fixed HDMA timing )But still not verified)
|
2018-07-20 12:34:52 +03:00 |
|
Lior Halphon
|
b7b35c9b59
|
CGB-C timing
|
2018-07-03 22:25:09 +03:00 |
|
Lior Halphon
|
0a78f735d3
|
Fetcher Y is not cached on CGB-C
|
2018-07-03 22:14:53 +03:00 |
|
Lior Halphon
|
18ae18a95c
|
LYC bit on CGB-C
|
2018-07-03 21:56:32 +03:00 |
|
Lior Halphon
|
6a7c084177
|
Fixed window regression
|
2018-06-18 21:57:01 +03:00 |
|
Lior Halphon
|
45c73e0175
|
Replaced the is_cgb bool with a more future compatible model enum. Removed the GB_init_cgb API and replaced it with an extended GB_init and GB_switch_model_and_reset APIs that now receive a model parameter. Increased the struct version.
|
2018-06-16 13:59:33 +03:00 |
|
Lior Halphon
|
ca01ff6f79
|
Finally, perfect emulation of the STAT write bug.
|
2018-06-08 17:16:15 +03:00 |
|
Lior Halphon
|
127324d2d6
|
Fixed regression involving rendering a window with negative X position. Closes #75
|
2018-06-07 23:08:46 +03:00 |
|
Lior Halphon
|
f1dfa2a1bc
|
More sensible implementation of the STAT interrupt.
|
2018-06-04 02:07:38 +03:00 |
|
Lior Halphon
|
8721a48206
|
Fixed incorrect double speed behavior.
|
2018-06-03 00:36:05 +03:00 |
|
Lior Halphon
|
7003e31b7e
|
Fixed a regression with STAT blocking.
|
2018-06-02 04:00:10 +03:00 |
|
Lior Halphon
|
9693b2de6a
|
Refined the STAT bug behavior. Still not perfect.
|
2018-05-26 17:06:49 +03:00 |
|
Lior Halphon
|
855ffb490a
|
A HBlank interrupt cannot occur in the last M-cycle of HBlank. Correct emulation of STAT access conflicts on the CGB (Test: CPU-E, single speed only). Fixes a minor graphical glitch in Pokémon Puzzle Challenge.
|
2018-05-25 23:42:36 +03:00 |
|
Lior Halphon
|
713dc02e46
|
A bit tacky, but T-cycle accurate emulation of LYC write conflicts on the CGB. Only single speed mode verified. Closes #54
|
2018-05-11 12:38:55 +03:00 |
|
Lior Halphon
|
af3554c1d1
|
More accurate emulation of the LYC register and interrupt. (Still not perfect on a CGB)
|
2018-04-27 13:40:39 +03:00 |
|
Lior Halphon
|
0f8385a798
|
Refined line 153 behavior on a CGB. Verified on CGB-E.
|
2018-04-25 00:08:06 +03:00 |
|