MiSTer-devel / SharpMZ_MiSTer

Sharp MZ Series Personal/Business Computer Emulator for FPGA
9 stars 6 forks source link

UI freeze when tape loading #2

Open Left-Empty opened 4 years ago

Left-Empty commented 4 years ago

Hello, I just tried this core for the first time today, and the UI freezes when I load a tape into the RAM. The emulation seems to go on (although the tape hasn't been loaded) in the background, but the UI is inaccessible, and the only option is to reboot the MiSTer.

Just throwing this out here, Cheers!

pdsmart commented 4 years ago

Hi,

It is down to the version of Main_MiSTer which has advanced quite a lot since the release made in the repository. My dev version of the project with more updates isn’t fit for release yet so I suggest to use the MiSTer_20181116 or MiSTer_20181208 binary from the repo https://github.com/MiSTer-devel/Main_MiSTer/tree/master/releases , the newer emulations probably won’t work on this MiSTer release so best to use a separate SD card.

I keep promising I will update the emulation, just got carried away on other projects needed to update it (ie. https://www.eaw.app/sharpmz-emulator/ !! )

Brgds, Phil

From: Left-Empty notifications@github.com Reply-To: MiSTer-devel/SharpMZ_MiSTer reply@reply.github.com Date: Wednesday, 22 April 2020 at 03:28 To: MiSTer-devel/SharpMZ_MiSTer SharpMZ_MiSTer@noreply.github.com Cc: Subscribed subscribed@noreply.github.com Subject: [MiSTer-devel/SharpMZ_MiSTer] UI freeze when tape loading (#2)

Hello, I just tried this core for the first time today, and the UI freezes when I load a tape into the RAM. The emulation seems to go on (although the tape hasn't been loaded) in the background, but the UI is inaccessible, and the only option is to reboot the MiSTer.

Just throwing this out here, Cheers!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/MiSTer-devel/SharpMZ_MiSTer/issues/2, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AGVVKWHXF5AOC73RYPLSX53RNZI25ANCNFSM4MNYXDHA.

Left-Empty commented 4 years ago

Thank you for the very detailed answer.

Best wishes in your endeavor!

pdsmart commented 4 years ago

Hi,

I have just added a new version into the repo. I started working with various embedded soft CPU's such as the STORM and NEO430 to act as an IO processor in the emulator and I followed the proverbial garden path so to speak, didn't realise it was 18 months ago I made an update!!!!

This version has a fully working CMT which reads and writes within the Emulator and also a fully working APSS drive for the Sharp MZ80B. I've updated the README file with details, probably best viewed at https://eaw.app/sharpmz-emulator/ as the github README (markdown renderer) doesn't render correctly.

I merged the changes with the Mister Main binary but havent yet committed the changes back, so in the meantime, please use the MiSTer binary: MiSTer_SharpMZ_20200430 in the releases folder, just copy to the root of the SD card as 'MiSTer'. Also the actual emulator bit stream: SharpMZ_20200430.rbf, also copy it onto the root of the SD card.

For SharpMZ programs, one of the best sites is original.sharpmz.org - this site has a good collection of programs for all the various models.

I will in due course add the Floppy drive logic as I want to get my version of CP/M https://eaw.app/sharpmz-upgrades-cpm/ running on this emulation, will add it to my to-do asap list!!

Cheers for now,

Phil

sorgelig commented 4 years ago

not sure about mentioned soft cpus, but i suggest ZPU. It's tiny and has gcc toolchain. It's used in Atari800 core if you want example.

pdsmart commented 4 years ago

The ZPU is the CPU I am now using. The STORM (an ARM v2 compatible) looked promising but after spending a fair bit of time I hit upon a cache bug and the design is no longer maintained, shame as it was a nice design. Looking back I should have found and fixed the bug, hindsight though!!

The Neo430 (an MSP430 clone) I then looked at wasn’t quite up to what I wanted hence going with the ZPU.

All the above had gcc toolchains and the only problem with the ZPU is the gcc toolchain is quite old, ie. C98/C+98, so backward compatible coding, but I am making headway with this CPU.

From: sorgelig notifications@github.com Reply-To: MiSTer-devel/SharpMZ_MiSTer reply@reply.github.com Date: Thursday, 30 April 2020 at 13:24 To: MiSTer-devel/SharpMZ_MiSTer SharpMZ_MiSTer@noreply.github.com Cc: Philip Smart psmart@net2net-ips.com, Comment comment@noreply.github.com Subject: Re: [MiSTer-devel/SharpMZ_MiSTer] UI freeze when tape loading (#2)

not sure about mentioned soft cpus, but i suggest ZPU. It's tiny and has gcc toolchain. It's used in Atari800 core if you want example.

— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/MiSTer-devel/SharpMZ_MiSTer/issues/2#issuecomment-621800367, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AGVVKWBPQIIEI4T2B74BL7LRPFUZFANCNFSM4MNYXDHA.

sorgelig commented 4 years ago

You need to solve MiSTer binary incompatibility asap. It's not good idea to ask ppl use special Main version as there are many other cores. If there is need, then make PR to update SharpMZ core while your soft-cpu version is not ready.

pdsmart commented 4 years ago

Hi,

There is no incompatibility, with the reorganisation of custom support files into support/ in the Main binary it makes it easier to update and I can make a PR shortly to add the two changed files.

The soft-cpu came about as you were unhappy with the amount of code I had written to support this emulator as it increased the Main binary size too much for an 8 bit machine and if others did this, the binary would become too large. A very valid point, hence spending time working with soft-cpu’s to move the support functionality into the emulation. As an interim step I have made the hardware debug support code conditional and this reduces the Main binary size.

Will open the PR later today and then remove the custom Main from the repo.

Brgds, Phil

From: sorgelig notifications@github.com Reply-To: MiSTer-devel/SharpMZ_MiSTer reply@reply.github.com Date: Friday, 1 May 2020 at 06:13 To: MiSTer-devel/SharpMZ_MiSTer SharpMZ_MiSTer@noreply.github.com Cc: Philip Smart psmart@net2net-ips.com, Comment comment@noreply.github.com Subject: Re: [MiSTer-devel/SharpMZ_MiSTer] UI freeze when tape loading (#2)

You need to solve MiSTer binary incompatibility asap. It's not good idea to ask ppl use special Main version as there are many other cores. If there is need, then make PR to update SharpMZ core while your soft-cpu version is not ready.

— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/MiSTer-devel/SharpMZ_MiSTer/issues/2#issuecomment-622251949, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AGVVKWD3GG6GA7XRJSKTTGTRPJLAHANCNFSM4MNYXDHA.