TXG/MNX Posted September 6, 2018 Share Posted September 6, 2018 Hi We working a an idea and need a wider resolution then 320*240, we like to get 640*240. Where can we change this? Do we need to mod the Jaguar init code or can it be done inside Raptor Basic? Verstuurd vanaf mijn LEX829 met Tapatalk Quote Link to comment Share on other sites More sharing options...
ggn Posted September 6, 2018 Share Posted September 6, 2018 Is it only PWIDTH that needs to be set or do the rest of the display variables also need to be written? Call to witness Zerosquare or Shamus! (or of course anyone else knowing the answer is welcome to reply!) 1 Quote Link to comment Share on other sites More sharing options...
Sporadic Posted September 6, 2018 Share Posted September 6, 2018 I had this line for changing pwidth DPOKE VMODE,1735|(7<<9) Pwidth 7 equates to something like 160 wide though. So play with other values in place of the 7. 3 Quote Link to comment Share on other sites More sharing options...
Zerosquare Posted September 7, 2018 Share Posted September 7, 2018 (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 3 Quote Link to comment Share on other sites More sharing options...
sh3-rg Posted September 9, 2018 Share Posted September 9, 2018 I'd be massively shocked if messing with screen width didn't break raptor object handling, but it'd be a pleasant surprise Quote Link to comment Share on other sites More sharing options...
+CyranoJ Posted September 9, 2018 Share Posted September 9, 2018 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. 4 Quote Link to comment Share on other sites More sharing options...
Clint Thompson Posted September 10, 2018 Share Posted September 10, 2018 Out of pure curiosity, I am interested in learning exactly what you plan on using this mode for = ) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.