Scanned, ocr’ed and converted to PDF by HansO, 2001 TABLE OF CONTENTS MSX-SYSTEM II OVELVICW oo ccccccecccccececceececeetecceu esses aesesceeec eeee eee ee GOP EEEASGH OG eenaeeesee eH EEE SES ER OEEE ERSTE eseeeeeeee ESSE eee: ] FOALULES 2... cececccccccceeeeecceceescceeesssseeecceeceeeessseseeeeeseess auaeeeceeeeeeetsauar eeeecsccueeeeaeeagea esrrereeeeeeeges ] Functional overview Pin LayOut ..cccccccsccessescecscceeseeeceeeesecseseseesssescsenseseseneeereesenesereetesenseneeass vececestaccesenseceeeustseee: 2 Pin FUNCTIONS ceccccceccceccescccscesseerseseesssesesecescsecsececcesceseeacersenecesecsceseeesseseseeneecaeeneensereeeeenen 3 Block diagram ...cccccecesscesceescessesseesceseescseeeseesesserseeseeseecseesessassseresteesaeeneeraeecaaeseesersesess ees 5 Description of functions Selection Of fUNCtIONS..........ccccceceeeceeceeesssnenaeeceseeeseseseeesensneacaescesenseeseseaterseseseneeeenenenaaenens «6 Back-up and reset .......cccccssssceseceeeeeceeeeseeaeeseeseeesseeseeensassessessecnesenerseessessesescseeesarseseesnsesss 7 Expansion SlOt register......csccceesceseesssesessesesesensesesenenseseseaeernasnceacenscessesrecesaeenseerseeese setes 8 Address map and slot expansion sesussussussussisssussiessusanessesanesuesuesaceseccesstesiseaesensseneetense 9 I/O addresses and fumctions..........escecceeessessresesseseeseesssensnseneceeaenssenetenestsnesnersensesteessces 10 Bit allocations of keyboard and slot designation registers ............2-.:--ssseceesseetteeeeesteees 11 Back-up RAM (8 bit X 16) sesssssessssssssssesssssesessssesessesesensasenessesssnnsendnsnennennessonsveneecessessss 12 Bit map fUNction...c.ccesecseseeceeeeseeessesseeeceeeneeneeneeeenseeensneeneene vecesescaecacesceseesersesseetseeeeaeeee: 12 PLIDUter oo... -ceccccesseccccecececseececseccecscnecceaessececeaeeceeccecesseceeaeeeescerseecseaeeeesuecsssenseesentersrseageeesrses 13 Kanji ROM select signal and system COntrol..........scesceeessseeseesseeeeeteeteeeetset enentes 15 essesnenr MAP PEL «uu... eeeceecccesessseesscecsesseseeseessesaeeeseeseaeseasessssensessesersaneceaeenensenenssestsesneeeesegeesereese cee% 15 Keyboard bus direction ........c.ccscessseeseeeeecreceseeseneesessensecsessnaeesracesacecssssasnnansecensnessstseets 16 SSG and general purpose ports REeGiSt€L ALTAY ......eecesceeceseessessessenseseessessesencssesceseesnsssssesensesssnsacseaesnessssccesanensnessesseseeeeeetes 17 General pUurpOSe POT ....--..-snecesceceeseeececeeeceseteceeeeenestasnsacneesstnassaaremasenetstnanesssnecoes stats 18 Setting of music frequencies - .- vesseeenes 18 Setting of noise generator cone ceceee cence scene ceeees serene ereeneseecesstens seenes 19 Settings of MiXeT ..... 2 eee teee et emeeen eee sesesereeeeees -- 19 Level COntrO]....2.-e ceeceeecenesscees rece ce see-cecc eeneccuennenssnan eeeen sesetsacessseesse cocec renensaes ecees ee seeeseneeaess 20 Setting of envelope frequency .......-..-. eens meee --:cec eeseee treme nereesteeeneecemeractnaa seccec seeeee naan e ates 20 Envelope shape COntrOl...........--c-ssseseec eceseeceeeeceen seesseesssnnene nnenseaetsastee censeersesss veseeceseeees 2) D-A Convertor .u.ccncccececceccecccecescececcccecsccesceceecececenecsescseceeceeeanscessassanscesersesamasssssenaeeereeters 22 Sound output SSGSNDL and SSGSNDR.........-:.:cscsesscesseeeeetetteecetarseteneensaeresenenentey 23 Clock and RAM Address allocations and initial state of counters and registers ..—....----aeeeeee eectee 24 Allocation of addresses and functions .u....ssssesecseceseeceerecerseee en rtttesecesenene s 24 eereeeenene estene Mode setting and alarm/timer EN function..........seseesesesee tates eteee reeeeeeeeteeee sseseeseee sees 25 Reset control function and 16Hz/1Hz register Setting .........-csssecsseeeteeererseeeeeetseettees 25 Test registers .........csssscsssesesececsseseseeseseessscesrseessssesesensenesasnsnecasacesaansesessassaseeesaeeeessene gets 25 Setting of 12/24 selectOr......--:scsesesssseeeeeseestsesersseseserenecsceenenenacssncnsteceeseaeeananesesesernsne ge 26 Setting Of leap Year ......sccscceceecssesecsseeeeeenseeeseessceseseneneseneacasacacaseeetensssc ereneceeeassess anseseseety 26 Setting and reading the time and calender..........scsssssssecsesseseneseseseseseseseseseeessessesessestees 26 Alarm setting and reading ..........cecsceeseeeseeeeeeserssseeeecessnesnnsessnnseneernesieraesnensnenesececsees 27 RAM (4 bit X 26) csccccssssesceessescesnesecsssseseessveceessnensecansseseesnsseeeseunseseensesesnssstessssesseenneesee 27 6. Oscillation CHrCuit....... ec cee ceseeseesceseseesesseseseeneeeesecsessesenscsecssessenenssseenesseneeeteneas 27 7. Voltage characteristics of clock oscillation Circuit ..........-...s:cseeseeseeeeeee 28 Temperature characteristics of clock oscillation CiTCUIt..........:ccseseteeeeterenetserereteeeestens 29 8. Back-up voltage and CUIrent ............cccccecceceseeteeseetsesseseseseesenecenennaneneneasanareceececsseee 30 9, Electrical characteristics. ..............:c:sccssessssseseesceesseseeseeseeeneecseerececesssesssssansensneneeneas 31 10. Recommended operating COMGItIONS .............. .:ecscc resets cteeteneneenene eecee 31 nesteereneereis L1. DC characteristics 2.0.0.0... eeceeceeesseeeseseeseeasesessceaeenssaecessaerscessesssesenanessenesnnenys 31 12. AC characteristics Clock timing .....cecccssceeeceeceeeseessesseesesesseesscseneceeesccsenssecsesesesssaneseneasnaegnensraesserseserseseees 32 Write timing... csecscescsseccesecessecesssesseensesesersrseacesaeascsscsssasssesneensaesssessonegeasonsssensaessesenes 32 Read timing .........seecceeceeecesecesssessenensesensrereceecersssceessessseansensansesensenneasersscsscesa nese cansssenas 32 Reset timing...........sessccssccesstsccsecsesssenennsseessecseesesseeresesnnrersusersenessensaceneassreasersss esssanesess 33 Analog OULPUL 0.2... eeseessceeseesensenesseceneeeeetensessesceanenecessersseaseneanc tassnea nsasneasensasenseses tes 33 Timing of M1 cycle, Memory read/write cycle, and I/O cycle.........--------s-+---s-rese 34 ce 13. Precautions for WSC... 2... ao. cecee eee cece erence eeeeeeteeeeesnecasseeereesseteesecsesneessnesateents 40 14. Exxtermal View .....ccccccccccccccccccesscececesscesensscacereceesseceeesseceeseseesecseeenssesnesensneaeeenseesseeaaeeses 4} 1. MSX-SYSTEM II Overview The Yamaha $1985 is an LSI device designed for use with MSX2 computers. It is capable of memory control with expansion according to MSX2 specifications taken into account, and control of peripheral equipment such as a VDP, keyboard, printer, etc. It also has a built-in SSG for generation of music signals and a clock. Features Slot control can be expanded to slots 0 and 3 Mapper function allowing memory expansion up to 512K bytes Built-in MSX2 standard clock functions 16 byte (8 bit) back-up RAM Registers for foreground and background color reading as bit mapped functions DRAM refresh can be selected as RAS only refresh and hidden refresh VDP select signal output Keyboard access Two built-in joystick port Built-in SSG (Yamaha YM2149 equivalent) Voicing range : 8 octaves ; Voicing systems : 3 sine waves voicing systems and 1 noise voicing system Envelope control : 5 bit D-A convertor : 5 bit Bi-directional printer mode CMOS device with Si gates 100 pin flat plastic package 2. Functional Overview Pin layout 28 wex ek obeE 3g PIE Elis 2. { f 4 36 FsIN wn — Co a — Cos 23 [——) —— KANST LT3/30—e— CU s3 * 28 = RSEL Sots) —— Cos 27 3 = 0B0 Sit —— Coos 26 Fo) = 0B $LT33 —— Coo) 56 25 () —— DB FWO! -—= (57% 26 = DB BACKY —— Co 58* 23 a Os LEFT: —— (4 59* 22 -— DBs ‘. OO EO eu (22k ohms) ac — DBs RIGHT: == Coo) 60% TRGAY == C bed 2 —— DB? TRGB: <= Co} 62%4 19 C—— =~ AB S78: - C763 13 AB! 7 = AB FWD? —= [64* BACK2 —= C1 65* 16 Co AB LEFT2 —— ("——)66* 15 ABs ; 4.0 — ABs RIGHT2 —— Co) 67* TRGA2 <= Coo) 68*4S 3 ~ AB TRGB: —=— (1) 69% 4 12 AB S782 we COT 70 no ——4A8u CAPS ae COT714 10 [> —— ABs KANA ee CO 720 gt —— VOPR Go — OO. st — WOPCW ce) - Io — MAM x — 75 sc —Ms rtt —_— Cm 76 Ly ammeoe| —e MAE e — C7 eo A _ oma atc MAe/KBDIR ‘ % ~_ om 2-—T> — PPISND we 80 81 82 83 84 85* 86 87 88 1 — Ass $7 98 291 SSGSNDR =~ c—es 90 91 $2 93 94 SSGSNOL «— Co 18 —-— C18 —— Co —- Cos Cc |SE |ae —- Co cI Cc cc | — > —_ —_— — — —— Ya Yo Yc Yo RESET BVss Ain XOUT XIN Voo PDIR PRO PWR PSTO PBUSY CMI CMO REM Pin functions Pin name 1/O Function AB15, AB14, AB7~ ABO 1 Address bus input (10 bits) for Z80A CPU DB7~ DBO i/o Data bus input/output (8 bits) for Z30A CPU Mi i M1 input for Z830A CPU RFSH i RFSH input for Z80A CPU MREQ i MREQ input for Z80A CPU TORQ i TORQ input for Z80A CPU RD i RD input for Z80A CPU WR i WR input for Z80A CPU WAIT o WAIT signal output to Z80A CPU (can have wired logic) MPX fc) Multiplex signal output for DRAM address RAS ry DRAMS RAS signal output CAS fe) DRAMS CAS signal output WE ° DRAM WE signal output SLT33 fa) Slot # 33 select signal output SLT32 ) Slot # 32 select signal output SLT31 fr) Slot # 31 select signal output SLT3/30 0 Slot # 3 or 30 select signal output SLT2 ) Slot # 2 select signal output SLT1 ) Slot # 1 select signal output’ SLT03/CS01 ) Slot # 03 select or ROM select 0000H ~ 7F FFH signal output SLT02/CS0 oO Slot # 02 select or ROM select 0000H ~ 3FFFH signal output SLTO1 ° Slot # 01 select signal output SLT0/00 fe) Slot # 0 or 00 select signal output Cs2 fe) ROM select 8000H~BFFFH signal output csi o ROM select 4000H ~7FFFH signal output Csi2 ° ROM select 4000H ~BFFFH signal output MA18/KBDIR re) Mapper address or keyboard bus direction signal output MAI7~14 fe) Mapper address address signal output YD~YA fe) Kevboard drive signal input X7~X0 i Keyboard return signal input CAPS ro) Caps LED signal output KANA ° Kana LED signal output CMI i Cassette read signal input CMO fe) Cassette write signal output REM fe) Cassette contro] signal output PBUSY i Printer busy signal input PSTB re) Printer strobe signal output PWR re) Printer write signal output PRD fe) Printer read signal output PDIR fe) Printer direction signal output FWD1, FWD2 i Joystick FWD signal input (general purpose port input) BACK1, BACK2 i Joystick BACK signal input (general purpose port input) 3 LEFT1, LEFT2 Joystick LEFT signal input (general purpose port input) RIGHT], RIGHT2 Joystick RIGHT signal input (general purpose port input) TRGAI, TRGA2 Joystick TRGA signal input/output (general purpose port input/output) TRGB1, TRGB2 Joystick TRGB signal input/output (general purpose port input/output) STB1, STB2 General purpose port output -000 == 0 0 9 VDPSW VDP write signal output VDPCR VDP read signal output KANJI Kanji ROM select signal output RSEL Signal input for expansion slot designation register control RESET Reset signa] input PPISND PPI sound signal! output SSGSNDL SSG sound LEFT signal output SSGSNDR SSG sound RIGHT signal output a) Clock signal input VDD +5V DVSS 0” (GND) AVSS GND for sound generation XIN Input from clock crystal XOUT Output to clock crystal ALM Alarm signal output BVSS Power supply for clock back-up Block diagram Rsev ABIS.ABI4 410 10 AB? — ABO . NO” 7 ; o (MEMORY CONTROL) 087-080 on x = Memory contro! logic > WAIT hes ~ 65 hans KBOIR (CONTROL) Om a 7 a f _ X0~x7 Moce | 6 L e ; 4 register ” < Keyboard control logic eo YA.YB.YC.YD ~ 4 24 O REM.CMO,CAPS.PPISND f —— Printer contro} ; } ———EE PBUSY_ Clock g bit ma p. po PDIR.PRO.PWR,PSTB $O—- butter 4 4 VDP select. 1 a.) vDPCWw,VDPCR ~ ~ kanji select logic oO KANJI JiS/50 Voo oL 1 Voo =a _§ (PORT 1) (PORT Q) DVSS O-—- ho Ee General purpose port logic Oe (RORT 1/0) 4. 1 7 peared) CM! KANA Nee a.) SSGSNDL.SSGSNOR gE Software controiied ° sound generator eo AVSS q 4, \_ 8, 1 ALM § Clock Fret RAM (éBitX 26) a 4. RAM (8BitX 16) RST L sy Resst BVSS XOUT XIN (CONTROL) :MI, RFSH, MREQ, IORQ, RD, WR (MEMORY CONTROL): RAS, MPX, CAS, WE, CSi, CS2, CS12, SLT0/00, SLTO1, SLT02/CSO, SLT03/CS01, SLT1, SLT30/30, SLT2, SLT31, SLT32, SLT33, MA14, . MA15, MA16, MA17, MA18/KBDIR (PORT) :FWD1, FWD2, BACK1, BACK2, LEFT1, LEFT2, RIGHT1, RIGHT2. (PORTO) :STB1, STB2 (PORTI/O) :TRGA1, TRGA2, TRGB1, TRGB2 3. Description of functions Selection of functions When the reset signal is input, the levels applied to the keyboard return input pins are latched by the internal reset signals to select the default functions. Table of initial levels and functions Pin name} Level Function 0 RAS only refresh mode selected K2 1 Hidden refresh mode selected 0 Mapper address output to MA18/KBDIR pin X5 1 Keyboard bus direction output to MA18/KBDIR pin 0 Kana JIS layout 6 1 Kana syllabary layout 0 Single wait requested for VDP read or write x7 ] Single wait not requested for VDP read or write 0 SLT03/CS0] and SLT02/CSO pins output slot select signals x3 ——— 1 SLT03/CS01 and SLT02/CSO pins output ROM select signals 0 Expansion to slot 0 XI — 1 No expansion to slot 0 when X3 = 1 Back-up and reset This devices uses the BVSS pin of the negative potential side to allow for back-up of the RAM data (4 bit x 26 and 8 bit x16). ns Although a reset occurs when voltage oflevel ”1” is applied to the RESET pin, the following precautiothe must be heeded to prevent loss of data and improper clock operation during switching between back-up power supply and 5V power supply, and vice versa. When turning on the power supply with the device in the backed- up state, release the reset signal only after the level of the SV power supply fully approaches 5V and all input levels to the device have stabilized. - When switching off the power supply and shifting to the backed- up state. apply the reset signal and shift to back-up when the level of the 5V power supply starts to drop but is still close to 5V, and all input signals to the device are still stable. There are various methods available for switching between the 5V power supply and back-up power supply. An example of a possible circuit and its operation are shown below. | . l Voo . y 5V 7 a 1 None backed-up] section Backed-up section | \ —— ALM + Power supply tor back-up - —_—D_ . | D : Diode (low VF) Dvss] p RESET BVss D VF . VE Reset signal Reter to the AC . Power ON : Power OFF Vop | characteristics regaraing vv, T VORS, and T VDRS aa —{ — Q . - +5V -- 5 — \ NY \ Reset signal ; NS { \ N Vco : ‘ |' 1 ( XN Y \ Reset ov Ye | ~ ,— = = oo | : — vil BVSS pin voltage : | f Tvpas | | | teas As shown in this diagram, there are no problems as the forward direction electrical potential (VF) for the diodes is merely shifted so that voltage to the BVSS pin of the backed-up section is supplied from the 5V power supply when it is operating, or the back-up battery when it is not. However, when the alarm function is activated and output is fetched from the ALM pin, this current will alter the VF value. This will cause the power supply voltage for the backed-up section to fluctuate according to the output from the ALM pin. This problem can be solved by having the resistance of the load connected to the ALM pin as high as possible, by using a circuit which limits fluctuations in the electrical potential corresponding to VF in relation to the current from the ALM pin, or by not connecting load resistance to the ALM pin when the alarm function is not used. Expansion slot register There are two registers for designation of the expansion slot: one for slot 0 and the other for slot 3. Expansion to both of the slots at the same time is possible. The inverse value of the contents is output when the registers are read. The address of the registers 1s FFFF(H) allowing slot expansion by input of the symbol obtained from NAND logic addresses AB8 ~ AB13 to the RSEL pin. Expansion slot Address R/W | B7 | B6 | BS | B4} B3 | B2 | Bl | BO Slot 0 FFFF(8H) | R/W Slot 3 FFFF(8H) | R/W J UI L - Expansion slot designation for addresses 0000(H) ~ 3FFF(H) — Expansion slot designation for addresses 4000(H) ~ 7FFF(H) — Expansion slot designation for addresses 8000(H) ~ BFFF(H) ~ Expansion slot designation for addresses CO00(H) ~ FFFF(H) The slot expansion function is controlled by the level of the X1 and X3 pins when the device is reset. Refer to section on selection of this function. Address map and slot expansion No expansion Slot Siot Slot Slot NNT Bo s2 ay FFFF coco 8000 4000 0000 T T (sttve] sm | sim |sthmke Name of contro! | signal pin Expansion to slot 3 Siot Slot Slot Slot arr “a "4. #30 Qn B32 $33 » cooc 8000 4000 0000 ee es 1 Siieseo | ran | SUiz | SLT2/20 | SUT | scr | SLT aren ot control 4 signal pin Expansion to slots 0 and 3 Slot Slot Stot Siot / CN Ora Ho do fe) | Ae #1 te “ds tn #3 tn FFFF CSi2 cooo 8900 4000 0000 tot oj. fe 1 il toi tf {ee S|) |, | th | Ste [Steve [sc [ate | ca Name of contro! | SUTe2/CSa St 103/CSa1 Signal pin Note: The prescribed input is made to the RSEL pin for slot expansion. The function of the signals marked with asterisks is selected when the device is reset. They cannot be used at the same time when expansion is to slot 0. I/O addresses and functions Function 1/O address | W/R Description Back-up 40(H) W/R | Manufacturer ID number register RAM 41 Ww Back-up RAM address latch 42 W/R | Back-up RAM write/read Bit map 46 WwW Foreground/background color write 47 W/R | Pattern and foreground/background color read Printer 90 W/R | Printer strobe write, printer status read 91 W/R | Printer data write/read 93 Ww Printer bus direction VDP 98 ~9F WwW VDP write 98~9F R VDP read SSG ABO Ww SSG address latch ABI Ww SSG data write AB2 R SSG data read Keyboard and | A8 W/R | slot designation Slot designa- | A9 R Keyboard return signal read tion register AA W/R | Keyboard drive, cassette and PPI sound write/read AB WwW Mode designation Clock and slot} B4 Ww Clock and back-up RAM address latch esignation BS W/R {| Clock and back-up RAM write/read Kanji D8, DI W/R | Kanji write/read System control] F5 WwW System control Mapper FC W/R | Mapper register page 0 FD W/R | Mapper register page | FE W/R }| Mapper register page 2 FF W/R | Mapper register page 3 Bit allocations of keyboard and slot designation registers Function Bit W/R Description Slot designa- 0 Slot designation signal for addresses 0000(H) ~ 3FFF(H) tion register I 2 Slot designation signal for addresses 4000(H) ~ 7FFF(H) 3 W/R 4 Slot designation signa] for addresses 8000(H) ~ BFFF(H) 5 6 Slot designatior. signal for addresses CO00(H) ~ FFFF(H) 7 — > Keyboard 0 Xo return 1 Xt 2 X2 3 R ».F} > Keyboard return signal 4 Xa 5 Xs 6 Xs 7 X? J Registers for 0 YA keyboard 1 YB YA~YD signals for keyboard drive drive, etc. 2 Yc 3 | YD W/R 4 REM signal for cassette control 5 CMO signal for cassette write 6 CAPS signal for CAPS lamp (LED) 7 PPISND signal for sound Mode 0 0 The slot designation register and register for setting 1 1 keyboard drive and other functions are cleared when the level 2 0 shown on the left is given. This is the equivalent 3 Ww 0 function to setting the PA and PC ports to 4 0 output and PB port to put for MODE0 of the 8255A. 5 0 6 0 7 1 0 Bo Bits of the register for keyboard drive, etc., can be set and reset when the level shown on the left is given. B1 ~ Bs \ B Bs express the bit numbers and the bits are set when Bo is “1”, eas 3 Ww B1 and reset when “0”. 3 B3 4 0 5 0 6 0 7 0 Back-up RAM (8 bit X 16) After the ASCII ID number FE (H) ts written to the I/O address 40 (H), the inverted value of 01 (H) can be obtained when I/O address 40 (H) is read, indicating that the back-up RAM (8 bit X 16) and bit map function can be used. If the RAM address (X0 (H) - XF (H)) is then set by the lower four bits of the address data of I/O address 40 (H), data can be wnitten or read at I/O address 42 (H). Bit map function As was indicated in the above section on the back-up RAM (8 bit X 16), writing data two or more times in successior to I/O address 46 (H) after access of I/O address 40 (H). also writes data to I/O address 46 (H). When I/O address 47 (H) is then read, the last data written to 1/O address 46 (H) is obtained when bit 7 of the data written to I/O address 47 (H) is “0”. The data which was written second to last is obtained when bit 7 is “0”. Then, the data written to I/O address 47 (H) is shifted up one bit so that data of bit 7 becomes bit 0. This allows for data to be obtained according :o the level of bit 7 each time I/O address 47 (H) is read. Printer The following external circuit is necessary for bi-directional operation. 4 08: ~— DBo Gate : \$244 or equivalent | Latch : S373 or equivalent Gate | PRO 55 °° 1° G a Printer TDs Latch dD ¢ 7 | pwr en oc PDIR ~~ if psTe ~ — — Oo= P8USY | PRST _— PBUSY: If a signal is input to the PBUSY pin and read, the same level as input to B1 is output. 1/O address| R/W | B7 | B6 | BS | B4 | B3 } B2 } Bi | BO 90 (H) R PSTB: When BO is set to “0” are written to, the level at the PSTB pin goes to “0” at the point when the WR sihnal returns “1”. 1/O address} R/W | B7 | B6 | BS | B4 | B3 | B2 | Bl | BO 900) | w PWR: If data is written when PDIR is “1” in the output state, a PWR signal having posituve polarity according to the pulse width of the WR signal is output to the PWR pin. The data is latched and output to the external circuit when this signal returns to “0”. The level at the PWR pin is held at “1” if the input state is selected while PDIR is “0”. When the output state is returned to again, the PWR pin remains at this level. The level goes to ”0” when access of 91 (H) is completed. I/O address} R/W | B7 | B6 | BS | B4 | B3 | B2 | Bl | BO 91 w Data PRD: If data is wntten when PDIR is “0” in the input state, a PRD signal having negative polarity according to the pulse width of the RD signal ts output to the PRDpin. This signal opens the gate of the external circuit allowing for data to be read. 1/O address] R'W | B7 | B6 | BS | B+ | B3 | B2] Bi | BO 91 (R) WwW Data PDIR: If data is written with BI = “1” and BO = “I”, a level of “1” is output continuously from the PDIR pin, and the MSX device is set to the output state. If data is written with Bl = “1” and BO = “0” a level of “0” is output continuously from the PDIR pin, and the MSX device is set to the input state. 1/O address} R/W | B7 | B6 | BS | B4 |] B3 | B2; Bl | BO 1 1 —> Output state or PRST release 1 0 | —~> Input state or PRST release 93 (H) Ww 0 1 | —~> PRST output 0 0 ——> PRST release The PRST signal can be generated by the external circuit. When the device is reset, and data is written with B] = “0” and BO = “1”, the PRD pin outputs “0” continuously and the PDIR pin outputs “1”. The PRST signal is created from these two signals. The PRST signal is released by writing data with the levels of the two bits set to another combination than BI = ”0” and BO = “1”. Printer The following external circuit is necessary for bi-directional operation. 4 ~ 08:DBo Gate : LS244 or equivalent 4 Gate Latch : LS373 or equivalent | _ 0D | 385 oo G Printer ‘ De L Latch D GC} | ewe —EN oc PDIR —> — ~ T pausy — PRST ——————{ PBUSY : If a signal is input to the PBUSY pin and read, the same level as input to B1 is output. 1/O address R/W B7 B6 BS B3 B2 Bl BO 90 (H) PSTB: When BO is set to “0” are written to, the level at the PSTB pin goes to “0” at the point when the WR sihnal returns “1”. 1/O address R/w B7 B6 Bl BO 90 (H) WwW PWR If data is written when PDIR is “1” in the output state, a PWR signal having positive polarity according to the pulse width of the WR signal is output to the PWR pin. The data is latched and output to the external circuit when this signal returns to “0”. The level at the PWR pin is held at “1” if the input state is selected while PDIR is “0”. When the output state is returned to again, the PWR pin remains at this level. The level goes to ”0” when access of 91 (H) is completed. I/O address R/W B6 B5 B4 B3 Bl BO 91 (H) Data PRD: If data is written when PDIR 1s “0” inthe input state, a PRD signal having negative polarity according to the pulse width of the RD signal is output to the PRDpin. This signal opens the gate of the external circuit allowing for data to be read. 1/O address} R’'W | B7 | B6 | BS | B4 | B3 | B2 } BI | BO 91 (R) Ww Data PDIR: If data is written with B] = “1” and BO = “1”, a level of “1” is output continuously from the PDIR pin, and the MSX device is set to the output state. If data is written with Bl = “I” and BO = “0”-a level of “0” is output continuously from the PDIR pin, and the MSX device is set to the input state. 1/O address} R/W | B7 | B6 | BS | B4 | B3 | B2 ]{ Bi } BO 1 1 | ——> Ourput state or PRST release 1 0 | —> Input state or PRST release 93 (H) Ww 0 1 | —> PRST output 0 0 ——> PRST release The PRST signal can be generated by the external circuit. When the device is reset, and data is written with B1 = “0” and BO = “1”, the PRD pin outputs “0” continuously and the PDIR pin outputs “1”. The PRST signal is created from these two signals. The PRST signal is released by writing data with the levels of the two bits set to another combination than B] = ”0” and BO = “1”. Kanji ROM select signal and system control I/O addresses D8 and D9 (H) are kanji ROM selection signal outputs. The level of these outputs is controlled by the system control indicated below. Output to the KANJI pin is enabled when data is written when BO of the system control data is “1”. 1/O address} R/W | B7 | B6 | BS | B4 | B3 | B2 } Bl | BO FS (H) w Mapper There are four mapper registers (0 ~ 3) located at I/O addresses FC (H) through FF (H). The effective bits is five for each, B4~ BO, and these correspond to mapper addresses MA18~ 14. Mapper register as an pages 0~3 are selected according to addresses AB15 and AB14, and the contents are output address. Thus, for example, if mapper addresses MA18~14 are used for 512K byte of RAM, the 512K byte indicated by the mapper register is divided into 32 sections. Each of these 16K byte areas can be se- . lectively accessed by AB15 and AB14, making the addresses seem to increase. 1/O address| R/W B7 B6 | BS | B4 | B3 | B2 | Bl | BO Register ABI5 } AB14 FC (BH) R/W Mapper register page 0 0 0 R/W Mapper register page 1 0 1 FD FE R/W Mapper register page 2 1 0 R/W . Mapper register page 3 1 1 FF Mapper address MA18|MAI7{[MA16|MA15|MA14 Keyboard bus direction This signal outputs | 1/2 bits at the end ofthe I/O cycle when data is written to I/O address AA (H) or AB (H). Use of a circuit similar to that shown below allows for the number of signal lines between the keyboard and main system to be reduced. Device side Keyboard side y J x = > DECODERS BUFFERS LATCHES CAPS 3STATE KANA 6 io we a Ya—Yo Z __| EN 34 OC ce KEY SW 2 yy < Y ina 8 ‘ —~— — |, 8.Z 5S fc mame eo] 7 Xo~ X7 ra ra ars a > leo ‘ | , KBDIR Ky, 1, , fy, Ww GND V, GND TM +5V 1, 7 +5V , Keyboard bus direction This signal outputs | 1/2 bits at the end ofthe I/O cycle when data is written to I/O address AA (H) or AB (H). Use of a circuit similar to that shown below allows for the number of signal lines between the keyboard and main system to be reduced. Device side Keyboard side y ih x = > DECODERS BUFFERS LATCHES CAPS 3STATE KANA 6 io we a Ya—Yo Z _ 4 EN 34 0C ce KEY SW BUFFERS = ce 3STATE NU2 BUFFERS xk EZ 4 KBDIR 7 : , GND ve a i?) z oO ¥, +5V “y + uw < NS 4. SSG and general purpose ports The SSG (Software-controlled Sound Generator) is controlied by 14 registers (these registers can be read with no effect on sound). Sound generation uses three square wave generator capable of voicing over § octaves, a pseudo-r andom noise generator, 5 bit envelope generator for single shot and repetitiou s attenuatio n , volume controller, mixer for combining music (tones) and noise, and a 5 bit D-A convertor. The general purpose port section consists of an input and output port which can be accessed through R/W registers. Register array When the upper bits, DB7~DBO, of the 8 bit address data is 0(H), the lower four bits, DB3~ DBO, select the 15 registers. Address data which is fetched is held until the next address is fetched, and is not affected by read or write operations. The contents of the register array is shown below. Register array Regis-| Address | Faction Bit} By | Bs | Bs | Bs | Bs | Bz | Bi | Bo ter (H) Ro 00 8 bit fine tone adjustment Ri 01 Frequency of channel A | 4 bit rough tone adjustment R2 02 8 bit fine tone adjusument Re | 03 | Preavency of channel B : | 4 bit rough tone adjustment Re 04 8 bit fine tone adjustment Rs 05 Frequency of channel C | 4 bit rough tone acjusument Re 06 Frequency of noise | 5 bit noise frequency Port * Noise Tone Ri 07 General purpose port and mixer settings: “qe | or c B A Cc B A Rs 08 Level of channel A M L3 Ll: Li Lo Ro 09 Level of channel B M l3 j be: | li Lo Ra 0A Level of channel C M L3 l2 Li Lo RB OB & bit fine adiusument Re 0c Frequency of envelope § bit rough adjusument RD | OD | Shape of envelope cont| aTT | ALT [HOLD | Data of general purpose mmput port ; Refer to genera] purpose port bit allocation table 7 OE RF OF | Data of general purpose output port * Make sure that the section of R» for ports is at the indicated levels. General purpose ports The input port is at address OE (H) and the output port at address OF (H). These ports are controlled by the register for output port data hold register RF. The general purpose port bit allocation table on the right shows the relationship between each of the bits, and the input/output pins. General purpose port bit allocation table Port Bit |Input Names of connected pins Input Bo FW’! or FW2 FWDI1 or FWD? is selected by B6 Bi BACK! or BACK2 of the output port. Input ts B: LAFTI1 or LAFT2 from the FWD2 side when B6 = “1”. B3 i | RIGHT or RIGHT2 Ba TRGA! or TRGA2 Bs TRGBI or TRGB2 Bs JIS/50 B7 CM1 Output Bo TRGAI Bi TRGBI B2 TRGA2 B3 o | TRGB2 Bs STBI Bs STB2 Be BS (not externally output) Input selection for input port BO~ B7 KANA Setting of music frequencies (controlled by registers Ro~ Rs) The frequencies of the square wave generated by the music generators for the three channels (A, B, and C) are set by registers Ro through Rs Roand Ri control channel A, R2 and Rs are used for channel B, and R« and Rs control channel C. The oscillation frequency Fr is obtained in the following manner from value of the register TP (decimal). Fa is the clock frequency. _ Fo Fr= 3TP Rough tone adjustment ; Ru Channel 7 A Fine tone adjustment f Ro} register | B register R2 Rs Cc Re J B> | Be | Bs | Be | Bs | B2 | Bi | Bo B: | Be | Bs | Bs | Bs | B: | Bi | Bo Not used TPi:!TPio} TPs |TPs |TP |TPs |TPs |TPs | TP3|TP2 |TPi |TPo 12 bit oscillation frequency setting value (ITP) Setting of noise generator (controlled by register Rs) The noise frequency Fn is obtained from the register value NP (decimal) in the following manner. Fo is the clock frequency. Fo = Fx 32NP Noise frequency register Re B? Be Bs Ba Bs B: Bi Bo Not used NP. | NPs | NP2 | NP: | NPo 5 bit noise frequency setting value (NP) Settings of mixer (controlled by register R:) The mixer is used to combine music and noise components. The combination is determined by bits Bs~Bo of register R: Sound is output when a “0” is written to the register. Thus, when both the noise and tone are “0”, the output is combined by the mixer. Whichever is “0” is output, and nothing is output when both are “1”. Mixer setting register R7 Br Be Bs Bs Bs B2 Bi Bo 110 Noise Tone —~— Channel| C| BIA Channel| C |B] A Always set in this manner Output possible when noise and/or tone is “Q”. Level control (controlled by registers R:~ Ra) The audio level output from the D/A convertors for the three channels (A. B, and C) 1s adjusted by registers Rs, Rs, and Ra). Mode M selects whether the level is fixed (when M = 0) or variable (M = 1). When M = 0, the level is determined from one of 16 by level selection signals L3. output L:, Li, and Lo which compromise the lower four bits. When M = 1, the level is determined by the 5 bit of Es, Es, Ex, Ei, and Eo of the built-in envelope generator. This level is variable as Es~ Eo change over time. Level setting registers E : Channel 7 Rs : Channel B Ra : Channel C B, | Be | Bs | Ba | Bs | Be | Bi | Bo — —— Not used M L3 | La Li | Lo Mode " 4 bit level selecuon Setting of envelope frequency (controlled by registers Rs and Rc) The envelope repetition frequency Fe is obtained as follows from the envelope frequency setting value Ep (decimal). Fa is the clock frequency. _ Fg Fe= 312 EP Envelope rough adjustment register Envelope fine adjustment register B; | Be| Bs | Ba | Bs | Bz} Bi} Bo B; | Be | Bs | Be | Bs | Bz | Bi | Bo EPS EPWEPaE PEPE P iolEPs| EPs} EPs| EPs|EPs| EP«JEPs EP:/EP:i|EPo Z. 16 bit envelope period setting value (EP) Envelope shape control (controlled by register Ro) The envelope level is determined by the envelope generator using the 5 bits La~Lo. The shape of this envelope is created by increasing, decreasing, stopping, or repeating the counter for the envelope generator. The shape is controlled by bits B:~ Bo of the register Ro. Envelope shape control register Rp B: Bs Bs Ba Ba B: Bi Bo Not used CONT] ATT ALT HOLD Envelope shape control signals The envelope can take the shapes shown in the table below according to combinations of the CONT, ATT, ALT, and HOLD signals. Table of envelope shapes Be |B |B | Be Envelope shape | CONT} ATT | ALT |HOLD 0 0 x x 0 1 x x [en 1 0 0 0 Ee] 1 0 0 1 Po 1 0 1 0 Ne 1 0 1 1 pf | 1 1 0 1 {|e | 1 1 0 ie ee ae 1 1 1 1 a — | 1/fe | — Repetition period of envelope D-A Convertor When the D-A convertor normalizes the maximum amplitude to 1V, the output changes as shown in the diagrams below. This conversion from linear input to logarithmic output provides a wide dynamic range and a natural feeling of attenuation. Normalized voltage $ ee tte ees Ferme EWAN NPIENE A 707 595 42 Fig. 2 Output waveform of single tone with envelope (Ro= XXXX1110) 354 297 25 JETT 149 128 i” ae ee nn ana ithe oo | ‘ Sea? 1 ppuaness2eiziaTM Fig. 1 Output level of DA convertor subscripts on the left half of the dia- . Fistedietgeliehetnk eek The gram are the fixed revels of the selection r{-t | te signals Ls, L>, Li, and Le converted into rT Pt yt bd ‘decimal values. The subscripts on the right side are decimal expressions of the envel- Fig. 3 Output waveform from mixing of ope counter output signals Es, Es, E2, Ei, three sounds with fixed level and Eo. (Ro~Ra = XXXX1100) Sound output SSGSNDL and SSGSNDR Of the music signals generated on channels A, B, and C by the data set in the registers, channel B is output from the SSGSNDL pin and channel C is output from the SSGSNDR pin. Channel A is the mixed signal from the SSGSNDL and SSGSNDR pins. Output is thus stereo output having left and right output signals. Monaural output is also possible by shorting the the SSGSNDL and SSGSNDR pins when not in use. Possible configuration for stereo output LEFT ch AMP —o SSGSNDL q « = bene RIGHT ch AMP SSGSNOR sk AVSS Possible configuration for monaural output » SSGNDL AMF SSGSNDR -— -—-———— > « > «< 2 AVss T +; 5. Clock and RAM (4 bit x 26) The clock section is connected to the crystal oscillation circuit and provides second, minute, hour, day of the week, day, month, and year clock counter functions, and minute, hour, day of the week, and day alarm registers. Control such as setting and reading the clock data for time and calender and alarm data is carried out in this section. All of this data can be backed up. Address allocations and initial state of counters and registers Regardless of the value of the upper four bits of the 8 bit address data, the mode is selected from the low four bits DBs ~ DBo and the four modes indicated by the address X D (H) modes registers M1 and MO. Addresses X 0 (H) ~ X C (H) can be are both writable and readable. Address X D (H) ~ X F (H) is write only, and has no effect on the mode. The state of the counters and registers is indeterminate when the power is turned on. They must be set by writing the prescribed values. Allocation of addresses and functions Mode 0 1 2 3 . . Adress (H) Funcuon . Bit} B3 B2 Bi Bo | Funcuon . . Bit| B3 B2 Bi Function | Funcuon x 0 | J second counter x 1 | 10 second counter x2 | 1 minute counter } minute alarm register RAM RAM x 3 | 10 minute counter 10 munute alarm register 4 Bi 4 Bit x 4 |] hour counter 1 hour alarm register 3 3 x § | 10 hour counter 10 hour alarm register x6 | Day of the week counter Day off thithe weekk alalarm fegister x7 /) dav counter 1 day alarm register x 8 | 10 dav counter 10 day 2lerm register x9 }1 month counter xA }10 month counter 12/24 hour selector xB | 1 vear counter Leap year calender xC | 10 vear counter Note: The day of the week counter counts between 0 Address Function Bit! Bs | B> | Bi { Bo and 7. The relationship between actual day of the . (A) week and counter value can be determined as desired. Mode Timer|Alarmi Mode xD register a EN | EN M) | Mo Test Test xE ister Tem t | m2 | m1 | To xF Reset controller 1HZ ]16HZ ‘Alarm 16/1Hz register ON | ON Mode setting and alarm/timer EN function (address x D (H)) The 4 bit mode register consists of Mi and Mo for switching the mode functions and two bits for the timer EN and alarm EN. Mode | Mi | Mo Description 0 0 0 | Time and calender can be set and read 1 0 1 | Alarm, 12/24 selection, and leap year can be set and read 2 1 0 | RAM (4 bit x13) is both readable and writable 3 1 1 | RAM (4 bit x 13) is both readable and writable Function |Level Description Alarm 0 | Alarm signa] not output to AML pin EN 1 | Alarm signal output to AML pin Timer 0 | Counter stopped for other than seconds EN 1 | Clock started Reset control function and 16Hz/1Hz register setting (address x F (H)) Alarm reset and timer reset function during the data write, and not have registers. There are registers for 16Hz ON and 1Hz ON. These function in the following manner. Function Level Description Alarm RESET 1 | All alarm registers reset upon write. Timer RESET 1 | Counter is reset from seconds upon write. 16Hz ON Q | 16Hz signal output to ALM pin. 1Hz ON 0 | 1Hz signa) output to ALM pin. Test registers (addresses x E (H1)) T3~To are registers for test purposes. Tests are performed for all except test 0 (operati on as clock). When using the clock for the first time, set all bits to level “0” in order to perform test 0 (clock). Test T3 | T2 | Ti | To Description 0 0 0 0 © | Operation as clock. 1 0 0 0 1 | Test 1 selected. 2 0 0 1 O | Test 2 selected. 3 0 0 ] 1 | Test 3 selected. Output to ALM pin. 4 0 1 0 0 | Test 4 selected. 8 1 0 0 0 | Test 8 selected. Setting of 12/24 selector (mode 1, address x A (H) ) Selection of operation as a 12 hour clock or 24 hour clock is possible by writing the level shown in the table below. Set the time after making this setting. Function |Level Description 0 | Operation as 12 hour clock. When this mode is selected, the 12/24 hour 10 hour counter and B1 of the alarm register indicated AM or PM. selector AM is selected when B} is “0”, and PM when “1”. 1 | Operation as 24 hour clock. Setting of leap year (mode 1, address x B (H) ) The leap year setting can be made by setting the levels shown in the table below. The time and calender settings are made after this setting is made. This calender is incremented together with the year calender. Function | Bi | Bo Description 0 0 | Operation with this year as leap calender year Leap year} 0 1 | Three years from now counter 1 O | Year after next as leap year 1 1 | Next vear as leap year Setting and reading the time and calender (mode 0, address x 0 (H)~ x C(H) ) The addresses can be fixed by the functions indicated in the table for address allocations and functions. The clock counter can be set by writing effective values for time and calender clock data. Data is read in the same manner. The address is fixed and the bits are read to obtain the clock data. The level of bits which are not effective is always “0”. If the time of the second, minute, hour, day of the week, day or year counter (clock counter) advances while setting or reading the clock data, it is not possible to set or read the proper values for the ciock data. Thus when setting the clock data, generate a timer reset and set all necessary clock data during this second. An alternate procedure is to generate a clock EN to stop incremention of all counters except seconds, generate a timer reset, set all necessary clock data within one second, and then update the clock with the timer EN. When reading the clock data, read it twice and compare the results to determine usable data. Another approach is to set the clock timer to the operational state again with the umer EN and read the data. The change in the 1 second signal which occurs while the counter is stopped for all counting above one second, will be adjusted when clock is restarted. Approximately 100&mu-s are required for this correction. Be sure not read the time again during this period. Alarm setting and reading (mode 1, address x 2 (H) ~ x 8 (H) ) The alarm registers can be set by fixing the addresses by the functions indicated in the table for address allocations and functions. and then by writing valid values to the bits for time and calender alarms. The data in the alarm registers can be obtained in the same manner by fixing the addresses. and reading the bits. When the contents of the minute. hour, day of the week, day and year alarm registers 1s the same as the contents of the clock calender (and alarm EN register is set to output state), a level “0” signal is Output to the ALM pin. The alarm register is reset by the alarm RESET bit. Then. the datz wmitten to the alarm register and clock counter are made the same. Regarding alarm registers which were not written to. ovtput Is to the ALM pin as the data of both were already the same. ALM pin output (external load resistance is needed as open drain) The signals controlled by the alarm En, 16HZON, 1HZON, and test registers can be output simul- taneously from this pin. Set the level of the various registers so that only the required signals are output. RAM (4 bit x 26) (mode 2 and 3, address x 0 (H) ~ x C (H) ) This RAM area consists of a RAM area accessed at address XO (H) ~ X C (H) in mode 2, and 2 RAM area accessed at address X 0 (H) ~ X C (H) in mode 3. 6. Oscillation circuit A sample oscillation circuit is shown on the nght. Note that the accuracy of the clock will suffer if the oscillation circuit is effected by external noise. The voltage characteristics and temperature characteristics of the clock oscillation circuit, back-up voltage and current characteristics and back-up current and C3 charactenstics are shown below. All parts other than the device itself are kept at room temperature during measurement of temperature characteristics. BYss Xoyt Xin Vop —D ——— —- oo |, Gs R: XTAL . = x Cr C2 IL LZ es ry G 4 Xta. = 32.768KHz Ci =68Pr C2 =60PF(MAX) Ci = 39PF CG =1yF Ri =120KQ 9. Electrical characteristics Absolute maximum ratings Item Rated value Units Power supply voltage (VDD) -0.3 ~ 7.0 Vv Input pin voltage -—0.3 ~ Vpp+ 0.3 Vv Operational surrounding temperature 0 ~ 70 °C 10. Recommended operating conditions litem Symbol} Minimum | Typical | Maximum | Units Power supply voltage Vpp 4.75 5.00 $.25 Vv Data retention voltage VDE 2.0 $.25 Vv Frequency for clock Fx 32.768 Kuz 11. DC characteristics Item Symbol Conditions Minimum | Typical} Maximum | Units Low level input voltage 1 Viti ‘| Other than (Xo ~ X2, XIN) -0.3 0.8 v High level input voliage | Vin1 Other than (Xo ~ X71, XIN) 2.0 Vop Vv Low level input voltage 2 Vi2 (Xo ~ X71, XIN) -0.3 1.5 Vv High level input voltage 2 Vin2 (Ko ~ X2, XIN) 3.5 VDD Vv Low level output voltage 1 VoL Io.= Note 0) 0 0.5 Vv High level output voltage 1 Vou lo:= Note 0) 4.0 Vpp Vv Input current h Vin=0* 50 500 HA Input leak current Tu Vin=0~ 5° +10 LA Ourput leak current ILo Vin=0~ 5° +10 pA Power supply voltzge (hold) IDB VpB=2.0" 15 WA Power supply volrage (operanng) { Ippo Vps = 5.25" 35 HA Note 0) Io.=10mA :Applies to WAIT, CAPS, and KANA pins Io. = 2.4mA : Applies to output pins other than WAIT, CAPS, and KANA. Ion = 0.2mA : Applies to all output pins other than open drain. 12. AC characteristics Note 1) Clock timing ltem Symbol Conditions Minimum | Typical |}Maximum | Lnits Clock period Te 280 ns Rise time of clock Tor 30 ns Fall time of clock Tor 30 ns Write timing Item Symbol Conditions Minimum | Typical |Maximum | Units Assurred time prior to data WR off Twrs 300 ns Hold time from data WR off TWRH 0 ns Delay time from WR off of output data | Twro | Note 2) CL=100PF 250 ns Delay time from output data Topp Note 3) CL= 100PF 250 ns Read timing Item Symbol Conditions Minimum | Typical |Maximum | Units Data delay time TRDD 250 ns Transition time to float state TRDF 100 ns Assured time prior to input data RD | TRDBs } ote 4) 0 ns Hold time for input data RD TRDH 0 ns Note 1) The various timing characteristics assume that direct connection is made to the address bus, data bus, and contro! bus signals of the CPU. Note 2) Applies to YA, YB, YC, YD, REM, CMO, CAPS, and PPISND pins. Note 3) Applies when TRGA1, TRGB1, STB1, STB2, TRGA2, TRGB2, KANA, PDIR, PWR, and PRD pins are controlled by data bus. Applies to X0, X1, X2, X3, X4, X5, X6, X7, FWD1, BACK1, LEFT], RIGHTL TRGAI, e ene e eed Note 4) TRGB1, FWD2, BACK2, LEFT2, RIGHT2, TRGA2, TRGB2, CMI, and PBUSY pins. Reset timing Item Symbol Conditions Minimum [ Typical Maximum | Units RESET 7 Xn J delay time Trsx |) Xn=(X1, X2, X3, X5 150 ns RESET | Xa f delay time TRSx X6, X7) 50 ns RESET 7 RESET | time Trsw 5.6 ys Vpp (4.5) | RESET | delay time TvpRs 5.6 jis Vop (4.5) | RESET tf delay time TVDRs 0 ps Analog output Item Symbol Conditions Minimum | Typical | Maximum | Units Output voltage from channel A to SSGSNDL VAL 0.28 0.35 0.44 Vopp Output voltage from channel A to SSGSNDR VAR Note 7) and Note 9) 0.28 0.35 0.44 Vpp Output voltage from channel B to SSGSNDL VBL 0.52 0.66 0.83 Vopp Output voltage from channel C to SSGSNDR Vcr 0.52 0.66 0.83 Vpp Output voltage when SSGSNDR and SSGSNDL} Vi_+R)} Note 8) and Note 9) 0.42 0.53 0.67 Vpp are connected Note 7) Circuit for separate output Note 9) State of registers during SSGSNDL and SSGSNDR of Land R output voltage measurement Music frequency setting register : OFF (H) (440Hz) SSSSNOL Volume control register : OF (H) (max. volume) Vaz, VBL Mixer register : Separate output of A, B, AVss = and C channels Van, VcR SSGSNDR Ruiz Rrei1KQ =0.0047 +F Note 8) Circuit for combined output of Land R SSGSNDL Te Rk vue AVss aS WT SSGSNDR CL =0.0067 uF RE1KQ Timing of M1 cycle, Memory read/write cycle, and I/O cycle Item Symbol Conditions Mini-[Maxh), nits mum | mum MREQ | WAIT |} delay time| TMRWA CL = 100PF Ri= | Ka 150 | ns Clok | WAIT 1 . TOwa - 150 | ns MREQ ! RAS 3} - TMRRA CL = 100PF Ri= 3.9 Kn 70 | . MREQ 1 RAS 1 - TMRRA " 70 | - Clok +t RAS 4} - TOR - 70 | « Clok 1 RAS f¢ . TORA " 90 | 180] - Clok 1 MPX ft ” TOmx . 70 | « MREQ t MPX |! " TMRMX . 70 | « RAS | MPX 7 - TRAMX " 50 ” Clok | CAS 4 - TOA - 70 | . MREQ t CAS 1 - TMRCA " 70 | « Clok | CAS 7 - TOca . 70 | . RD | WE 1 - TOwE - “70 | «- Clok | WE 7 " TOWE - 70 | - MREQ 1 *CSn | . TmRcS ” 70 | - MREO + *CSn 1 " Tmres " 70) . MREQ ! *S{UTn } " TMRSL - 70 | « MREO 7 *SLIn t+ - TMRSL ” 70 | «. MREQ ; *SLTnnl ° TMRST ~ 70 | - MREQ 1 *SLTnont1 - TMRST - 70 - ADR *MAn - TDMA . 120] - ADR(OFF) *MAn(OFF) - TADMA » 120] - RD 1 VDPCRI - TRDVR - 70] - RD 1 VDPCRt - TRDVR - 70) - Clok 1 VDPCW! - Taw - 70 - WR +t VDPCW; - Twrvw 40 | - TORO :! KANIT | - TioxN - 70 | . TORO 7 KANITI 7 - TioKn - 70} - RD : PRD |} “ TRDPR - 150] - RD 1 PRD 1 - TRDPR - 150| - WR ! PWR 1 - TwRew - 150] - WR 7+ PWR | - TwrPw - 150| - Clok + KBDIRT - T@xp . 150| - Clok ! KBDIR! - TOExp - 150} - Note 5: Refer to Note 10 for those marked with asterisks. Note 6: The load circuit is shown on the night. Output pin Output pin (WATT) . (other than WATT) Voo Voo F Re Ru ar Cc. ba4 ¥ Measurement Soim | Cy bo Measurement point Clock timing “yy “L” CLOCK (8) Vop— 0.6" 0.8” ! = r ! | | (OUT PUT 2.0" ‘ 0.8” pp IN PUT 2.0" 0.8" clock) | ; _ | +0.5% | FLOAT AY _) Te Write timing Wi a DATABUS uN (INPUT) iY: f Twrs Vo Twa XX _ ouTPUT DATA _— Note 2) Tw are | OUTPUT DATA Note 3) Read timing RD Lr l ly 11 INPUT DATA Note 4X | | TRoH } [Tas DATABUS —N\ , on 4 (OUTPUT) Tio | TROF | M1 cycle timing | Th Tz Tw T3 Ta Th Clock(¢ ) | | | | | | | a { J | | L_ | | y | ADR x | | Mi ~~] | | CPU FSH ml | | | | | RD —] | J wep t«‘Ci«*” ) | | | WAIT | | Tea -—rh Tiwa . mS mi THERE TMRRA MPX | | LL \— Tax Tara 1 ote To mx Tuniak os = T50 | [Po i Tunca ivi i} — Turca | WE I | | | ja ee rt || “ton rT yt | | | —T Tas —— Twn, *SLTh r) | if of TRE TT TMS: | pm Tes. Tas t- TaRET —~ Twrs — Ties: —T ‘FMRST | * MAN | Toma Note 11: Refer to Note 10 for signals marked with asterisk I/O cycle timing (1) Xx Tron f= i t L_ i “AT Twrvw Twriw 4 TT Tew Tw | : - - lz 1 jt 4 iS IS Lond — —] | F{ i Li E o_o {| ST a -— : ' Xs pov anna pram = 2 _ . — — i} Jt ot 7 < _ = e2 &2 x = - BOE OE nd E se & & = P oO Note 12: The VDPCR and VDPCW signals marked with asterisks indicate the timing when “1” is applied to the X7 pin during reset. _ A 1 bit wait is inserted after Tw when “0” is applied to the X7 pin during reset. I/O cycle timing (2) | Nh Tz Tw T weil LS LS LJ1 JL wor __X X CPU | | | | .e) P2 ra) = KBDIR Tt Te Te Note 13: Thesignal marked with an asterisk is the KBDIR output of MA18 when “1” is applied to the X5 during reset. Reset timing RESST | | Trsk . ma TEE }-—--———| ' Tasw 4.5V = T , 4.5V Yoo | ov a aes -<-- @ “1° level = VDD in this case RESET | TvoRs me ~ T Tas ————