TXG/MNX #1 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 Share this post Link to post Share on other sites
ggn #2 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 Share this post Link to post Share on other sites
+Sporadic #3 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 Share this post Link to post Share on other sites
Zerosquare #4 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 Share this post Link to post Share on other sites
sh3-rg #5 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 Share this post Link to post Share on other sites
+CyranoJ #6 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 Share this post Link to post Share on other sites
Clint Thompson #7 Posted September 10, 2018 Out of pure curiosity, I am interested in learning exactly what you plan on using this mode for = ) Quote Share this post Link to post Share on other sites