Skip to content

Few questions about code #1

@FFFFFFFANG1

Description

@FFFFFFFANG1

Hi, I'm a junior student majored in ECE in UIUC. I just finished my 391 in fall and I want to upload it to a website as you did. But I encountered several problems now. I will be really grateful if you could help me to work it out :)

  1. May I know where I can download this font? In demo.html:
@font-face
    {
        font-family: "Web IBM VGA 8x16";
        src: url("./demo/web_ibm_vga_8x16.woff") format("woff");
    }
  1. I have modified the v86 emulator like this, but the emulator didn't show up when I open the demo.html. I wonder what else should I modify, or maybe there are other actions I missed? I have already downloaded libv86.js and v86.wasm

<script src="../libv86.js"></script>
<script>
    "use strict";
    window.onload = function()
    {
        var emulator = window.emulator = new V86Starter({
            wasm_path: "../v86.wasm",
            memory_size: 32 * 1024 * 1024,
            vga_memory_size: 4 * 1024,
            screen_container: document.getElementById("screen_container"),
            bios: {
                url: "../v86/bios/seabios.bin",
            },
            vga_bios: {
                url: "../v86/bios/vgabios.bin",
            },
            hda: {
                url: "../v86/mp3.img",
            },
            autostart: true,
        });
    }

Thanks a lot for your help!

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions