Giter VIP home page Giter VIP logo

c8vm's People

Contributors

urain39 avatar uzilla avatar

Watchers

 avatar

c8vm's Issues

关于模拟时钟频率部分的实现

cpu_run()函数应该包含一个clock_cycles参数,包含每秒运行的指令周期数。其中clock_cycles经cpu_run()函数调用应该赋值在cpu.clock_cycles上,指令具体实现对clock_cycles的递减与当clock_cycles小于等于0时主线程调用sleep休眠1秒。

关于中断向量表

c8vm中所有的中断都是软中断

中断具体实现从地址0x2000开始,到0x3FFF结束(8KB)
其中前512个字节为软中断向量表,每个向量占2个字节,指向中断的具体实现

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.