ra4king / CircuitSim

Basic Circuit Simulator
https://ra4king.github.io/CircuitSim
BSD 3-Clause "New" or "Revised" License
76 stars 28 forks source link

Requests from 2200: Show address/value for RAM/ROM, support pasting memory #32

Closed ausbin closed 6 years ago

ausbin commented 6 years ago

From the head TA of 2200 a few hours ago:

so I think the big thing that seems to be missing from circuitsim that we need is a way to copy and paste into the ram and rom (if it's there I can't see it) there's a feature to load and save to a file but that's both an extra step and the format that it requires doesn't jive super well with the excel spreadsheet method we have also I like that in logisim you can easily see the contents in hex and which address is being accessed I think if in the future the rams and roms have a little bit more of that functionality to them then we'd be ready to switch, but idk rn

if I end up having time maybe I'd be down to contribute to a 2200 fork or something, it looks like it's all javafx and I'm pretty comfortable with that

(I sent you an invite to the slack where we're discussing it)

So this PR adds an address/data view that looks like:

image

and allows you to paste memory values in the memory view.

Some of my code is kind of rough but I'm hoping it's a good starting point

ra4king commented 6 years ago

Thanks! I added some more commits on top to clean it up 👍