felixrieseberg / windows95

💩🚀 Windows 95 in Electron. Runs on macOS, Linux, and Windows.
Other
22.18k stars 1.3k forks source link

Restart/shutdown in VM does not work #174

Open ghost opened 3 years ago

ghost commented 3 years ago

In the vm, if you press restart, it never actually restarts as it gets stuck in MSDOS and same thing with shutdown.

sadly I can't help because I am a beginner at JS (for this type of project) and i really do not have a clue on how the Virtual Machine works.

Kazlehoff commented 3 years ago

same issue. reboot ends in a black screen with "-" in the corner.

ghost commented 3 years ago

you mean


    _

as a graphical representation. because that is what i see.

Kazlehoff commented 3 years ago

Yes.

ITAC85v2 commented 3 years ago

Same problem happens on Windows 95 at copy.sh as you can see below. image The reason for this is since Windows 95 on copy.sh doesn't have any sort of image file allocated to it. It's restored from snapshot only. So neither rebooting, nor shutting down can happen ever. Period., as there is no way to boot back up with no allocated drive. The reason why I'm talking about another Javascript project to run Windows is since this Windows 95 in an app program is based mainly off of v86 (or copy.sh), as shown by the developer over at the README. See image below. image And, since he took the code from that to use here, Windows 95's reboot implementation won't work for the reason that since it can neither reboot nor shutdown to begin with, code to make this happen is not added in, despite this Windows 95 app having a .img file allocated to it. This might've been since the developer of this program didn't know how to/didn't want to implement the shutdown & rebooting feature, as this really is only a concept.

Since that's now out of the way, feel free to close this issue.

Pixelsuft commented 3 years ago

I'm don't know how, but I found fix for Windows 95 shutdown. Just start ms-dos, press alt+enter (to go fullscreen), then type 'exit' to close it. Now shutdown works! img

Update: Maybe It's again VBE9X problem? on Windows 98 no VBE driver, and shutdown working

Pixelsuft commented 3 years ago

Oh, CPU hlt after shutdown, I had this problem when created site with systems year ago, I fixed It. But in new v86 with wasm support version, it is fixed

Pixelsuft commented 3 years ago

Nooo, Problem 2 after restart: image