Page 1 of 2

Black Screen in C64 Core

Posted: Sat Feb 13, 2021 9:46 am
by infected
I've had a problem with the C64 core for while now. When i load the core it just gives me a black screen, but the menus work as expected. Until recently running the C64 core would also really screw up the mister making every other core (even the menu) display horribly corrupt graphics and failing in pretty fantastic/strange ways. The corruption even persistent after power cycling the mister. I would have to power it off and let it be off a while for it to return to normal. This corruption part went away semi-recently. I've tested multiple loadable kernels and the standard. I have also tested multiple releases of the core.

Every other core on my mister seems to run fine and my 128MB RAM passes at 142mhz and works fine in Jotego's CPS 1.5 core (even the versions that a lot of people seemed to have issues with).

I'm not totally sure, but the issues might have started after installed the 128MB RAM module and i have since misplaced my 32MB RAM module. Would there be a reason that only the C64 core might have issues with my 128MB RAM? Is there another core that is really sensitive to RAM issues that i could test?

Any suggestions are welcome.

Re: Black Screen in C64 Core

Posted: Sat Feb 13, 2021 12:45 pm
by MostroW
maybe a corrupted cluster where the core resides?
try a reformat or different sd card and see if the problem persists?

Re: Black Screen in C64 Core

Posted: Sat Feb 13, 2021 1:18 pm
by infected
I tried a new SD card earlier today. Only Mister, menu.rbf and the C64 core on there. Same issue :/

Re: Black Screen in C64 Core

Posted: Sat Feb 13, 2021 2:03 pm
by Milongero
As far as I know the C64 core does not like to be started from another core. For C64 I always do a hard reset and load the C64 directly from the menu.

Re: Black Screen in C64 Core

Posted: Sat Feb 13, 2021 2:33 pm
by infected
I pretty much always do a cold boot when switching between cores especially when trying the C64 core.

Re: Black Screen in C64 Core

Posted: Sat Feb 13, 2021 3:17 pm
by MostroW
odd, if other cores work just fine and memtest has no issues.
have you checked the boot rom?

Re: Black Screen in C64 Core

Posted: Sat Feb 13, 2021 4:24 pm
by DerGali
Sometimes I have the same issue. Than it helps starting the vic20 core first and then C64 one don't know why

Re: Black Screen in C64 Core

Posted: Mon Mar 01, 2021 3:15 pm
by FPGA64
I have the same issue. A black screen on launching the C64 Core. My memory test shows my 128 mb ram expansion is working correctly. It passes at 140.

I have tried both with and without the boot.rom which I created from the roms in VICE. I have replaced the rbr with ones downloaded from the repository all are dated 26th Feb 2021.

I tried launching the Vic 20 core first and no joy there.

Its very confusing. It surely cant be using that much RAM as its just a 64k computer.

Any ideas ?

Re: Black Screen in C64 Core

Posted: Mon Mar 01, 2021 9:38 pm
by tontonkaloun
Hello

Try with my files

Re: Black Screen in C64 Core

Posted: Tue Mar 02, 2021 8:34 am
by FPGA64
I tried the boot.rom with the same result. Just a black screen. F12 brings up the menus but the C65 just doesnt boot. Its very strange.

Thanks for the response though.

Re: Black Screen in C64 Core

Posted: Tue Mar 02, 2021 11:48 am
by yellperil

Maybe try this as a last ditch effort.
I've modified this a little so you don't have to set up the c64 core just install and run it without trying to configure anything.

I've written this to a SD card myself and it expands and works perfectly.

1) FORMAT your "blank / spare" SD card with THIS

https://www.sdcard.org/downloads/formatter/

2) Write the image you downloaded in 1) to the SD card with THIS

https://sourceforge.net/projects/win32diskimager/

3) Insert SD card into Mister, Power on and wait until it uncompresses and restarts.

On restart you will see the C64 core, just run it.


Re: Black Screen in C64 Core

Posted: Tue Mar 02, 2021 3:01 pm
by FPGA64
Thanks for that. I burnt it to a new spare SD card. It installed and the only core was the C64 as expected. It however boots to a black screen when I start the core.

Its a mystery to me why this is happening, but I guess I will just have to do without a C64 on the Mister for the time being

Re: Black Screen in C64 Core

Posted: Wed Mar 03, 2021 12:34 pm
by FPGA64
Tried various old core versions and no luck. Are there debug logs showing whats happening ?

Re: Black Screen in C64 Core

Posted: Wed Mar 03, 2021 6:41 pm
by FPGA64
The files I am using for the C64 and my Mister.ini. boot.rom is only the freely available combined rom from Vice.

Re: Black Screen in C64 Core

Posted: Wed Mar 03, 2021 8:14 pm
by Hackshed_Carl
Give this rom file a try.
I have confirmed that it works

https://misterfpga.org/viewtopic.php?f=12&t=1764

Re: Black Screen in C64 Core

Posted: Wed Mar 03, 2021 8:57 pm
by FPGA64
Thanks I tried that and the same issues.

Tontonkaloun has been trying to help via Pm and the files that dont work for me work fine for him.

I just ran the Bad Apple NeoGeo Demo without issue so I know my SDRam is fine

I am outputting to a 55 inch LG OLED so nothing outrageous there and every other core seems to work without issue. Its just a mystery

Re: Black Screen in C64 Core

Posted: Wed Mar 03, 2021 9:25 pm
by jca
Did you try on a different monitor?

Re: Black Screen in C64 Core

Posted: Wed Mar 03, 2021 9:42 pm
by FPGA64
Thats about the only thing left to try. I will have to move the mister from its nest and connect it to my various monitors

Re: Black Screen in C64 Core

Posted: Wed Mar 03, 2021 10:44 pm
by Hackshed_Carl
Are you outputting to HDMI or some other device?
I've only ever used HDMI and it works fine but I can't see any mention above about your display.

I'm not trying to suggest anything, just fact finding in order to advise you better.

Re: Black Screen in C64 Core

Posted: Wed Mar 03, 2021 10:52 pm
by Hackshed_Carl
The only other "last ditch" piece of knowledge I can pass one is that when I bought my first RAM module (32mb) It didn't work at all with my MiSTer setup. I contacted the supplier who told me about seeing faulty DE10-Nano boards previously.

I contacted my supplier of the DE10 board and they sent me a replacement. The RAM module worked perfectly (and still does to this day) .

Not sure if this is relevant but it's something that stuck in my mind.

Re: Black Screen in C64 Core

Posted: Wed Mar 03, 2021 11:49 pm
by rhester72
It's an issue with the core. It happens to everyone.

Re: Black Screen in C64 Core

Posted: Thu Mar 04, 2021 8:43 am
by FPGA64
I am outputing via HDMI.

I think I shall just sit back and wait for the Core to Evolve. I got it for free and the Mister provides me a whole world of Cores. So whilst its a shame I cant use it for the C64 I can use it for many other systems.

Re: Black Screen in C64 Core

Posted: Mon Mar 15, 2021 4:56 pm
by ron
After last update ( today ) the C64 core goes black. OSD Works but no C64 Screen nor prompt on screen.
Edit: I realised that now rom is located in /C64/bootrom/c64.rom

Now works fine !

Re: Black Screen in C64 Core

Posted: Tue Mar 16, 2021 4:48 pm
by FPGA64
So did you create a bootrom directory in the /games/C64 directory and then put a rom renamed to c64.rom ?

I tried that but sadly it didnt fix it for me. Just the black screen with a working OSD

Re: Black Screen in C64 Core

Posted: Tue Mar 16, 2021 6:30 pm
by jca
rhester72 wrote: Wed Mar 03, 2021 11:49 pm It's an issue with the core. It happens to everyone.
:?: So far it never happened to me.

Re: Black Screen in C64 Core

Posted: Tue Mar 16, 2021 6:32 pm
by FPGA64
You are lucky then. Its the only core that I cant get to work.

Re: Black Screen in C64 Core

Posted: Tue Mar 16, 2021 6:40 pm
by jca
ron wrote: Mon Mar 15, 2021 4:56 pm After last update ( today ) the C64 core goes black. OSD Works but no C64 Screen nor prompt on screen.
Edit: I realised that now rom is located in /C64/bootrom/c64.rom

Now works fine !
Is this information available somewhere? The Wiki only says boot.rom in the games/C64 folder.

Re: Black Screen in C64 Core

Posted: Tue Mar 16, 2021 6:44 pm
by jca
Why are you trying to use a boot.rom? The core does need a boot.rom to work and using one is unlikely to solve your problem. Try to make it work without a boot.rom first.

Re: Black Screen in C64 Core

Posted: Tue Mar 16, 2021 8:04 pm
by FPGA64
I tried that way at first, that failed so I went into the boot.rom path and thats failed too. The core menu works fine. I can see the video mode being switched too because it displays the video mode and then black screen.

Re: Black Screen in C64 Core

Posted: Tue Mar 16, 2021 8:09 pm
by jca
Did this core ever worked on your MISTer? Did you try with a different monitor?