Why is the VERA Data Port selector named Address Select?
Posted: Sun Mar 17, 2024 1:49 pm
VERA uses the LSB of $9F25 to select the dedicated Data Port, is this correct? But in the documentation the specific selection bit0 of $9F25 is named Address Select. Wouldn't it be better to name it Data Select, since the bit will set either $9F23 Data 0 Data Register 0 or $9F24 Data 1 Data Register 1 to be processed, which both have nothing in common with the Address Bus?
At least I have spent some time trying to figure out what one could mean by naming this that way. If there weren't a more general description in the documentation below I'd never come up with the dedicated meaning of this specific bit.
Cheers, Slevin
Edit:
So after some further reading and trying to gather some information I stumbled across an interesting assumption:
Can it be, that each of the Data Ports 0 and 1 ($9F23, $9F24) has its own Address Set ($9F20, $9F21, $9F22)?
This would mean, that I first have to set the Data Port via $9F25 LSB and then have to populate the attached Address through $9F20~$9F22? I'd then end up with two independent Addresses which I can target through it's dedicated Data Port.
Please let me know if i'm correct.
Unfortunately I couldn't find that kind of explanation in the documentation, but if it's working that way, maybe I could write a small paragraph which explains that. I know, that all of you experienced developers know how the VERA, the x16 and the CC65 suite work, but since I'm very new to this topic I might see things a bit different and stumble upon issues that might be already out of your sight.
At least I have spent some time trying to figure out what one could mean by naming this that way. If there weren't a more general description in the documentation below I'd never come up with the dedicated meaning of this specific bit.
Cheers, Slevin
Edit:
So after some further reading and trying to gather some information I stumbled across an interesting assumption:
Can it be, that each of the Data Ports 0 and 1 ($9F23, $9F24) has its own Address Set ($9F20, $9F21, $9F22)?
This would mean, that I first have to set the Data Port via $9F25 LSB and then have to populate the attached Address through $9F20~$9F22? I'd then end up with two independent Addresses which I can target through it's dedicated Data Port.
Please let me know if i'm correct.
Unfortunately I couldn't find that kind of explanation in the documentation, but if it's working that way, maybe I could write a small paragraph which explains that. I know, that all of you experienced developers know how the VERA, the x16 and the CC65 suite work, but since I'm very new to this topic I might see things a bit different and stumble upon issues that might be already out of your sight.