Jump to content
IGNORED

THE!CART... New 128MB FLASH Cartridge


mega-hz

Recommended Posts

@Jac

 

Well... you are doing a wonderful job. I appreciate that very much. Hardware without good software is nothing (FJC already prove that with his excellent PBI driver for SIDE) and you are doing a great job. Other people involved in this project: thanks a lot too.

 

I am already having a lot of fun with THE!Cart.

Link to comment
Share on other sites

ATR Support

Based on what was discussed here http://atariage.com/forums/topic/222168-conversions-to-cart/
I couldn’t stay calm (too concrete implementations already in my head, so I had to get them out of and into the code). It's all based on an article I read many years ago. There some researchers proved formally that it is not possible to create a "virtual machine/hypervisor" for Pentium based system. And the proof was correct. Then some programmers from VMWare proved the contrary and achieved it. The trick was to step aside and think about what the basic assumption was they could invalidate (thereby making the proof worthless). And they found that the proof was based on the assumption, that the code is (a) fixed and (b) interpreted directly by the CPU. So they decided to instead interpret the code "manually" when it was executed for the first time (=> b) and then change the code for the next execution (=> a).

I totally loved that way of tackling the problem (today called "binary translation"). And for the ATR loading it means "When you assume the code in the ATR is constant, you must modify the OS to run from cart". That will work in many cases, but never in the case where the program uses the RAM under the OS itself or plays around with $d301 (intentionally or unintentionally). So instead of keeping the code stable and pachting the OS, I go for patching the code and keeping the OS stable.

The Java Part (left screen shot) is basically done. Auto detection of SIOV/DISINV locations in the ATR and parameterized patching of the code (right screen shot). The user can modify the parameters that were auto-detected in case there are false positives (i.e. maybe some graphics data that also contains the same sequence). Now "all" that's missing is the Atari part. So I'll got to get dinner and start my IDE later ...

post-17404-0-24344700-1392755657_thumb.png post-17404-0-61758700-1392755663_thumb.png

 

Note: Of course there are also limitations to this approach, so it's not a replacement but an extension to what MegaCart etc. can already achieve.

Edited by JAC!
  • Like 5
Link to comment
Share on other sites

The!Cart Studio version 2014-02-22 released

 

Download is available here as usual.

  • Display type "Multiple Entries" is now also supported for seven additional older versions of the Atarimax Maxflash Studio menu. Those were the ones with "<A>,<B>,<C>" lists. So you can see and search the entries from the contained menu directly in the extended menu.
  • Direct start of Atarimax entries resolved via the "Multiple Entries" option from the extended menu is supported for the latest version of the Atarimax Maxflash Studio menu.
  • First - very experimental - support for ATR loading based on binary translation. Only non-encrypted single/enhanced density disks may work. This ATR loader supports loading of programs that use the RAM under the OS. For all other ATR stuff, you are currently better off with putting it into an Atarimax Maxflash image or MegaCart Studio image.
  • Sort order in the extended menu is now case insensitive.
  • New Atari software version 2014-02-17 included with improved high speed handling.
  • Timing bugs fixed that could cause the menu or cart to freeze during boot or ROM start, for example Asteroids.
Edited by JAC!
  • Like 4
Link to comment
Share on other sites

Strange thing: asteroids still does not start here. I have to press reset.

 

Is there a chance that atari-part of software is not updated by incremental update? Where is that part located on the cart? I only saw it updating block at the end of the cart. I thought Atari Software was located at the start of cart, but I might be wrong.

Link to comment
Share on other sites

> Is there a chance that atari-part of software is not updated by incremental update?
I can reproduce it on one of my maschines. Definitively a timeing issue again (shadow registers not updated before the cart start), should be easy to find now that I've got the Freezer.

As for the flashing: I've never used anything but incremental flashing and everythings is fine. You can really trust the SHA512 checksum. And yes, the menu is in the begin of the banks.

Link to comment
Share on other sites

>Not sure when a disk is encrypted or when not / This might be an interesting one to investigate
That ATR was in fact the reason why I added that constraint :-) The cracker who did the intro has encrypted part of the the intro, so it decryptes the rest of the loader upon start. Something I can easily fix in the specific ATR (remove the intro & encryption), but impossible for the Studio and anything else to do automatically. Maybe you can find a non-cracked original somewhere - that might be easier.

Link to comment
Share on other sites

 

 

  • Display type "Multiple Entries" is now also supported for seven additional older versions of the Atarimax Maxflash Studio menu. Those were the ones with "<A>,<B>,<C>" lists. So you can see and search the entries from the contained menu directly in the extended menu.
  • Direct start of Atarimax entries resolved via the "Multiple Entries" option from the extended menu is supported for the latest version of the Atarimax Maxflash Studio menu.

 

Where can i find the "multiple Entries" ? in the cart studio i can only select the extended menu.. or do you mean a menu setting in Maxflash studio ? anyway there is something here i dont understand about the direct start of atarimax entries.
Link to comment
Share on other sites

 

 

 

  • Display type "Multiple Entries" is now also supported for seven additional older versions of the Atarimax Maxflash Studio menu. Those were the ones with "<A>,<B>,<C>" lists. So you can see and search the entries from the contained menu directly in the extended menu.
  • Direct start of Atarimax entries resolved via the "Multiple Entries" option from the extended menu is supported for the latest version of the Atarimax Maxflash Studio menu.

 

Where can i find the "multiple Entries" ? in the cart studio i can only select the extended menu.. or do you mean a menu setting in Maxflash studio ? anyway there is something here i dont understand about the direct start of atarimax entries.

 

 

It's a setting in the mainscreen of the studio.

 

When you create an AtariMax workbook and export this as a BIN/CAR file, you can import this in THE!Cart studio. By default this is already visible as multiple entries in the main menu of your cart (in the studio you see this in one of the tabs) ... but if you don't want that, but you only want the in the workbook created car/bin is visible as a single entry you have to toggle that setting.

 

If you create a workbook that is called 'Arcade games' and you export this to BIN/CAR and you put this in THE!Cart studio and you set this to Single Entry your BIN/CAR file would be visible as 'Arcade Games' in your THE!CAR menu.

If you toggle the setting to Multiple Entries you will see all the entries of that workbook in your THE!CAR menu.

Link to comment
Share on other sites

Thank you., Now i found it, its under the "display mode" tab in the main window.

 

But im not able to direct start the Atarimax entries.When i try that my Atari XEGS just hangs with a black screen,Thats a NTSC version of XEGS.Haven't tried Pal Atari yet.

Those was created with maxflash studio 2.4. isn't that the latest version of maxflash studio ?

Edited by Grevle
Link to comment
Share on other sites

2.4 is the lastest version and should work. The studio will simply not generate the item specific start if the menu version is not supported. So you should end up of the Atarimax Menu, but never hang. As there still are some timing issue when starting, NTSC is untested (as I don't have one) and might make that issue worse. Please PM the ATR and I'll have a look.

 

Johny's trouble is meanwhile reaching the main game screen, yet the subsequent loading of the level picture fails... progressing.

And BigBen was very helpful and provided the information I need to add direct start also for MegaCart 2MB images.

 

Slowly everything falls into its place - bit by bit... (well, MB by MB in this case)

Edited by JAC!
  • Like 2
Link to comment
Share on other sites

I know Tucker on a certain moment start using a GAL that has slight different specs than the ones he was used to use.

 

A few years ago I bought a few of his new AtariMax carts, and I found out that I was not able to play Space Harrier with these carts. So he exchanged the GALS with other ones, so my carts would be backward compatible with older software.

 

I am not sure whether the older or the new ones started at bank 127 (128?) and which one start at bank 0.

Link to comment
Share on other sites

Newer ones start at bank 0, older ones at 127. But my question rather was if the menu in the screen shot is an original Maxflash menu or not. I do have some roms with that menu above, but they do not contain any indication who created the menu.

Link to comment
Share on other sites

If found that Johny's trouble uses a not allowed direct jump into the OS. This will neither work with non standard XL OSes not with any kind of ATR loader.

Here's a fixed version that should work (must be added again to the workbook to repeat the analysis).

Works with my The!Cart Studio local version at least (soon to be released, too).

 

Funny that the loading screen calls it "Johny's Problem" instead, maybe I'll fix that, too. Also what's the difference to "Problem Jasia" - maybe I should ask Jakub.

 

post-17404-0-14910900-1393530414_thumb.png

JTROUBLE-Fixed.atr

Link to comment
Share on other sites

>on real hardware.

Did you test the ATR as such or starting it from "The!Cart"?

The ATR works fine in all my emus but I have no way to testing on The!Cart right now (but also works in Altirra with "The!Cart").

I've uploaded the latest studio to the usual site, please test with it.

After adding the ATR, the "Parameters" column in the workbook (hidden by default) should contain:

"base=$0400, $027a=dskinv, $293e=dskinv, $8ef5=dskinv"

 

I also fixed the title screen & charset now :-)

post-17404-0-83170200-1393535186_thumb.png

JTROUBLE-Fixed-Title.atr

Edited by JAC!
  • Like 3
Link to comment
Share on other sites

Hi Jac,

 

Tested it with your newest THE!Cart studio, and now it works. You are a GENIUS. I have been wishing forJohny's Trouble on 64K Atari for a cart so long.

 

You really made my day (which was terrible btw, so you imagine how cool this is!)

 

Greetz

M.

Edited by ProWizard
Link to comment
Share on other sites

Thanks! Considering that even that works, I can probably official release the new version. I rather get things out these days and have themtested in "the wild" :-)

 

The!Cart Studio version 2014-02-27 released

  • Display type "Multiple Entries" is now also supported one additional older versions of the Atarimax Maxflash Studio menu. For the very first version, this also includes the direct start. Looks like there were as many releases of that software as for The!Cart Studio....
  • Direct start of MegaCart's inner menu entries from the extended menu is supported for the latest version of the MegaCart Studio menu. Thanks to Bernd for his support to make this possible so quickly.
  • By holding down "SHIFT" when starting an entry that comes from an inner menu disables the immediate start and brings you to the inner menu instead.
  • New Atari software version 2014-02-24 included. It includes fixes for the handling of the SPI EEPROM which stores the configuration of the simple menu.

 

Yesterday I tried to reproduce the "hanging" Asteriods issue, but it always simply worked. Maybe you can test that again.

Edited by JAC!
  • Like 2
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...