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.

Habilidades: Programação C

Veja mais: 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

Acerca do Empregador:
( 2 comentários ) Sewell, United States

ID do Projeto: #30143759

4 freelancers estão ofertando em média $13 nesse trabalho


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 Mais

$15 USD em 1 dia
(36 Comentários)

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 Mais

$15 USD em 1 dia
(17 Comentários)

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

$12 USD em 1 dia
(29 Comentários)

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 Mais

$10 USD em 1 dia
(0 Comentários)