Previous 15994 Revisions Next

r15750 Sunday 5th August, 2012 at 07:11:21 UTC by Robbbert
Z1013: added some documentation
[src/mess/drivers]z1013.c

src/mess/drivers/z1013.c
r15749r15750
44
55        22/04/2009 Preliminary driver.
66
7Monitor commands
8B - Registers
7The 8x4 keyboard contains letters A-W, enter, cursor right/left, space, and
84 shift keys.
9S1 - X-Z, numbers
10S2 - a-w
11S3 - z-z, punctuation
12S4 - control keys
13
14Control Keys:
15G - Graphics
16A - Alpha
17T - clear screen
18U - enter
19P - cursor left
20Q - cursor right
21
22Monitor commands (debug)
23R - registers
24B - breakpoint
25E - execute
26G - resume after breakpoint
27N - single-step
28
29Monitor commands (general)
30H - switch to hex keyboard (H to Q become 0 to 9)
31A - switch back to normal alpha keyboard
32C - Compare memory blocks
933D - Dump memory
10E - Registers
34F - Find bytes in memory
35T - Copy memory block
36M - Modify bytes (; to exit)
37I - reboot
38J - Jump to address
39K - Fill memory (K by itself fills all of memory)
1140L - Load Cassette
12M - Modify Memory
1341S - Save Cassette
42W - window (example: W EF00 EFFF)
1443
15There are others which just hang or reboot the system, due to no input checking.
44Due to no input checking, misuse of commands can crash the system.
1645
1746
1847
r15749r15750
3362      : driver_device(mconfig, type, tag),
3463   m_maincpu(*this, "maincpu"),
3564   m_cass(*this, CASSETTE_TAG),
36   m_p_videoram(*this, "p_videoram"){ }
65   m_p_videoram(*this, "videoram"){ }
3766
3867   required_device<cpu_device> m_maincpu;
3968   required_device<cassette_image_device> m_cass;
r15749r15750
5180/* Address maps */
5281static ADDRESS_MAP_START(z1013_mem, AS_PROGRAM, 8, z1013_state)
5382   AM_RANGE( 0x0000, 0xebff ) AM_RAM
54   AM_RANGE( 0xec00, 0xefff ) AM_RAM AM_SHARE("p_videoram")
83   AM_RANGE( 0xec00, 0xefff ) AM_RAM AM_SHARE("videoram")
5584   AM_RANGE( 0xf000, 0xffff ) AM_ROM //  ROM
5685ADDRESS_MAP_END
5786

Previous 15994 Revisions Next


© 1998-2018 The MESS Team