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

MMU Support #19

Open
iceblu3710 opened this issue Jan 1, 2021 · 2 comments
Open

MMU Support #19

iceblu3710 opened this issue Jan 1, 2021 · 2 comments

Comments

@iceblu3710
Copy link

I have a system with (6) 64k rom chips and (2) 64k ram chips an a "novel" custom MMU and messaging structure that allows paging the entire system memory map in/out. When disassembling it is difficult to know what chip I am currently working with.

Is there a way to add an instruction like mbu (memory bank used) and have it just sample 8 spare pins and report a bitfield of the pin statuses? It would be awesome to integrate into the system so (2)C2B2 : LDA #29 and you know mem2 is active.

@hoglet67
Copy link
Owner

hoglet67 commented Jan 1, 2021

Anything is possible, but this sounds like quite a lot of work (I'm just using a standard Z80 VHDL core).

How do you switch banks at the moment?

It might be easier to do this kind of customization with the Z80Decoder (that I mentioned in #18). That's written in standard C, and does memory modelling (with a 64KB address space). It would be straightforward for you to extend this to a 512KB address space if you can program in C.

@iceblu3710
Copy link
Author

iceblu3710 commented Jan 1, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants