On-Screen DisplayDescriptionMN102H75K/F75K/85K/F85K LSI User Manual Panasonic Semiconductor Development Company153Panasonic7 On-Screen DisplayIf you use the OSD function, theDMA function executes for boththe text and graphics layers,even if your program does notuse one of these layers. To pre-vent error, program data for theunused layer to meet the restric-tions outlined here.7.1 DescriptionThe MN102H75K/85K contains an on-screen display (OSD) function composedof three layers: a text layer, a graphics layer, and a cursor layer. You can controleach layer individually, which gives you great freedom in positioning displays.You can also modify the ROM space that contains the text characters and thegraphic tiles and the VRAM space that contains the text and graphics programs.This allows you to adjust the memory space to fit your application.7.2 FeaturesTable 7-1 OSD Functions and FeaturesFunction/Feature Text Layer Graphics LayerCharacters or tiles per line (1) 38 characters per line (2) 18 or 28 tiles per line (3)RAM usage 80 bytes per lineLine-by-line basisMaximum 64 lines40 or 64 bytes per lineLine-by-line basisMaximum 64 linesROM usage 36 bytes per character 16 colors: 128 bytes per tile (4)8 colors: 96 bytes per tile4 colors: 64 bytes per tile2 colors: 32 bytes per tileMax. characters or tiles 1024 characters 512 tiles (in all color modes)Resolution 16 (wide) x 18 (high) pixelsIn closed-caption mode:16 (W) x 26 (H) (underlining is in the hardware)16 (W) x 16 (H) pixels, or16 (W) x 18 (H) pixelsColor depth One 16-color palette out of 4096 colors Two 16-color palettes out of 4096 colors(Total 32 colors in one display)Display start position (5) H: 1 dot resolution, 1024 stepsV: 1 H scan line resolution, 1024 stepsH: 1 dot resolution, 1024 stepsV: 1 H scan line resolution, 1024 stepsCharacter or tile size (5) 16 character sizes, line-by-line basisH: 1x, 2x, 3x, 4xV: 1x, 2x, 4x, 6x16 character sizes, line-by-line basisH: 1x, 2x, 3x, 4xV: 1x, 2x, 4x, 6xDisplay functions • Shutter effect• Outlining• Shadowing (foreground and background)• BlinkingIn closed-caption mode:• Italics• Underlining• Repeated tile or blank (6)Cursor layer Selects one tile from the graphic tile area (16 x 16)Display position: H: 1 dot resolution, 1024 stepsV: 1 H scan line resolution, 1024 stepsNotes: 1. Maximum 60 characters + tiles in one line (when using a 64-byte graphics line). For example,(1) If a graphics line contains 28 tiles, then the corresponding line in the text layer can only contain 32 characters.(2) If a text line contains 38 characters, then the corresponding line in the graphics layer can only contain 22 tiles.2. Maximum 38 characters per line (60 characters + tiles) with the default text colors. Each color assignment, including outliningand blinking, decreases this total by one.3. The maximum number of tiles per line is programmable in the GEXTE bit of the OSD2 register. 18 tiles requires 40 bytes perline, and 28 tiles requires 64 bytes per line. The setting applies to all lines.4. Multiple modes cannot be used simultaneously—the color mode applies to the entire display.5. The OSD dot clock frequency controls the horizontal position and size. For details, see section 7.9.4, “Setting Up the OSD Dis-play Position,” on page 180, and section 7.11, “Selecting the OSD Dot Clock,” on page 186.6. This function can be used for a wallpapering effect or to insert spaces. One tile code can be repeated up to 16 times. Repeatingtiles allows you to use more than 18 (or 28) tiles per line.7. For the OSD block to operate correctly, always set bit 7of the PCNT2 register (x’00FF92’) to 0.