Skip to content

preliminary v86 support - #94

Merged
db48x merged 6 commits into
db48x:masterfrom
asiekierka:v86
Jul 15, 2023
Merged

db48x merged 6 commits into
db48x:masterfrom
asiekierka:v86

Conversation

@asiekierka

Copy link
Copy Markdown
Collaborator

No description provided.

@db48x db48x left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like it!

Do you have an item uploaded to IA that we can test with?

Comment thread loader.js Resolved
Comment thread loader.js Resolved
@asiekierka
asiekierka marked this pull request as ready for review October 30, 2022 13:02
@asiekierka

Copy link
Copy Markdown
Collaborator Author

I've prepared a test item here - it's a simple (and freely redistributable) one for now, so FreeDOS!

v86.json should be something like this:

{
  "name": "v86",
  "scale": 1,
  "native_resolution": [
    800,
    600
  ],
  "peripherals": [
    "fda",
    "fdb",
    "hda",
    "hdb",
    "cdrom"
  ],
  "bios_filename": "seabios.bin",
  "vga_bios_filename": "vgabios.bin",
  "js_filename": "libv86.js.gz",
  "wasm_filename": "v86.wasm.gz"
}

Comment thread loader.js Resolved
@asiekierka

Copy link
Copy Markdown
Collaborator Author

This is preliminary support, but there are two other features I'd like to propose for consideration in the future - posting them here for now, can open issues for either:

  1. Using the fatfs library to create and/or manipulate FAT hard drive images in real time, allowing to expose ZIP files to virtual machines. (An alternate option could be generating an ISO9660 image, think genisoimage).
  2. If the Internet Archive supports them - exposing v86's support for streaming in hard drive data using the Range: HTTP header. For larger operating systems, a complete installation may easily become 100MB+ of data, a huge part of which will never be loaded by a given emulated environment. I've made a PR to v86 which fixes a performance flaw with this approach: Add support for fixed_chunk_size to async Range downloads. copy/v86#755

@upintheairsheep

Copy link
Copy Markdown

Let's get some more progress going on.

@upintheairsheep

Copy link
Copy Markdown

I guess this pull is dead.

@db48x

db48x commented Jul 15, 2023

Copy link
Copy Markdown
Owner

I have somehow ignored it for a while, but now that it’s summer I guess I haven’t any more excuses. I remember getting this set up for testing on IA, but I don’t recall if the tests worked. I’ll redo them.

@db48x

db48x commented Jul 15, 2023

Copy link
Copy Markdown
Owner

@db48x
db48x merged commit c33632e into db48x:master Jul 15, 2023
@upintheairsheep

Copy link
Copy Markdown

Can you please add the get hard drive/cd-rom/floppy image, memory dump, and network traffic and other options on the top of virtual x86 into a right click menu?

@upintheairsheep

upintheairsheep commented Jul 30, 2023 •

Copy link
Copy Markdown

The test item just broke

Edit: never mind. Just need external JS

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

Successfully merging this pull request may close these issues.

3 participants