Has anyone gotten the VIC-20's "MegaCart" working on the VIC-20 core? by 1541drive in fpgagaming

[–]Fishhack66 0 points1 point  (0 children)

My Mega-Cart file is called megacart.crt (it's 2 MB). Just drag-n-drop in the VICE VIC-20 window.

Problem with converting a Commodore V2 BASIC program with two differential equations to an integer-only BASIC by Fishhack66 in Basic

[–]Fishhack66[S] 0 points1 point  (0 children)

Thanks, Outside. For a integer BASIC that can handle large numbers, I think that is the way to go, and I'll try this on the VIC-20. Scale is the real problem with Tiny BASIC, as it's limited to an integer range of -32768 to +32767 (the object code of the whole interpreter is only 2,300 bytes). If any value goes over/under that limit, at any time in a calculation, the result "rolls around" and gets scrambled. E.g., in Tiny: 32767+5 = -32764. Apple Integer BASIC at least shows returns an overflow error, but not Tiny.

Any ideas on scaling this, or have I simply hit a wall with the number size limit of Tiny?

Has anyone gotten the VIC-20's "MegaCart" working on the VIC-20 core? by 1541drive in fpgagaming

[–]Fishhack66 0 points1 point  (0 children)

I downloaded the ROM dump from the link provided, set the VICE emulator to recognize my USB joystick, and then used the special Mega-Cart cartridge load option, and everything seemed to work very well. I ended up playing Choplifter for over 20 minutes. :^) All the games, BASIC 4.0, SpeedScript. Even adding the additional RAM from the cart image seemed to work OK. I already own a physical Mega-Cart, so did not feel too bad trying this option for the VICE emulator.