Hey,
I have linux on my PC and I am reading the freebsd handbook and I can't figure out how to get the bootloader to boot linux along with dos and freebsd.
Anyone have any idea how to do it ?
Hi, I am trying to write a simple socket - send and reciive function to port 80.
Here is the code :
// Socket to test http port
// let us have some global variables
#include <stdio.h>
#include <fcntl.h>
#include <sys/socket.h>
#include <sys/types.h>
#include <netdb.h>
#include <netinet/in.h>...
Hi,
I was just trying to do
asm {
mov ah, 0x00
mov ax, 0x13
int 0x10
}
It looks as though I don't have to set ah to 0, to make it work but yet I see all the codes setting ah to 0.
Could anyone please explain why I don't have to set ah to 0 and why do everyone do it when its not...
1) Rather than DIrectX I suggest OpenGL - its much easier to understand.
2) I sure hope you know analytical geometry in 3 dimensions - a lot of use of this.
3) If you don't know the basics of loading the polygon and rotating - you won't understand texture mapping.
A good place to get started...
1) Rather that DIrectX I suggest OpenGL - its much easier to understand.
2) I sure hope you know analytical geometry in 3 dimensions - a lot of use of this.
3) If you don't know the basics of loading the polygon and rotating - you won't understand texture mapping.
A good place to get started...
Hi,
I don't think that will work. You could have a look into open command - it should be able to open the tty's(/dev/ttyS1 - com2) from where you can read or write.
You should look at the man pages(man open).
Hi,
I don't have the patience to explain the whole code but the code is very straight forward and easy to understand.
There are many different ways to do the same thing.
If you tell us which part you did not understand then it would be easier to help you.
Regarding the struct - its to hold...
Assmebly is not a necessity but if you want to take advantage of MMX etc you need to know it.
You need to know pointers in and out, but start with cout << "hello world"; simpler and build on the basics.
Have a look at Windows Game programming for dummies and Trick of the Windows Game...
int xyz(char *line)
int index;
for(index = 0; index < strlen(line); index++)
{
if( line[index] = ' ')
{
return 1;
}
}
return 0;
I think this should work.
use the pragma statement
#pragma comment(lib, "PATH")
Eg:- If I want to link ddraw.lib using Borland compiler which is in my F: drvie I do
#pragma comment(lib, "F:\dx5sdk\sdk\lib\borland\ddraw.lib)
Now compile.
Thats all
Requirements:
Lot of hard work and patience as you rewrite a lot at the beginning.
A good knowledge of graphics and gaming in general is required. Also be ready to be criticised as to something is not good and don't try to please everyone.
Books : go to www.gamedev.net - somme good books are...
Hey zBuilder and Nosfaratu,
Thanks, got it working now.
Now I am wondering how to do it in Linux console. Tried the same thing but it prints [[c, ]]d, etc. The scancodes are different or is it the code ?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.