Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Interaction between page and simulated PC #5

Open
dluciv opened this issue Jul 14, 2014 · 5 comments
Open

Interaction between page and simulated PC #5

dluciv opened this issue Jul 14, 2014 · 5 comments

Comments

@dluciv
Copy link

dluciv commented Jul 14, 2014

First, it is Amazing! Great work. Thank you very much, it is the best web x86 simulator I have ever seen, really. Runs well enough on a netbook with Atom N270 CPU, nothing else to wish =).

I would like to propose 2 features.

  1. Highlevel JS API to simulate keyboard events using characters or scancodes. Will be useful to create simulators running on devices with touchscreens.
  2. Some API to interact with simulator. Preferably virtual auxilary port which can be handled in JS or something like it, so software inside simulator can interact with surrounding web page. There is a lot of great DOS software using fax-modems or even null-modems, but now all those programs are "ex-communicated". Providing such a feature can help to link them again.
@jywarren
Copy link

I love this - I was thinking of it could be implemented also by mounting a kind of virtual floppy disk, which when ejected would offer the user a downloadable image of the disk.

@jywarren
Copy link

Ah, perhaps this process shows how to mount a disk at boot time?

#2 (comment)

@jywarren
Copy link

Hmm, indeed more info here on mounting disk images: https://www.npmjs.com/package/pcejs-macplus

I guess this can be used to mount any floppy from a .ROM file?

@jywarren
Copy link

jywarren commented May 7, 2020

Coming back here after a long time, it looks like this page is set up to do this from a live web instance of pce.js running a Mac Plus: https://hypercardadventures.com/

image

https://github.com/DrJosh9000/pce

I'm also interested in how to /download/ files from a disk that's been mounted in the OS. Just posted in this issue:

#20

@dluciv
Copy link
Author

dluciv commented May 8, 2020

Wow, that's cool. Interesting to see!

I guess mapping file data onto memory disk image with some simple FS can be simpler than implementing somewhat like auxillary port. Although I do not know how they pause simulator, eject disks to modify them, etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants