Main Page | Class Hierarchy | Compound List | File List | Compound Members | File Members | Related Pages

sid_epoc32.i File Reference

#include <e32hal.h>
#include "e32frodo.h"
#include "alaw.h"

Include dependency graph for sid_epoc32.i:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Defines

#define FIXPOINT_SIN_COS_GENERIC
 define as global variable (4x512=2048 bytes)


Variables

const TInt KDefaultBufSize = 512


Detailed Description

(c) 2001-2002 Alfred E. Heggestad

Definition in file sid_epoc32.i.


Define Documentation

#define FIXPOINT_SIN_COS_GENERIC
 

Value:

if (angle >= 3*(1<<ldSINTAB)) {return(-SinTable[(1<<(ldSINTAB+2)) - angle]);}\
  if (angle >= 2*(1<<ldSINTAB)) {return(-SinTable[angle - 2*(1<<ldSINTAB)]);}\
  if (angle >= (1<<ldSINTAB)) {return(SinTable[2*(1<<ldSINTAB) - angle]);}\
  return(SinTable[angle]);
define as global variable (4x512=2048 bytes)

Definition at line 457 of file sid_epoc32.i.

Referenced by DigitalRenderer::fixcos(), and DigitalRenderer::fixsin().


Variable Documentation

const TInt KDefaultBufSize = 512
 

Buffer size: 2^9 == 512 bytes. Note that too large buffers will not work very well: The speed of the C64 is slowed down to an average speed of 100% by the blocking write() call in EmulateLine(). If you use a buffer of, say 4096 bytes, that will happen only about every 4 frames, which means that the emulation runs much faster in some frames, and much slower in others. On really fast machines, it might make sense to use an even smaller buffer size.

Definition at line 36 of file sid_epoc32.i.


Generated on Tue Feb 8 04:11:02 2005 for E32frodo by doxygen 1.3.3