> For the complete documentation index, see [llms.txt](https://corrupt.wiki/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://corrupt.wiki/systems/sega-genesis/genesis-architecture.md).

# Genesis Architecture

[Genesis Architecture, a Practical Analysis](https://www.copetti.org/writings/consoles/mega-drive-genesis/)&#x20;

[Genesis memory map](https://segaretro.org/Sega_Mega_Drive/Memory_map)&#x20;

[Genesis ROM Header, including vector tables](http://www.hacking-cult.org/?r/18/21)

## CPU

The Sega Genesis uses a [Motorola 68000](https://en.wikipedia.org/wiki/Motorola_68000) as its main processor.

[M68000 Microprocessor User's Manual](https://www.nxp.com/docs/en/data-sheet/M68000UM.pdf)&#x20;

[Motorola 68000 CPU Opcode Table](http://goldencrystal.free.fr/M68kOpcodes-v2.3.pdf) (Good reference for creating instruction lists)&#x20;

[68000 ASM-to-Hex Code Reference](https://info.sonicretro.org/SCHG:68000_ASM-to-Hex_Code_Reference) (Good reference for hacking machine code by hand)

## APU

The Sega Genesis uses a [Zilog Z80](https://en.wikipedia.org/wiki/Motorola_68000) as a coprocessor, mainly for driving the [Yamaha YM2612](https://en.wikipedia.org/wiki/Yamaha_YM2612) and [Texas Instruments SN76489](https://en.wikipedia.org/wiki/Texas_Instruments_SN76489).

[Genesis Z80 memory map (among other technical information)](https://md.railgun.works/index.php?title=Zilog_Z80#Memory_Map)

[Z80 Microprocessor User's Manual](https://www.zilog.com/docs/z80/UM0080.pdf)&#x20;

[Z80 Opcode Tables](https://clrhome.org/table/) (Good reference for creating instruction lists)

[Yamaha YM2612 technical documentation](https://www.smspower.org/maxim/Documents/YM2612)&#x20;

[Texas Instruments SN76489 technical documentation](https://retrocdn.net/images/e/e0/SN76489_Application_Manual.pdf)

## GPU

The Sega Genesis uses a proprietary Yamaha YM7101 Visual Display Processor (VDP).

[Sega Genesis Software Manual](https://segaretro.org/images/a/a2/Genesis_Software_Manual.pdf) (See section II)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://corrupt.wiki/systems/sega-genesis/genesis-architecture.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
