1541ultimate icon indicating copy to clipboard operation
1541ultimate copied to clipboard

Nuvieplayer crashes on C128

Open Flexmaen opened this issue 1 year ago • 8 comments

Nuvieplayer videos do not work on the C128 and crash very soon.

All my settings worked fine on the C64 but didn't work on any of my C128s. Same problem on the new Ultimate 2+L as on the older 1541 Ultimate II.

I did try to change some timing values, but no success.

Same problem also with the BluREU demo (that also reqieres 16 MB loaded into REU). This runs a bit longer but also crashes at some point.

Flexmaen avatar Aug 20 '24 22:08 Flexmaen

Does it work using real (REU) hardware with the C128?

Grrrolf avatar Aug 24 '24 18:08 Grrrolf

Does it work using real (REU) hardware with the C128?

Yes. In Forum64 someone confirmed me, that it worked with the real REU.

Flexmaen avatar Aug 25 '24 21:08 Flexmaen

Well, BlueREU certainly can work with the Ultimate II+L on a C128 (DCR). https://youtu.be/UPxIj67LNa4?si=KoWipxLvyaD6lSdk

So the question is why it doesn't work for you.

One thing to check is if loading the .reu file looks the same for you as in this video with regards to the number of bytes loaded.

Another possible issue... do you happen to use an sram replacement for the system ram (like saruman)?

bvl1999 avatar Oct 02 '24 21:10 bvl1999

Maybe some timing issues? BlueREU worked 5 seconds for me (flat C128) and then crashed. Nuvie player crashed after not even a second.

I tried the same things on the C64 successfully and there they work. But as far as I can remember it won't work at he SX64 either. I don't have any sram replacement.

Did you try nuviplayer on your C128DCR too?

Flexmaen avatar Oct 02 '24 23:10 Flexmaen

Maybe some timing issues? BlueREU worked 5 seconds for me (flat C128) and then crashed. Nuvie player crashed after not even a second.

That is entirely possible.

I'm using 200ns for phi1 and phi2, and have phi2 edge recovery disabled, playing with those on your hardware may be worth trying.

I tried the same things on the C64 successfully and there they work. But as far as I can remember it won't work at he SX64 either. I don't have any sram replacement.

Did you try nuviplayer on your C128DCR too?

Not very recently, but I did while testing the UII+L pre-production and it worked at that time.

bvl1999 avatar Oct 03 '24 00:10 bvl1999

Did you try nuviplayer on your C128DCR too?

It is very likely nuvi will work fine when bluereu works fine, let's focus on one thing at a time and first get that to work.

Btw, it possibly not working on an SX64... the cartridge port of the SX64 is... problematic. It may help to replace the crappy cabling between the cartridge port and the board and get better results. Things which use DMA are sensitive to timing, but one factor in that is how fast the DMA signal goes from high (inactive) to low (active) and back, and that in turn is affected by the resistance in the connection between a dma device and the system bus. Additional length (cable of the sx64, but also cartridge port expanders) can affect that negatively. Bad connectivity (dirty connectors) also affects that negatively. This is a problem with the sx64 in general, the UII+ is just likely to encounter this problem, but a 'real' 17xx REU is also likely to encounter this problem.

bvl1999 avatar Oct 03 '24 08:10 bvl1999

I tried with your settings, but also no success on my C128. :(

Flexmaen avatar Oct 03 '24 19:10 Flexmaen

I tried with your settings, but also no success on my C128. :(

That is too bad. But note those settings are machine specific, yours might require slightly higher or lower settings, or may require enabling 'phi2 edge recovery'.

Also mind the thing I wrote earlier, ensure the cartridge port and edge connector are clean and make good contact, that is really important for such things to work properly.

Beyond that, you might be experiencing a hardware failure. BlueREU is known to work perfectly fine on this hardware combination. I just made that recording to show it running, I can reproduce that on my 2nd 128, and with all 4 UII+ and UII+L cartridges I have, and I know quite a few others who have been able to run it with a C128 and UII+L, both with a 'flat' 128 and 128DCR, so it can certainly work on that combination of hardware, and something specific to your setup is preventing it from working. Sadly, without having access to your hardware, I'm afraid I can't really help figuring out what exactly is preventing it from working, beyond the suggestions I already made. If I did have access to your hardware, I'd want to first of all test all ram in your machine, and then connect a scope to various lines on the expansion port, and see how the timing of the DMA line and phi2 and the dot clock relate to eachother, and check the levels on all those, and the address and data lines, and their timing relative to phi2 and the dot clock.

bvl1999 avatar Oct 03 '24 21:10 bvl1999