project part 4, C prog

In this project you just have to send me the code you will put in io.h and io.c, keeping in mind the information given, then I will put it in the files I have and test it if it works, this is the part 4 of a project.

I did this project in OS called CentOS,

1) Make a folder called io. Inside io you will have two files. One will be io.h that contains the following:

The function header for an inb function we will use to capture input. The header definition will be

unsigned char inb(unsigned short int port);

and a scan function with a header defined as

unsigned char scan(void);

You will also need to include the character byte map which you can get from the following URL

[login to view URL]~mckeep82/os/my_os/io.h

2) Generate a new file called io.c that will implement the two functions from io.h

The implementation of inb is the same as we learned in class except instead of using uint16_t you will use unsigned short int and instead of uint8_t you will use unsigned char.

The implementation of scan is in the following file:

[login to view URL]~mckeep82/os/my_os/io.c (Links to an external site.)

3) Alter your kernel.c to now capture input by using the following code:

unsigned char byte;

while (1) {

while( byte = scan()) {




4) At this point you should now have a crude typing ability in your console to put letters onto the screen. If so, good! If not, reach out to me and we can figure out what went wrong.

5) Your goal here is to capture input UNTIL you get input from the user that says "exit". Once the user types in "exit" print a good bye message and return from the main function inside kernel.c

6) If the user types in SO MANY characters that you go OFF the screen, then perform a shift so that you can continue typing on the last line.

Once you have successfully captured the ability to exit your shell and have a working shift, you're done!

This is kernel.c I've uploaded it here, its mentioned in the information, so you can make the required Changes in kernel.c and then I can update it accordingly in my original file I've attached it here.

Kemahiran: Pengaturcaraan C

Lihat lagi: c coding project needs small change in coding today, c++ coding project needs small change in coding today !!, hello i am very interested in your project please consider my bid and send me the details related to your project i was paying l, online learn c++ programming complete version in just 3 hours udemy, You may work in the same teams as you did the in-class presentations. The project must be done in C/C++ in a Linux or Unix envi, convert vb project to c# in visual studio 2017, mini project on scientific calculator in c++, project euler problem 8 in c, micro project for computer graphics in c, 4*4 matrix program in c, project euler problem 5 in c, project euler problem 1 in c, hiring foreign workers in just 4 steps, project euler problem 3 in c, c# interfaces in separate project, compiler design project with source code in c, project report on calendar in c++, word 2016 in practice - ch 4 independent project 4-4, word 2016 in practice- ch. 4 guided project 4-2, excel 2016 in practice - ch 4 guided project 4-3

Tentang Majikan:
( 2 ulasan ) Sewell, United States

ID Projek: #30143759

4 pekerja bebas membida secara purata $13 untuk pekerjaan ini


Greetings I saw your project and as an expert in C/C++ language I am sure I can do your task. I have previously worked on various C projects which includes making games, management systems projects and C is my primary Lagi

$15 USD dalam sehari
(36 Ulasan)

Hello Sir/ Ma’am A skilled full stack developer, I have rich experience in JAVA,C, C++, C#, Python, .NET , MYSQL, SQL, IONIC , MATLAB, ANDROID,PHP and ARDUINO. I am very confident with my skills and I'd like to hel Lagi

$15 USD dalam sehari
(17 Ulasan)

C: [login to view URL] Data Structures and Algorithms: [login to view URL] Problem Solving (Competitive Programming): [login to view URL]

$12 USD dalam sehari
(29 Ulasan)

Hi There...! Note : I give you 25% off on my all services. So grabs this special limited discount offer. Let’s get to the Project. I came to know that your Looking a developer which have rich knowledge about websit Lagi

$10 USD dalam sehari
(0 Ulasan)