ROLAND  0.70
Amstrad Emulator based on Caprice Source rewritten in C++.
Macros | Variables
def.h File Reference
#include "types.h"
#include "config.h"
#include <iostream>
#include <iomanip>
#include <stdint.h>

Go to the source code of this file.

Macros

#define EOUT(a, b, c)
 
#define IOUT(a, b, c)
 
#define DOUT(a, b, c)
 
#define PREOUT
 

Variables

static const uint32_t CYCLE_COUNT_INIT = 80000
 Number of CPU cycles per frame = 4MHz divided by 50Hz. More...
 
static const uint8_t TAPE_VOLUME = 32
 
static const uint8_t MIN_SPEED_SETTING = 2
 
static const uint8_t MAX_SPEED_SETTING = 32
 
static const uint8_t DEF_SPEED_SETTING = 4
 
static const uint16_t CPC_SCR_WIDTH = 1024
 max width More...
 
static const uint16_t CPC_SCR_HEIGHT = 312
 max height More...
 
static const uint16_t CPC_VISIBLE_SCR_WIDTH = 384
 visible: 4+40+4 * 8 More...
 
static const uint16_t CPC_VISIBLE_SCR_HEIGHT = 270
 visible: 5+25+4 * 8 original is 272 More...
 

Macro Definition Documentation

#define DOUT (   a,
  b,
 
)
#define EOUT (   a,
  b,
 
)
Value:
std::cerr << std::setw(12) << std::setfill(' ') \
<< std::left << a << "(E) " << std::setw(40) << std::setfill('.') \
<< std::left << b << c << "\n";
GLuint GLfloat GLenum cap GLsizei GLuint *textures GLenum GLint *params void GLdouble left
Definition: glfunclist.h:19
GLuint GLfloat GLenum cap GLsizei GLuint *textures GLenum GLint *params void GLdouble GLdouble GLdouble GLdouble GLdouble GLdouble zFar GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid *pixels GLenum GLint GLint GLint GLsizei GLsizei GLenum GLenum const GLvoid *pixels GLfloat GLfloat y GLubyte GLubyte GLubyte b
Definition: glfunclist.h:27

Referenced by VideoStd::init(), VideoGL::init(), init(), mainloop(), and Video::setIcon().

#define IOUT (   a,
  b,
 
)
#define PREOUT

Variable Documentation

const uint16_t CPC_SCR_HEIGHT = 312
static

max height

Referenced by Vdu::access_video_memory().

const uint16_t CPC_SCR_WIDTH = 1024
static

max width

const uint16_t CPC_VISIBLE_SCR_HEIGHT = 270
static

visible: 5+25+4 * 8 original is 272

Referenced by VideoStd::init(), VideoGL::init(), Vdu::init(), VideoGL::VideoGL(), and VideoStd::VideoStd().

const uint16_t CPC_VISIBLE_SCR_WIDTH = 384
static
const uint32_t CYCLE_COUNT_INIT = 80000
static

Number of CPU cycles per frame = 4MHz divided by 50Hz.

Referenced by Sound::init(), and mainloop().

const uint8_t DEF_SPEED_SETTING = 4
static
const uint8_t MAX_SPEED_SETTING = 32
static
const uint8_t MIN_SPEED_SETTING = 2
static
const uint8_t TAPE_VOLUME = 32
static