Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cps1/cps15: support for scene simulations #668

Open
jotego opened this issue May 19, 2024 · 0 comments
Open

cps1/cps15: support for scene simulations #668

jotego opened this issue May 19, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@jotego
Copy link
Owner

jotego commented May 19, 2024

cps1/cps15 cores do not support jtsim scene simulations. Support for this would help with issues #157, #657 and #667. This system has VRAM and OBJ RAM implemented in the SDRAM.

Steps to add support:

  • increase JTFRAME_IOCTL_RD to cover the current 128 bytes (used by Pang! 3) plus the space needed by the BRAM dump
  • multiplex the address ports for slots 1 and 2 of u_bank0 in jtcps1_sdram such that when ioctl_ram is high, ioctl_addr is sent to those slots. Only one slot should be active during readings, depending on the ioctl_addr.
  • prepare the dump2bin.sh script that splits the .RAM save file into several files. Modify jtcps1_dma so each module loads the relevant file in simulation. Commit dump2bin.sh to git
  • adjust the verilog files as needed so when running a scene video data is not overwritten by a DMA event
@jotego jotego added the enhancement New feature or request label May 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: 🙋‍♂️ Backlog
Development

No branches or pull requests

2 participants