okesity / s22-os-p1 Goto Github PK
View Code? Open in Web Editor NEWDrivers
Drivers
/** @mainpage 15-410 Project 1 @author Di Hu ([email protected]) - Link: https://www.cs.cmu.edu/~410/p1/proj1.html The main task for P1 is to develop a game called Adventure The Game part is already given, the rest of the task is to develop keyboard, timer and console drivers 1. Console - the console display is controlled by a region of memory through MMIO - the cursor is controlled by CRTC through IO ports 2. Timer - the timer is interrupt driven, communicated through IO ports - for this task, the timer is configured to fire an interrupt every 10 milliseconds 3. Keyboard - the keyboard is also interrupt driven through IO ports - on the keyboard interrupt, a one-byte scan code will be read from keyboard port and stored in a ring buffer defined in `keyboard.c`. - the ring buffer has two indexes, the read index `rd_index` and write index `wr_index` when there is no data in the buffer, rd_index == wr_index - the indexes always increment. When they reach the end of the buffer, it is reset to 0 */
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.