Jump to content
IGNORED

video width


TXG/MNX

Recommended Posts

(This is not tested ; take with a grain of salt :))

 

In theory:

 

HP, HS, HEQ, HVS, HBB, HBE, HDB1, HDB2 and HDE don't need to be modified.

 

VMODE needs to be changed, as Sporadic said above ; it's better to use this to make sure you don't change other bits beside PWIDTH:

DPOKE VMODE, (DPEEK(VMODE) & 511) | (X << 9)

 

For 640 pixels horizontally, X should be 1.

 

I don't know if there are internal things in Raptor (and thus rB+) that rely on the screen width and will break.

CJ would be the best person to ask :)

  • Like 3
Link to comment
Share on other sites

I'd be massively shocked if messing with screen width didn't break raptor object handling, but it'd be a pleasant surprise :)

 

It will break horizontal edge clipping, but other than that it'll be fine.

 

I'll add a way to change width and reset the edge pointers in the API.

  • Like 4
Link to comment
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.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   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.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...