Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Andrzejek on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. newbieatassembly

    MS Access books

    Hi, I am looking for some good MS Access books for a beginner in MS Access. I would like to make a good choice. Any help is appreciated. Thank you.
  2. newbieatassembly

    freebsd bootloader

    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 ?
  3. newbieatassembly

    bsd sockets

    Well hmm I got it - it should have been FD_SET and not FD_ISSET. Thank you
  4. newbieatassembly

    bsd sockets

    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>...
  5. newbieatassembly

    ah and al registers query

    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...
  6. newbieatassembly

    Palette

    Use double buffering technique or page flipping.
  7. newbieatassembly

    Erm...why doesn't this work?

    I think $#files should be files[$#] I think, haven;t done perl from a long time :-).
  8. newbieatassembly

    Advanced: Could you help me do 3d rotating, polygon, texture mapping?

    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...
  9. newbieatassembly

    Advanced: Could you help me do 3d rotating, polygon, texture mapping?

    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...
  10. newbieatassembly

    Will code to run com 2 in linux work?

    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).
  11. newbieatassembly

    Bit of a challenge - Tic Tac Toe

    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...
  12. newbieatassembly

    A general question...

    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 << &quot;hello world&quot;; simpler and build on the basics. Have a look at Windows Game programming for dummies and Trick of the Windows Game...
  13. newbieatassembly

    string manipulation

    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.
  14. newbieatassembly

    linking a .lib in a project

    A typo - it is #pragma comment(lib, &quot;PATH&quot;) I fogot to close the quote.
  15. newbieatassembly

    linking a .lib in a project

    use the pragma statement #pragma comment(lib, &quot;PATH&quot;) Eg:- If I want to link ddraw.lib using Borland compiler which is in my F: drvie I do #pragma comment(lib, &quot;F:\dx5sdk\sdk\lib\borland\ddraw.lib) Now compile. Thats all
  16. newbieatassembly

    A general question...

    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...
  17. newbieatassembly

    gcc compiler

    If you want it to create a .o file do gcc -c filename.c, it will create filename.o. (Use g++ instead of gcc for c++ files)
  18. newbieatassembly

    Using keyboard routines in C

    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 ?
  19. newbieatassembly

    what about fstreams

    Hi, The following works on unix // Change quotes to &quot;<>&quot; #include &quot;fstream.h&quot; int main() { char *input; ifstream testFile(&quot;test.txt&quot;, ios::in); if(!testFile) { cerr << &quot;.........&quot; << endl; exit(1); } while(testFile >>...

Part and Inventory Search

Back
Top