annotate src/vdpdefs.inc @ 7:108ecc582a11
defined all the I/O register addresses in io.h
author |
John Tsiombikas <nuclear@member.fsf.org> |
date |
Wed, 21 Jun 2017 06:49:50 +0300 |
parents |
|
children |
|
rev |
line source |
nuclear@1
|
1 | vi:filetype=asm68k:
|
nuclear@1
|
2 .equ VDP_PORT_DATA, 0xc00000
|
nuclear@1
|
3 .equ VDP_PORT_CTL, 0xc00004
|
nuclear@1
|
4
|
nuclear@1
|
5 .equ VDP_REG_MODE1, 0
|
nuclear@1
|
6 .equ VDP_REG_MODE2, 1
|
nuclear@1
|
7
|
nuclear@1
|
8 .equ VDP_WRITE_VRAM, 0x40000000
|
nuclear@1
|
9 .equ VDP_WRITE_CRAM, 0xc0000000
|
nuclear@1
|
10 .equ VDP_WRITE_VSRAM, 0x40000010
|
nuclear@1
|
11 .equ VDP_READ_VRAM, 0
|
nuclear@1
|
12 .equ VDP_READ_CRAM, 0x00000020
|
nuclear@1
|
13 .equ VDP_READ_VSRAM, 0x00000010
|