operating-system

File I/O OS handling

This isn't a direct coding question but more of a OS handling mechanism. I was reading somebody's previous question regarding C# and file handling. Apparently C# was throwing an exception regarding a file being locked when trying to access this. So my question is, does C# use an internal lock to handle file I/O between processes, or does...

what happens when .NET Framework is not installed?

Hello. Does anyone know what error message will be displayed when someone tries to run an application developed using .NET on a computer where .NET Framework is not installed? ex) Windows XP original. will the error message tell you that .NET Framework is not installed? or will it not show any useful messages? ...

iPhone OS 4: New API

hi all, Apple announces the iPhone OS 4 with 1500 new API and some greater improvement I want to know the details the APIs. Features which are not being highlighted in press releases but might be very useful for Developer like Calendar, SMS, Photo library, Quick look etc Please provide a helpful link which provide the List of APIs ...

Operating System Development

Hi All I'm looking for any website(s) devoted and/or related to Operating System Development, and would love for you to kindly share any links you may have. I have searched myself, but keep winding up at the same old sites, and am wondering if there are others that just don't get noticed by the major search engines or something. I've ...

Which operating systems book should I go for?

Hi, I'm in a confusion. For our course (1 year ago) I used Stallings. I read it. It was fine. But I don't own any operating system's book. I want to buy a book on operating systems. I'm confused!! which one to pick? Modern Operating Systems (3rd Edition) ~ Andrew S. Tanenbaum (Author) Operating System Concepts ~ Abraham Silberschatz , ...

operating systems - TLBs

I'm trying to get my head round this (okay, tbh cramming a night before the exams :) but i can't figure out (nor find a good high level overview on the net) of this: 'page table entries can be mapped to more than one TLB entry.. if for example every page table entry is mappped to two TLB entries, this is know as 2-way set associative TL...

How can I open my application by default, if I click a URL through Browser in Symbian OS 5th ed

I want to open/start my application when a I click on a particular URL from the browser for Symbian OS Series60 5th edition.(So, if I click on a "station" Url, it will start my application & play through my player) Any possible way that I can get it to do this? ...

How to get Host OS (operating system) parameter of ZIP archive in C#

Look. I have ZIP archives prepared in different os'es: mac, linux, windows. In windows file names encoded in DOS CP866, mac & linux in UTF-8. I need to know (in code) in which os zip file was prepared to decode file names correctly. There is a Host OS paramterer in "Central directory structure" of zip file (look http://www.fileformat.inf...

how to Calculate number of address bits needed for memory?

Hi I am preparing my exam for computer system. I don't quite understand how to calculate the number of address bits needed for the memory. For example, Suppose that a 1G x 32-bit main memory is built using 256M x 4-bit RAM chips and this memory is word-addressable. What is the number of address bits needed for a memory module? What...

How to determine the port numbers for peripheral devices?

I know that peripheral devices such as a hard driver, a floppy driver, etc are controlled by reading/writing certain control registers on their device controllers. I am wondering about the following questions: Is it true that when these peripheral devices are plugged onto the computer, the addresses(port numbers) of their control reg...

SSL Not Working on other network

Hi I am running windows server 2003 standard and have installed the ssl cert for the company website . Attempting to access the website securely outside of our network the page does not load. Thanks in advance! ...

Help in building an 16 bit os

I am trying to build an old 16 bit DOS like OS. My example kernel code: asm(".code16\n"); void putchar(char); int main() { putchar('A'); return 0; } void putchar(char val) { asm("movb %0, %%al\n" "movb $0x0E, %%ah\n" "int $0x10\n" : :"r"(val) ...

Building 16 bit os - character array not working

Hi. I am building a 16 bit operating system. But character array does not seem to work. Here is my example kernel code: asm(".code16gcc\n"); void putchar(char); int main() { char *str = "hello"; putchar('A'); if(str[0]== 'h') putchar('h'); return 0; } void putchar(char val) { asm("movb %0, %%al\n" "movb $0x0E, %%a...

Different between word addressable and byte addressable

Hi Can someone explain to me what's the different between Word and byte addressable? And how is it related to memory size etc. Many Thanks ...

How can I get read-ahead bytes?

Operating systems read from disk more than what a program actually requests, because a program is likely to need nearby information in the future. In my application, when I fetch an item from disk, I would like to show an interval of information around the element. There's a trade off between how much information I request and show, an...

OS Concepts in Layman Terms

What is the difference between the following concepts in layman terms: spinning lock, blocking and condition? ...

OS kernel use Virtual memory for itself?

Does OS kernel use Virtual memory or Can some part of the OS kernel reside in Hard Disk? ...

Basic concepts in file system implementation

I am a unclear about file system implementation. Specifically (Operating Systems - Tannenbaum (Edition 3), Page 275) states "The first word of each block is used as a pointer to the next one. The rest of block is data". Can anyone please explain to me the hierarchy of the division here? Like, each disk partition contains blocks, blocks...

setfsuid() and python 2.5.4

Hi, I'm trying to use setfsuid() with python 2.5.4 and RHEL 5.4. Since it's not included in the os module, I wrapped it in a C module of my own and installed it as a python extension module using distutils. However when I try to use it I don't get the expected result. setfsuid() returns value indicating success (changing from a superus...

Can I get Androis OS?

I bought a umpc on ebay, A Ipad touchscreen like device. I had been looking at a particular hardware model that many sellers had, on which was running Android (1.6). I based my choice on the one that offered "free" shipping via UPS (3-5 day) delivery. after the purchase I noticed that the one I bought has Windows CE, not android (!#$^%!!...