Super Mega Drive Manual P | SEGA ENTERPRISES LTD. CONFIDENTIAL #161 PROPERTY OF SEGA ` #161 PROPERTY OF SEGA CONFIDENTIAL Super MD Manual Development MEGA DRIVE Specifications Contents page CONFIDENTIAL Power supply 2 Memory Connector Option IC socket Timer Switch Designins Board specifications Mapping in the monitor mode Extended I/0 mapping Extended memory mapping Extended 1/0 function a-memory map control b-write protect c-change to emulate d-RS232C and MIDI e-address c #161 PROPERTY OF SEGA °' Super М0 Hanual 1. Power supply - - Power consumption rate: 5V, 2.3А іп operation CONFIDENTIAL Input power line AC 85-132V (0.3A fuse) ` А 5V-3A switching regulator power supply with switches is installed. (21 JAN.29-' 91 $161 PROPERTY OF SEGA 2. Memory - 68000 area 000000-0F FFFF 200000-23FFFF 800000-87FFFF FC0000-FFFFFF A88000-A88FFF A87800-A87801 - 780 area 0000-1FFF CONFIDENTIAL SRAM(back_up) SRAM(back_up) EPROM SRAM EEPROM SRAM #161 Super MD Manual Game ROM emulating Eight 1MbitRAMs BACK UP RAM Two 1MbitRAMs SHADOW ROM Two 2MbitROM • Images are generated from 0 49 if level 7 is set when the £ Game WORK RAM Р | GENESIS. PROGRAM One 256KbitRAM witching is performed in the 4-bank (0000-1FFF each) 780 1/0 area. ПІР 576 is used to turn the switching on/off. VIDEO RAM Four 256KbitDRAMs “Тһе 128K mode (bit7=1) is set with VDP reg#2. PROPERTY OF SEGA CONFIDENTIAL 3. Connector 3-a Connector • 171-5870 board (upper) © = MEGADRIVE standard * = Option GCartrudge pins СМ (Mitsumi 475-32-145) @FDD pins CN2 (60pin, flat) @JOYPAD pins CN4,5 GMODEM pins CN6 GVIDEO pins CNS ОРНОМЕ pins CN11 ‘#68000 pins CN7,8 (64 pins, flat) ЖТАХ pins CNI6 — (JST 5 pins =5 pins by опе row) ARGB pin (Dsub, 15 pin) Super MD Manual Game cartridge 32 pins by two rows FDD connection, substitution of the 60 30 pins by two rows Qutput setti е output can be raken by ZAX’ s 68000 ICE can be the 68000 ICE. These are connected : Ѓеак ріп of the ZAX’s 68000 ICE. ` The EVI БИШӘР the ICE is set to the low-voltage status when the address checker detects a break signal. eo signal output of an analog RGB or a personal ter. ese are connected to a color pakket output IC or a color pallet IC. [4] ЈАК. 29-' 91 $161 PROPERTY OF SEGA. Super MD Manual 3-b. Connector - 171-5871 board (lower) @ = MEGA DRIVE standard А = Option *External 1/0 CN18 External 780 (64 pins, flat) # XParallel 1/0 CN13 8255 (8 bits by 3) Ë (34, pins flat) *Printer . CN20 (RC, 14 pins) *Printer output CN21 (RC, 36 pins) *RS232C CN22 The rate (Dsub, 25 pins) AMIDI input CN23 o (DIN, 9 pins) *MIDI output CN24 (DIN, 9 pins) 2 | (51 x 91 CONFIDENTIAL #161 PROPERTY ОҒ SEGA Super HD Manual 4. Option IC socket - 171-5870 board (upper) 68-pin PLCC IC11 For Altera’s EPM5128 (58 pins with PLCC socket) -PAL for ADDRESS_CHECKER 68-pin PLCC ІСІ8 For Altera's ЕРМ5128 (68 pins with PLCC socket) -PAL for HARD BREAK *Signal lines connected to EPM5128 To 68000 CLK,RESET,DTACK BG,BGACK AS, FCO-FC2 A1-A23 00-045 То 180 RES, ВИЗАК : To others Pin 24 from the board, à 2 Not connected: pins 5. Tiner • 171-5871 (lower) RTC62421 1639 388 [5] JAN.29-” 91 CONFIDENTIAL #161 PROPERTY OF SEGA 6. CONFIDENTIAL Switch - SW1(PUSH_SW) - $W2(PUSH_SW) - SW3(PUSH_SW) - SW4(DIP_SW) - SW5(DIP_SW) - SW6(DIP_SW) ` SW7(DIP_SW) Super МО Manual The 68000 is reset. The development board is reset. Level 7 is set for the 68000. Country Japan=0FF NTSC/PAL NTSC-OFF 280BANK К0-0ҒҒ CPU [7] JAN. 29-' 91 #161 PROPERTY OF SEGA’ CONFIDENTIAL The special software needs to be Super MD Manual Designing a) The unit needs to be compatible with upgarded MEGA DRIVEs. b)Eliminate errors in-RAMs by using the 1-Mbyte SRAM. c)The ICE is interrupted by a break signal from the address сћеске! d)Software can be developed and debugged on the unit alone. “А monitor break occurs. “А hard break occurs. *The address checker sends a break. “Тһе history function is implemented. -Prigrams сап be uploaded and downloaded. e)It can be used as a graphics machine for the Video can be simultaneously display "АЛ the 256 colors can be displayed by f)The main unit alone can be used as an *The debug function is implemen g)The unit сап be used as a әбпа | evelopment. -Communication can *MIDI data can be e [8] JAN. 29-' 91 #161 PROPERTY OF SEGA | Super MD Manual 8. Board specifications The unit can handle the MEGA DRIVE mode and the monitor mode. The monitor mode is set when the power is turned on. a)In the MEGA DRIVE mode: 1)History is recorded. 2)When a break occurs, operation moves to the monitor mode. b)In the monitor mode: 1)The MEGA DRIVE functions can be used. 2)History сап be read and written. 3)The supplied I/0 can be used. 4)Various modes can be set up. 8-a.In the MEGA DRIVE mode: ‘Access to the address of the 68000 is recorded 1 (bus access of the 68000 and bus request by t *Üperation moves to the monitor mode when are used (level 7 occurs; the mode a 1)Timeout when DATACK is not @ : 3)Memory out when the quanti 4)Break switch when PUSH SW E T *1 5) Hard break when the assign is accessed. *2 6) Address checker when the rod operations of the MEGA DRIVE are executed. #1... To execute this fu ddress checker (EP5128) is required for IC11 ж2... To execute this f ress checker (EP5128) is required for IC12 The PALs in #1 an : ей for or added to the other functins. 191 EO 31 CONFIDENTIAL $161 PROPERTY OF SEGA БЕЧА Super МО Manual 8-b. Functions available in the monitor mode “Тһе monitor ROM is selected when the power is turned оп (or level 7 occurs). *Level 5 is generated from communication through RS232C or MIDI. *Level 3 is generated from the external 1/0 (external 280). *Level 1 is generated from a timer interrupt (RTC62421). ‘Modification of mapping (mapping address of SRAM is changed)... ‘Modification of the memory size (the memory size of SRAM or 8 Mbytes). ‘Write protect (writing in SRAM is inhibited), ‘History can be read and written (history is su “Тһе MEGA DRIVE functions can be used. . “Тһе functions of the supplied ‘Operation moves to the monile 2 p^ [10] ` JAN. 29-' 91 CONFIDENTIAL #161 PROPERTY OF SEGA ES S.Mapping in the monitor mode. 3235344555 ав ж $000000-$FFFFFF ж трата 3554445555 АТТ area $00000 $20000 $40000 $50000 - 580000 $87fff $a0000 $a13ff $a8000 $aafff š $c0000 $fc000 $fdfff | mon. RAM $ff000 ram $fffff соц ж $A00000-$AFFFFF % ыы MON. I/0 0 p кик s= EXP.1/0 EXT.1/0 $b0000 CONFIDENTIAL [1] #161 _ $а88800 Зирег МО Мапиа] xxx b bb xx ж $A80000-AS8FFF ж oce OG E OO EEE EXP. 1/0 $а80000 $а81000 uPD7201 $a85000 RTC_int 8255_0 $a86000 $a86800 $a87000 $а87800 $а88000 PROPERTY OF ЕЕ А”! Super MD Manual 10. Extended 1/0 mapping 10-а) Board 1 (171-5870), extended 1/0 ехісо1 equ $a80001 * External color pallet (CN15) monclr equ $a81001 * Monitor mode clear (write) brkmode equ $a81001 * Break mode data (read) memctl equ $a82001 % memory map control adrcker equ $a83000 *(WORD) ADDRESS checker (IC12) breaker equ $a83800 *(WORD) HARD_WARE break (IC11) 10-b) Board 2 (171-5871), extended I/0 232c_dat equ $a84001 ж LPD7201 232C_da 232c_cud equ $a84003 ж Lu PD7201 l nidi dat _ equ $а84005 x LPD7201 ші nidi. сай equ $a84007 ж LPDT201 mi clkdiv equ $a84801 rtc equ $а85001 rtcint equ $a85801 prtin equ $а86001 ntro іп (СЮ21) prtout equ $а86003 ntro out (CN20) prtcnt equ $a86005 ; sentro cnt (CN20,21) prtmod equ $a86007 _0 8255 0 mode ехрА * 8222551 parallel A (CN19) expB ж 820255 1 parallel B (CN19) expC. * 822255 1 parallel C (CN19) expmod + 820255 1 8255 1 mode мевир * memory write protection hist 1800 ж cpu access history 00 ж 2Kbytes EEPROM (IC15) EEPROM 0000 + 128Kbytes reserved(CN18) [ 12] . JAN.29-' 91 CONFIDENTIAL $161 PROPERTY OF SEGA 11.Extended memory mapping (in the monitor mode) 11-a)Board 1 memory (171-5870) extram equ $fc0000 * $feffff 11-b)Board 2 memory (171-5871) вопгод equ $800000 * $87ffff backram equ $880000 : ж $8bffff mainram equ $900000 * $9fffff CONFIDENTIAL #161 * extend work_ram (IC32,35) * Monitor ROM * BACKUP ЫН * Cartridge (upIC15, 4. [13] Super HD Manual JAN. 29-' 91 PROPERTY OF SEGA Super MD Manual 12.Extended 1/0 function (in the monitor mode) a-1) Memory map control (memct1) (> memory map control $a82001 $800000 $880000 $8c0000 CONFIDENTIAL -Mapping can be changed (map address of SRAM can be changed). (write only) 210 bit0-1 ажы a || | | | | %-%-----------пешогу map control Mapping сап be changed. ---------------САЕТКІЮСЕ pin disable К [ctrg] and [fdd] is seappé (bit 0 is not valj 3 | | | | | E * € —— —À === cartridge f floppy disk unit boot_rom,emulation_ram & back_up_ram emulation_ram(8Mbits) back_up_ram(2Mbits) cartridge slot [cart] line work_ram (extnded) boot_rom [14] JAN. 29-' 91 #161 PROPERTY ОҒ SEGA Super MD Manual 12.Extended I/0 function (in the monitor mode) (memct1) a-2 memory map control] (( memory map control] )) ———--------—----—--+ ++ itor mon1 || emulate | 1 in monitor. воде) | hard mode НОЕ bit4 010 | || 0 | 5000000 %------:------%------%------4------і------і---- (5а82001) +-———— +£ -- = bit 2,1 | boot | | cart | | (тад) 7 | cart | boot | ram 2.4------4------4------4 = + +------+ --4------4------* work | work | work | work | -----4------4------4------4------4------4------%------4 JAN. 29-' 91 PROPERTY OF SEGA [ 15 1 #161 CONFIDENTIAL Super MD Manual 12.Extended 1/0 function (in the monitor mode) Ф а-3) memory map control (memct]) ( map change (bit0) & crat pin(cartridge.B side pin32) у і------- %------- 4-------- %-:----- %------- | bit 3 | bit 0 [cart "Pini $0000001$4000001 +—— ++ -+ | 0 | 0 | * || cart | fdd | і------ whe nnn ++ | 0 | 1 | ж || fdd | cart | %-------4-------4------н- +——---+ | 1 | * | O 11 cart | fad | bit5=1 bit? bit6 inti in +——+— | © | 0 |19064 14068 |$06c 150% %-----і-----і---- 1011 ll$0e4 +——— | 1 | 0 11$164 15 а +P -— | 111 +-----+ 0 |504 |9078 |$Ofc | ++ + 170 19174 |$178 15172 | —— +P 1е4 |$1e8 |$lec I$1f0 |$1f4 |$1f8 |$1fc | —+— + уе. - , B [ 16 ] JAN. 29-' 91 CONFIDENTIAL | #161 PROPERTY OF SEGA Super MD Manual 12.Extended 1/0 function (in the monitor mode) b-1) Write Protect (memwp) () memory write protect $a87001 CONFIDENTIAL “Тһе memory size is changed (the size of the SRAM memory 15 in units of 2, 4, 6 or 8 Mbytes). (write_only) 0 -+- 32 || --------ОН-2М,1Н-4М,2Н-6М,3Н-8М -bye | | (гов_ enulate size) +-+ -------------0Н-0К,4Н-64К,8Н-256К,0сН- =1024k ( back _ир memory size) : -------—--------«rite, enable rom enulaté Write enable when bit enulation. + ------------------------------ l С) + —— — — — — ше СЛ _up (for_break) e wien bit 6 = 1 set for the back_up Ж ----------------------------------------------- - +uL... өле өле U сал eo i ЖАЛДАДЫ em RR + monitor | ------- ---4-----------------------% 10101100 | (6M) |(4М) |(2М) | ——————————— чы = + M| М | M | —— | — m anan | ==== | M | H | | —— — |===== | | M | | | ===== ] | | | | | | | | ххх | | | | | | | access break (change_mode to monitor) if bit4=0,then write break (change_mode to monitor) write enable on monitor:mode ` don't care [17] | М. 29-' 91 #161 PROPERTY OF SEGA Super М0 Manual 12.Extended 1/0 function ( in the monitor mode) b-2) Write Protect (memwp) - Write protect (write to the SRAM is inhibited). 4----------------------- + | hard mode || emulate | monitor | %-------------- %%----------------------- ПН НЕ НЕ —+ | bit 3,2 1111110 [01100111 | 101011001 | ($a87000) n) 1(512)|(128)|( 010 L (24). 1(512)1 (128) [C 0101 %--------------44-------------------- =т= шшш ШЫ ршн бшш 5200000: И —— ~~ --- = %----------------------- + ІҺЛТІҺТІҺ1 ІНГІНГІНІ| | В area = access break (change_mode to monitor) don't care 1f bit7=0, then break (change_mode to monitor) ' break (change_mode to monitor) [ 18 ] JAN. 29-' 91 CONFIDENTIAL . #161 PROPERTY OF SEGA Super HD Manual 12.Extended 1/0 function ( in the monitor mode) c) Change to emulate (monitor) -Operation moves to the emulator mode. (> monitor $a81001 (write) * £ £ koX X £ і--------- change to EMULATE $a81001 ) rea ВЕНА Бу write protect _— by 232c_hunt НИЕ by dtack time_out -------------------һу break_chip а плена —— у address checker: -----------------------һу break. d 65 |! | | || || || | + ( 1 | | | | | | l + [19] JAN. 29-' 91 CONFIDENTIAL $161 PROPERTY OF SEGA. 12.Extended 1/0 function (in the monitor mode) 4) RS-232C & MIDI • Level 5 is generated from communication with RS232C or MIDI. (> uPD7201A write $а84001 ch-A data 232С receive data $а84003 сһ-А control $а84005 сһ-В data MIDI_out data $а84007 ch-B control () г5-232с baud rate clock generator $a84801 (read/write) ****3210 | +++ —--baud rate %---------------ЦИР07201А interrup ^^ Q:tíint5 1: tint? (e +-------+-------4-- ----- | bit 2 | bit 1 | bit | 7201 Tx/Rx_cl1ock ' 19200 +-------+---- --------------% | 0 | 1 38400 | %-------%----- ------------% 16800 | 5.%--------------- ---4 | 1 | 153600 | ----- -----4------------------% | 307200 | а ee me a — — == |- 614400 | ----%------------------4 А 30 dency by 16. [ 20 ] CONFIDENTIAL $161 Super MD Manual read baud rate is set when $А84801 = 0 and the uPD7201A internally divides the JAN. 29-' 91 PROPERTY OF SEGA Super MD Manual 12.Extended 1/0 function (in the monitor mode) e-1) Address Checker (елар) -When an attempt is made to access the address that the MEGA 0 cannot access, a break occurs. (ereg) -When an attempt is made to set VDP data that the MEGA DRIA Set, a break occurs. | (ebus) -When а bus request is issued from the 280 immediately afti accessed, a break occurs. (timi) -If the work ram was not accessed 24sec before the data is set by setting the ОМА, a break occurs. () address checker $а83000 м bit fedcba хх E у word that is set іп VDP is checked. power. on default FERRER EERE EY The address_checker remains valid when the power is turned on. (211 | 9-' 91 CONFIDENTIAL #161 PROPERTY OF SEGA 12.Extended 1/0 function (in the monitor e-2) Address Checker mode) Super MD Manual read _ $a83000 bit fedcba9876543210 error status & error addre РИТА EL BL GL B L bad t | + ate ПТТ beat 11011427 PEEP LL B tb || +----- a18 ПАГ | | -- а13 PEEL PEER | +--------- a20 PEEP EEE | | з------- -- а21 lll iii t------------ a22 ГІРІГІІІ +--------------- а23 | 11111] STATUS of МЕ PELL || | +-------- rwmd on write (1) / | | || | | += size byte ассез5 (1) „/ | || | | ——— bga in back (1), | | | | #-------------- cmd2 | next үйр cad MEN ERROR STA a | | | ж------------- tisi ore DMA | | ———n ebus 1/0 ($а100хх) | %----------------- --- еге %------------.--------- ema $a83002 ааааааааааааааац 1111110000000009 "error address(L) 54321098765 215 $а83004 as а. $a83006 u d s dddddddddddddddd 1111110000000000 - 5432109876543210 CONFIDENTIAL #161 { 221 error data last program address(H) Reset of zres - 180 last program address(L) last vdp data JAN. 29-' 91 PROPERTY OF SEGA Super MD Manual o 12.Extended 1/0 function (in the monitor mode) f) HARD. WARE Break ‘If the address is set in the emulate mode, then: (wre=1,rde=1) а break occurs, when this address is accessed; (wre=1,rde=0) а break occurs, when data is written in this addr (wre=0,rde=1) а break occurs, when data is read from this address Three points ch.A,ch.B,ch.C can be set. () hard ware breaker Power on default $а83800 * * * x t £ $a83802 000000 $а83804 * £ *x x x $a83806 000000 $383808 * * * x * x $а8380а 000000 o bit 111111000 543210987 $a83800 break address(H)ch.A $a83802 break address(L)ch.A $a83804 break address(H)ch.B break address(L)ch.B break address(H)ch.C faaaaaaaaaaaaaaau ^ 111111000000 000а break address(L)ch.C 5432109876543215 [ 23] ‘91 CONFIDENTIAL #161 PROPERTY OF SEGA Super MD Manual 12.Extended 1/0 function (in the monitor mode) B g) REAL TIME Clock -Level 1 is generated by means of a timer interrupt from RTC62421. () real time clock RTC-62421 $а85001 S1 ** & £32 1 0-—----—sec (%1) $a85003 S10 £ * X * 32 1 0--------- sec ( *10 ) $а85005 MI1 %%%%3210-------віп ( 41 ) $a85007 MI10 £ * * * 32 1 0--------- min ( *10 ) фа85009 H1 ** * * 32 10--—----hour ( #1 ) $a8500b H10 * * * * 3 2 1 0--——----hour ( #10 $a8500d D1 %%%%3210-------дау (241 ) $a8500f 010 %%%%3210------ day (“#10 ) $a85011 М01 %%%%321 фа85013 М010 ****321 %а85015 Ү1 %%%%221 -------увр $a85017 Y10 %Ж%%%321 $a85019 Week ****321 $a8501b CD %%%%221 5285014 CE #444324 Кез 5а8501Ғ СЕ * * * * 221 register F Q rtc interrupt mask $а85801 * * * 0:enable (!int1 by timer) *-—----enable/disenable _ ------ timer int ей o [24] JAN. 29-' 91 CONFIDENTIAL $161 PROPERTY OF SEGA Super MD Manual @ 12.Extended 1/0 function (in the monitor mode) h) 820255 (equivalent to two 8255s) “Тһе loader can be used even when the port of the MEGA DRIVE is not us 825 () 8255 по.1 printer in/out $а86801 port-A ; 165432 1 0---------data іп (36pin conector) 7654321 0----- -—--data out(14pin conector) $а86803 port-B $a86805 port-C + ——— — a— — — -Ч $a86807 contro] sie () 8255 no.2 34pin | | gnd ... 19,21,2 31,33 (pin) ЙС... 11,34(ріп) $а86001 $а86003 $а86005 [ 25 1 JAN.2 CONFIDENTIAL #161 PROPERTY OF SEGA У 329-781 Super MD Manual 12.Extended 1/0 function (in the monitor mode) 1) EEPROM Note:Wait 10msec or longer after one byte of data is written. () EEPROM 16Kbits ( 2Kbytes ) $а88001 lower_byte only | | $a807ff [ 26] JAN. 29~' 91 CONFIDENTIAL #161 PROPERTY OF SEGA Super MD Manual o 12.Extended 1/0 function (in the monitor mode) j-1 History • Hisotry can be read and written (history is suspended). 1) 1446 word $FFFF is set when history data is written. 2) 2+4N word a23-a15 (access address), fc2-0, r/w, break, monitor 3) 3+4N word а14-а1 (access address), uds, 145 4) 4+4N word Notes:To access history, always access the Steps by 4). (32768 times If the number of items ared iff stops. o (> cpu access history em 5а87800 1word_address only < (bit) n=0,1fff $a87800 1 (1st, 5th,9th, · · • • „Ап+] word) (2nd, 6th, 10th, - --,4n*2 word) (3rd, Tth, 11th, ---,4n*3 word) (4th, 8th, 12th, - - - ,4n*4 word) с) О а. мо» ; monitor Memory access while monitoring. emulate Memory access while emulating. о 3 "non — © 0 ; break Break conditions occur. 1: no_break No break Ф brk = [27] ~ 91 CONFIDENTIAL #161 | PROPERTY OF SEGA" qui Super MD Manual 12.Extended I/0 function (in the monitor mode) j)-2 History ( mode_chage timing ) start: [power_on] or [break] | 801058 MR 4E71 SP пор ХХХХХХ МЕ ХХХХ SD хххх 80105A MR 4E71 SP пор XXXXXX МЕ XXXX 50 xxxx 80105C MR 33С0 SP move 00, $xxxxxx 80105Е MR 0048 SP ------- ‚ $a8xxxx 801060 MR 1000 5Р----------1000 801062 MR 4E73 SP rte | A81000 MW FFFF SD ** (write data to $ 801064 MR XXXX SP (prog. pr ћу. FFFFF6 HR 2000 SD FFFFF8 MR 00ҒҒ 50 FFFFFA MR 8000 SD £ А FF8000 MR 341A SP (flip. ши FF8002 HR 51C9 SP рс. high d рс. low OO DO (OD EH 32 S E SS Sa BE SZ SS Es SS ZS E: Z= BA нын XXXXXX new — pc.address e e ХХХХХХ MW XXXX S write pc.low e fffffe MR FF intrrupt acknowldge m XXXXXX оде to MONITOR) | write sr п XXXXXX K write pc.high ü | + ¿Monitor status mode ;Emulating status + ———— 22 = = = = = = = => 3333333333333333 n ;History in operation > „History suspended + —— — x x ox CD CO 00 CO >< > X X X >x >x X X x > >x X X X x x x x x x< _occur ;BreaK conditions occur X-no break [ 28] exe.[ to EMULATE ] o ATE 1 r T to EMULATE ] JAN. 29-* 91 CONFIDENTIAL $161 PROPERTY OF SEGA Super MD Hanual o 13.0peration with ICE a-1) Connection Carefully insert the ICE probe facing the 68000 socket (IC16). ZAX’ s pins (CN16 near SW 1) to the external ICE break pins. (Тһе of the ZAX's pins is connected to ground; the rightmost pin of the break pins is to ground.) Connect the printer cable to the main unit and CN21. Connect JOY-PAD to CN4 and CN5. Connect the video cable to the TV and CN9. Connect the power line cord. Connect to the front power supply of the cartridge wh a-2) Switch SW4(dip_sw1) SW5(dip_sw2) SW6(dip_sw3) SW7(dip_sw4) Ф 8-1) ICE macros EN macro ram n МА 0482000, OAS7FFF=US E/N 0A87000-0f МА 0482000, ОАВТЕЕ macro rom *The cartridge mode is set. *The SRAM can be read and written. Ыр < *The SRAM can only be read. 000, 0A87FFF=US 0427000-07 67000, OAS7FFF=NO ow to set external breaks ev adchk ЕХТ-10 +The required event is set up. o b adchk The required break point is set up. [ 29 ] JAN. 29-' 91 CONFIDENTIAL $161 PROPERTY OF SEGA #161 PROPERTY ОҒ SEGA CONFIDENTIAL SEGA ENTERPRISES, LTD. CONFIDENTIAL #161 PROPERTY OF SEGA Contents Е 81 Outline ...........................................1 82 Ном to use the loader ..............................1 83 Required files .....................;...............1 84 Trouble with downloading ...........................2 2 3 85 Description of the registers of the loader ......... 86 Loader circuit drawing ............................. Appendix 1 (sample program for sending data) Appendix 2 (sample program for receiving data) . Appendix 3 (macros for ZaX's ERX) CONFIDENTIAL #161 PROPERTY OF SEGA MD LOADER MANUAL 81 Outline The loader serves to download program files to the MEGA DRIVE from the printer board (complying with Centronics) of the host computer. Since the loader is completely programmable, any computer having the printer board can be used regardless of the computer model. Reset switch Busy LED ------9-ріп D-SUB connector (connected to the : Toy View To simplify the description below, this manual assumes that MS ( ries and PC-286 series) is used. 82 How to use the loader | (D Start up MS-DOS and copy the files (10 Set ир the ICE, loader, cables, еёс., а Start up the ICE, and download LD.S28 by Exit the ICE while LD.S28 is running. < ' Output the files, which must be downloaded, ter port using ICD LDR.COM. Start up the ICE, and stop 10.528 The downloading of the program files. ted at this point. the system disk. "function, etc. implemented in the ICE. 66000969 jaram whose start address is $FFO000. - This program file is made by linking the 2 to the assembler (based on the Motorola S format). Trouble with downloading іп 84. (11 VER4.0 1389/10/16 CONFIDENTIAL #161 ME PROPERTY OF SEGA. МО LOADER MANUAL 8 4. Trouble with downloading When trouble occurs in downloading, check the followings and perform the suggestions described below. (D Data is not properly loaded. * The printer cable is not properly connected. -»Connect the printer cable properly. • The destination memory for downloading has been set to ‘read only * in the ba .. ->Set it to ‘read/write’. @ The host computer hangs up.*? f * Break points have been set up in the destination memory for downloading. ->Келоуе the break points. * The destination memory for downloading has been set to ‘read only by Set it to ‘read/write’. | %2-,, „Меп the host computer hangs up, hold down the reset switch on the. stop key on the host computer. 85. Description of the registers of the loader © $A10007 : Extended control pin data register For read Refer to the MD soft г te e specifications on the above registers. The operational procedures are only described in Ad bits 0 to 3 in 5410007 (higher 4-bits) t steps @ to @. **** Care is required for bit 6 in $A10000, since this is used for the reset judgement. [2] VER4.0 1989/10/16 CONFIDENTIAL | #161 PROPERTY ОҒ SEGA МО LOADER MANUAL ф 86. Loader circuit drawing бї! B ! ЗЕР 7771-1423 aK | /STB -— + = -- со cz сл —< Ct jJ. 19 ДЕ [13 [16 f GND | ЕН жж ИЕ axa] capacitor is connected to almost every IC. [3] VER4.0 1989/10/16 CONFIDENTIAL $161 PROPERTY OF SEGA Appendix 1 MD LOADER MANUAL MD sample program for sending data (РС-9801 and РС-286 series with М5-005) =-0001 =-0001 = 000Е 0000 0080 0080 80 [ 72 0100 0100 0100 РА E9 0377 R co = 4A. сл 8 F8 655859884 © юз © 62 ©& = CONFIDENTIAL ` cmdin usg error 01: msg error 02: db #161 [4] ERX-318 file loader Ver. 01.02 100h ; di = disable interrupt main Odh, Qah, ' $ ‘DO— FaRTLELES’ [ Loading is compieted$ | '/22 —2|2ib 0 T$ [Invalid parameter$] ' 21 a> + п- KARST (Invalid action code$] ' 774 Ub R—2P D ЖА А [File not found$] VER4.0 1989/10/16 PROPERTY OF SEGA 83 58 82 C2 82 DC 24 0184 81 58 82 B3 82 А2 83 40 82 АА 82 АС 24 01AB 83 4Е 82 AA 82 B3 82 В5 0104 58 83 A2 6E 88 TO DC 01F1 ie в=вввеавввъвчававвце ЗЕВЗРЗИВВ SSSMEBSSSMSBROEVVRLASYSRSRSSSSSRSVSSSSSSSSSSSSq = BH — PIE кеБесвывесі ввсвсговоосвыстовреоеяв внивзоооыоввзсива SASSER SSIS CONFIDENTIAL msg_error_03: Co со со NNN ` msg_error_04: Co Co Co BLSsrss msg_error_05: SRLS msg_error_06: msg_error_07: IRBS ББЕӘБР ВЕЗЕТ BTPEP SBE5UUS BEE ЗВ SSORSSSSS5 BSSBSRss ЕЧ 82 64 msg error 11: 83 43 | 8F EE 95 73 82 B7 83 5А msg_error_12: 83 52 öz АА #161 [5] MD LOADER MANUAL "АЛЯ EHAS [Bus not found$] 1-7 VENTWSZTIPA Six +$ [Too many open files$] '"P2tAbàEeniuss [Access denied$] | SHELLS’ AWS NTE 99 ry was destroyed$] "SEV MRM А, [Insufficient memory space$] "кёп v I +S C t AS [Specified block cannot be released$] dEEGIUSERABULZATUSEETS _ [Too long environment string was specified$] ' E XE 77 4NOMRAFETTS’ [Illegal information on EXE file$] PIER п ЕМЕС? [Invalid access code$] VER4.0, 1989/10/16 PROPERTY OF SEGA .. E 0249 02ВА 0201 02Ғ8 0318 96 B3 8C F8 82 C5 82 87 24 83 66 81 58 83 5E 82 AA 95 B3 8C F8 S88 RS258SSSSS5S5EBSBSEBBESESBSESBS O9850288BZBBEBIZ5UZSSERBEGS88 RSSERRIRSLERSRSBLSSRRSS SSSSSSENSRB SSSSESABABS SOSSORSPSSOSS SRBSSSSRSRBR плаво везао BRSASS 285 28 | CONFIDENTIAL msg_error_13: db ° msg_error_15: db msg error 16: db msg error. 17: msg error. 18: ??9299929 9999292992 $161 '—59)26089c3$ [Invalid data$] "KSA ИЕ REC В [Invalid drive assignment$] 'ABv»bhk:T4v2HkUldHRC [Current drive cannot be delete: в CON’ 4 AUX’ msg error 01 854 error 02 msg error. 03 msg error 04 854 error 05 msg error. 06 154 error 07 msg_error_08 msg_error_09 msg_error_10 msg error. 11 msg error. 12 msg error. 13 0 msg error. 15 под error. 16 msg error. 17. msg error, 18 [6] MD LOADER MANUAL VER4.0 1989/10/16 PROPERTY OF SEGA MD LOADER MANUAL d 0369 0000 $036c dw 0 0368 0000 $036e dw 0 0360 0000 50310 dw 0 0362 0000 $0372 dw 0 0371 0000 $0374 dw 0 0373 0000 50376 dw 0 0375 0000 $0378 dw 0 0377 0000 0000 0000 0000 dw 0,0,0,0,0,0,0,0 0000 0000 0000 0000 0387 0000 0000 0000 0000 dw 0,0,0,0,0,0,0,0 0000 0000 0000 0000 0397 0000 0000 0000 0000 dw 0,0,0,0,0,0,0,0 0000 0000 0000 0000 ОЗАТ 0000 0000 0000 0000 dw 0,0,0,0,0,0,0,0 0000 0000 0000 0000 | u 0387. 0000 0000 0000 0000 dw 0,0,0,0,0,0, 0000 0000 0000 0000 0307 0000 0000 0000 0000 aw 0000 0000 0000 0000 0307 0000 0000 0000 0000 dw 0000 0000 0000 0000 03F7 main: O3F7 ВС 0O3F7 R a main ` ОЗҒА ВВ 0584 R x,offset bottom O3FD 83 C3 OF add 81 04 03 ЕВ B4 4A CD 21 73 03 E9 0549 R BB 1000 bx,1000h B4 48 mov ah, 48h CD 21 int 2th 73 13 jnb $042c 08 DB or bx, bx 15 03; jnz $0420 054 jmp 505с0 | 50420: fov ah,48h int 21h mov с1,4 shl bx,c1 mov word ptr $036a, bx 0429 $042c: 0429 A3 0369 R mov word ptr $036c,ax —042C BE 0081 R mov si,offset cmdln[1] 042F E8 0566 R call $O5df f 0432 89 1E 0368 R | mov word ptr $036e, bx | [7] | VER4.0 1989/10/16 CONFIDENTIAL | #161 PROPERTY OF SEGA ` жы MO LOADER MANUAL 0436 72 44 jb $0467 0438 £8 059B R call %060е 0438 13 F . jnb $0467 0430 E9 0555 R јар $05сс 0440 бэс msg not ready: 63 db ' ICDRIO RS HSC Us t A 07 70 [Not ready ICD) 0460 msg ready: 0460 00 1B 58 4B 00 24 13,27, [K ,13,' $ 0466 nsg about: 0466 00 OA 93 50 91 97 db 13,10, Банш Stop tra в 82 FO 92 86 8Е ТЕ 82 В5 82 0С 82 В5 82 ВО 07 24 047C E4 42 04ТЕ А8 04 0480 75 1B E > $ за іе 0487 SNA 1 0 2 al,42h 04 а1,4 f F2 p_1oop 0450 В dx,offset msg ready 055A R $05d1 SE БР AGRE SF > 300 ax,3d00h 16 dx,word ptr $036e 21h word ptr $0372,ax $04e6 $05c0 al,3 p_loop “ЗАДЫ R mov dx,offset msg about 0485 £9 0541 В jmp $05bb Ф -0488 $0466: | | 0488 84 ЗЕ mov ah,3fh 04ВА 33 02 xor dx,dx (81 VER4.0 1989/10/16 CONFIDENTIAL $161 PROPERTY OF SEGA MD LOADER MANUAL 0480 8B OE 0367 Б mov cx,word ptr $036a 0400 8B 1E ОЗБЕ В mov bx,word ptr $0372 0404 1E | push ds 0465 8E 1E 0363 Б ROV ds,word ptr $036c 0403 CD 21 int 21h 04CB ТЕ pop ds 04CC 73 03 jnb $052b O4CE EB 79 90 jmp %05с0 0401 50525: 0401 08 CO or ax,ax 0403 75 OA jn $0539 04D5 C6 06 033A R FF | mov byte ptr $033d,0ffh 04DA АЗ 0371 R mov word ptr $0374,ax 0400 ЕВ 28 јер short $0566 040Е $0539: 040Ғ 88 (8 | mov CX, ax 04Е1 1E push ds 04E2' 8E 1E 0369 R mov ds,word ptr $036 04Е6 2E: 38 06 0367 R ax,cs:word р& 04ЕВ 74 06 O4ED 88 FO (МЕР C86 04 1А 04Ғ2 41 (МЕЗ %0555 04Ғ3 33 26 04Ғ5 $0557 0425 АС 0426 3С 1А 04Ғ8 74 04 j 04ҒА Е? 29 loop | ү ЕВ 07 јар short $0566 04ҒЕ 2Е: С6 06 ОЗЗА R FF byte ptr cs:$033d,0ffh 0504 4Е si 0505 0505 TF ds 0506 89 36 0371 В mov word ptr $0374,si 0 -050A 8B OE 0371 R mov cx,word ptr $0374 050E E3 1D jexz $058с 1E ^ push ds mov ds,word ptr $036c xor 51,51 іп al,42h test а1,4 jz 90517 10456 G out 40һ,а1 _ 0520 BO (Е mov al, offset p stb cli ; di = disable interrupt 0522 Еб 46 out 46h,al 0524 FE CO inc al 0526 Еб 46 out 46h,al ;sti ; ei = enable interrupt [9] VER4.0 1989/10/16 CONFIDENTIAL $161 | PROPERTY OF SEGA 0528 E2 ED 052А 1Е 0528 ЕВ 00 0520 $058c: 052D - $05ae: 0520 80 3E 033A R 00 0532 15 02 0534 EB 82 0536 $05b8: 0536 88 16 0368 R 053A B4 09 053C (021 053E BA 0107 R 0541 $05bb: 0541 ЕВ 055A R 0544 0545 4C 0547 21 0549 $05c0: 0549 0343 R 054С 0540 Е0 054F 08 0551 17 0553 EC 0555 %05сс: 0555 OTHER 055A $05d1: NOON о 2525726 ж Е 5 88 SSSESS2 UP BEZIER SF 3 "E 5 CONFIDENTIAL MD LOADER MANUAL 90571 ds short $05ae byte ptr $033d,0 $05b8 $04е6 dx,word ptr $036е ah, 03h 21h dx,offset msg comp int 21h _ 00У dx,offset msg_crif mov ah, 09h Ant 21h ret call $0622 mov bx,si 10955 cmp al,'a' jb $05f2 cmp al,'z' ja $05f2 Sub al,20h mov {si-1],al cmp al,Odh jz $0608 стр al,’ ’ jz $0602 стр а1,9 . o j $0602 стр al,” = jnz $05е4 { 10 ] VER4.0 1989/10/16 PROPERTY OF SEGA 0583 0589 0580 0590 0591 0592 0592 05% 0599 059A 0598 $0602: C6 44 FF 00 C6 04 24 F8 C3 $0608: CONFIDENTIAL $161 byte ptr [51-1],0 byte ptr [si],'$' byte ptr [si-1],0 byte ptr [si], $ [И] MD LOADER MANUAL VER4.0 1989/10/16 PROPERTY OF SEGA Appendix 2 00ҒҒ0000 15 (00ҒҒ0000 16 (00ҒҒ0006 17 00ЕЕ000С 18 00ҒҒ0010 19 00ҒҒ0014 22 00ҒҒ0018 23 00ҒҒ0018 24 00ЕР001С OOFFOOTE CONFIDENTIAL 0041 0007 0041 0000 0000 0004 0000 0020 0000 0040 0000 0000 FFFF FFFF 41Е9 00A1 0007 43Ғ9 00A1 0000 12BC 0060 10BC 0000 10BC 0040 MD LOADER MANUAL роки eor кита * Loader Program s28 & s37 * Programed By Y.Sake 21.Feb. 1989 ооо е ж org port equ cont equ: к С #stb,(a0) bne.b start move.b (а0),00 —. move.b #0, (а0) move.b (а0),41 move.b #sel, (а0) and.b ; 151.6 #4,d1 or.b да cmp.b $'S',di | bne.b start stake character ” 2” 2100р: btst.b #stb, (a0) bne.b ?loop move.b (a0),d0 move.b #0, (а0) move.b (а0),41 move.b #sel, (a0) and.b #$0Ғ, 00 " lsl.b МА % or.b' 90,41 cmp.b #2’,01 bne.b ?s3 check [ 12] VER4.0 1989/10/16 #161 PROPERTY ОҒ SEGA MD LOADER MANUAL 51 00770058 7800 помед. 1 #s2_format,d4 52 OOFFOO5A 6008 bra.b take data wide 54 00ЕЕ005С 253 check: 55 OOFFOO5C 0001 0033 ` cmp.b #3’ ,91 56 (00ҒҒ0060 6686 bne.b start 58 (00ҒҒ0060 TBFF moveq.1 #s3_format,d4 60 ;take data wide 61 00ҒЕ0054 take_data_wide: 62 00ҒҒ0064 7401 moveq.1 #2-1,d5 63 00ҒҒ0066 take wide: 64 00ҒЕ0066 ЕФЕ 151.6 #4,d7 65 (00ҒҒ0068 i ?100p: 66 (00ҒҒ0068 0810 0004 btst.b 67 OOFFO06C 66FA | bne.b š di,d7 dbra d5,take wide cmp.b #52 Ғогпаі, 4 beq.b take address s2 subq.b $5,d7 moveq.] #8-1,45 bra.b take address s3 | take_address_s2: subq.b #4,d7 помед. 1 #6-1,d5 take_address_s3: take_adrs: 151.1 #4,d6 7100р: AG 0810 0004 btst.b #56, (a0) 102 OOFFO0AA 66FA bne.b ?loop 103 | j | —104 OOFFOOAC 1010 f T move.b (a0),d0 105 OOFFOOAE 108С 0000 move.b #0, (а0) 106 00220082 1210 move.b (а0),41 [ 13] VER4.0 1989/10/16 CONFIDENTIAL #161 PROPERTY OF SEGA МО LOADER HANUAL 107 00ҒҒ0084 10BC 0040 move.b #sel, (a0) o 108 (00ҒҒ0088 0200 000Е and.b 350Ғ,00 109 OOFFOOBC £909 1$1.6 М, 110 OOFFOOBE 8200 or.b 940,91 111 OOFFOOCO 0401 0030 sub.b #0',01 112 002720004 0C01 0009 ` cmp.b 89,91 113 00-20008 -6302 615.6 ?jump 114 115 OOFFOOCA 5Е01 sub.b #7,01 116 00ҒҒ00СС ?jump: 117 OOFFOOCC 8С01 or.b 491,6 118 QOFFOOCE 5100 FFD4 dbra ds,take_adrs 119 120 00ЕЕ0002 2446 move.] d6,a2 121 122 stake data 123 00ҒҒ0004 take_data: 124 OOFFOOD4 7A01 . воуеч.1 #2-1,45 125 00ҒҒ0006 take_digit: 2 ?1oop: dbra d5,take digit move.b 46, (а2)+ subq.b #1,97 bne.b take data бгам start (141 VER4.0 1989/10/16 CONFIDENTIAL .. #161 PROPERTY OF SEGA MD LOADER MANUAL o _ Appendix 3 ТАХ ERX-318 MACRO MACRO LD ECHO KILL LET @1=4B(0A10000) Е 10.528 R RES R 55Р-0 B *-ürr G ОҒҒ0000 EXEC ICD LDR 21.528 STOP E/B/N 0А10000=@1 а С 15 ] VER4.0 1989/10/16 CONFIDENTIAL _ #161 PROPERTY OF SEGA ----- Contents ----- 1.GNESIS outline of development tools 2.GENESIS software development environments 3.Notes on the development 8M D-RAM board 4.1M RAM/4M ROM board Documentation 5.GENESIS ROM board specifications 6. SUPER MEGA DRIVE T. MEGA DRIVE LOADER CONFIDENTIAL |. _ #161 PROPERTY OF SEGA GENESIS/OUTLINE OF DEVELOPMENT TOOLS 1) SUPER MEGA DRIVE MEGA DRIVECGENESIS) software development target. No loader and noRAM bo ard are required. Various functions аге implemented. Supplied components: Specifications, power supply, ICE cable, bpeak cable ‘and loader program 4 2) 1M RAM/4m ROM board THbit RAM + 4Mbit ROM + 64Kbit Backup RAM It can be used for carious purposes including sound tool Supplied component: Specification 3) 4M ROM board A Test ROM board. The selection of ROM types done by using the jumpers on the back side. cities can be Supplied component: Specification 4) 8M ROM board 64 Test ROM board. The selecti: and ROM capacities can be done by using the dip switches: The 64K. Backup RAM 15 implemented. Supplied component: Specificat 5)8M ROM board 256 Test ROM board. | Pion of КОМ tyeps and ROM capacities can be done by using the d i 5,2 Supplied comp 6) 8Mbit D This.boar | when the marketed MEGA DRIVE is targeted: it is not PER MEGA DRIVE is used. ; éd to reduce ICE noises (However, we cannot guarantee the proper ion of ICEs other than the ZAX ICE). r This board is used to down-load files from the printer port of the host . Computer to the MEGA DRIVE at a fast rate. This is not required when the SUPER MEGA DRIVE is used. Supplied component: Specifications and sample software. CONFIDENTIAL . $161 PROPERTY OF SEGA ___ GENESIS software development environments (reference) Construction example <1> Host Computer In-Circuit Emurator Marketed GENESIS +D-RAM +Loader A) Host computer There are no specified models. B) ICE..The system may not work because of mismatch with IAX's ICE.... No problem. However, it needs to is used for the GENESIS devel@pae ( purchased. Other ICEs... Unknown sice SEGA has not. localize the problem if ttiéy k without any abnormality on th Please ask the dealer of your . C) Marketed GENESIS... The follow: ling godifi i i . @ * To insert an ICE probe, the < Í * The modifications shown in fig ave to be made, since it is very sensitive to moises ff the ICE and the power supply. It needs to be operated under power line environments by, for example, not putting many le electric outlet, not installing large electric шасһіпе Р applying a moise filter to the power supply. SUPER MEGA DRIVE B) re are no specified models, since mismatch never occurs. - С) No modifications are required. No O-RAM board and loader is required. o CONFIDENTIAL | #161 РКОРЕКТҮ ОЕ 5ЕСА e Construction example «3» Host О SUPER Computer MEGA DRIVE А) There are по specified models. B) No modifications are required. However, the software fora SMD needs to be developed. №. CONFIDENTIAL #161. | PROPERTY ОҒ SEGA. - 2 eom — - Notes on the development 8M D-RAM board The development D-RAM board contains: The D-RAM area in $00000 to $OFFFFF The S-RAM area on the low-byte side of $200000 to $203FFF. ** How to use • Immediately after power-on: Write O100H at $A11000; Write 0001H at $A130F0; Then the D-RAM board becomes ready to start (green, - During operation: Write 0003H at $A130F0; С Then the D-RAM becomes а read-only meaóty (red dicating N write disable); or Write 0001H at $A130F0; Then the D-RAM becomes read/write Notes: When the "NO MEMORY ACCESS" bre do "MA 0A13000,O0A13FFF=US", and f% 3888 Then write 0003H at $А130Е0 beforé do "MA 0A13000, OA13FFF=NO” to compi Potect the D-RAM, and perfora the emulations of "r reset” and Value at $A130F0 WRITE PROTECT ПСЕ ПИ 400000 - $4FFFFF (D-RAM) ON (ROM mode) 200000 - $203FFF (S-RAM) OFF 9000000 - $OFFFFF (D-RAM) ON (ROM mode) $200000 - $203FFF (S-RAM) OFF The S-RAM comprises odd addresses of $XX0000 - $XX3FFF. í - $4FFFFF (D-RAM) 00 - $603FFF (S-RAM) 000000 - $OFFFFF (D-RAM) 5200000 - $203FFF (S-RAM) 1 j бгееп-оп, Ве! When mapping is changed to 5400000 - $AFFFFF, general cartridges which o can be used as the extended RAM space with FDD in use should be developed with $А130Е0 = 1,3. CONFIDENTIAL #161 PROPERTY OF SEGA 2.20-'81 1MRAM- 4MROM BD DOCUMENTATION (ROM-size is 80000H(512KBYTE) @RAM-size is 20000H(128KBYTE) The ratary switch is used to se | (if RAM overlaps the memory іп B RAM data will save to backup-R d in RAM. 1 take priority) b. @ Rotary switch and RAM address dl SWO 00000H-1FFFFH 0800085-27FFFH 1 2 3 4 5 5, б | FFFH 1 8 9 À B 00H-TFFFFH 10000H-7FFFFH 200000H-21FFFFH _ 20000H TFFFFH CONFIDENTIAL #161 | PROPERTY OF SEGA ЯР: К RT SW=1 8000H 10000H 18000H 20000H ®Control port(A130E0H-WORD) (1)Set write-protection to RAM BIT4=0O You cannot WRITE BIT4=1 You can WRITE (2) Indication of Bank-address Ву setting '1' to bit0-3, you can indicate word of each of the four RAMs. ( If you are indicating the bank- last word of RAM. And the bank-address was indi Correspondence Bit 0 ----- RAM 0 Bit 1 ----- RAM 1 ЕН CXXFFFFH) миг» вп СС С СС ВС СВ С DATA(BANK 1 38000H) CONFIDENTIAL #161 PROPERTY ОҒ SEGA % (3)Reading the "control port” By reading the "control port”, you can check : 1)А state of Protection 2)А state of indication of bank-address 3)A state of rotary sw. АТЗОЕОН ВІТ МАР Кофагу SW ; WRITE PROTECT ; RAM AREA BANK DI 1:0N/0: OFF 1:015Р/0:МА5К | В А 9 8 7 6 5 4 2 1 n m О O оз ӨСІР SWITCH ON 1 2MROM 2 Not JE DEC 3 Not used @ 4 Not used Example: CONFIDENTIAL #161 PROPERTY OF SEGA sd 1991/2/20 (еме: ROM BOARD SPECIFICATIONS | .4M ROM BOARD Basic construction of ROM size : Four 1M EP-ROMs (4M bit) However, the jumpers on the back side can change the setting. - Four 2M EP-ROM (8M bit) Basic construction of ROM type “Тһе ROM type is non-JEDEC (27C1000 for Fujitsu) However, the jumpers on the back side сап change the setti “Тһе ROM type is JEDEC (27C1001 for Fujitsu) @1M EP-ROM of non-JEDEC type (initial setting J1,J3,J5 and J7 are connected. The others aft © 1M EP-ROM of JEDEC type 41,43, Ј6 and J8 are connected. The other (92M EP-ROM of JEDEC type J2,J4,J6 and J8 are connected ODDO 044 addres CONFIDENTIAL | $161 PROPERTY OF SEGA Ж И .8М ROM board 64 Basic construction - With the 64k bit S-RAM - Eight 1M EP-ROMs (8M bit) - The ROM type is non-JEDEC (2761000 for Fujitsu) However, the dip switch can change the setting. • Eight 2M EP-ROM (16M bit) “Тһе ROM type 15 ЈЕРЕС (2761001 and 2762001 for FUjitsu) Dip switch Таяз Backup RAM On...Write Off..Pritect 2.0924 Оп dics ROM type Ün...non-JEDEC Off. . ЈЕРЕС м 22: ) non-JEDEC (27С1000 for Fujitsu) -h can change the setting. is JEDEC. the 8M board 64, the 2M EP-ROM cannot be used. Switch @ On....JEDEC 0ff....non-JEDEC O The configuration of the ROM on the board is the same as that of the 8M ROM board 64. š ===> END CONFIDENTIAL. #161 PROPERTY OF SEGA ` 1991/6/14 o Master system ROM board specifications Dip switch t . 1M ЕР-КОМ (non-JEDEC type only) 1 and 2..... бп The others are all off. |. 512K EP-ROM 3.......... Ün Тһе others аге all off. CONFIDENTIAL | #161 P PERTY OF SEGA Тһе following is information for the Super Mega Drive development station. The NMI (green) button on the front panel must be configured before it will work. This document contains information on setting up the NMI button. CONFIDENTIAL #161 PROPERTY ОҒ SEGA ОМ... 22. 2. (MON) 02. 08 93 18:39/8T..18:38/NO. 3506742984 P 3 planation fer Пір switch #4. |l. Board Setting - Two settings exíst: MEGA DRIVE setting and SUPER TARGET setting. They are switched by DIP. SW4, ` А) setting for MEGA DRIVE (DIP. SW&-OFF) Functions as a MEGA DRIVE B) setting for SUPER TARGET (DIP. SW4=0N) Two modes exist: the EMURATE mode and the MONITOR mode. - EMURATE mode А GAME program for MEGA DRIVE is being executeg.. - MONITOR mode | А GAME_program for MEGA_DRIVE is stopped and the ROM is executed. f put in the shadow When power із оп, ít is In the MONITOR af | £ ) | To turn inte the EMURATE mode, exec a instructions: nop nop move.w ЗВ, -(A7) move.{ РС, -(АТ) поме. м 07, 2А81006 сііопв become availeble: ав ІСЕ: GH. break function (push $3 "BREAK") ADDRESS CHECK.break function HARD BREAK.break function The mode is changed to the MONITOR mode when any break happens. When MONITOR mode, - 1/0 etc. for development сап be used. - HISTORY function RAM can be READ/WRITE. CONFIDENTIAL #161 PROPERTY OF SEGA FROM | (MON) 02. 08' 93 18:39/57. 18:38/NO. 3506742984 P 4 ПІ. Extended 1/0 function (when MONITOR mode) memory map control (memcti): mapping changes (SRAM mapping address сап be changeable) this bit is tant ! 5482001 ишо а 3210 | t---map.change switch "сіге” and "fdd" (valid whe | 50-1 -- сёге -> (fdd), fdd -> (сіге) | bit0=0 -- сіге -> ctrg, fdd —> fdd | | ----femory map control +-----—---уа lid when 6143=!. switch "ctre | | | | [ | | | ріп, 832 of cartridge. (when4 | 4 5 | | | | | | | | | | | *-----------emu(ator mapping [ | +——--——-------аџіо_месїог по_ CONFIDENTIAL $161 . PROPERTY OF SEGA · ОМ... 2 (MON) 02. 08' 93 18:39/9Т. 18:38/0. 3506742984 P 5 | 12. 81/08 (z-5-modeR) 12-8-1) {memory пар control (пепс%1) “ТУУ TORR (АНУ у RY УЗА OB) (y memory map control 5282001 (write_only) 76543210 bitO=1 ctrg-) (#00), fdd-) (cteg) | | И | +--------- пар change bitO=0 ctrg-)ctrg ,fdd-) fdd CERERE Гое E 17144, MANBR (bit3=025$ MEME E memory map control BENE YYEVIODO ФА BENE 61591, Zr — F Ü w У д = C ОЕ! e fiit AnG. || || H F 1!) y Фрап.В32- 1080 АЛ x (її! | | | «----------.--.... emulator mapping bit / ГЕ! MONITOR. воде T. | „победу уму 7425 [T| * ДЕ Г12-а- $ або vecto -BANK(0),& | | auto_vectof Еј + BANK %-%----.----.-............. auco_vectoÉ BANK. page(s er bank change) КЕБУ Ov ог _асдгез5 25 b RA ae auto_vector 5800000 | ------ + cartridge loppy disk unit | pot rom.eauíation ram & back ub гал | 5880000 %------ : | bram :(back up)« 58с0000 +------ : | ! TK — : work ran (extnded) | {900000 +------ ; : boot-ron | ! NFIDENTIAL #161 PROPERTY OF SEGA FROM (MON) 02. 08° 93 18:40/ST. 18:38/10. 3506742984 P 6 : u as 12-8-2) memory map control (пепс%1) (( gemory пар control )) %-------- 7---4-4з---.-.----................. -%------------- т--------.---- + | | hare mode || emulate Í monitor | 3 |I (if bit4=1 in monitor_mode)| | 4 %4------------.- %%----------. ------ ==-------- %------ --------------- -.----+ s | bit 2,1 119 010 111 011 #10 0 106 1[1 011 | (3282001) || | | | | | | | 5000000 -------:---.-- +------ +------ %----- -%------%------%----- | boot | гаа | | | boot | boot | 6005 | ram | %------ + | | | . %------ | | | cart | cart | | | Í 5200000 »------ + | (Edd) |(744) %------%------а-----.. | | | | $400000 $800000 5200000 $00000 $e00006 $£¢0000 8710000 JEN work | work | wort | work | ‘ Фет-е--е-фр........л DIP. sit- OFF) — ,"opPing QUE. ПИ О -GAR =(@&#Бноах(2060000-:1222) address for develop b) MONITOR modeojik ys mapping. - HONT TOR. УР + BA fe FS WORK (SF CO000-FZFFF) `##Ш1/07 К/А 12, ПЕТ ORE (€£—*5—modets) x | МЫ / CONFIDENTIAL #161 | PROPERTY OF SEGA . “гі2у-У-побЙс% 20 5281001 ( 1 | ||| | | | +-------- "іп I | | | | | | + = =m а ары 7--------------фу. CONFIDENTIAL # 12-6) Change to EMULATE (MONITOR) ) Ж ¢------.. ~change ta EMULATE * all bit active low (MON) 02. 08 93 18:40/57. 18:38/NO. 3506742984 P 7 _———Є—Е-—:-- - ораск monitor ' write protect 232c hunt drack tide out break chip . address checker break switch 161 PROPERTY OF SEGA