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 Mike Lewis 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. ekanth

    Incrementing a 64-bit memory location in assembly

    Thanks AmkG for the info. But this is the option I have mentioned. Is there a way to do in single shot, an instruction that could do this? Thanks and Regards Ekanth Sethuramalingam [thumbsup2] Treat the daily build of a project as the heartbeat of the project. If there's no heartbeat the project...
  2. ekanth

    Incrementing a 64-bit memory location in assembly

    Hai all, I need to maintain a value in memory which can overflow at a very fast rate. So I need it to be a 64-bit value. I will have to increment it for every timer interrupt(to put it simply, at a very fast rate say some 20 or 30 times a second) and the system will run continuoulsy for days...
  3. ekanth

    C book

    Hello, But there are standards in C like the ANSI and K&R standard. Each standard has few special features that mostly depend on the platform and some 'simply standards'. But as a basic programmer you dont find any difference in C programming. When you go advanced you will find the...
  4. ekanth

    Stack Setup in Operating Systems

    I'm on the way developing my own OS. How should I setup stack in an Operating System? If an user process is to be initiated should I know it should have a separate stack from the kernel's one. But the thing is that should I need to have different stack between user processes. If so what could be...
  5. ekanth

    Operating System Programming: Boot + Kernel??? Only EXPERTS

    I understand that you want to jump to a code after your boot code. You can very well do this in real mode. You load the code from floppy using BIOS interrupts and then jump to the code. You can get a sample code at http://www.geocities.com/stupidosproject Regards Ekanth Treat the daily build of...
  6. ekanth

    C book

    Search for e-books with file-sharing utilites (like Morpheus, WinMx). E-books like what you require are almost illegal. You cannot get them for free. Try it... Treat the daily build of a project as the heartbeat of the project. If there's no heartbeat the project is dead.
  7. ekanth

    How to write the operators (modulo)% and (div) / in C???

    Redefine your problem in a clear understandable way. Thats really funny (i mean the code snippet).:-) Treat the daily build of a project as the heartbeat of the project. If there's no heartbeat the project is dead.
  8. ekanth

    Obsurd function in MINIX???

    We could understand that it is recursive but the thing is how will this function work? Andy Tannenbaum uses this function to print characters from the printf function of the stdio.h library. There must be something else other than just being recursive in this case atleast... Ekanth Treat the...
  9. ekanth

    Obsurd function in MINIX???

    there is a file named putc.c in lib directory within src directory of MINIX source. It has a function named putc which is used by printf of stdio.h. It goes like this #include <stdio.h> int (putc)(int c, FILE *stream) { return putc(c, stream); } Could anyone explain what this does. We...
  10. ekanth

    POSIX links...?

    Can anyone suggest me a weblink where I could get the POSIX standards documents. Ekanth Treat the daily build of a project as the heartbeat of the project. If there's no heartbeat the project is dead.
  11. ekanth

    c under unix

    Hope this would help des12...try scanning the file char by char...i mean read the file character by character and write it to a new file...check if the character is '/'... Case 1 : if the next character is '*' then don't dont write characters that follow till you encounter a '*' followed by '/'...
  12. ekanth

    extern poses a problem for me!!!

    Hai, This doubt may seem absurd for many of you but I think it really has a point. I've always wondered with programmers' usage of the 'extern'. I just want to make clear when to and where to use extern. Sometimes programmers use extern in a file X to refer to a variable declared in a...
  13. ekanth

    linking C and Assembly(NASM) - A problem

    Hai, I just had a problem with linking C and assembly in Linux. I use NASM, gcc and ld for my job. I have an assembly program which calls the C program with a call to main like 'call _main' I want the program to start its execution from the assembly code and then switch to C. So I...
  14. ekanth

    OS Dev...static compilation with in built libs

    Hello When you write code for OS why do you rewrite everything like print function again in C. Cant we use the existing C functions and link the exe statically and convert them into binary file. Why do we do it the other way. Regards Ekanth
  15. ekanth

    switching to protected mode using C

    We did PM switch in Asm...Help us to load IDT in C atleast...What are the things to be done before switching to C while developing an OS(should any libraries or headers be written?)...Help Ekanth
  16. ekanth

    I was wondering if anyone could tel

    Hey, You just gotta know one thing yaar...Its all what we implemented...Stack is something we defined and we're using it...its so easy to violate it and access the stack from anywhere...As you said its for school i'll say something else -LIFO(Last In First Out) -Recursion uses stacks for...
  17. ekanth

    Where I could find info about Windows ASM

    You could also try NASM which also comes in three structures. One 16-bit for DOS, another 32-bit for Windows and last for Linux... That's a pretty great assembler... Try it... Regards, Ekanth
  18. ekanth

    32-bit addressing(base and offset-problems)

    Hello, Thanx anyway. Its OK. We did it all fine. Now we have another problem with idt. Our problem is we loaded the idt into memory and idtr with the value. Now when i raise an interrupt, it isn't routed to its handler(i've written a common handler for all interrupts) but the system reboots...
  19. ekanth

    32-bit addressing(base and offset-problems)

    hello, We've written code to switch to protected mode. We enabled the A20 line, set the cr0 bit... But when a jump is given to the protected mode code and for clearing the prefetch queue, the system goes without response. We dunno whether our jump reached the correct place. We tried the...
  20. ekanth

    Linkin C and Assembly Files

    Sarnath, Its not ekaanth, its ekanth...

Part and Inventory Search

Back
Top