08-11-2010
Quote:
Originally Posted by
Hoonathan
1. How do I start building the kernal? Is there a program i use to create it?
With a design. I'd suggest reading something like
Tanenbaums Modern Operating Systems.
Quote:
Originally Posted by
Hoonathan
2. What programs will I need to create this operating system?
And editor, and a compilation toolchain.
Quote:
Originally Posted by
Hoonathan
3. what languages will I need to learn? I looked this part up and found I will have to learn c+, C++ and maybe C#.
Maybe C, and definitely the assembler dialect spoken by the platform you're programming for. C++ is more for user space, and C# needs an underlying VM to run.
I'd suggest, aside from the Tanenbaum, that you take a look at the sources for (at least one of) the
Linux kernel,
Minix3 (which was written as a teaching OS),
FreeBSD, or
KolibriOS.
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I need the Unix operating system on disc as im new to unix. Im studying unix and x windows next year at Sheffield University and would like to get a head start.
Any suggestions would be appreciated (2 Replies)
Discussion started by: jeffersno1
2 Replies
2. UNIX for Dummies Questions & Answers
Which is much more powerful as an operating system:
1. Windows 2000
2. Windows 98
3. Windows XP
4. Windows ME
5. Unix
6. Linux
and why is it much more powerful than the other operating systems that i have mentioned.
thanks for your info... (1 Reply)
Discussion started by: alecks1975
1 Replies
3. Filesystems, Disks and Memory
Would any of your gentlemen have come across a decent reference for the FOS in your wanderings? Brocade just seems to want to sell me classes and FAN books :/ (0 Replies)
Discussion started by: Eronysis
0 Replies
4. UNIX for Dummies Questions & Answers
Hi,
I have a build script in perl to build projects in my team.It is using MakeMaker.I have a problem now.When I build a project and a tarball is created,I untar the tarball to get the files.Now the files have "rwx-r_x-r_x" permssions. While I want "rwx-rwx-rwx" for all files. i am not too sure... (0 Replies)
Discussion started by: abhinavsinha
0 Replies
5. Solaris
hi guys,
its been a while since my last visit here,
could not keep up the pace on this ever changing industry :)
i'd just doing my home research under vmware to make a solaris-based router-firewall using zones - doing a lot of reading about zones & review solaris zone functionality.
and... (4 Replies)
Discussion started by: stdout
4 Replies
6. Homework & Coursework Questions
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
Write a C program that accepts 3 parameters. Each parameter indicates the quantity of product to be
produced.... (1 Reply)
Discussion started by: paradise
1 Replies
7. UNIX for Advanced & Expert Users
Hello All,
I want to install Linux on my machine, so please tell me one thing which is the best to install-
1.)Red Hat
2.)Cent OS
3.)Red Hat
4.)Ubuntu
5.)Fedora
except that if there is any please tell me. (1 Reply)
Discussion started by: parthmittal2007
1 Replies
8. UNIX for Advanced & Expert Users
Can we know the operating given the IP address or DNS of the host.
All I have is
file://myserver/myapp (4 Replies)
Discussion started by: mohtashims
4 Replies
9. UNIX and Linux Applications
Anyone know anything about "Advanced Plus Operating Environment".
Preferably release 10 Revision 522Gcd probably dated 2003. (4 Replies)
Discussion started by: jgt
4 Replies
LEARN ABOUT CENTOS
select_mouse_cursor
select_mouse_cursor(3alleg4) Allegro manual select_mouse_cursor(3alleg4)
NAME
select_mouse_cursor - Tells Allegro to select software or hardware cursor drawing.
SYNOPSIS
#include <allegro.h>
void select_mouse_cursor(int cursor);
DESCRIPTION
This function allows you to use the operating system's native mouse cursors rather than some custom cursor. You will need to enable this
functionality by calling enable_hardware_cursor() beforehand. If the operating system does not support this functionality, or if it has not
been enabled, then Allegro will substitute its own cursor images. You can change these substitute images using set_mouse_cursor_bitmap().
Note that the effects of this function are not apparent until show_mouse() is called.
To know whether the operating system's native cursor is being used, or if Allegro has made a substitution, you can check the GFX_SYS-
TEM_CURSOR flag in gfx_capabilities after calling show_mouse().
The cursor argument selects the type of cursor to be displayed:
MOUSE_CURSOR_NONE Selects an invisible mouse cursor. In that sense, it is similar to calling show_mouse(NULL);
MOUSE_CURSOR_ALLEGRO Selects the custom Allegro cursor, i.e. the one that you set with set_mouse_sprite().
MOUSE_CURSOR_ARROW The operating system default arrow cursor.
MOUSE_CURSOR_BUSY The operating system default `busy' cursor (hourglass).
MOUSE_CURSOR_QUESTION The operating system default `question' cursor (arrow with question mark).
MOUSE_CURSOR_EDIT The operating system default `edit' cursor (vertical bar).
Example:
/* initialize mouse sub-system */
install_mouse();
enable_hardware_cursor();
/* Set busy pointer */
select_mouse_cursor(MOUSE_CURSOR_BUSY);
show_mouse(screen);
/* Initialize stuff */
...
/* Set normal arrow pointer */
select_mouse_cursor(MOUSE_CURSOR_ARROW);
SEE ALSO
install_mouse(3alleg4), show_mouse(3alleg4), set_mouse_sprite(3alleg4), gfx_capabilities(3alleg4), enable_hardware_cursor(3alleg4),
set_mouse_cursor_bitmap(3alleg4), show_os_cursor(3alleg4), exsyscur(3alleg4)
Allegro version 4.4.2 select_mouse_cursor(3alleg4)