megadrive_test2

diff src/vdpdefs.inc @ 1:2560a8be8cb8

hblank interrupt test
author John Tsiombikas <nuclear@member.fsf.org>
date Tue, 14 Mar 2017 09:02:43 +0200
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/src/vdpdefs.inc	Tue Mar 14 09:02:43 2017 +0200
     1.3 @@ -0,0 +1,13 @@
     1.4 +| vi:filetype=asm68k:
     1.5 +	.equ VDP_PORT_DATA, 0xc00000
     1.6 +	.equ VDP_PORT_CTL, 0xc00004
     1.7 +
     1.8 +	.equ VDP_REG_MODE1, 0
     1.9 +	.equ VDP_REG_MODE2, 1
    1.10 +
    1.11 +	.equ VDP_WRITE_VRAM, 0x40000000
    1.12 +	.equ VDP_WRITE_CRAM, 0xc0000000
    1.13 +	.equ VDP_WRITE_VSRAM, 0x40000010
    1.14 +	.equ VDP_READ_VRAM, 0
    1.15 +	.equ VDP_READ_CRAM, 0x00000020
    1.16 +	.equ VDP_READ_VSRAM, 0x00000010