answersLogoWhite

0

❓

The Difference Between

Ever wanted to know the difference between a boysenberry and a blueberry? socialism and communism? Windows and Linux? Look no further. This category answers your questions about 'The Differences Between...'

57,566 Questions

What are the differences between lion and bear?

Lions are much stronger and eat meat and all that but when it comes to bears there not as much strong. Lions are much stonger. That is the answer get it right like come on Lion the king of The JUNGLE !! Bears are Bears !!

How do PS2 emulators Work?

An emulator is a program that basically reproduces the behaviour of the hardware of an old machine (ex : video cards, CPU, mainboard, RAM). People that program emulators have to first obtain some information about the console they want to emulate; for example : what are the operations performed by the CPU. How is the RAM divided ?

Emulation is a very a complicated process of an application (emulator) acting like (emulating) another platform/processor/computer/etc.

One commonly emulated platform is the video game console, including systems like the Nintendo Game Boy, Nintendo Entertainment System, Sony Playstation, Sega Genesis, NeoGeo Pocket Color to name a few, although, just about anything can be emulated, from computers, to calculators, to video game consoles. Even the computer used in the spacecraft for the Apollo space missions has been emulated.

The basic process of emulation looks something like this:

  1. Fetch the current instruction from memory (RAM).
  2. Interpret that instruction. (Interpreting is taking an instruction that is supposed to run on another platform and executing or doing the equivalent instruction(s) on the machine that is doing the emulating/running the emulator program.)
  3. Increment the emulated PC (program counter; a register that points to the currently executing instruction) the appropriate amount.
  4. (OPTIONAL) Allow the machine running the emulator program to sleep/rest or stop execution of the emulator for a certain amount of time to regulate frame rate (FPS; Frame Per Second) or the emulated platform's processor speed.
  5. (OPTIONAL) Do any other things that need to be done. (Draw an emulated screen, process emulated audio, etc.)
  6. Repeat the process.

Hopefully that makes some sense to the person who asked this question. Emulation is not the sort of thing that can be explained in detail to a non-programmer or non-techie.

If you want to write an emulator yourself, and feel you know enough to get started, then do the following:

  1. Get as much info on the system you're looking to emulate AS POSSIBLE! This is EXTREMELY important, otherwise you'll have no idea what to do in the next steps.
  2. Pick an appropriate programming language to use. Using a scripting language or a language/tool that is interpreted is probably not the best idea if you're looking to emulate a fast platform.
  3. Figure out how you're going to emulate registers, RAM, etc. One of the simplest ways of emulating RAM is creating a large array to put all the emulated RAM's contents in. Registers can be done in multiple ways, but my WIP GB emulator simply uses char variables, since one char is 8 bits (1 byte) in size, which is the size of most of the GB's registers. (The GB's 16-bit registers are emulated using shorts.)
  4. Start coding! Take it easy though. Make sure you're not making too many mistakes. Assuming you're emulating some kind of "complete" platform (a platform with everything need to run and function), emulation of the CPU and RAM is what you should focus on first. (Remember! Focus on accuracy and proper emulation first. You can speed things up later, when your emulator actually does something!)
  5. Debug. This is what's gonna make you want to shoot yourself. Emulators are going to require a ton of debugging.
  6. Repeat steps 4 and 5 many, many, many, many, many times.

As far as info, you should have several resources available to compare with and get info from. I use Google and Wikipedia to get my info. You might have to search for info for quite a while to get what you want. (I took about two days to find and bookmark enough info that I think I will need.)

You probably want to code your emulator in C/C++ or ASM. I know some people even code emulator in Java, although, don't expect an emulator in Java to run as fast as one in C/C++ or ASM.

If you want, you can look at a very basic version of my code for my WIP GameBoy emulator below (use as you please):

//This is all done in C++ using MinGW and Code::Blocks IDE

//Define our RAM, VRAM, registers, etc:

int InterpretInstruction();

char gb_a, gb_f; //Emulated registers A and F. Sometimes paired as one 16-bit register

char gb_b, gb_c; //More registers. Sometimes paired as one 16-bit register

char gb_d, gb_e; //...

char gb_h, gb_l; //...

short gb_pc; //Emulated Program Counter register (16-bit)

short gb_sp; //Emulated Stack Pointer register

char* gb_ram_main; //Emulated RAM

char* gb_ram_video; //Emulated Video RAM

char* gb_cart_rom; //Emulated contents of the ROM

char* gb_cart_ram; //Emulated RAM in some cartridges

int main ()

{

load_rom_data_bin();

gb_pc = 0x0100;

gb_pc_ = 0x0099;

gb_sp = 0x0000;

gb_ram_main = new char[ 8192 ];

gb_ram_video = new char[ 8192 ];

load_rom_into_ram();

while( true )

{

if( InterpretInstruction() == 0 ) //My interpreting function returns 0 on OK

{

//Nothing. PC incrementing is handled in InterpretInstruction()

}

else

{

exit(1); //Abort if there's an error.

}

}

return 0;

}

int InterpretInstruction()

{

/*

It is said that switch statements are inefficient for a matter like this, but it seems to depend. According to some sources, this only holds true for switches with a small number of cases, which will compile into a chain of if() ... else if() ... statements - whereas with larger numbers of conditions [100-200+] a switch will compile into a jump table, and thus be more efficient than avoiding switch statements.

*/

switch( gb_ram_main[ gb_pc ] )

{

case 0x00: //NOP instruction

{

gb_pc++;

return 0; //Everything went OK

break;

}

case 0xc3: //JMP instruction Jump to the 16-bit address following this instruction

{

gb_pc = Form_16_Bit_Address_Using_Two_Bytes_Ahead_Of_This_Instruction();

return 0;

break;

}

default: //ERROR!

{

return 1;

break;

}

}

}

What are the differences between natural silk and artificial silk?

Natural silk comes from silk worms while artificial silk is made of cotton. Natural silk has a beautiful sheen to it. Go to the links and see this beautiful silk fabric.

What is the difference between a Chevy 350 and a Pontiac 350?

believe it or not just because there both GM 350s. it doesnt mean anything. They are completely diffrent motors.. there is a Chevy/GMC 350,a Buick 350, Pontiac 350, an they are all very diffrent motors. there block an cranks are diffrent. there a whole diffrent design. there parts will not fit other 350s.

What are the difference between cuttlefish and octopus?

I think the difference is that cuttlefish has less legs than an octopus. =) =ㅇ =D!

An octopus also has no shell, while cuttlefish have an internal shell

What is the difference between simile and similar?

A simile compares two things with like or as, example: "She was as angry as a bull!" A synonym is something that means that same thing as a certain word. Synonyms for angry would be furious, mad, and upset.

What is the meaning of 'the warehouse was a dust silent tomb'?

To be a simile you must use the word 'like' (or another similar word that serves the same function) 'The warehouse was like a dusty, silent tomb' is a simile 'The warehouse was a dusty, silent tomb' is a metaphor

When is touch inappropriate?

Depends on what you're touching and where the thing you want to touch is. If someone or something says not to touch the thing that you want to touch then it probably wouldn't be the best idea to touch it.

What is difference between tailor and dressmaker?

A seamstress is just someone who can sew seams but doesn't know how to make a custom piece, like a blouse, from scratch, or how to fit clothes onto a real body.

A dressmaker is a person who can make custom clothing for women, such as a blouse or a skirt, or even an evening dress.

What is the difference between a chat room and a discussion board?

Chat rooms allow for real time discussion, usually constructed in short sentences or paragraphs. Conversations in chat rooms usually last for minutes or hours.

Discussion boards allow for more in depth conversations and debate, usually constructed in long paragraphs. Conversations on discussion boards can last months.

What is the difference between the two intaglio processes etching and engraving?

Etching is done with acid, its used to eat away material that is exposed to it and material that is covered is untouched

Engraving is actually carving something with tools

You could have found this out yourself using something thats available these days, called a SEARCH ENGINE

What to wear to a formal party?

  1. Wear a nice dress with a cardigan and flats or low heels,
  2. Wear a skirt with a nice blouse and a sweater with low heels or high heels
  3. Wear a nice blouse with a pair of fancy jeans and high heels with a leather or suede jacket.

For a man, wear a nice tux with a button up shirt and tie with coordinating colors.

What is difference between duty and responsibility?

DUTY**BEHAVIOR SHOWING A PROPER REGARD OR SENSE OF OBLIGATION.JUSTICE MORALITY.ONES OCCUPATION OR POSITION. RESPONSIBILITY**OBLIGATION,TO DO WHAT IS ASK,IF YOU SAY YOUR GOING TO DO SOMEHTHING DO IT,TRUST,HONEST, TO CARE FOR ANOTHER WHEN ONE CANT,BE RESPONABLE FOR YOURSELF AND YOUR ACTIONS.

What is the difference between COD MW3 and COD MW3 Hardened Edition?

MW3 Hardened edition has Special extras, some special unlockable content, and usually a nice case, MW3 is just the game on its own, Although the Prestige edition includes a big extra, CoD Black Ops (CoD 7) had a remote control RC-XD with a built in camera, like in the game, and it was actually drivable xD, but the MW3 one has IR goggles (i beileve) or that could be MW2.

What is the difference between velvet and velveteen?

Velvet and velveteen are not the same. Velveteen is a plain, woven fabric with the low pile created from filling loops. Side by side, cotton velvet will be deeper in color and have a denser pile than velveteen.

Originally velvet was woven from silk. Velveteen was woven from cotton. They are similar in that they have a pile - like a carpet. I suspect the distinction is not observed much these days. (Polyester velvets for example)

The best way to tell the difference between velvet and velveteen is to check on the label at the fabric shop. It states quite clearly - velvet or velveteen. Velveteen is made of cotton. Velvet is not. Some may argue this point and say there is such a thing as cotton velvet. What they are really referring to is velveteen. Don't let them fob this off on to you as velvet!

Velvet has a sheen to it that velveteen does not. Velveteen is meant to be fake velvet. When you cut velveteen and look at the little bits that come off the edge you will see that it comes off in tiny little bits that look round (sort of) from a distance.

When you cut velvet, it has bits too, but the little bits are straight. Individual threads in velvet have a sheen to them and an elasticity that velveteen does not.

Velveteen also seems to weigh more than velvet.

Velveteen has a rougher hand than does velvet although both are plush. Experience with the fabrics will help you identify them more readily.

When you do the burn test you will readily see the difference between the two - the cotton is velveteen. Velveteen is a beautiful imitation of velvet - but it is still an imitation.

The pile on velvet is usually higher than on velveteen.

Velveteen is usually cheaper than velvet (unless the velvet is on sale) There are times however that you will find velveteen at a higher price than velvet. But by and large velveteen is cheaper. Although these days both are pretty pricey :)

What is the difference between batik and tie and dye materials?

in batik wax is used to resist dye while in tie &dye knotting &rubber banding is used to resist dye

If you have a 240V appliance will it work on a 220V outlet?

I guess it will, but it depends on the type of device you use. An electric bulb may glow with reduced intensity at the same time, a regulated psu based device may balance the voltage by drawing required amount of current to bring it to 240V inside the psu unit of that device. It again depends upon the device. Some devices use some range of input operating voltages like 220V ~ 240V.I guess I'm right

What is the difference between skylander trigger happy and legendary trigger happy?

Dark Spyro has the same stats as regular Spyro, but he's black and silver and his attacks have a dark aura. Legendary Spyro is blue and gold and is stronger than regular and dark Spyro.

What is the difference between Soufeel and Pandora bracelets?

Pandora is a company originating in Denmark, whereas Soufeel has its orgins in UK. Both are high quality European beads, and collecting both will find you a very nice personalized variety. The Pandora beads are somewhat more artistic/abstract, whereas Soufeel tends toward more fashion styles and designs.Soufeel costs slightly less than Pandora, and is more collectible as a brand since they have already begun retiring their beads. Soufeel bracelets can be found on some celebrities.

What is the difference between hanging amihan and hanging habagat?

Hanging Habagat or Southwest Monsoon is a south western monsoon which comes during the months of June-September. The Thar Desert and adjoining areas of the northern and central Indian subcontinent heats up considerably during the hot summers, which causes a low pressure area over the northern and central Indian subcontinent. To fill this void, the moisture-laden winds from the Indian Ocean rush in to the subcontinent. These winds, rich in moisture, are drawn towards the Himalayas, creating winds blowing storm clouds towards the subcontinent. The Himalayas act like a high wall, blocking the winds from passing into Central Asia, thus forcing them to rise. With the gain in altitude of the clouds, the temperature drops and precipitation occurs. Some areas of the subcontinent receive up to 10,000 mm (390 in) of rain.

Hanging Amihan or Northeast Monsoon comes from within September. Around September, with the sun fast retreating south, the northern land mass of the Indian subcontinent begins to cool off rapidly. With this air pressure begins to build over northern India, the Indian Ocean and its surrounding atmosphere still holds its heat. This causes the cold wind to sweep down from the Himalayas and Indo-Gangetic Plain towards the vast spans of the Indian Ocean south of the Deccan peninsula.

How do you make a fascinator?

Hi i to have been asking myself this question. A trip to my local Library sadly did not help. So i began to search on line. i have found a couple of tutorials that may help you. I have also decided that buying one or two and taking them apart may help. Don't know!!!! If anyone else has any suggestions that would be great Here are the things i have found so far Meerkat Clippings: How to make a fascinator Corvus tristis - Positively Fascinating Ascot School of Millinery- How to make your own Fascinators