+retroclouds Posted August 8, 2021 Share Posted August 8, 2021 I'd like to jump into the TI Basic interpreter coming from an assembly language program running from cartridge space. It's not that I want to run a specific call or so, just start the TI Basic interpreter like selecting option 1 "TI Basic" on the selection screen. Is there any sample code to show how that works? Guess that I basically need to get the GPL interpreter running TI Basic at >216F (?) Was hoping for a vector address in the console ROM that triggers the TI Basic interpreter, but couldn't find it. Quote Link to comment Share on other sites More sharing options...
HOME AUTOMATION Posted August 8, 2021 Share Posted August 8, 2021 LI R1,>216f MOVB R1,@>9C02 SWPB R1 MOVB R1,@>9C02 NOP B @>70 Seems to work! 1 Quote Link to comment Share on other sites More sharing options...
HOME AUTOMATION Posted August 8, 2021 Share Posted August 8, 2021 I started this from EASYBUG with "E7D00" So, WP was already set to >83E0. From elsewhere you'll want to... LWPI >83EO LI R1,>216f MOVB R1,@>9C02 SWPB R1 MOVB R1,@>9C02 NOP B @>70 You might need to CLR >837C, in some circumstances. Dunno. 3 Quote Link to comment Share on other sites More sharing options...
+TheBF Posted August 8, 2021 Share Posted August 8, 2021 2 hours ago, HOME AUTOMATION said: LI R1,>216f MOVB R1,@>9C02 SWPB R1 MOVB R1,@>9C02 NOP B @>70 Seems to work! This is pretty neat. Question for the GROM challenged: We set the GROM address ? Then branch into ROM. >0070 Main entry point into the GPL interpreter. Are there other cool places in GROM that can be used this way? 4 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.