Jump to content
  • 0
Sign in to follow this  
pshdev

Wrong addresses in VERA docs?

Question

Posted (edited)

Unless I'm mistaken (I WAS !) the VERA docs seem to show the wrong addresses for DC_HSTART, DC_HSTOP, DC_VSTART, DC_VSTOP (and the rest presumably)

Should not DC_HSTART be $9f2D, etc.

Wanted to check as trying to understand how to change screen layout. I managed to switch to 320x240 by setting DC_HSCALE and DC_VSCALE to 64, but I'm having trouble settings the left/right, top/bottom boundaries.

UPDATE

I needed to set the DCSEL flag to change screen layout, which is actually hinted at in the docs (DCSEL=1).

 

 

Edited by pshdev

Share this post


Link to post
Share on other sites

1 answer to this question

Recommended Posts

  • 0

You've managed to answer your own question, it seems, but I want to go ahead and confirm:

Yes, you are correct, the DCSEL bit in $9F25 needs to be set to 1 for the DC_HSTART, DC_HSTOP, DC_VSTART, and DC_VSTOP registers to be accessible.

If DCSEL is 0, these registers instead point to DC_VIDEO, DC_HSCALE, DC_VSCALE, and DC_BORDER.

  • Like 3

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...

Important Information

Please review our Terms of Use