I've been stuck with this for weeks now and have no idea where I'm going wrong because NASM hasn't given me any errors. The code is pretty self explanatory because of the comments.
this is the code that is loaded from the BIOS
;--------------------------------------------
; 'boot.asm'
; loaded from BIOS
[org 0x7C00]
[bits 16]
;...
Next term, I'll need to write a basic operating system for Motorola 68K processor as part of a course lab material.
Is there a Linux emulator of a basic hardware setup with that processor? So my partners and I can debug quicker on our computers instead of physically restarting the board and stuff.
Is it possible to apply test-driven d...
Hi, I have a background in programming and have done a little .NET but I feel that I would benefit from improving my understanding of the Windows Architecture. Can anyone recomend a good book that discusses the Windows Operating System from a technical perspactive, particulary it's architecture/design and how it works. Im not looking for...
Does Anyone have any idea why this code produces this errors in OS 3.0 and not OS 2.2.1?
NSUInteger aCount = [serverBrowser.servers count];
error: type of accessor does not match the type of property 'servers'
ServerBrowser.h is define below and serverBrowser is synthesized in .m above.
#import <Foundation/Foundation.h>
@class ...
So, I am confused about how jump instructions work in an operating system. I thought that the jump instruction set the value in the processor's program counter. But programs can be run in various locations in memory. I see that in x86, there's the JMP EAX instruction, but my C++ code doesn't seem to use this. I compiled some C++ code in ...
Any programmatic techniques, portable or specific to NT and Linux that get the result of number of large files loading faster? I am after a 'ahead of time', a priori, whatever you prefer to call it mechanisms that I can control in code for two OS-es in question.
Each file has to be processed in full, ie. completely in size and sequenti...
I am working on a very large application that has multiple processes running simultaneously; at any given moment there are none or there is exactly one process interacting with the user. Would it be a good idea to temporarily increase the priority of the process with which the user is currently interacting?
As a second part of the same ...
I run MATLAB on both Linux and Windows XP. My files are synced among all of the computers I use, but because of the differences in directory structure between Linux and Windows I have to have separate import and export lines for the different operating systems. At the moment I just comment out the line for the wrong OS, but I am wonderin...
I'm looking for something to abstract the standard operating system functionality in C/C++: span/kill a thread, send/receive a message, start/stop a timer, maybe even memory management, although I can probably handle that myself with my own buffer pool.
I want to to be able to develop and unit test on Linux/windows and then recompile th...
Hi, My text view shows the text when i am using iphone OS 3.0-
but for some reason it will not show the text on OS 2.0.
I can get the inputed text on OS 2.0 and even save it to file,
and then restore the text but still- the text is not visible on OS 2.0.
I have tried changing the scrolling properties and the font and the color and the hi...
We may be accustomed to code below:
if(File.Exists(xxx))
{
//I am here
using(var streamReader = new StreamReader("xxx"))
{
...
}
}
Well, the potential problem is that, the file xxx may be deleted by another thread (or process) when the code reaches "//I am here". Thus, the using block will throw exception.
Anyway to avoid...
How can you replace the match with the given replacement recursively in a given directory and its subdirectories?
Pseudo-code
import os
import re
from os.path import walk
for root, dirs, files in os.walk("/home/noa/Desktop/codes"):
for name in dirs:
re.search("dbname=noa user=noa", "dbname=masi user=masi")
...
What role do they play in the Operating system ?
...
How to write kernel code in C ? Where can we look forward to learn more of writing kernel code ? I want to know writing programs in C that can be used to modify my kernel. How do i do that ? What resources can i look upto ?
...
We are working on a toy operating system as a assignment for a class.
I'm having some trouble with writing of the kernel panic function.
It should save all registers, call some printf-like function, then print the saved registers and halt the cpu. Right now it's defined as a macro:
#define panic(...) \
do{ \
asm volatile("S...
I recently learned that sometimes people will lock specific processes or threads to specific processors or cores, and it's thought that this manual tuning will best distribute the load. This is a bit counter-intuitive to me -- I would think the OS scheduler would be able to make a better decision than a human about how to spread the load...
What scheduling algorithms does Linux kernel use?
Where can I get more info about linux's kernel? (OS first course... student level)
...
In another SO question I asked why my java programs run faster on AMD than on Intel machines. But it seems that I'm the only one who has observed this.
Now I would like to invite you to share the numbers of your local java performance with the SO community. I observed a big performance difference when watching the startup of JBoss on di...
Is writing a code for implementing the thread library a part of kernel code ?
Is the function implementation of pthread_create() et al a part of kernel ?
...
Is there any lightweight *nix OS dedicated for programming purposes?
Actually, I have a full installation of Mandriva in my computer; but sometimes in Windows I must use Virtualbox to run some *nix OS.
Because I only need the OS for only programming in this case, so I just want to ask you about it. Of course, I searched about this on ...