zoukankan      html  css  js  c++  java
  • 操作系统:Bochs 2.6.8的配置文件bochsrc.bxrc修改

    由于现在Bochs 2.6.8相比之前有些改动,之前的配置文件不能直接运行,针对配置文件需要有些修改。

    1. 配置文件

    ###############################################################
    # bochsrc.bxrc file for Finix.
    ###############################################################
    
    # how much memory the emulated machine will have
    megs: 32
    
    # filename of ROM images
    # BIOS已经修改,地址可以不加,可以根据文件大小进行推断,如里加地址要与文件大小相匹配
    romimage: file=$BXSHARE/BIOS-bochs-latest
    vgaromimage: file=$BXSHARE/VGABIOS-lgpl-latest
    
    # what disk images will be used 
    # 配置镜像名
    floppya: 1_44=Finix.IMG, status=inserted
    
    # choose the boot disk.
    boot: a
    
    # where do we send log messages?
    log: bochsout.txt
    
    # disable the mouse, since Finix is text only
    mouse: enabled=0
    
    # enable key mapping, using US layout as default.
    # 键盘的映射方式也改变了
    keyboard: keymap=$BXSHARE/keymaps/x11-pc-us.map

    2. 运行结果

    由于没有做清屏操作,会将原来的文字部分覆盖,不过没有关系,它已经可以运行了。



    3. 可能会遇到的问题

    ROM: System BIOS must end at 0xfffff

    keyboard_mapping' is deprecated - use 'keyboard' option instead

    keyboard directive malformed

    vgaromimage directive malformed

    以上问题都可以通过上面的配置文件解决。还有其他的疑问欢迎讨论!

    4. 参考

    参考文章



  • 相关阅读:
    网络配置
    mysql和mongodb的区别
    HTTP和HTTPS
    网络架构/结构
    SKU和SPU表的设计
    第三方-FastDFS分布式文件系统
    并发和并行
    多任务-线程、进程、协程的一些见解
    多任务-协程
    多任务-协程之生成器
  • 原文地址:https://www.cnblogs.com/furzoom/p/7710232.html
Copyright © 2011-2022 走看看