Menu

#1813 cartconv fails to convert vic20 carts with multiple blocks, when one block is smaller than the next

v3.x
closed-fixed
gpz
VIC20 (1)
cartconv
2023-02-21
2023-01-16
No

OK, so I have been trying to convert all the cartridges I could find with Vice 3.7 cartconv. All in all I have over 200 cartridges working with drag and drop into xvic now. But there are some cartridges that are giving me trouble:

AE from Broderbund - can be converted, but the game is shifted on screen. NOT a PAL/NTSC issue, there is something wrong here. See screenshot.

Lunar Leeper and Cannonball Blitz from Sierra - the files floating around are 4K at $2000 and 8K at $A000. This can't be converted, cartconv complains with:

loadfile_size: 001000
loadfile_size: 002000
Error: invalid block address

When I make the 4K ROM 8K long, either with $00 or by doubling the contents, cartconv creates a cartridge that does not work. Can't find any documentation about what is so special about these two.

K-Razy Antics just does not work after conversion with two 8K, at $6 and $A
Scram 20 also does not work after conversion

The four Scott Addams adventures that need SYS commands to start also do not work, but I would skip those.

Thanks for checking out.

1 Attachments

Discussion

  • gpz

    gpz - 2023-01-17

    please link to the binaries you are using - and do they work when attached as .bin files?

     
  • gpz

    gpz - 2023-02-19

    When I make the 4K ROM 8K long, either with $00 or by doubling the contents, cartconv creates a cartridge that does not work. Can't find any documentation about what is so special about these two.

    These two work fine when i double the contents of the first ROM. You'll have to make sure the second copy is not preceeded by the load address :)

     
  • gpz

    gpz - 2023-02-19

    And K-Razy Antics just works for me.

    So yes, there is a Bug in cartconv - it fails on converting correctly when the files have different size. But it can be worked around easily :)

     
  • gpz

    gpz - 2023-02-19

    AE relies on uninitialised RAM - invert the RAM init pattern (in RAM settings make the first value 255 instead of 0) and it works

     
  • gpz

    gpz - 2023-02-19
    • summary: cartconv VIC20 edge cases / non working conversions --> cartconv fails to convert vic20 carts with multiple blocks, when one block is smaller than the next
    • assigned_to: gpz
    • Port: Windows -->
     
  • gpz

    gpz - 2023-02-21

    So yes, there is a Bug in cartconv - it fails on converting correctly when the files have different size. But it can be worked around easily :)

    fixed in r43273

     
  • gpz

    gpz - 2023-02-21
    • status: open --> closed-fixed
     

Log in to post a comment.

MongoDB Logo MongoDB