background image

4.3.1 Memory mapper

MPX

TM

 has two memory mappers for mapping physical memory segments to a bank, a logical 

space. Each segment's size is 16KB and maximum 32 segments are available. You can assign a 
segment number to a bank via a 5-bit memory mapper register (REG_MAP0 and 1). Note that some
part of the bank 0 is occupied by special registers, you can't read or write  memory contents of that 
range. If needed, you can access all memory contents without such a limitation via bank 1.

4.3.2 Audio control registers

The audio CODEC and DAC are controlled directly by REG_CODEC and REG_DAC registers. 
Detail descriptions are found on each chip vendor's site. Refer to VS1053B and WM8985 reference 
manuals.

4.3.3 Special registers

MPX

TM

 has two special registers to control and monitor internal system. Refer to Table 2: status 

register and Table 3: control register for details. Note that all internal registers including mapper 
registers are prohibited to application programs basically, however MSX is an open architecture and
it's free for personal use.

bit

name

description

7

VS_DREQ

1’: CODEC data request, ‘0’: CODEC is busy

6

FIFO_RDY

1’: FIFO available (minimum 512 bytes burst write acceptable)

5

FIFO_NEF

1’: FIFO not empty

4

ID1

'0'

3

ID0

'0'

2

IRQ

1’: Interrupt requested

1

SPI1_BUSY

1’: DAC SPI I/F busy

0

SPI0_BUSY

1’: CODEC SPI I/F busy

Table 2: status register

9/11

2017 © Jun Soft

Summary of Contents for MPX H/W R2.0

Page 1: ...Media Player eXtended MPXTM User Manual preliminary release version 2 0b relevant to MPX H W R2 0 Presented by Jun Soft Jul 12 2017 1 11 2017 Jun Soft...

Page 2: ...ease R2 0b 2017 7 9 Totally revised Figure 1 connection to audio devices modified Table 1 memory map modified Table 2 status register errata fixed Setup utility and start up sound file sub sections ar...

Page 3: ...n diagram 6 3 3 Checking hardware 7 4 MPXTM Internal 7 4 1 Overview 7 4 2 Board layout 7 4 3 Memory map 8 4 3 1 Memory mapper 9 4 3 2 Audio control registers 9 4 3 3 Special registers 9 5 Tools 10 To...

Page 4: ...Index of Tables Table 1 memory map 8 Table 2 status register 9 Table 3 control register 10 Illustration Index Figure 1 connection to audio devices 6 Figure 2 board layout 8 4 11 2017 Jun Soft...

Page 5: ...friendly software interface named MPI media processing interface 2 System Requirement 2 1 Minimum requirement MSX computer with a disk drive practically large and fast storage required MSX DOS audio...

Page 6: ...or and headphone Power on the MSX computer and boot with MSX DOS 2 3 2 Connection diagram There are two audio output connectors and two audio input connectors You can connect a headphone or an extern...

Page 7: ...to any bank dynamically Analog audio signals can be routed to DAC and you can mix mp3 musics from MPXTM with external sound from DalSoRi OPL4 cartridge for example Each output and input levels can be...

Page 8: ...ame type description 4000H 77FFH BANK0 r Flash memory bank 0 6000H 67FFH REG_MAP0 w Memory mapper for bank 0 7000H 77FFH REG_MAP1 w Memory mapper for bank 1 7800H 7BFFH REG_FIFO w FIFO memory 7C00H RE...

Page 9: ...registers Detail descriptions are found on each chip vendor s site Refer to VS1053B and WM8985 reference manuals 4 3 3 Special registers MPXTM has two special registers to control and monitor interna...

Page 10: ...ashPackTM memory tool fpmt com Download them from Jun Soft blog and refer to output messages of the program with h option Some examples are following To playback a mp3 file MPXTM in slot 2 A mpxtool m...

Page 11: ...if enabled configurable by the setup utility If you want change the start up sound just change a part of the flash memory content with a valid start up sound file Use the FlashPackTM memory tool to wr...

Reviews: