Commit graph

38 commits

Author SHA1 Message Date
James Lambert 2865d107e4 Implement debugging hooks into vr4300 2021-01-10 17:07:21 -07:00
Tim Gates 2abc63d78a docs: fix simple typo, accesssor -> accessor
There is a small typo in bus/controller.h.

Should read `accessor` rather than `accesssor`.
2020-12-21 16:28:33 +01:00
Pavel I. Kryukov 9ddfa25c77 Extract all VR4300 interfaces to interface.h 2019-05-27 22:31:19 +03:00
Tyler Stachecki 06de46e4bc
Merge pull request #108 from pavelkryukov/patch-2
memorymap.c: initialize mappings array with zeros
2018-10-12 21:08:46 -04:00
Pavel Kryukov c6c03012fc Use bus_controller pointers instead of type punning 2018-10-09 01:39:10 +03:00
Pavel I. Kryukov 11e50e5585
memorymap.c: initialize mappings array with zeros 2018-10-06 14:14:36 +03:00
Mike Ryan 36a4a6fdfa dd: identify IPL and add support for all known dumped IPLs
This also fixes a regression introduced in 3900be4 that prevented the DD
IPL from booting.
2016-08-31 18:33:15 -07:00
Tyler J. Stachecki 3900be4776 bus: Perform open bus reads for unmapped addresses.
Fixes F-Zero X (cartridge version).
2016-07-17 20:47:07 -04:00
Mike Ryan 73f4420a4c fix all build warnings, does not affect functionality 2016-06-16 20:40:51 -07:00
Mike Ryan 1d41bb8808 membus: remove duplicated instance of si
Fixes a bug introduced in a4f0d72. read_pif_rom and read_pif_ram were
replaced with a unified read_pif_rom_and_ram, but the excess si instance
remained in the instance mapping.
2016-06-14 21:39:28 -07:00
Tyler J. Stachecki bb41f7208e Implement mapped SRAM accesses. 2016-03-20 15:18:17 -04:00
Tyler J. Stachecki a4f0d7245a bus: Reduce number of MMIO address mappings. 2016-01-27 03:13:57 -05:00
Mike Ryan e48d982023 flashram: implement FlashRAM in PI, with mapped reads 2016-01-25 20:09:46 -08: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
Tyler Stachecki 1ba67eec9d Alignment/size optimizations. 2015-01-28 22:41:07 -05:00
Tyler Stachecki 3cc07a7ae4 Unroll the top-level hot functions. 2015-01-22 14:31:54 -05:00
Tyler Stachecki 10fc81d7a3 Start filling in lots of 64DD implementation.
Also, fix a few bugs in the past two commits.
2015-01-06 22:21:00 -05:00
Tyler Stachecki c6729b8dcc Add C2, data sector and MS RAM mappings for 64DD. 2015-01-06 14:29:16 -05:00
Tyler Stachecki cc3aff976c Add 64DD mappings and a controller. 2015-01-06 14:07:45 -05:00
Tyler Stachecki 538e344442 Add a -nointerface switch, remove spare '\t's. 2014-11-11 17:21:25 -05:00
Tyler Stachecki ffe40c4c20 Mark VR4300 exception handlers as cold. 2014-11-09 18:41:09 -05:00
Tyler Stachecki e89f054674 Optimize extremely aggressively.
Tell GCC to optimize cold functions for size and stash them away in
a separate part of the binary. Put the simulate core, meanwhile, on
the hot path. Also, bump optimization to -O3 as we can now "afford"
to do so.
2014-11-05 08:39:47 -05:00
Tyler Stachecki 08439c0f5f Remove some calls to malloc(...). 2014-11-01 16:59:12 -04:00
Tyler Stachecki 5dce6e0ea7 Cut down on initialization code size. 2014-07-31 12:37:12 -04:00
Tyler Stachecki 9561aec666 Reduce the size of Release builds. 2014-07-31 11:37:16 -04:00
Tyler Stachecki b3bafa2e92 Reduce indirect branch overhead. 2014-07-28 00:01:16 -04:00
Tyler Stachecki 850c278cd9 os/unix: Stop using pthreads improperly. 2014-07-27 09:08:54 -04:00
Tyler Stachecki e16a997119 Squash the longstanding memory bug.
Forgot to mask the data by the dqm before writing it on the bus.
We should do this before putting the data on the bus to prevent
the extra operation in each consumer.
2014-07-01 22:03:11 -04:00
Tyler Stachecki f1b32654bc os/unix: Handle X11 window close and resize events. 2014-05-19 21:06:27 -04:00
Tyler Stachecki a5f7925912 Add a temporary fix for buggy load/stores. 2014-04-19 08:06:07 -04:00
Tyler Stachecki e4104f4cea Implement RDRAM base reads and writes. 2014-04-18 18:14:49 -04:00
Tyler Stachecki 66f1d1a88d VR4300: Add support for J, JAL instructions. 2014-04-18 17:45:43 -04:00
Tyler Stachecki 13f0d2c9e5 Bus: Pass the correct instance to cart accessor. 2014-04-18 17:14:21 -04:00
Tyler Stachecki 25a6ae8431 Mask bus writes to requested type, etc. 2014-04-18 13:34:23 -04:00
Tyler Stachecki d114038a2b Add option for debugging MMIO register access. 2014-04-18 12:44:57 -04:00
Tyler Stachecki 4560adf7a7 Populate with interfaces and devices. 2014-04-18 11:24:43 -04:00
Tyler Stachecki ca81cc95f5 Start executing PIF ROM. 2014-03-09 22:38:47 -04:00
Tyler Stachecki 2f3aded155 Initial commit. 2014-03-08 11:12:15 -05:00