v86 icon indicating copy to clipboard operation
v86 copied to clipboard

Newcomer issues

Open copy opened this issue 3 years ago • 1 comments

  • ~~copy/v86#431~~
  • ~~copy/v86#333 (add a mute button and/or fix the "requires a gesture" warning).~~ A volume selector would also be nice.
  • ~~There's a minor issue where holding down and moving the mouse on the screen selects text outside of the screen on Firefox~~
  • ~~Retry XHR requests that fail with 5xx or time out, with exponential backoff~~
  • Add configuration via url parameters (https://github.com/copy/v86/issues/448#issuecomment-827853805)
  • ~~Non-integer scalings look pixelated in Chromium~~
  • ~~https://github.com/copy/v86/issues/441~~
  • ~~https://github.com/copy/v86/issues/659~~
  • Expose some constants as runtime flags (e.g. https://github.com/copy/v86/blob/adb17b7/src/rust/config.rs#L2 https://github.com/copy/v86/blob/0a359a2/src/rust/jit.rs#L328 -> ?jit_disable=1&jit_max_pages=1)

Some more tricky ones:

  • copy/v86#405 (virtio-tablet would be interesting)
  • Port something from JS to Rust (see 03d6595b6d165902b3109985b47619dd1121aeb3, 50ce7525fab5059bac1d0e37045f9b5c265ba885 for an example)
    • apic.js
    • pit.js
    • rtc.js
  • copy/v86#54
  • ~~Mousewheel support in the ps2 code~~
  • https://github.com/copy/v86/issues/652 / https://github.com/copy/v86/issues/610
  • https://github.com/copy/v86/issues/591
  • https://github.com/copy/v86/issues/262 (also affects iOS)
  • Better touch support (scale the screen to the browser width, pinch-to-zoom, double-tab for right click) (#275, #386, #584)
  • In-place writes to disk images (i.e., a user selects a local foo.img, and changes in the VM are directly written to that file), see https://web.dev/file-system-access/ (#396)

Very difficult:

  • ~~https://github.com/copy/v86/issues/97 (prerequisite to x86_64)~~
  • https://github.com/copy/v86/issues/133
    • See https://github.com/copy/v86/issues/648#issuecomment-1119820520 for some ideas
  • Improve the performance of the generated code or the jit (e.g., adopt https://github.com/copy/v86/pull/466)
  • Implement a linux user-mode: https://github.com/copy/v86/issues/626#issuecomment-1048673553

copy avatar Oct 07 '21 20:10 copy

I will try to attack these issues :D

ShuoZheLi avatar Oct 08 '21 05:10 ShuoZheLi

Hi, my name is Koshik and I am a student at UT Austin. I'd like to work on this issue (Exposing some constants as run-time flags) as part of my virtualization class assignment. I see that src/cpu.js is calling the function in cpu.rs and I need to pass the parameter parsed by get_query_arguments. Do you have any example where a run-time flag is passed from a JS source file?

kmahapatra530 avatar Apr 26 '23 01:04 kmahapatra530