Jump to content
IGNORED

IntyBASIC Programming Contest 2020 Rules


Recommended Posts

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.

Link to comment
Share on other sites

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. 

  • Like 1
Link to comment
Share on other sites

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.

  • Like 1
Link to comment
Share on other sites

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!

  • Like 1
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...