src/mess/devices/snapquik.h
| r7488 | r7489 | |
| 10 | 10 | #define __SNAPQUIK_H__ |
| 11 | 11 | |
| 12 | 12 | #include "image.h" |
| 13 | #include "ui.h" |
| 13 | 14 | |
| 14 | 15 | |
| 15 | | |
| 16 | 16 | /*************************************************************************** |
| 17 | 17 | CONSTANTS |
| 18 | 18 | ***************************************************************************/ |
| r7488 | r7489 | |
| 43 | 43 | logerror("Loading register %s\n", cpu_get_reg_string(_cpu, _reg)); \ |
| 44 | 44 | } while (0) |
| 45 | 45 | |
| 46 | #define EXEC_NA "N/A" |
| 46 | 47 | |
| 47 | 48 | /*************************************************************************** |
| 48 | 49 | TYPE DEFINITIONS |
| r7488 | r7489 | |
| 91 | 92 | FUNCTION PROTOTYPES |
| 92 | 93 | ***************************************************************************/ |
| 93 | 94 | |
| 95 | void log_quickload(const char *type, UINT32 start, UINT32 length, UINT32 exec, const char *exec_format); |
| 96 | |
| 94 | 97 | /* device getinfo function */ |
| 95 | 98 | DEVICE_GET_INFO(snapshot); |
| 96 | 99 | |
src/mess/devices/snapquik.c
| r7488 | r7489 | |
| 57 | 57 | |
| 58 | 58 | |
| 59 | 59 | /*------------------------------------------------- |
| 60 | | get_config - safely gets the bitbanger config |
| 60 | get_config - safely gets the quickload config |
| 61 | 61 | -------------------------------------------------*/ |
| 62 | 62 | |
| 63 | 63 | INLINE const snapquick_config *get_config(running_device *device) |
| r7488 | r7489 | |
| 75 | 75 | return (const snapquick_config *) device->inline_config; |
| 76 | 76 | } |
| 77 | 77 | |
| 78 | /*------------------------------------------------- |
| 79 | log_quickload - logs and displays useful |
| 80 | data for the end user |
| 81 | -------------------------------------------------*/ |
| 78 | 82 | |
| 83 | void log_quickload(const char *type, UINT32 start, UINT32 length, UINT32 exec, const char *exec_format) |
| 84 | { |
| 85 | astring tempstring; |
| 86 | |
| 87 | logerror("Loading %04X bytes of RAM at %04X\n", length, start); |
| 88 | |
| 89 | tempstring.catprintf("Quickload type: %s Length: %d bytes\n", type, length); |
| 90 | tempstring.catprintf("Start: 0x%04X End: 0x%04X Exec: ", start, start + length - 1); |
| 91 | |
| 92 | logerror("Quickload loaded.\n"); |
| 93 | if (!mame_stricmp(exec_format, EXEC_NA)) |
| 94 | tempstring.cat("N/A"); |
| 95 | else |
| 96 | { |
| 97 | logerror("Execution can resume with "); |
| 98 | logerror(exec_format, exec); |
| 99 | logerror("\n"); |
| 100 | tempstring.catprintf(exec_format, exec); |
| 101 | } |
| 102 | |
| 103 | ui_popup_time(10, "%s", tempstring.cstr()); |
| 104 | } |
| 105 | |
| 79 | 106 | /*************************************************************************** |
| 80 | 107 | IMPLEMENTATION |
| 81 | 108 | ***************************************************************************/ |
src/mess/drivers/spectrum.c
| r7488 | r7489 | |
| 163 | 163 | 15. The TK90X and TK95 roms output 0 to port #df on start up. The purpose of this port is unknown |
| 164 | 164 | (probably display mode as TS2068) and thus is not emulated. |
| 165 | 165 | |
| 166 | | Very detailed infos about the ZX Spectrum +3e can be found at |
| 167 | | http://www.worldofspectrum.org/zxplus3e/ |
| 166 | 16. Very detailed infos about the ZX Spectrum +3e can be found at |
| 167 | http://www.worldofspectrum.org/zxplus3e/ |
| 168 | 168 | |
| 169 | 17. The ZX Spectrum is known to support a huge number of peripherals, daisy-chained through its expansion bus. |
| 170 | In the earlier part of its life cycle, a common configuration consisted of a "docking station"-type |
| 171 | peripheral providing drive controllers (the disk drives were not part of the packages), a game |
| 172 | interface (joystick and/or sound chip) and the ZX Printer (which, if present, must terminate the chain). |
| 173 | |
| 174 | Later, all-in-one peripherals became more common. The following list is just a little part of the huge |
| 175 | catalog of peripherals available to the ZX Spectrum; however these peripherals are both the most successful |
| 176 | and the better documented ones. |
| 177 | |
| 178 | Except when noted, technical and usage manuals are available at http://www.worldofspectrum.org/ |
| 179 | |
| 180 | ------------------------ |
| 181 | Mass storage controllers |
| 182 | ------------------------ |
| 183 | |
| 184 | ZX Interface 1 |
| 185 | up to 8 Microdrives |
| 186 | 1 RS-232 port |
| 187 | 2 ZX Network ports - http://scratchpad.wikia.com/wiki/ZX_Net |
| 188 | |
| 189 | Opus Discovery |
| 190 | up to 2 Disk drives |
| 191 | 1 Centronics port |
| 192 | 1 Joystick port (Kempston) |
| 193 | |
| 194 | DISCiPLE Interface |
| 195 | up to 2 Disk drives |
| 196 | 1 Centronics port |
| 197 | 2 Joystick ports (RH: Sinclair/Kempston, LH: Sinclair) |
| 198 | 2 ZX Network ports |
| 199 | |
| 200 | Plus D Interface |
| 201 | up to 2 Disk drives |
| 202 | 1 Centronics port |
| 203 | |
| 204 | Rotronics Wafadrive |
| 205 | 2 "Stringy" drives |
| 206 | 1 RS-232 port |
| 207 | 1 Centronics port |
| 208 | |
| 209 | Kempston Disc Interface |
| 210 | up to 4 Disk drives (KDOS) |
| 211 | |
| 212 | Beta 128 Disk Interface |
| 213 | up to 4 Disk drives (TR-DOS) |
| 214 | |
| 215 | Philips Disc ROM |
| 216 | ??? |
| 217 | |
| 218 | ---------------- |
| 219 | Game controllers |
| 220 | ---------------- |
| 221 | |
| 222 | ZX Interface 2 |
| 223 | 2 Joystick ports (Sinclair) |
| 224 | 1 ROM slot |
| 225 | |
| 226 | Kempston Interface |
| 227 | 1 Joystick port (Kempston) |
| 228 | |
| 229 | Protek/AGF/Cursor Interface |
| 230 | 1 Joystick port (Protek) |
| 231 | |
| 232 | Fuller Box |
| 233 | 1 Joystick port (Fuller) |
| 234 | 1 G1-AY-3-8912 sound chip - the chip is identical to the one present on the 128 model, |
| 235 | but the I/O ports are different: http://scratchpad.wikia.com/wiki/AY-3-8912(a) and |
| 236 | http://scratchpad.wikia.com/wiki/Timex_2000_series#Sound_Chip |
| 237 | |
| 238 | Mikro-Plus Interface |
| 239 | 1 Joystick port (Mikrogen) |
| 240 | 1 ROM slot - http://www.worldofspectrum.org/showmag.cgi?mag=Crash/Issue19/Pages/Crash1900020.jpg |
| 241 | |
| 242 | ------------ |
| 243 | Misc devices |
| 244 | ------------ |
| 245 | |
| 246 | DK'Tronics Light Pen (identical to TK90X light pen) |
| 247 | |
| 248 | AMX Mouse |
| 249 | Schematics and test software at http://velesoft.speccy.cz/othermouse-cz.htm |
| 250 | |
| 251 | Kempston Mouse |
| 252 | Schematics and test software at http://8bit.yarek.pl/hardware/zx.mouse/ |
| 253 | |
| 254 | Currah uSpeech |
| 255 | Speech synthesis thru allophones (SP0256-AL2) |
| 256 | |
| 257 | MGT Messenger |
| 258 | Allows connection between ZX Spectrum and SAM Coupé |
| 259 | |
| 260 | Soft-ROM |
| 261 | A development system board - http://www.wearmouth.demon.co.uk/softrom.htm |
| 262 | |
| 263 | Multiface 1/128/+3 |
| 264 | The classic snapshot interface for ZX Spectrum, 128 and +3 models, with 8K internal RAM. |
| 265 | |
| 266 | SamRam |
| 267 | A more versatile "Multiface I"-type interface - http://8bit.yarek.pl/upgrade/zx.samram/samram.html |
| 268 | |
| 269 | |
| 169 | 270 | *******************************************************************************/ |
| 170 | 271 | |
| 171 | 272 | #include "emu.h" |