*---------------------------------------------------------------------* * File Name: varequ.h * * Copyright (c) 1994 Sega of America, Inc. All Rights Reserved. * * Author(s): Unni Pillai * Date: 6-19-94 * Description: some variable equates.. * * History: * *---------------------------------------------------------------------* *---------------------------------------------------------------* marsreg equ $a15100 access equ $00 * byte * MARS VDP access control adapter equ $01 * byte * MARS adapter control intctl equ $03 * byte * SH2 interrupt control bankctl equ $05 * byte * BANK conterol dreqctl equ $07 * byte * DREQ control dreqsource equ $08 * long * 68 to SH DREQ source address dreqdest equ $0c * long * 68 to SH DREQ destination address dreqlength equ $10 * word * 68 to SH DREQ length dreqfifo equ $12 * word * 68 to SH DREQ FIFO segatv equ $1b * byte * SEGA TV Reg. comm0 equ $20 * * Communcation Reg. comm2 equ $22 * * Communcation Reg. comm4 equ $24 * * Communcation Reg. comm6 equ $26 * * Communcation Reg. comm8 equ $28 * * Communcation Reg. comm9 equ $29 * * Communcation Reg. comm10 equ $2a * * Communcation Reg. comm12 equ $2c * * Communcation Reg. comm14 equ $2e * * Communcation Reg. tvmode equ $80 * byte * NTSC/PAL bitmapmode equ $81 * byte * BitMap Mode Reg. shift equ $83 * byte * Packed Pixel Dot Shift filllength equ $85 * byte * DRAM Fill Length fillstart equ $86 * word * DRAM Fill Start Address filldata equ $88 * word * DRAM Fill Data vdpsts equ $8a * byte * VDP status framectl equ $8b * byte * Frame Buffer Control palette equ $a15200 * 256 words * Palette Data txtbuff equ $FFFF9000 KTab1 equ $FFFF9100 ;textbuff is 256 bytes KTab2 equ $FFFF9106 ;KTab1 is 3 words(6bytes) d2b equ $FFFF910C CLock equ $FFFF910D ;KTab2 is 3 words dumb equ $FFFF910E ;CLock semaphore is 1 byte sel equ $FFFF9110