Jump to content
IGNORED

How to create cartridge images (.bin?) usable in js99er from EA5 files?


Recommended Posts

All my homebrewed games are in EA5 format (multiple files per game).

I would like to run then on a browser and make them available to everyone by providing links to js99er with a link to a .bin
e.g.,
https://js99er.net/#/?cartUrl=http://tigameshelf.net/Files/Emu/bnp_8.bin

js99er online emulator can read cartridge files in .bin format (whatever it is).
Is there a tool to do the conversion from EA5 to a cartridge format that js99er can digest?

Ideally I would need a scriptable tool that I can include and invoke automatically in my build-chain.
Is there such a scriptable tool? Otherwise I will make do with a manual tool.

Link to comment
Share on other sites

There are 2 GUI tools that will pack a set of EA5 files into a module with a ROM loader. Fred Kaal's 'module creator' over at hexbus.com/ti99geek. The second is classic99, under the debug tools there is a make module menu item, exact location and docs are in the PDF. 

 

For scriptable solutions, you can build a ROM loader, and DD the parts together into a .bin. understand the sample code over here http://www.stuartconner.me.uk/ti/ti.htm#bank_switching

 

 

  • Like 1
Link to comment
Share on other sites

There are some utilities in the elfutils directory of the GCC installation.  These are elf2cart, elf2ea5 and ea5split.  I didn't write these - I inherited them from somewhere.  But it should be possible to write a simple standalone command line tool to convert ea5 to cart by reading the source for these utils.  If you do create a ea5 to cart util it could be a useful addition to these tools to include with gcc.

Link to comment
Share on other sites

@Asmusr, sorry I need to correct what I wrote or make it clearer. The image may work with JS99er. It just does not work if I try to load it through the URL parameter cartUrl (https://js99er.net/#/?cartUrl=), e.g.,
https://js99er.net/#/?cartUrl=https://github.com/Fabrizio-Caruso/CROSS-LIB/releases/download/trexBETA/XTREX18.bin
or

https://js99er.net/#/?cartUrl=http://github.com/Fabrizio-Caruso/CROSS-LIB/releases/download/trexBETA/XTREX18.bin


By the way, I am using ea5tocart in my framework. I would like to include it. Who should I thank for the tool other than you for pointing it out? Are you the author?

Edited by Fabrizio Caruso
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...