Commit graph

125 commits

Author SHA1 Message Date
Lionel Flandrin
cf674b44c7 GPU: implement GP1[0x01] (reset FIFO) and GP1[0x02] (ack IRQ) 2020-01-24 17:45:45 +00:00
Lionel Flandrin
13e87a049f GPU: add rectangle drawing timings 2020-01-24 16:23:27 +00:00
Lionel Flandrin
60d96c1e90 DMA: fix clippy warning 2020-01-24 12:29:36 +00:00
Lionel Flandrin
b6222df737 Sync: handle negative elapsed values 2020-01-24 00:04:22 +00:00
Lionel Flandrin
6afa0739cb GPU: implement triangle drawing timings 2020-01-23 22:58:59 +00:00
Lionel Flandrin
cf63f6e1a6 GPU: implement VRAM loading in the register interface 2020-01-23 22:40:26 +00:00
Lionel Flandrin
ea1e8a5173 GPU: fix integer overflow in command FIFO 2020-01-23 22:22:52 +00:00
Lionel Flandrin
34292c193c DMA: implement Manual mode and OTC 2020-01-23 22:22:21 +00:00
Lionel Flandrin
2c03169e4b DMA: implement Request mode 2020-01-23 21:52:33 +00:00
Lionel Flandrin
0a463f1e24 GPU: implement VRAM uploading 2020-01-23 21:25:10 +00:00
Lionel Flandrin
5f6150777a GPU: stub Clear Cache command 2020-01-23 00:00:17 +00:00
Lionel Flandrin
431c566134 GPU: implement Display Off (GP1[0x03]) 2020-01-22 23:56:13 +00:00
Lionel Flandrin
d1576d3a47 GPU: implement quad/triangle drawing timings 2020-01-22 23:40:48 +00:00
Lionel Flandrin
7398858f62 CPU: fix clippy warnings regarding casts 2020-01-22 11:00:51 +00:00
Lionel Flandrin
f1a3fb813a GPU: implement GP1 0x05, 0x06 and 0x07 2020-01-19 22:46:57 +00:00
Lionel Flandrin
0019dd0a71 CPU: correctly refresh IRQ state 2020-01-19 22:28:27 +00:00
Lionel Flandrin
7004998a1d CPU: fix JAL register dependency on RA 2020-01-19 20:53:59 +00:00
Lionel Flandrin
32fc979f22 GPU: tweak GPUSTAT register 2020-01-19 20:10:01 +00:00
Lionel Flandrin
afa4140939 CPU: implement MULT and MULTU timings 2020-01-19 20:10:01 +00:00
Lionel Flandrin
5dc26b5e26 CPU: implement interrupt handling 2020-01-19 00:22:08 +00:00
Lionel Flandrin
d28c78da74 DMA: fix bogus code that used outdated channel control value 2020-01-19 00:08:28 +00:00
Lionel Flandrin
4449fde0f4 DMA: implement end-of-dma interrupt 2020-01-18 23:57:19 +00:00
Lionel Flandrin
c943477778 GPU: implement clip, offset, texture window and mask configuration commands 2020-01-18 18:54:00 +00:00
Lionel Flandrin
f3151602b2 DMA: copy timing code from mednafen 2020-01-18 01:02:29 +00:00
Lionel Flandrin
7d71f505f9 DMA: complete register interface 2020-01-15 22:00:12 +00:00
Lionel Flandrin
9dbf9691e4 Implement DMA direction register 2020-01-15 21:51:39 +00:00
Lionel Flandrin
17147c13e2 DMA: implement reading channel control register 2020-01-15 21:32:19 +00:00
Lionel Flandrin
ff16c1e67c Update psx.frame_done when the GPU is done rendering a frame 2020-01-15 21:22:50 +00:00
Lionel Flandrin
b64e531278 Implement GP1[0x08] (set draw mode) 2020-01-15 21:10:42 +00:00
Lionel Flandrin
633d572754 GPU: implement GP1, stub GPUREAD register 2020-01-15 21:03:32 +00:00
Lionel Flandrin
ab0888805c DMA: start implementing channel configuration 2020-01-15 17:57:42 +00:00
Lionel Flandrin
b3552556ad GPU: implement NOP 2020-01-15 17:09:47 +00:00
Lionel Flandrin
bd9d19be37 DMA: start implementing register interface 2020-01-14 20:16:15 +00:00
Lionel Flandrin
8f5fde1c12 Timers: implement GPU synchronization 2020-01-14 18:45:26 +00:00
Lionel Flandrin
10d5f9ac72 Improve event handling accuracy 2020-01-14 16:25:12 +00:00
Lionel Flandrin
07c539b25c Remove unnecessary public functions and variables, improve docs 2020-01-14 16:17:00 +00:00
Lionel Flandrin
a419e29f32 Timers: increase default sync delay, improve comments 2020-01-14 14:32:02 +00:00
Lionel Flandrin
f78ef920a2 Timers: implement running from CPU 2020-01-14 00:39:51 +00:00
Lionel Flandrin
3f012f83ae Timer: implement register reading 2020-01-13 23:41:33 +00:00
Lionel Flandrin
73cb1b111b Timers: implemented register writes and sync prediction 2020-01-13 23:26:08 +00:00
Lionel Flandrin
ebca69d56c GPU: fix clippy complaints regarding casts 2020-01-13 00:08:09 +00:00
Lionel Flandrin
1ccae9708e Implement GPU IRQ trigger 2020-01-13 00:00:21 +00:00
Lionel Flandrin
efab9ad356 GPU: complete status register 2020-01-12 23:30:12 +00:00
Lionel Flandrin
e4afa0e8da GPU: ported most video timings from mednafen 2020-01-12 21:54:03 +00:00
Lionel Flandrin
b7666b7e91 GPU: implement line timings 2020-01-12 20:50:36 +00:00
Lionel Flandrin
af5c4ea86d GPU: put FIFO code in its own file 2020-01-12 17:25:52 +00:00
Lionel Flandrin
c8c516bc81 Implemented GPU clock 2020-01-12 15:46:18 +00:00
Lionel Flandrin
91191040f0 Add event handling framework 2020-01-12 14:48:34 +00:00
Lionel Flandrin
34738aaf6c GPU: implement Draw Mode 2020-01-12 14:10:28 +00:00
Lionel Flandrin
a43ada0aa1 GPU: implement process_commands 2020-01-08 21:52:27 +00:00