taglinefilesource code
mono_current_par1184arch/m68k/amiga/amifb.c} mono_current_par;
mono_current_par1820arch/m68k/amiga/amifb.cushort diwstrt_v = mono_current_par.diwstrt_v;
mono_current_par1821arch/m68k/amiga/amifb.cushort diwstop_h = mono_current_par.diwstop_h;
mono_current_par1832arch/m68k/amiga/amifb.c*cop++ = (ushort)((long)mono_current_par.cursor >> 16);
mono_current_par1834arch/m68k/amiga/amifb.c*cop++ = (ushort)((long)mono_current_par.cursor & 0x0000ffff);
mono_current_par1839arch/m68k/amiga/amifb.c*cop++ = (ushort)((long)mono_current_par.dummy >> 16);
mono_current_par1841arch/m68k/amiga/amifb.c*cop++ = (ushort)((long)mono_current_par.dummy & 0x0000ffff);
mono_current_par1856arch/m68k/amiga/amifb.cushort diwstrt_v = mono_current_par.diwstrt_v;
mono_current_par1857arch/m68k/amiga/amifb.cushort diwstop_h = mono_current_par.diwstop_h;
mono_current_par1858arch/m68k/amiga/amifb.cushort y_wrap = mono_current_par.y_wrap;
mono_current_par1859arch/m68k/amiga/amifb.culong offset = y_wrap * mono_current_par.bytes_per_row;
mono_current_par1865arch/m68k/amiga/amifb.cfor (i = 0 ; i < mono_current_par.scr_depth ; i++) {
mono_current_par1866arch/m68k/amiga/amifb.cscrmem    = ((long)mono_current_par.bitplane[i]) + offset;
mono_current_par1869arch/m68k/amiga/amifb.cscrmem += mono_current_par.bytes_per_row;
mono_current_par1882arch/m68k/amiga/amifb.cif (mono_current_par.bplcon0 & BPC0_LACE)
mono_current_par1883arch/m68k/amiga/amifb.cline = diwstrt_v + (mono_current_par.scr_height - y_wrap)/2;
mono_current_par1885arch/m68k/amiga/amifb.cline = diwstrt_v + mono_current_par.scr_height - y_wrap;
mono_current_par1891arch/m68k/amiga/amifb.cif (mono_current_par.bplcon0 & BPC0_SHRES)
mono_current_par1897arch/m68k/amiga/amifb.c*cop++ = 0xff00 | ((mono_current_par.htotal-4) | 1);
mono_current_par1911arch/m68k/amiga/amifb.cif (boot_info.bi_amiga.chipset == CS_ECS && mono_current_par.bplcon0 & BPC0_ECSENA) {
mono_current_par1921arch/m68k/amiga/amifb.cfor (i = 0 ; i < mono_current_par.scr_depth ; i++) {
mono_current_par1922arch/m68k/amiga/amifb.cscrmem = (long)mono_current_par.bitplane[i];
mono_current_par1924arch/m68k/amiga/amifb.cscrmem += mono_current_par.bytes_per_row;
mono_current_par1944arch/m68k/amiga/amifb.cushort diwstrt_v = mono_current_par.diwstrt_v;
mono_current_par1945arch/m68k/amiga/amifb.cushort diwstrt_h = mono_current_par.diwstrt_h;
mono_current_par1947arch/m68k/amiga/amifb.cif (mono_current_par.bplcon0 & BPC0_LACE) {
mono_current_par1955arch/m68k/amiga/amifb.cif (mono_current_par.bplcon0 & BPC0_ECSENA)
mono_current_par1964arch/m68k/amiga/amifb.cif (mono_current_par.bplcon0 & BPC0_ECSENA) {
mono_current_par1966arch/m68k/amiga/amifb.c*((ulong *) mono_current_par.cursor) =
mono_current_par1974arch/m68k/amiga/amifb.c*((ulong *) mono_current_par.cursor) =
mono_current_par2059arch/m68k/amiga/amifb.cmono_current_par.fgcol   = FG_COLOR_INV;
mono_current_par2060arch/m68k/amiga/amifb.cmono_current_par.bgcol   = BG_COLOR_INV;
mono_current_par2061arch/m68k/amiga/amifb.cmono_current_par.crsrcol = CRSR_COLOR_INV;
mono_current_par2063arch/m68k/amiga/amifb.cmono_current_par.fgcol   = FG_COLOR;
mono_current_par2064arch/m68k/amiga/amifb.cmono_current_par.bgcol   = BG_COLOR;
mono_current_par2065arch/m68k/amiga/amifb.cmono_current_par.crsrcol = CRSR_COLOR;
mono_current_par2070arch/m68k/amiga/amifb.cmono_current_par.scr_max_height = geom->scr_max_height;
mono_current_par2071arch/m68k/amiga/amifb.cmono_current_par.scr_max_width  = geom->scr_max_width; 
mono_current_par2072arch/m68k/amiga/amifb.cmono_current_par.scr_height     = geom->scr_height;
mono_current_par2073arch/m68k/amiga/amifb.cmono_current_par.scr_width      = geom->scr_width;
mono_current_par2074arch/m68k/amiga/amifb.cmono_current_par.scr_depth      = geom->scr_depth;
mono_current_par2075arch/m68k/amiga/amifb.cmono_current_par.bplcon0        = geom->bplcon0 | BPC0_COLOR;
mono_current_par2076arch/m68k/amiga/amifb.cmono_current_par.htotal         = geom->htotal;
mono_current_par2080arch/m68k/amiga/amifb.cif (mono_current_par.scr_depth < 8)
mono_current_par2081arch/m68k/amiga/amifb.cmono_current_par.bplcon0 |= (mono_current_par.scr_depth << 12);
mono_current_par2084arch/m68k/amiga/amifb.cmono_current_par.bplcon0 |= BPC0_BPU3;
mono_current_par2097arch/m68k/amiga/amifb.cmono_current_par.bytes_per_row  = ((mono_current_par.scr_width+geom->alignment-1)&~(geom->alignment-1)) >> 3;
mono_current_par2098arch/m68k/amiga/amifb.cmono_current_par.plane_size     = mono_current_par.bytes_per_row * mono_current_par.scr_height;
mono_current_par2107arch/m68k/amiga/amifb.cmono_current_par.plane_size = PAGE_ALIGN(mono_current_par.plane_size);
mono_current_par2110arch/m68k/amiga/amifb.cmono_current_par.y_wrap   = 0;                  mono_current_par.scroll_latch = 1;
mono_current_par2111arch/m68k/amiga/amifb.cp->cursor_x = 0; p->cursor_y = 0; mono_current_par.cursor_latch = 1;
mono_current_par2113arch/m68k/amiga/amifb.cif (mono_current_par.bplcon0 & BPC0_LACE) {
mono_current_par2114arch/m68k/amiga/amifb.cbplmod = mono_current_par.bytes_per_row;
mono_current_par2115arch/m68k/amiga/amifb.cdiwstrt_v = diw_min_v + (mono_current_par.scr_max_height - mono_current_par.scr_height)/4;
mono_current_par2116arch/m68k/amiga/amifb.cdiwstop_v = (diwstrt_v + mono_current_par.scr_height/2);
mono_current_par2119arch/m68k/amiga/amifb.cdiwstrt_v = diw_min_v + (mono_current_par.scr_max_height - mono_current_par.scr_height)/2;
mono_current_par2120arch/m68k/amiga/amifb.cdiwstop_v = (diwstrt_v + mono_current_par.scr_height);
mono_current_par2123arch/m68k/amiga/amifb.cif (mono_current_par.bplcon0 & BPC0_HIRES) {
mono_current_par2124arch/m68k/amiga/amifb.cdiwstrt_h =  diw_min_h + (mono_current_par.scr_max_width - mono_current_par.scr_width)/4;
mono_current_par2125arch/m68k/amiga/amifb.cdiwstop_h = (diwstrt_h + mono_current_par.scr_width/2);
mono_current_par2127arch/m68k/amiga/amifb.c} else if (mono_current_par.bplcon0 & BPC0_SHRES) {
mono_current_par2128arch/m68k/amiga/amifb.cdiwstrt_h =  diw_min_h + (mono_current_par.scr_max_width - mono_current_par.scr_width)/8;
mono_current_par2129arch/m68k/amiga/amifb.cdiwstop_h = (diwstrt_h + mono_current_par.scr_width/4);
mono_current_par2131arch/m68k/amiga/amifb.cdiwstrt_h =  diw_min_h + (mono_current_par.scr_max_width - mono_current_par.scr_width)/2;
mono_current_par2132arch/m68k/amiga/amifb.cdiwstop_h = (diwstrt_h + mono_current_par.scr_width);
mono_current_par2135arch/m68k/amiga/amifb.cif (mono_current_par.bplcon0 & BPC0_HIRES) {
mono_current_par2137arch/m68k/amiga/amifb.cddfstop = ddfstrt + (4 * (mono_current_par.bytes_per_row>>1)) - 8;
mono_current_par2138arch/m68k/amiga/amifb.c} else if (mono_current_par.bplcon0 & BPC0_SHRES && boot_info.bi_amiga.chipset == CS_AGA) {
mono_current_par2153arch/m68k/amiga/amifb.cddfstop = ddfstrt + (2 * (mono_current_par.bytes_per_row>>1)) - 8;
mono_current_par2154arch/m68k/amiga/amifb.c} else if (mono_current_par.bplcon0 & BPC0_SHRES && boot_info.bi_amiga.chipset == CS_ECS){
mono_current_par2160arch/m68k/amiga/amifb.cddfstop = ddfstrt + (2 * (mono_current_par.bytes_per_row>>1)) - 8;
mono_current_par2163arch/m68k/amiga/amifb.cddfstop = ddfstrt + (8 * (mono_current_par.bytes_per_row>>1)) - 8;
mono_current_par2166arch/m68k/amiga/amifb.cif (mono_current_par.bplcon0 & BPC0_LACE)
mono_current_par2177arch/m68k/amiga/amifb.csize = mono_current_par.scr_depth*mono_current_par.plane_size+COP_MEM_REQ+SPR_MEM_REQ+4*(cursorheight-1);
mono_current_par2186arch/m68k/amiga/amifb.cmono_current_par.smem_start = (u_long)chipptr;
mono_current_par2187arch/m68k/amiga/amifb.cmono_current_par.smem_len = mono_current_par.plane_size*mono_current_par.scr_depth;
mono_current_par2188arch/m68k/amiga/amifb.cmono_current_par.geometry = geom;
mono_current_par2190arch/m68k/amiga/amifb.cfor (i = 0 ; i < mono_current_par.scr_depth ; i++, chipptr += mono_current_par.plane_size) {
mono_current_par2191arch/m68k/amiga/amifb.cmono_current_par.bitplane[i] = (u_char *) chipptr;
mono_current_par2192arch/m68k/amiga/amifb.cmemset ((void *)chipptr, 0, mono_current_par.plane_size);  /* and clear */
mono_current_par2196arch/m68k/amiga/amifb.cmono_current_par.coplist1hdr = (ushort *) chipptr;  chipptr += MAX_COP_LIST_ENTS * 4;
mono_current_par2197arch/m68k/amiga/amifb.cmono_current_par.coplist2hdr = (ushort *) chipptr;  chipptr += MAX_COP_LIST_ENTS * 4;
mono_current_par2200arch/m68k/amiga/amifb.cmono_current_par.cursor      = (ushort *) chipptr;  chipptr += 8+4*cursorheight;
mono_current_par2201arch/m68k/amiga/amifb.cmono_current_par.dummy       = (ushort *) chipptr;  chipptr += 12;
mono_current_par2204arch/m68k/amiga/amifb.cmemset((void *)mono_current_par.cursor, 0, 8+4*cursorheight);
mono_current_par2208arch/m68k/amiga/amifb.cif (mono_current_par.bplcon0 & BPC0_ECSENA && boot_info.bi_amiga.chipset == CS_AGA)
mono_current_par2217arch/m68k/amiga/amifb.cmono_current_par.cursor[0] = mono_cursor_data[0];
mono_current_par2218arch/m68k/amiga/amifb.cmono_current_par.cursor[1] = mono_cursor_data[1];
mono_current_par2225arch/m68k/amiga/amifb.cmono_current_par.cursor[2+2*i] = cursormask;
mono_current_par2228arch/m68k/amiga/amifb.cmemset((void *)mono_current_par.dummy, 0, 12);
mono_current_par2231arch/m68k/amiga/amifb.cmono_current_par.cursor_flash = CRSR_FLASH;
mono_current_par2234arch/m68k/amiga/amifb.cmono_current_par.cursor_visible = 0;
mono_current_par2237arch/m68k/amiga/amifb.cmono_current_par.diwstrt_v = diwstrt_v;
mono_current_par2238arch/m68k/amiga/amifb.cmono_current_par.diwstrt_h = diwstrt_h;
mono_current_par2239arch/m68k/amiga/amifb.cmono_current_par.diwstop_v = diwstop_v;
mono_current_par2240arch/m68k/amiga/amifb.cmono_current_par.diwstop_h = diwstop_h;
mono_current_par2244arch/m68k/amiga/amifb.ccustom.bplcon0   = mono_current_par.bplcon0;  /* set the display mode */
mono_current_par2254arch/m68k/amiga/amifb.ccustom.color[0]  = COLOR_MSB(mono_current_par.bgcol);
mono_current_par2255arch/m68k/amiga/amifb.ccustom.color[1]  = COLOR_MSB(mono_current_par.fgcol);
mono_current_par2256arch/m68k/amiga/amifb.ccustom.color[17] = COLOR_MSB(mono_current_par.crsrcol); /* Sprite 0 color */
mono_current_par2262arch/m68k/amiga/amifb.ccustom.color[0]  = COLOR_LSB(mono_current_par.bgcol);
mono_current_par2263arch/m68k/amiga/amifb.ccustom.color[1]  = COLOR_LSB(mono_current_par.fgcol);
mono_current_par2264arch/m68k/amiga/amifb.ccustom.color[17] = COLOR_LSB(mono_current_par.crsrcol);
mono_current_par2268arch/m68k/amiga/amifb.cif (boot_info.bi_amiga.chipset == CS_ECS && mono_current_par.bplcon0 & BPC0_ECSENA) {
mono_current_par2279arch/m68k/amiga/amifb.cmono_build_ecs_colors(COLOR_MSB(mono_current_par.bgcol), COLOR_MSB(mono_current_par.fgcol),
mono_current_par2300arch/m68k/amiga/amifb.cmono_build_ecs_colors(0, COLOR_MSB(mono_current_par.crsrcol), 0, 0, ecs_table);
mono_current_par2350arch/m68k/amiga/amifb.cif (mono_current_par.bplcon0 & BPC0_LACE) {
mono_current_par2351arch/m68k/amiga/amifb.cmono_current_par.coplist1dyn = mono_build_clist_hdr(p,mono_current_par.coplist1hdr, mono_current_par.coplist2hdr),
mono_current_par2352arch/m68k/amiga/amifb.cmono_build_clist_dyn(p, mono_current_par.coplist1dyn, 0);
mono_current_par2354arch/m68k/amiga/amifb.cmono_current_par.coplist2dyn = mono_build_clist_hdr(p,mono_current_par.coplist2hdr, mono_current_par.coplist1hdr),
mono_current_par2355arch/m68k/amiga/amifb.cmono_build_clist_dyn(p, mono_current_par.coplist2dyn, 1);
mono_current_par2357arch/m68k/amiga/amifb.cmono_current_par.coplist1dyn = mono_build_clist_hdr(p,mono_current_par.coplist1hdr, NULL),
mono_current_par2358arch/m68k/amiga/amifb.cmono_build_clist_dyn(p, mono_current_par.coplist1dyn, 0);
mono_current_par2363arch/m68k/amiga/amifb.ccustom.cop1lc = mono_current_par.coplist1hdr;
mono_current_par2369arch/m68k/amiga/amifb.cif (mono_current_par.bplcon0 & BPC0_LACE) {
mono_current_par2381arch/m68k/amiga/amifb.ccustom.cop1lc = mono_current_par.coplist1hdr;
mono_current_par2400arch/m68k/amiga/amifb.cif (!(mono_current_par.bplcon0 & BPC0_LACE) || (custom.vposr & 0x8000)) {
mono_current_par2401arch/m68k/amiga/amifb.cif (mono_current_par.scroll_latch || mono_current_par.cursor_latch)
mono_current_par2404arch/m68k/amiga/amifb.cif (mono_current_par.scroll_latch)
mono_current_par2405arch/m68k/amiga/amifb.cif (mono_current_par.bplcon0 & BPC0_LACE) {
mono_current_par2406arch/m68k/amiga/amifb.cmono_build_clist_dyn(p, mono_current_par.coplist1dyn, 0);
mono_current_par2407arch/m68k/amiga/amifb.cmono_build_clist_dyn(p, mono_current_par.coplist2dyn, 1);
mono_current_par2409arch/m68k/amiga/amifb.cmono_build_clist_dyn(p, mono_current_par.coplist1dyn, 0);
mono_current_par2410arch/m68k/amiga/amifb.cmono_current_par.scroll_latch = 0;
mono_current_par2411arch/m68k/amiga/amifb.cmono_current_par.cursor_latch = 0;
mono_current_par2417arch/m68k/amiga/amifb.cif (mono_current_par.cursor_visible) {
mono_current_par2418arch/m68k/amiga/amifb.cif (mono_current_par.cursor_flash) {
mono_current_par2446arch/m68k/amiga/amifb.cif (mono_current_par.cursor_visible)
mono_current_par2450arch/m68k/amiga/amifb.ccustom.color[0] = COLOR_MSB(mono_current_par.bgcol);
mono_current_par2455arch/m68k/amiga/amifb.ccustom.color[0] = COLOR_LSB(mono_current_par.bgcol);
mono_current_par2459arch/m68k/amiga/amifb.cif (boot_info.bi_amiga.chipset == CS_ECS && mono_current_par.bplcon0 & BPC0_ECSENA) {
mono_current_par2473arch/m68k/amiga/amifb.cstrcpy(fix->id, mono_current_par.geometry->modename);
mono_current_par2474arch/m68k/amiga/amifb.cfix->smem_start = mono_current_par.smem_start;
mono_current_par2475arch/m68k/amiga/amifb.cfix->smem_len = mono_current_par.smem_len;
mono_current_par2504arch/m68k/amiga/amifb.cvar->xres = mono_current_par.geometry->scr_width;
mono_current_par2505arch/m68k/amiga/amifb.cvar->yres = mono_current_par.geometry->scr_height;
mono_current_par2511arch/m68k/amiga/amifb.cvar->bits_per_pixel = mono_current_par.geometry->scr_depth;
mono_current_par2537arch/m68k/amiga/amifb.cvar->left_margin = (mono_current_par.geometry->hbstop-mono_current_par.geometry->hsstrt)*8;
mono_current_par2538arch/m68k/amiga/amifb.cvar->right_margin = (mono_current_par.geometry->hsstrt-mono_current_par.geometry->hbstrt)*8;
mono_current_par2539arch/m68k/amiga/amifb.cvar->upper_margin = (mono_current_par.geometry->vbstop-mono_current_par.geometry->vsstrt)*8;
mono_current_par2540arch/m68k/amiga/amifb.cvar->lower_margin = (mono_current_par.geometry->vsstrt-mono_current_par.geometry->vbstrt)*8;
mono_current_par2541arch/m68k/amiga/amifb.cvar->hsync_len = (mono_current_par.geometry->hsstop-mono_current_par.geometry->hsstrt)*8;
mono_current_par2542arch/m68k/amiga/amifb.cvar->vsync_len = (mono_current_par.geometry->vsstop-mono_current_par.geometry->vsstrt)*8;
mono_current_par2544arch/m68k/amiga/amifb.cif (mono_current_par.geometry->bplcon0 & BPC0_LACE)
mono_current_par2546arch/m68k/amiga/amifb.celse if ((boot_info.bi_amiga.chipset == CS_AGA) && (mono_current_par.geometry->fmode & FMODE_BSCAN2))
mono_current_par2702arch/m68k/amiga/amifb.cmono_current_par.y_wrap = disp[con].var.yoffset;
mono_current_par2703arch/m68k/amiga/amifb.cmono_current_par.cursor_latch = 1;
mono_current_par2704arch/m68k/amiga/amifb.cmono_current_par.scroll_latch = 1;
mono_current_par2711arch/m68k/amiga/amifb.cmono_current_par.y_wrap = disp[con].var.yoffset;
mono_current_par2712arch/m68k/amiga/amifb.cmono_current_par.cursor_latch = 1;
mono_current_par2713arch/m68k/amiga/amifb.cmono_current_par.scroll_latch = 1;