caiiiycuk / js-dos

The best API for running dos programs in browser

Home Page:https://js-dos.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Freeze after 1 second of jsdos loading

mho22 opened this issue · comments

I tried this with doom.jsdos or even digger.jsdos and no matter what. It seems like JSDos freezes 1 second after launch. If I decide to go to another tab and come back, it runs again. Like it unfocuses logically after launch. I am using VueJS, this could be the reason maybe :

<script setup>

import { onMounted } from 'vue';
import '/public/js-dos/js-dos';

onMounted( () =>
{
    emulators.pathPrefix = 'js-dos/';

    const root = document.getElementById( 'js-dos' );

    const options = {};

    Dos( root, options ).run( 'doom.jsdos' );
});

<template>

    <div id="js-dos" />

</template>

It was due to the hidden message about the mouse. It was somehow hidden. Strange. Closed.

It was due to the hidden message about the mouse. It was somehow hidden. Strange. Closed.

Yeah, this message is annoying, probably it's better to remove it. Also do you want to try 8.xx?

I would be glad to try it, I dove into the repo but it was not easy to understand. Do you have a documentation link for version 8.xx ?

You are right, there is no docs yet. I need to wirte something asap, cause 8.xx is already pretty good. Will try to do it in a week. You mostly interested in running js-dos bundles?

@caiiiycuk Firstly, yes. Could you provide some insights for version 8.xx? Perhaps direct me to a file in the repository that I could concentrate on to make it compatible with Vue on my end? I wouldn't pressure you to hastily write documentation.

@caiiiycuk Firstly, yes. Could you provide some insights for version 8.xx? Perhaps direct me to a file in the repository that I could concentrate on to make it compatible with Vue on my end? I wouldn't pressure you to hastily write documentation.

Just deployed a small part of documentation, but good to start https://js-dos.com/overview.html