Jump to content
IGNORED

A TurboForth patch to use different cart banks (demo cart link included)


ckoba

Recommended Posts

So I'm up here in the middle of nowhere during a week-long holiday, intermittent connection, and I'm frankly bored stiff by the hot-springs-and-shrine routine the rest of the family wants to do.

 

So I'm playing around with ROM cartridges under classic99. I've discovered that it was fairly easy to rework TurboForth to co-exist with other ROM cartridges selected with Tursi's multicart, and even easier to patch the source to allow it to be built with the specified banks without the need to patch binaries.

 

Attached is the source patch, and I've put the proof-of-concept into my Logo/Logo-II/Multiplan cartridge as it sort of fit the theme of "non-mainstream languages" and there was a lot of ROM space left.

 

The binary is at https://www.disavowed.jp/ti/ubergrom/ti-ubergrom1.tar.xz

 

The only difference between this release and the previous release of this cartridge is the EPROM. Re-burn that and you've got TurboForth v1.2.2 as an option on the multicart screen.

 

Willsy, would this patch (or a version thereof) be appropriate for inclusion in the TurboForth source distribution? It consists of variable replacements for hardcoded >6000 and >6002 addresses, as well as a definition variable for the base cartridge bank. There is no change in binary output (verified with md5) when "rombank" in 0-00-Header.a99 is set to 0, and does the offsets per Tursi's offset calculations on the GROM side of the Multicart menu.

 

Thanks, and enjoy your nice constant connectivity (it took me a few tries to get the image uploaded to my server) icon_smile.gif

turboforth-base-diff.gz

Edited by ckoba
  • 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...