diff options
| author | 2008-09-08 03:05:09 +0000 | |
|---|---|---|
| committer | 2008-09-08 03:05:09 +0000 | |
| commit | f5d90dac563a8921c5cb2dcd10929ae6400585ec (patch) | |
| tree | 72bd8314df086fd220c407f4726b4943f60a51ac /src/emu/debug | |
| parent | 9af15fd27ff74bae235ce3add87b235ea3edb1df (diff) | |
CPUs, sound chips, devices, and ROM-regions which are specified by devices
now have their tags auto-prefixed with the device's tag. This allows for
multiple instances to be present. For example, the PR-8210 laserdisc player
has a CPU with a tag of "pr8210". When it is included as a device by a
driver, the driver may tag the device "laserdisc". The resulting final
CPU tag name will be "laserdisc:pr8210". Also updated the debugger
expression engine to support names with embedded colons.
Added warnings to ensure that tags used for CPUs, sound chips, regions, and
devices follow some basic rules: they should be less than 12 characters long,
be all lower-case, and only contain letters, numbers, underscores, or dots
(no spaces). This is to ensure that they can be used properly in debugger
expressions and don't get too long or unwieldy to type (even 12 chars is a
bit long).
Diffstat (limited to 'src/emu/debug')
| -rw-r--r-- | src/emu/debug/express.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/debug/express.c b/src/emu/debug/express.c index e3aa27ac91e..56d3c00f9a6 100644 --- a/src/emu/debug/express.c +++ b/src/emu/debug/express.c @@ -816,7 +816,7 @@ static EXPRERR parse_string_into_tokens(const char *stringstart, parsed_expressi default: { - static const char valid[] = "abcdefghijklmnopqrstuvwxyz0123456789_$#."; + static const char valid[] = "abcdefghijklmnopqrstuvwxyz0123456789_$#.:"; static const char numbers[] = "0123456789abcdef"; int bufindex = 0, must_be_number = 0, numbase = DEFAULT_BASE; char buffer[MAX_SYMBOL_LENGTH]; |
