copy / v86

x86 PC emulator and x86-to-wasm JIT, running in the browser
https://copy.sh/v86/
BSD 2-Clause "Simplified" License
19.65k stars 1.38k forks source link

Alternative vgabios supported on V86 too #457

Open proxy-m opened 3 years ago

proxy-m commented 3 years ago

https://github.com/proxy-m/vgabios

You need only core seabios part in addition to it.

proxy-m commented 3 years ago

It is intended to simplify tests and fixies to vga/svga/vesa/fb/x11 bugs https://github.com/copy/v86/issues/453

proxy-m commented 3 years ago

I have now on branch special_buggy_122_for_v86 build of VGABIOS-lgpl-latest.bin (and compatible binary seabios_2012.bin).

It allows me to use custom high vga text resolution 120x50 by mode 0x22 (0x122 for linux 2.6 kernel). You can call it by vga=0x122 or find after vga=ask + vga=scan to kernel, or other way.

I think it must not work, because bochs shows broken scanlines height for such registers, but it works on v86. You can see last changes on git. (Bochs works correct with main branch instead).

Is it problem with vga registers, which I created, or is it problem with v86 vga js?

P.S.: Anyway I got solution, thank you, but buggy. ;-)