Zendocon Posted May 21, 2021 Share Posted May 21, 2021 On 8/20/2020 at 1:23 PM, decle said: Yes, there is and happily it is trivial. All you need to do is write a value to one of the GRAM alias addresses (e.g. $3c00) and then read from the equivalent base GRAM address (in this case $3800). If you can see the data you wrote there is no additional GRAM. If you want to be super careful you clear the base GRAM address first. So something like: wait poke $3800, $00 poke $3c00, $aa if (peek($3800) = $aa) then ' No additional GRAM :( else ' Party on dude! :) end if Thank you for this! What about autodetecting: The EXEC type (INTV-I, INTV-II, Sears, etc) "REX" (Tutorvision's expanded EXEC) GROM type (standard or Tutorvision) IntelliVoice I assume these are already documented somewhere. Perhaps they could be added to IntyBASIC at some point. Quote Link to comment Share on other sites More sharing options...
Kiwi Posted May 21, 2021 Share Posted May 21, 2021 4 hours ago, Zendocon said: GROM type (standard or Tutorvision) Probably keep a copy of the GROM Letter on cartridge ROM and compare it against the GROM graphic. If it match, it's the original GROM, if it doesn't match, more likely Tutorvision or the MiniGROM. 1 Quote Link to comment Share on other sites More sharing options...
Zendocon Posted May 22, 2021 Share Posted May 22, 2021 I was thinking of taking a character that's vastly different like the asterisk and doing a sprite collision check, but that seems too low tech. Quote Link to comment Share on other sites More sharing options...
Zendocon Posted May 24, 2021 Share Posted May 24, 2021 On 5/21/2021 at 6:51 PM, Kiwi said: Probably keep a copy of the GROM Letter on cartridge ROM and compare it against the GROM graphic. If it match, it's the original GROM, if it doesn't match, more likely Tutorvision or the MiniGROM. To answer my own question for autodetecting TutorVision GROM, I used: IF PEEK($31f8) THEN ' Standard GROM ELSE ' TutorVision GROM END IF GROM begins at $3000. The offset of $1f8 is the top pixel row of the left arrow graphic. It turns out the TutorVision arrows are narrower than the ones in standard GROM. 1 Quote Link to comment Share on other sites More sharing options...
+cmadruga Posted May 24, 2021 Share Posted May 24, 2021 3 hours ago, Zendocon said: To answer my own question for autodetecting TutorVision GROM, I used: IF PEEK($31f8) THEN ' Standard GROM ELSE ' TutorVision GROM END IF GROM begins at $3000. The offset of $1f8 is the top pixel row of the left arrow graphic. It turns out the TutorVision arrows are narrower than the ones in standard GROM. Nice, thanks for sharing! 1 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.