randyrossi / bmc64

A bare metal Commodore 64 emulator for the Raspberry Pi with true 50hz/60hz smooth scrolling, low input latency and better audio/video sync.
GNU General Public License v3.0
488 stars 59 forks source link

bmc64 with Expert Cartridge #88

Closed billybicep closed 3 years ago

billybicep commented 4 years ago

Hi, is it possible to get the expert cartridge image to work with the bmc64? i have tried several different .crt images and they all just hang?

Thanks..

randyrossi commented 4 years ago

Try adding this to vice.ini in the [c64] section:

Expertfilename="/carts/c64/your_expert_cart.crt" ExpertCartridgeEnabled=1 ExpertCartridgeMode=2

There's no menu option to attach that type of freezer. I'd have to add it.

randyrossi commented 4 years ago

I don't think it works with VICE very well. Other forum posts say it doesn't work with VICE unfortunately. I can't get it to work with my desktop VICE build either.

billybicep commented 4 years ago

it works fine on WIN Vice, I've tried on 2.1 and 3.3, both work with my .crt file

billybicep commented 4 years ago

sorry, thats 3.1, not 3.3

billybicep commented 4 years ago

there's no vice.ini file, do i just create it?

randyrossi commented 4 years ago

If you save settings, it should appear. Maybe I have the extension wrong? Could be vice.rc but pretty sure it should show up as vice.ini.

billybicep commented 4 years ago

ok, I saved settings and it created the .ini file. i then added the expert settings above but it doesn't work. boots to black screen. if i press f12 and detach cartridge image c64 returns. i'm a real fan of the old expert cartridge, i always found it to be the best assembler for hacking and demo coding, is there likely to be a fix for this?

randyrossi commented 4 years ago

Can you point me to the file you're using? I can try.

billybicep commented 4 years ago

expert_cartridge.zip

billybicep commented 4 years ago

this is the one I've used successfully on Win VICE.

randyrossi commented 4 years ago

Okay, that cartridge is actually not formatted correctly. VICE probably doesn't care but it triggers an error in BMC64 file loader. Try attaching this cartridge image:

expert2.zip

I'll fix the issue but in the meantime I think this will work. I'm not sure if you still need those extra parameters. You can try with/without.

billybicep commented 4 years ago

OK, that crt works if i attach it once booted up. if i save it as my default it doesn't boot but detaching and then re-attaching works. this is fine, its not a hassle to do it each time and at least the cart works which is the main thing. Thanks, much appreciated.

billybicep commented 4 years ago

having said that, it programs are crashing when the cart is loaded and the programs execute an IRQ. strange, i'll try it on Win VICE to see if its a general VICE issue.

billybicep commented 4 years ago

it doesnt work in Win VICE either, crashes the program and then corrupts the RAM.

randyrossi commented 4 years ago

Do the programs load and run without the cart installed? I noticed that cartridge has incorrect flags and has the wrong size which is probably causing issues. I can try to fix it.

On Sat, Dec 21, 2019, 9:26 AM billybicep, notifications@github.com wrote:

it doesnt work in Win VICE either, crashes the program and then corrupts the RAM.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/randyrossi/bmc64/issues/88?email_source=notifications&email_token=AAI3HKHAUAUCFR2J3H6CXKTQZYRRBA5CNFSM4J342WIKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEHO474Y#issuecomment-568184819, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAI3HKGNKDGER35C7RDIWNTQZYRRBANCNFSM4J342WIA .

billybicep commented 4 years ago

ok, just to confuse things further, it doesnt work on Win VICE 3.3 but it does work on Win VICE 2.1, so must be a VICE issue?

billybicep commented 4 years ago

The programs work fine without the cart

randyrossi commented 3 years ago

I think this is a VICE issue because I can't get it to work on recent versions of VICE. Closing.