require '_h2ph_pre.ph';

unless(defined(&CG2_FBSIZE)) {
    sub CG2_FBSIZE () {	(1024* 1024);}
}
unless(defined(&CG2_N_PLANE)) {
    sub CG2_N_PLANE () {	8;}
}
unless(defined(&CG2_WIDTH)) {
    sub CG2_WIDTH () {	1152;}
}
unless(defined(&CG2_HEIGHT)) {
    sub CG2_HEIGHT () {	900;}
}
unless(defined(&CG2_CMSIZE)) {
    sub CG2_CMSIZE () {	256;}
}
unless(defined(&CG2_BITPLANE_OFF)) {
    sub CG2_BITPLANE_OFF () {	0;}
}
unless(defined(&CG2_BITPLANE_SIZE)) {
    sub CG2_BITPLANE_SIZE () {	0x100000;}
}
unless(defined(&CG2_PIXMAP_OFF)) {
    sub CG2_PIXMAP_OFF () {	( &CG2_BITPLANE_OFF +  &CG2_BITPLANE_SIZE);}
}
unless(defined(&CG2_PIXMAP_SIZE)) {
    sub CG2_PIXMAP_SIZE () {	0x100000;}
}
unless(defined(&CG2_ROPMEM_OFF)) {
    sub CG2_ROPMEM_OFF () {	( &CG2_PIXMAP_OFF +  &CG2_PIXMAP_SIZE);}
}
unless(defined(&CG2_ROPMEM_SIZE)) {
    sub CG2_ROPMEM_SIZE () {	0x100000;}
}
unless(defined(&CG2_CTLREG_OFF)) {
    sub CG2_CTLREG_OFF () {	( &CG2_ROPMEM_OFF +  &CG2_ROPMEM_SIZE);}
}
unless(defined(&CG2_CTLREG_SIZE)) {
    sub CG2_CTLREG_SIZE () {	0x010600;}
}
unless(defined(&CG2_MAPPED_SIZE)) {
    sub CG2_MAPPED_SIZE () {	( &CG2_CTLREG_OFF +  &CG2_CTLREG_SIZE);}
}
1;
