ct6502 / apple2ts

Apple II Emulator in TypeScript
Creative Commons Attribution Share Alike 4.0 International
62 stars 10 forks source link

Add a "View Memory" panel #34

Closed ct6502 closed 9 months ago

ct6502 commented 11 months ago

Is this even necessary or useful? Can the user edit memory as well?

kktos commented 9 months ago

Is this even necessary or useful?

necessary, no. useful, very much.

Can the user edit memory as well?

yes ;)

ct6502 commented 9 months ago

May need to convert part of the debug view into a "tabbed" pane, so there's enough room.

kktos commented 9 months ago

As you already have a live view, you can say that the MemoryViewer would work with the machine paused. Therefore, we may open an new window/tab and have a full page for the MemoryViewer. Now, how can these 2 will be able to communicate ? The Broadcast API may be of help, here. Broadcast_Channel_API

kktos commented 9 months ago

Found a nice little tutorial : Web API, Broadcast Channel in React with a Custom Hook