PZ80emu  0.1
Data Structures | Macros | Functions
memory.h File Reference

Memory setup functions. More...

#include <stdint.h>
Include dependency graph for memory.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  memory
 z80 memory class More...
 

Macros

#define MEMSIZE   65536
 

Functions

__BEGIN_DECLS struct memorymemory_new (void)
 

Detailed Description

Memory setup functions.

Author
Peter H. Ezetta

Macro Definition Documentation

◆ MEMSIZE

#define MEMSIZE   65536

Size of memory for create_ram() to allocate

Function Documentation

◆ memory_new()

__BEGIN_DECLS struct memory* memory_new ( void  )

Allocates a block of RAM of size MEMSIZE

Returns
Pointer to allocated block of RAM.
Here is the call graph for this function: