Previous 15994 Revisions Next

r4104 Sunday 11th January, 2009 at 09:53:15 UTC by Robbbert
[TUTOR] Added some documentation.
[src/mess/drivers]tutor.c

src/mess/drivers/tutor.c
r4103r4104
7070    seem to be used: triggering these seems to cause a soft reset.  XOPs are
7171    not used at all: the ROM area where these vectors should be defined is used
7272    by a ROM branch table.
73
74**** Added by Robbbert, Jan 2009 ****
75
76Memory Map found at http://www.floodgap.com/retrobits/tomy/mmap.html
77
78                   *** $0000-$7FFF is the 32K BIOS ***
79 it is also possible to replace the BIOS with an external ROM (see $E000 range)
80
810000                           
82                                reset vector (level 0)
83                                0000-0001: WP   0002-0003: PC (%)
840004
85                                level 1 and 2 IRQ vectors (%)
86                                idem. These just seem to reset the system.
87000C
88                                additional vectors
890040
90                                XOP vectors (%)
91            The BIOS doesn't seem to use these for XOPs.
92            Instead, this is a branch table.
930080
94            BIOS code
95            (CRU only: $1EE0-FE: 9995 flag register;
96               $1FDA: MID flag)
974000
98            GBASIC
99            (on the American v2.3 firmware, the GPL
100               interpreter and VDP RAMLUT co-exist
101               with GBASIC in this range)
102
103              *** $8000-$BFFF is the 16K option ROM area ***
104
1058000
106            BASIC (Tutor only) and/or cartridge ROM
107               (controlled by $E100)
108            To be recognized, a cartridge must have a
109            $55, $66 or $aa header sequence.
110
111                         *** end ROM ***
112C000
113            unmapped (possible use in 24K cartridges)
114E000
115            I/O range
116            ---------
117            9918A VDP data/register ports: $E000, E002
118            "MMU" banking controls: $E100-E1FF
119               $E100 write: enable cartridge, disable
120                  BIOS at $0000 (???) -- magic
121                  required at $E110 for this
122               $E108 write: enable BASIC ROM, disable
123                  cartridge at $8000
124               $E10C write: enable cartridge, disable
125                  BASIC ROM at $8000
126               $E110 must be $42 to enable $E100
127                  and to replace the BIOS with
128                  an installed cartridge ROM.
129                  BLWP assumed at $0000 (??).
130            SN76489AN sound data port: $E200
131            Device handshaking: $E600
132               Unknown purpose, disk drive maybe?
133            Printer handshaking: $E800
134            This is a standard Centronics port.
135               $E810 write: parallel data bus
136               $E820 read: parallel port busy
137               $E840 write: port handshake output
138            Keyboard lines: $EC00-$EC7E (*CRU*)
139               (CRU physical address $7600-$763F)
140            Cassette lines: $ED00-$EEFF
141               $ED00 (*CRU*): input level
142                  (physical address $7680)
143               $EE00 write: tape output zero
144               $EE20 write: tape output one
145               $EE40 write: tape IRQ on
146               $EE60 write: tape IRQ off
147               $EE80, A0, C0, E0: ???
148               
149F000
150                                TMS9995 RAM (*)
151F0FC
152                                ??
153FFFA
154                                decrementer (*)
155FFFC
156                                NMI vector (*)
157FFFF
158
73159*/
74160
75161#include "driver.h"
r4103r4104
417503static ADDRESS_MAP_START(tutor_memmap, ADDRESS_SPACE_PROGRAM, 8)
418504
419505   AM_RANGE(0x0000, 0x7fff) AM_ROM   /*system ROM*/
420   AM_RANGE(0x8000, 0xbfff) AM_ROMBANK(1)   /*BASIC ROM & cartridge ROM*/
506   AM_RANGE(0x8000, 0xbfff) AM_ROMBANK(1)   AM_WRITENOP/*BASIC ROM & cartridge ROM*/
421507   AM_RANGE(0xc000, 0xdfff) AM_NOP   /*free for expansion, or cartridge ROM?*/
422508
423509   AM_RANGE(0xe000, 0xe000) AM_READWRITE(TMS9928A_vram_r, TMS9928A_vram_w)   /*VDP data*/

Previous 15994 Revisions Next


© 1998-2018 The MESS Team