100%
b68k-av audio_out_pwm_stereo view
Description

Imported from GitHub: Lougous/b68k-av · commit b387db5 · license MIT

Description

Audio and video board for b68k computer

README

Overview

This board provides audio and video capabilities to the b68k computer. Main components:

  • CPLD for local bus decoding and FPGA configuration
  • flex FPGA
  • SRAM 16-bits, 256kiB or 512 kiB
  • video RAMDAC
  • OPL2 audio chip

b68k-av block diagram

external interfaces: video (VGA, DIN 15 pins) and audio (3.5mm jack)

Memory mapping

The AVMGR CPLD decodes local bus accesses to address itself, the RAMDAC, the OPL2 or the flex FPGA.

address rangesizememory area
00000h - 0007Fh128BAVMGR registers. address bit 0 is ignored
00080h - 000FFh128Bflex registers
00100h - 0017Fh128BRAMDAC registers. address bit 0 is ignored
00180h - 001FFh128BOPL2 registers. address bit 0 is ignored
00200h - 07FFFh512B*63mirrors x63 address range 000h-1FFh
08000h - 0FFFFh32kiBSRAM access (upper 32kiB, banking through flex register)
10000h - 1FFFFh64kiBSRAM access (banking through flex register)

AVMGR registers

These registers provide an interface to configure the flex FPGA. Address bit 0 is ignored, so that odd address target the same register as at even address.

address offsetnamedescription
00000hcfgnstsbit 0: (r) flex nSTATUS signalbit 1: (r) flex CONF_DONE signalbit 6: (rw) flex nCONFIG signalbit 7: (rw) flex reset signal (active low)
00002hdatbit 0: (rw) flex DAT0 signalWhen this register is written, the flex DAT0 signal is driven and a pulse is generated on DCLK
00004hdbg0spare register for debug purpose
00006hdbg1spare register for debug purpose

These registers mirror every 8 bytes.

OPL2 registers

Provide access to the 2 OPL2 registers. Address bit 0 is ignored, so that odd address target the same register as at even address.

address offsetnamedescription
00000hregadOPL2 Address (write) and status (read) register
00002hregdtOPL2 Data register

RAMDAC registers

Provide access to the RAMDAC registers (Bt476 / IMS G176 or compatible). Address bit 0 is ignored, so that odd address target the same register as at even address.

address offsetnamedescription
00000had_writeAddress Register (RAM Write Mode)
00002hcolorColor Palette RAM
00004hmaskPixel read Mask Register
00006had_readAddress Register (RAM Read Mode)

flex registers

See flex FPGA documentation.

BOM

ReferencePart
RN1not populated
U174F245
U2EPM7064SLC44-10
U3MPC6002
U4LM337
U6EPF10K10LC84-4
U7, U874F373
U11YM3812 (OPL2)
U12KDA0476BCN-66
D5BAT48 (shottky)
X1 or X325-MHz
Comments
Sign in to comment

No comments yet. Be the first to ask about this board.