SGDK
A free and open development kit for the Sega Mega Drive
Loading...
Searching...
No Matches
genesis.h
1#ifndef _GENESIS_H_
2#define _GENESIS_H_
3
4#define SGDK_VERSION 2.10
5
6#include "types.h"
7
8#define SGDK TRUE
9
10#include "config.h"
11#include "asm.h"
12
13#include "sys.h"
14#include "sram.h"
15#include "mapper.h"
16#include "memory.h"
17#include "tools.h"
18
19#include "pool.h"
20#include "object.h"
21
22#include "font.h"
23#include "string.h"
24
25#include "tab_cnv.h"
26
27#include "maths.h"
28#include "maths3D.h"
29
30#include "vdp.h"
31#include "vdp_bg.h"
32#include "vdp_spr.h"
33#include "vdp_tile.h"
34#include "vdp_pal.h"
35
36#include "pal.h"
37
38#include "vram.h"
39#include "dma.h"
40
41#include "map.h"
42
43#include "bmp.h"
44#include "sprite_eng.h"
45#include "sprite_eng_legacy.h"
46
47#include "z80_ctrl.h"
48#include "ym2612.h"
49#include "psg.h"
50
51#include "snd/sound.h"
52#include "snd/xgm.h"
53#include "snd/xgm2.h"
54#include "snd/smp_null.h"
55#include "snd/smp_null_dpcm.h"
56#include "snd/pcm/snd_pcm.h"
57#include "snd/pcm/snd_dpcm2.h"
58#include "snd/pcm/snd_pcm4.h"
59
60#include "joy.h"
61#include "timer.h"
62
63#include "task.h"
64
65// modules
66#if (MODULE_EVERDRIVE != 0)
67#include "ext/everdrive.h"
68#endif
69
70#if (MODULE_FAT16 != 0)
71#include "ext/fat16.h"
72#endif
73
74#if (MODULE_MEGAWIFI != 0)
75#include "ext/mw/megawifi.h"
76#endif
77
78#if (MODULE_FLASHSAVE != 0)
81#endif
82
83#if (MODULE_CONSOLE != 0)
84#include "ext/console.h"
85#endif
86
87// preserve compatibility with old resources name
88#define logo_lib sgdk_logo
89#define font_lib font_default
90#define font_pal_lib font_pal_default
91
92#endif // _GENESIS_H_
Assembly helper.
Software bitmap engine.
Basic SGDK library configuration file.
TTY text console.
DMA support.
Everdrive support.
FAT16 file system support.
Low level NOR flash read/erase/write interface.
SGDK system Font.
General controller support.
MAP (large background map) management unit.
Mapper / bank switch methods.
3D math engine.
Mathematical methods.
MegaWiFi API implementation.
Memory handling methods.
Base object management unit.
Palette support (herited from vdp_pal.h unit)
Pool object management unit.
PSG support.
Save manager for flash memory chips supported by the flash module.
Z80_DRIVER_DPCM2 sound driver API.
Z80_DRIVER_PCM4 sound driver API.
Z80_DRIVER_PCM sound driver API.
General / shared sound driver definitions.
Sprite engine.
Sprite engine legacy - september 2022 version.
SRAM (Static RAM used for save backup) support.
String manipulations.
Entry point unit / Interrupt callback / System.
User task support.
Timer support.
Misc tools methods.
Types definition.
VDP main.
VDP background plane support.
VDP Sprite support.
VDP General Tile / Tilemap operations.
SGDK VRAM (Video Memory) management unit.
XGM2 sound driver.
XGM sound driver.
YM2612 support.
Z80 control.