Jump to content
eegad

.car to .xex?

Recommended Posts

Way back when, I had a utility that would dump a cart to a disk file. It worked great (though of course some of the carts I dumped had copy protection that had to be removed afterwards).   But anyway, what I'm looking for at the moment is a similar utility, but that will take an existing .car file and convert it to a disk file. And yes, I'm talking about non-bankswitched carts. 

 

[In theory, I know what needs to be done (move video memory to below the cart addresses, then move the .car data to the usual cart memory and jump to it)...but in practice I haven't done any programming in 30 years, so hoping someone already has something on hand to do this]

Share this post


Link to post
Share on other sites

I'd first consider the titles you aim to do as I would suspect they've all pretty much been done by now and can be found on sites like atarionline.pl

Share this post


Link to post
Share on other sites
14 hours ago, Wrathchild said:

I'd first consider the titles you aim to do as I would suspect they've all pretty much been done by now and can be found on sites like atarionline.pl

 

I'd agree with @Wrathchild. I'd say there's very few, if any, cartridge titles that aren't already available.

 

Share this post


Link to post
Share on other sites
5 hours ago, bfollowell said:

 

I'd agree with @Wrathchild. I'd say there's very few, if any, cartridge titles that aren't already available.

 

I agree of course for all the old commercial cart releases. Still, there a few Homebrew type things that have only been released as a .car file. Most recent example is the wonderful Fishing Derby conversion. I'd like to run it on a real 800xl via an sdrive Max, but sdrive doesn't do cart files. 

 

Share this post


Link to post
Share on other sites

I should think you could just hex edit an existing xex and splice in the replacement 8K as basically it'll do the mem setup and init/run vector calls for you.

Share this post


Link to post
Share on other sites
18 hours ago, eegad said:

Most recent example is the wonderful Fishing Derby conversion.

 

Here's a wrapper for such a cart, here I've stripped the FD car header so it is just the 8K binary.
This can also be done by loading the CAR into Altirra and saving the cartridge without the header.

 

From a command prompt the binaries can be joined together.

copy /b reloc_8k.dat + /b FishingDerby.bin + /b initrun.dat /b fd.xex

Reloc copied the cartridge data into place and transfers control to it, initrun is the xex tail to launch the reloc.

 

 

fd.xex reloc_8k.dat initrun.dat

  • Like 2
  • Thanks 1

Share this post


Link to post
Share on other sites

I am trying to understand the process.  I would like to convert the homebrew FloB from cart to xex.   Can someone please assist. 

  • Like 1

Share this post


Link to post
Share on other sites
48 minutes ago, vinniet said:

I am trying to understand the process.  I would like to convert the homebrew FloB from cart to xex.   Can someone please assist. 

I second this, I was trying to use this process to create a xex out of the 810 diagnostic cart image for testing purposes on real hardware. I would imagine the reloc.dat file would be different for each cart, how to extract?

  • Like 1

Share this post


Link to post
Share on other sites
On 1/15/2022 at 4:05 AM, mr-atari said:

I did something like that for LiteDOS.

Called it REMU (Rom Emulation), it loads standard 16k or 8k cartridges and (tries) to run it.

http://www.mr-atari.com/Mr.Atari/LiteDOS/

Not a car to xex program, but a rom loader.

Grtz!

 

Can you explain how REMU works.  I was not able to find anything on the LiteDOS site.  Thanks!

Share this post


Link to post
Share on other sites
6 hours ago, vinniet said:

I am trying to understand the process.  I would like to convert the homebrew FloB from cart to xex.   Can someone please assist. 

Not going to happen.  That's NOT a 16K or 8K cart.  It's a very large cart that relies on bankswitching to contain all the data.  It's possible the original author could create an ATR version or something, but you cannot add a simple relocator to it like a 16K or 8K cart image.

 

Share this post


Link to post
Share on other sites
24 minutes ago, glurk said:

Not going to happen.  That's NOT a 16K or 8K cart.  It's a very large cart that relies on bankswitching to contain all the data.  It's possible the original author could create an ATR version or something, but you cannot add a simple relocator to it like a 16K or 8K cart image.

 

Thanks for getting back to me.  I did try it and didn't work as you said.   Maybe another way would be good like running cart in LiteDOS.  

Share this post


Link to post
Share on other sites

That particular one - FloB - absolutely requires being a bankswitched cartridge image.  It contains more in ROM data than the Atari has RAM for.

Share this post


Link to post
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...