Jump to content
IGNORED

XB256 + Extended BASIC


Gazoo

Recommended Posts

[DELETED attachment=387267:XB256.zip]

 

Here's a version of TI Extended Basic with XB256 embedded in it, similar to the version of TI Extended Basic I recently posted with The Missing Link embedded in it.

 

Do a CALL XB256 from the command line or a running program. You'll be honked at if it's already loaded. ;)

 

Then do the CALL LINK("XB256”[,n bytes VDP memory to reserve] to set it up to your liking and have at it. :)

 

Gazoo

 

Edited by Gazoo
  • Like 4
Link to comment
Share on other sites

Nice job, Gazoo. Looks like I'll have to do up labels for a few more XB Cartridge variants. :)

 

It's a shame that I didn't come up with these before I did the Suite cartridge. It's possible to have the calls XXB, TML, & XB256 all in XB v2.7. I'd need to change the ROM of the Ubergrom cart to do it though, and also take something out. DM1000 probably could have been eliminated without anyone squawking. :)

 

Gazoo

  • Like 3
Link to comment
Share on other sites

I always say the same thing to my wife (applies to both my computers and my guitars): "See all this stuff here? It was here before you were, and it'll be here long after you're gone!"

 

(it's not said in a mean way, just a joking way, but it does wind her up, which is of course why I say it in the first place!)

  • Like 2
Link to comment
Share on other sites

 

It's a shame that I didn't come up with these before I did the Suite cartridge. It's possible to have the calls XXB, TML, & XB256 all in XB v2.7. I'd need to change the ROM of the Ubergrom cart to do it though, and also take something out. DM1000 probably could have been eliminated without anyone squawking. :)

 

Gazoo

 

Can you imagine the programs a person might write using all three of those packages at the same time? It would be interesting to see the results, and then someday even possibly being able to include them in a "Gazoo's Special Edition Atari Age Cartridge" in the same manner Dec-2-Hex was included. ;)

 

I agree Tony, DM1000 would probably not be missed too much, Bert & Ernie would reclaim some space as well.

Link to comment
Share on other sites

 

Can you imagine the programs a person might write using all three of those packages at the same time? It would be interesting to see the results, and then someday even possibly being able to include them in a "Gazoo's Special Edition Atari Age Cartridge" in the same manner Dec-2-Hex was included. ;)

 

I agree Tony, DM1000 would probably not be missed too much, Bert & Ernie would reclaim some space as well.

 

Well, you couldn't use them all at the same time. They all occupy the same memory area, >2000 to >3FFF. You'd have to use them one-at-a-time. I'd also have to come up with some heroic code to see if any one of them was loaded before shutting down the one that was loaded and loading another one without quitting to the title screen.

 

Gazoo

Link to comment
Share on other sites

Actually this can be done easy using the SAMS.

 

RXB version 2001 had a demo that loaded and ran a RXB program with many Assembly Programs from lower 8K.

 

Using RXB CALL AMSBANK(lower4k,upper4k) this RXB program loaded and ran:

 

XBPLOT, WXB (Windy XB), DM4, STAR, SORT, Reference, Neat List, XB Detective, Soft Keys, TSHELL, Librarian, and XBRAMDISK.

 

 

So the one Assembly program that would not work is TML (The Missing Link) as it changes VDP memory and pointers so it is only compatible with TML only.

TML would require the program to reset pointers and VDP memory before switch or again when coming back. (Other XB support does not have this problem)

Edited by RXB
Link to comment
Share on other sites

So the one Assembly program that would not work is TML (The Missing Link) as it changes VDP memory and pointers so it is only compatible with TML only.

TML would require the program to reset pointers and VDP memory before switch or again when coming back. (Other XB support does not have this problem)

Don't get your hopes up too much about XB256 working with SAMS. Not saying it won't work, but it does use the same VDP memory tricks used by TML, so if TML doesn't work then XB256 is not likely to work. And despite the similarities, there ain't no way you're gonna get TML and XB256 to coexist - one uses bitmapped mode; the other is in graphics mode.

In my FWIW department, there is a way to embed assembly code in XB code in high memory and run it without moving to low memory. So if you had the source code for these extensions you could embed some of them in high memory along with your program. See the TML package for more details.

  • Like 2
Link to comment
Share on other sites

Don't get your hopes up too much about XB256 working with SAMS. Not saying it won't work, but it does use the same VDP memory tricks used by TML, so if TML doesn't work then XB256 is not likely to work. And despite the similarities, there ain't no way you're gonna get TML and XB256 to coexist - one uses bitmapped mode; the other is in graphics mode.

In my FWIW department, there is a way to embed assembly code in XB code in high memory and run it without moving to low memory. So if you had the source code for these extensions you could embed some of them in high memory along with your program. See the TML package for more details.

 

It's not too bad getting TML and XB256 embedded in XB and getting them started, it's undoing what they did to start up that's the tricky part. XXB is simple because it just loads in low memory and sits there without affecting anything else. To undo TML or XB256 it would probably be necessary to do a DSRLNK to run the the disk controller's power up code so as to repair the VDP buffers, run some of the XB startup code to load character sets, and shut off the interrupt by zeroing out the word at >83C4. It might be necessary to do another thing or 2, but that's all I can think of at the moment.

 

Gazoo

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...