How do you determine a 71B memory-mapped I/O device address?
|
03-31-2021, 04:55 AM
(This post was last modified: 03-31-2021 05:27 AM by mfleming.)
Post: #7
|
|||
|
|||
RE: How do you determine a 71B memory-mapped I/O device address?
Yes, enumerating an MMIO device using a properly formatted CONFIG string isn't the problem. I've done that, and a single such instance is assigned the address at the bottom of the appropriate address range. The problem is, how does an external program determine that address? What if multiple such MMIO devices are enumerated? If I were writing a Basic or assembly program to access that set of device registers, how would I know where the registers were mapped? Just picking a fixed address the way the card reader does seems arbitrary, and wouldn't support multiple concurrent devices.
Quite a puzzle Edit: The best analogy is a RAM module, which has a specific port address you can use to free, merge, or copy to/from the RAM. There doesn't seem to be an equivalent for an MMIO device. I've scoured the two IDS documents for a clue as to how you might actually use a set of device registers. Seems you'd have to embed their dynamically assigned address in a separately enumerated ROM. Remember kids, "In a democracy, you get the government you deserve." |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
How do you determine a 71B memory-mapped I/O device address? - mfleming - 03-30-2021, 11:57 PM
RE: How do you determine a 71B memory-mapped I/O device address? - Giuseppe Donnini - 03-31-2021, 12:21 AM
RE: How do you determine a 71B memory-mapped I/O device address? - rprosperi - 03-31-2021, 01:07 AM
RE: How do you determine a 71B memory-mapped I/O device address? - Giuseppe Donnini - 03-31-2021, 01:23 AM
RE: How do you determine a 71B memory-mapped I/O device address? - rprosperi - 03-31-2021, 01:31 AM
RE: How do you determine a 71B memory-mapped I/O device address? - Sylvain Cote - 03-31-2021, 02:28 AM
RE: How do you determine a 71B memory-mapped I/O device address? - mfleming - 03-31-2021 04:55 AM
RE: How do you determine a 71B memory-mapped I/O device address? - J-F Garnier - 03-31-2021, 07:35 AM
RE: How do you determine a 71B memory-mapped I/O device address? - mfleming - 03-31-2021, 04:39 PM
|
User(s) browsing this thread: 1 Guest(s)