megadrive_test2
view src/vdpdefs.inc @ 5:ea70f3da150f
color cycling tunnel
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Tue, 20 Jun 2017 06:08:58 +0300 |
parents | |
children |
line source
1 | vi:filetype=asm68k:
2 .equ VDP_PORT_DATA, 0xc00000
3 .equ VDP_PORT_CTL, 0xc00004
5 .equ VDP_REG_MODE1, 0
6 .equ VDP_REG_MODE2, 1
8 .equ VDP_WRITE_VRAM, 0x40000000
9 .equ VDP_WRITE_CRAM, 0xc0000000
10 .equ VDP_WRITE_VSRAM, 0x40000010
11 .equ VDP_READ_VRAM, 0
12 .equ VDP_READ_CRAM, 0x00000020
13 .equ VDP_READ_VSRAM, 0x00000010