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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by sarnath

  1. sarnath

    Heeeelp!

    http://developer.intel.com/ - Search for Manuals http://www.x86.org http://www.sandpile.org Do not rejoice that ur code works. it might be a special case of an error :-(
  2. sarnath

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

    http://www.angelfire.com/myband/unix/os.htm Do not rejoice that ur code works. it might be a special case of an error :-(
  3. sarnath

    Fooling the disk change line

    I hope ur problem arises because of 2 OSes.If u read and write via 1 OS, then caching should not be a problem. But since u r write for One OS and read from Other, the problem persists. Try to do both reads and writes via a single OS. Thats the solution. Otherwise, probablu u may need to...
  4. sarnath

    PowerPC architecture - any good links ?

    Guys, Any1 aware of good web-sites for learning powerPC architecture and assembly lanugage progamming. Thanx in advance sarnath Do not rejoice that ur code works. it might be a special case of an error :-(
  5. sarnath

    What all I have to do to run C applications in 8086 system without OS

    Hey, Just compile "C" code (statically along with library ). Link it using LD as a "BINARY' and relocate the code address( say 0x1000 ) appropriartely.. Now load ur C code into the empty 8086 machine at address 0x1000. Note: u need to initialize segment registers as...
  6. sarnath

    Cooperative vs. Pre-emptive multitasking (bit of a rant)

    I honour ur views but i dont agree with them. Fine, All the best for ur OS adventures. ciao Sarnath Do not rejoice that ur code works. it might be a special case of an error :-(
  7. sarnath

    Cooperative vs. Pre-emptive multitasking (bit of a rant)

    Hey AMKG, This is really interesting.. It is like "Monkey -> Man" and then "Man -> Monkey". Appln programs can't be expected to be innocent. If u release an OS with appln having more responsibilities, i agree everything would be fast.. But how about security...
  8. sarnath

    32-bit addressing(base and offset-problems)

    That simply means that u haven't coded properly. Do not rejoice that ur code works. it might be a special case of an error :-(
  9. sarnath

    32-bit addressing(base and offset-problems)

    Ekanth, I fear u have mis-understood PM address genereation Its is not like seg-offset addressing. I'll put it crisply. 1. I dont find a LGDT instruction in ur code. Thats the first problem. ( If u r using MASM in DOS, then u need to explicitly use a .386p directive. otherwise MASM wont...
  10. sarnath

    Linkin C and Assembly Files

    Ok sir! Do not rejoice that ur code works. it might be a special case of an error :-(
  11. sarnath

    Linkin C and Assembly Files

    Hey ekaanth, Try doing ur kernel as an ELF image. I m not sure how complicated loading would be then. But When u r an ELF, u will have lot of advantages like, u can make Page-level protection for ur code, and RODATA (read-only data) etc.. (trapping of bugs in kernel code can b done in early...
  12. sarnath

    Linkin C and Assembly Files

    Ekaanth, Compiler ur C code into Binary. U can use gcc/ld which would be a very powerful tool to do all such work. Ur Entry Point in the "C" code should know about certain things. For exp, it might need to asssume that PM and paging are already setup. Ur memory map during bootup...
  13. sarnath

    kernel 16 bit or 32 bit

    Hi Ekaanth, ( Tamilian ?? ) Writing a PM boot strap should b cool yaar. Let ur BootSector load 3 sectors at a time into real memory, then switch to PM swapout the memory into wherever u wanna ur kernel to load and then return back and continue with it.. If u want a code to beleive it, u...
  14. sarnath

    New to Assembly

    Hey , DOnt take peter abbel.. Its not for beginners, altho he may claim so.. I think u can study a book on assemblers..( Leyland Beck's system software book.) and then get on to PeterNorton. Else Take "Art of assembly" => Thats the most fantastic i had ever seen Do not...
  15. sarnath

    Cooperative vs. Pre-emptive multitasking (bit of a rant)

    An OS standard ?!?! Have u ever tried reading the POSIX ? If u dont have protection in place, any APP program can crash ur kernel. Whats the fun in doing such a kernel ? I dont really understand that part. Is it intended to be a RT-OS ? I think probably u need to read a OS text book. Jus...

Part and Inventory Search

Back
Top