PAGE1ReferenceOnlyVersion:2.1Date:2007/08/02TTU9838BitsTVgamesystemFeatures:System:1.CPU:65022.InternalWorkingRam:2KBytes3.InternalVideoRam:2KBytes4.DMA5.Onebusmode:8bitsdatabusor16bitsdatabus6.Bankdecoderforexpandablememoryupto2MBytes7.TVsignaloutput(NTSC,PAL-B,PAL-M,PAL-N)PeripheralApplication:Bulit-injoystick1Joystick2,LightgunGraphicProcessor1.Resolution:256X240pixel2.4colormodeforeachfont3.64spritesinoneframe4.25ColorpalletteSoundGenerator1.3rhythmchannels2.1noisechannel3.1PCMvoicechannelGeneralDescription:TTU983isasinglechipmicroprocessorforuseinTVgame.ItiscomposedofCPU(6502),PPU(pictureprocessorunit),PSG(programmablesoundgenerator),2KBytesworkingRAM,2KBytesvideoRAM,DMAunit,andothercontrolcircuit.Video:TTU983applytodisplayvariableanimatedcartoon.Inbackgroundpicture,itsupply2-pagesizeinthescreen;Inspritepicture,italsosupply64spritesperframe.Besides,theXandYcoordinatepositionsisprogrammabletodisplaytheactualareaAUDIO:TTU983applytomulti-mixsoundoutput.Itwith5channelsprogrammablesoundgenerator,include3rhythmchannels,1noisechannel,and1PCMvoicechannel.TTU983cancombineprogramandvideobusintoonebusmode.ThusitneedsonlyonememoryICastheprogrammemoryandvideomemory.Underonebusmode,programmerspecifiestheprogramandvideobankindividuallyinthesameexternalmemoryandthenTTU983willcombinethetwoindependentbusesintoonebus.Externalmemorycanbeextendedto4MbytesthroughthefunctiondecoderofTTU983.PAGE2ReferenceOnlyVersion:2.1Date:2007/08/02BlockDiagram:JOYSTICKRCOPTIONIRQPERIPHERALINTERFACEVIDEOBANKDECODERPD[7:0]PA[20:0]RMWEBRMCEBPROEBVRWVOEVD[7:0]VA[20:0]OPTIONONEBUSCONTROLDMACK21BCK21MOP1VIDEOOUTPUTOUTPUTVIDEOPPUGENERATORTIMINGCONTROLLERIRQPSGPROCESSORAUDIOAMPRAMWORKINGRAMDECODER6502CPUPad/PinDescription:PADNameI/ODESCRIPTIONPA[0:14]OAddressbusA0-A14ofCPUPA[15:20]Ononebusmodeorinternaltwobusmode,ROMorflashAddressbusA15–A20.PD[0:7]I/ODatabusbit0-7ofCPU.RMCEBOOnexternalonebusmodeorinternaltwobusmode,$6000-7FFFchipenablesignal(Lowchipenable).Onexternaltwobusmode,CPUclock1.8Mhz(CK18).RMWEBOOnonebusmodeorinternaltwobusmode,$6000-7FFFwriteenablesignal(Lowwriteenable).Onexternaltwobusmode,CPUread/writesignal(RWB).PROEBOOnexternalonebusmodeortwobusmode,ROMorflashchipenablesignal(Lowchipenable).VA[0:12]OOntwobusmode,AddressbusA0-A12ofPPU.VA13OOninternaltwobusmode,AddressA13ofPPUOninternalonebusmode,ROMorflashchipenablesignal(Lowchipenable),VA14OOninternaltwobusmode,AddressA14ofPPUOninternalonebusmode,$6000-7FFFchipenablesignal(Lowchipenable).VA[15:17]OOninternaltwobusmode,AddressbusA15-A17ofPPU.VA18I/OOninternaltwobusmode,AddressA18ofPPU.Onexternaltwobusmode,InternalVideoRamaddressA10.VA19I/OOninternaltwobusmode,AddressA19ofPPU.Onexternaltwobusmode,CPUinterruptinputsignal(IRQB)Ononebus8bitmodeROMorflashAddressA22PAGE3ReferenceOnlyVersion:2.1Date:2007/08/02VA20OOninternaltwobusmode,AddressA20ofPPUOnonebusmode,ROMorflashAddressA21.VD[0:7]I/OOntwobusmode,Databusbit0-7ofPPU.Ononebus16bitmode,Databusbit8-15VRWORead/WritecontrolsignalofPPUmemoryVOEOPPUmemoryreadenablesignal(Lowreadenable)RCOPPUmemorychipenablesignal(Lowchipenable)VSSPVSSpowerpinVDDPVDDpowerpinPORN,F50R6ITVsystemselectpin:(pull-high)“11“:PAL-B,“10“:PAL-M,“01“:PAL-N,“00“:NTSCOPT_EXTBIInternalorexternalmodeselectpin:(pull-high)“1“:internalmode,“0“:externalmode.OPT_XONE,IOnebusmodeselectpin:(pull-high)“1“:Onebusmode,“0“:TwobusmodeOPT_XBYTEI8bitsor16bitdatabusselectpinforonebusmode:“1“:8bitsdatabus,“0“:16bitsdatabusA0willdecidelowbytePD[7:0]dataorhighbyteVD[7:0]datafor8bitsdatabusTEST2IForfunctiontest2(pull-high)TEST1IForfunctiontest1(pull-high)CK21BOSystemclockoutput,tocrystaloscillatorCK21MISystemclockinput,tocrystaloscillatorVIDEOOVideosignaloutputOP1OAudiosignaloutputRESTBISystemresetinput,“0”=Reset;“1”:Normal(pull-high)TESTBITestmodecontrolpin,‘0”:Testmode,“1”:Normal(pull-high)LEFT,RIGHT,UPDOWN,A,BSTART,SELBuilt-injostick1presskey(pull-high)H32,H16,H8O32Hz,16Hz,8HzfrequencyoutputforturbokeyQ0OQ0signalforjoystick2CUP47OCUP47signalforjoystick2TEST_Q1OOutput1fortestfunctionD047ID047signalforjoystick2TEST_Q2OOutput2fortestfunctionTEST_Q3OOutput3fortestfunctionTEST_Q4OOutput4fortestfunctionD347ID347signalforjoystick2D447ID447signalforjoystick2TEST_Q5OOutput5fortestfunctionTEST_Q6OOutput6fortestfunctionPAGE4ReferenceOnlyVersion:2.1Date:2007/08/02TTU983bankdecoder(C3programable):1.ThewritecommandPROT$5000,TheactionuseA12,A13,A14,A15,RWBtocontrol.Eachwritecommandfunctionasbelow:(1).The1’stwritecommand:D0-D7controlSTARTADDRESSVA10-VA17ofCHR-ROM.CHRADDRESScoorespondingWRITEDATAasbelow:ADDRESSVA17VA16VA15VA14VA13VA12VA11VA10INPUTDATAD7D6D5D4D3D2D1D0OUTPUTW1Q7W1Q6W1Q5W1Q4W1Q3W1Q2W1Q1W1Q0(2).The2’ndwritecommand:D0-D7controlSTARTADDRESSPA13–PA20ofPRG-ROM.PRGADDRESScoorespondingWRITEDATAasbelow:ADDRESSPA20PA19PA18PA17PA16PA15PA14PA13INPUTDATAD7D6D5D4D3D2D1D0OUTPUTW2Q7W2Q6W2Q5W2Q4W2Q3W2Q2W2Q1W2Q0(3).The3’rdwritecommand:D0-D3controlGAMESIZEandSTARTADDRESSofCHR-ROM.:D4-D7controlSTARTADDRESSHIGH-BITVA18-VA21ofCHR-ROM.CHRGAMESIZEandSTARTADDRESScoorespondingWRITEDATAasbelow:(A).CHRGAMESIZEcoorespon