Coder Social home page Coder Social logo

zip file structure about js-dos HOT 4 CLOSED

caiiiycuk avatar caiiiycuk commented on May 20, 2024
zip file structure

from js-dos.

Comments (4)

caiiiycuk avatar caiiiycuk commented on May 20, 2024 1

js-dos should respect file structure from archive. Try to double check files, filenames should have exact match. FS is case sensetive. From your link, you tried to run ./BIN/QBX.EXE, but actual file is: BC7/BIN/QBX.EXE.

from js-dos.

Nikomaru avatar Nikomaru commented on May 20, 2024

Hmm. After double checking (in Chromium) the developer view, I see that yes, indeed, js-dos goes through the entire zip extracts everything. Then loads the appropriate file. I'm however getting some "uncaught ReferenceError: $st is not defined" at line 168 of the js-dos-api.

Module.prototype.print = function(text) {
text = Array.prototype.slice.call(arguments).join(' ');
return typeof console !== "undefined" && console !== null ? typeof console.log === "function" ? console.log(text) : void 0 : void 0;
};

I have no skill in this area. Looks like it's doing it's job and I should try a different browser.

from js-dos.

Nikomaru avatar Nikomaru commented on May 20, 2024

Firefox is giving me a type error:

TypeError: asm.js type error: Disabled by debugger js-dos-api.js

Sorry if this isn't very helpful. I didn't do any crazy stuff with the api. It just doesn't run the program with its dependencies, I guess.

I'm loath to throw this out there, but if it helps to take a look: http://nikomaru.tripod.com/js-dosbox.html

from js-dos.

Nikomaru avatar Nikomaru commented on May 20, 2024

Okay. That was a little confusing. Looking at my zip, I see I messed it up by putting everything in a folder a the top level. Didn't even notice! And here I was thinking I was following the api with the proper location path string.
Thanks for your time!

from js-dos.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.