While I understand what Simulation and Emulation mean in general, I ,almost always, get confused about them. Assume that I create a piece of software that mimics an existing hardware/software, what should I call it? a Simulator or an Emulator?
Could anyone explain the difference in terms of programming?
Bonus: What is the difference in ...
Given is the following example:
class Foo(object):
def __init__(self, value=0):
self.value=value
def __int__(self):
return self.value
I want to have a class Foo, which acts as an integer (or float). So I want to do the followng things:
f=Foo(3)
print int(f)+5 # is working
print f+5 # TypeError: unsupported op...
I just came across a Nintendo emulator written entirely in JavaScript on the interwebs, but it doesn't have sound. It got me thinking: Is there any way to synthesize sound in the browser using JavaScript and then play it? If it's not possible in general, then are there any Safari/Opera/FireFox/IE/Etc. extensions that would make it possib...
Hi,
How would you emulate touch-screens? I wouldn't want to pay $ to get a touch-screen to test my software whether it supports touching fully. Any links or tips?
...
I want to write a emulator for one of the older Crays, but I've run into a stumbling block. I can't seem to find any actual code for them. (Which kind of makes sense I suppose, most of them would have been used for defense and the like..) Does anyone know where I might find something? Binaries or source, it's all good. The thing I'd...
hi
i have a windows CE 5.0 emulator, i run it with C:\Program Files\Microsoft Device Emulator\1.0\DeviceEmulator.exe
when i close the emulator it asks me if i want to save its state... i ANSWER YES but it kinda frezees and it doesn't save anything so next time i have to set everything again (like i have to install again sqlserver CE)
d...
I have a new project I am working on that involves fetching a webpage, (using PHP and cURL) parsing the HTML and javascript out of it and then handling the data in the results.
Basically I hit a brick wall when the site uses javascript to fetch its data by AJAX. In this case, the initial data will not appear in the fetched page unless ...
According to Wikipedia, the N64 only has 4 MB of RDRAM (8 MB with the Expansion Pack), and the other quantities are similarly small (4 KB or so of L1 cache). However, technical documents I have found on Google state that its memory addresses range from $0000:0000 to $FFFF:FFFF -- that's 4 GB! Since existing N64 emulators like Project64 d...
Is there any stand alone WAP emulator to emulate waop website for Nokia 6600 and Sony Ericsson MIDP handset ?
I am creating a WAP portal, and I dont feel like upload all my files on the web every time and then loading it on opera mini demo emulator.
I guess there should be something standalone software to emulate these files ?
P.S - I...
The rest of my team will make for my application a simple non-standard USB microphone, but until they finish it I will have to emulate it, for integration testing purposes.
Is there any risk in a physical loopback? Yes there is
Will a physical loopback work? Only with an USB bridge
There is any way to create a logical loopback? (MSDN h...
How do I run Linux binaries under Mac OS X?
Googling around I found a couple of emulators but none for running Linux binaries on a Mac. There are quite a few posts about running Mac OS X on Linux and that kind of stuff - but that's the opposite of what I want to do.
Update:
Thanks for all the answers! I am fully aware of MacPorts and ...
Hi all,
Is there any simulation environment that allows to run and test Linux based USB device application on host machine running Linux?
Also same thing for Linux based USB host side applications where one can run and test Linux based host applications with physical/virtual USB devices.
Regards,
Mooni
...
Hi everyone,
I was wondering where would one go about getting CPU opcode cycle counts for various machines. An example of what I'm talking about can be seen at this link:
http://www.obelisk.demon.co.uk/6502/reference.html
If you examine the MAME source code, especially under src\emu\cpu, you'll see that most of the CPU models keep a t...
I have an ARM device (network storage) with debian installed. I can pull out drive and dump fs image (using dd). The OS there is debian, I use ubuntu.
What do I need to install (software) to be able to cross-compile?
I can mount image and modify its content.
How can I emulate that device to test cross-compiled executables?
UPDATE:
I d...
I am just starting to learn how to use CUDA. I am trying to run some simple example code:
float *ah, *bh, *ad, *bd;
ah = (float *)malloc(sizeof(float)*4);
bh = (float *)malloc(sizeof(float)*4);
cudaMalloc((void **)
cudaMalloc((void **)
... initialize ah ...
/* copy array on device */
cudaMemcpy(ad,ah,sizeof(float)*N,cudaMemcpyHostTo...
I want to create a Gameboy emulator which runs directly from the exe file, in a similar fashion to visualboy advance. I was wondering in terms of creating a GUI interface for the emulator what would be the best option to accomplish this ?
...
What are available resources I should look to in order to write an emulator for iPhoneOS? I'd like to write an emulator to run applications written for MacOS. I understand that I won't be able to use file system and other OS resources. I do have an SDK, XCode and all documentation for those resources, but I wonder if I can find some exa...
Hello,
A while back I was following some tutorials an assembly. I was running it all on a windows machine, compiling with NASM and then writing the compiled code to a floppy disk, then reboot and try the code. This process was long and time consuming and sadly was not on a mac. When I found out that Xcode for mac installed NASM I immedi...
I want to emulate windows programs (not VM, true emulation) under windows. This would require the emulator to make calls back to the system APIs, but the program itself would be emulated. The reason is I want to change the opcode formats for research purposes.
The process should be:
Take existing program.
Disassemble and then reassemb...
I'm interested in programming an application-level virtualization solution. More specifically, I need a way to completely isolate the running application from the host OS. I don't necessarily need or want a full virtual machine, but I need the isolation one provides.
From my understanding on the matter, if I can isolate the applicatio...