Commit graph

282 commits

Author SHA1 Message Date
Lionel Flandrin
46c3fdc869 GPU: add a bunch of polygon commands 2020-04-07 20:27:26 +01:00
Lionel Flandrin
1596c192e7 Sync: implemented cycle_counter rebase 2020-04-07 19:48:37 +01:00
Lionel Flandrin
3c0f00fbcb Pad/MemCard: fix port selection, improve TX handling 2020-04-07 19:26:04 +01:00
Lionel Flandrin
11be7e435d SPU: remove bogus comment in FIFO code 2020-04-07 18:09:41 +01:00
Lionel Flandrin
5047f9afc3 Disable IRQ mask check on release builds 2020-04-07 17:09:08 +01:00
Lionel Flandrin
d79c33752e XMemory: represent memory as u32 instead of u8 for simplicity 2020-04-07 16:25:34 +01:00
Lionel Flandrin
574bb4a913 Implement XMemory to speed up instruction fetch 2020-04-07 13:51:07 +01:00
Lionel Flandrin
135f099c03 CD: tidy up audio resampling code 2020-04-06 17:01:46 +01:00
Lionel Flandrin
59c65944c3 Send audio to frontend once per frame 2020-04-05 18:59:51 +01:00
Lionel Flandrin
d407d4f213 Implemend CD-ROM XA ADPCM playback 2020-04-05 18:43:56 +01:00
Lionel Flandrin
ebdbd3e792 Rewrite CD read code for better accuracy 2020-04-05 00:25:39 +01:00
Lionel Flandrin
413bdbe074 GPU: add placeholder for transparent pixels 2020-04-02 18:45:43 +01:00
Lionel Flandrin
7525ce8f2b SPU: implement DMA write 2020-04-02 17:30:44 +01:00
Lionel Flandrin
4b26784601 SPU: implement DMA write 2020-04-02 17:07:44 +01:00
Lionel Flandrin
99425d9a5e SPU: complete voice register interface addressing 2020-04-02 16:50:34 +01:00
Lionel Flandrin
abee9e02ac SPU: fix ADPCM decoding 2020-04-02 14:52:35 +01:00
Lionel Flandrin
6f595dda25 SPU: implement fixed volume envelope 2020-04-02 14:32:53 +01:00
Lionel Flandrin
fe1eb0b1b3 SPU: implement ADSR envelope 2020-04-01 23:07:09 +01:00
Lionel Flandrin
c0ce55966f SPU: implement FIR filter 2020-03-31 21:00:38 +01:00
Lionel Flandrin
295fb3bec5 SPU: implement ADPCM decoding 2020-03-31 20:36:56 +01:00
Lionel Flandrin
bb217ceadb Fix sync prediction issue in the CDROM 2020-03-31 19:32:39 +01:00
Lionel Flandrin
a3ee5abe4f GPU: fix fifo_len for cmd_handle_rect_variable 2020-03-30 16:12:36 +01:00
Lionel Flandrin
d6cc021c9f GPU: implement texture blending 2020-03-28 20:27:25 +00:00
Lionel Flandrin
16c375a596 GPU: fix FixedPoint overflow handling 2020-03-28 19:33:24 +00:00
Lionel Flandrin
e847a3ca74 GPU: fix broken handling of polygon texture mode 2020-03-24 17:53:22 +00:00
Lionel Flandrin
c0db1c5643 Timers: implemented CpuDiv8 clock source 2020-03-20 20:45:59 +00:00
Lionel Flandrin
8859c1b574 Implement Scratch Pad 2020-03-17 00:02:02 +00:00
Lionel Flandrin
4c60914d9f GPU: add additional polygon draw commands 2020-03-16 21:18:56 +00:00
Lionel Flandrin
d66ba33484 CDROM: implement get_loc_p and reads commands 2020-03-16 21:09:18 +00:00
Lionel Flandrin
a4fa0be93c CDROM: implement audio mixer registers 2020-03-12 00:00:10 +00:00
Lionel Flandrin
a238ddc2f3 CDROM: stub mute, demute and set_filter commands 2020-03-11 23:52:01 +00:00
Lionel Flandrin
31ce1169dd Basic controller support 2020-03-11 23:40:12 +00:00
Lionel Flandrin
5cccb30b0e GPU: implement Fill Rect command 2020-03-11 23:30:41 +00:00
Lionel Flandrin
c692284392 GPU: implement GP1[0x10] 2020-03-09 19:54:26 +00:00
Lionel Flandrin
9c14c126ae CD controller: implement init command 2020-03-09 14:30:55 +00:00
Lionel Flandrin
730f19d225 Implement GTE (without timings) 2020-03-09 00:13:38 +00:00
Lionel Flandrin
f6e493bfb5 Basic CD controller implementation 2020-03-08 23:13:41 +00:00
Lionel Flandrin
981d32e135 Rasterizer: fix outdated comment 2020-03-03 12:48:29 +00:00
Lionel Flandrin
835a5e23b8 CD cache: replace BTreeMap with FnvHashMap 2020-03-02 13:45:33 +00:00
Lionel Flandrin
fe4df0a85d Implement basic CD cache 2020-03-01 22:49:06 +00:00
Lionel Flandrin
8d269dcffb GPU: unify the various pixel/color formats around Pixel 2020-02-26 22:37:11 +00:00
Lionel Flandrin
9103e28f51 Implement texture mapping 2020-02-26 22:15:04 +00:00
Lionel Flandrin
5de2693b68 Implement draw mode update from polygon commands 2020-02-26 17:44:01 +00:00
Lionel Flandrin
9523811c0b Implement gouraud shading 2020-02-24 21:40:12 +00:00
Lionel Flandrin
61cd9a0203 Rename FixedPoint into FpCoord 2020-02-23 17:48:40 +00:00
Lionel Flandrin
3b7bc038a3 Re-validated draw test on real hardware 2020-02-23 17:48:40 +00:00
Lionel Flandrin
8300ffc5af Implement triangle rasterization geometry (no shading) 2020-02-18 22:58:32 +01:00
Lionel Flandrin
44bf6e5533 Start implementing fixed point arithmetics, added tests 2020-02-08 01:15:28 +00:00
Lionel Flandrin
c006553bf2 Rasterizer: stub VRAM load for now 2020-02-03 23:21:18 +00:00
Lionel Flandrin
b3f90a514c Rasterizer: implement VRAM store 2020-02-02 23:57:34 +00:00