Previous 15994 Revisions Next

r7489 Friday 5th March, 2010 at 00:07:55 UTC by Stefano Priore
[SPECTRUM] Added some notes on unemulated HW and more forgotten files... Thanks kdesvn! :(
[src/mess/devices]snapquik.c snapquik.h
[src/mess/drivers]spectrum.c

src/mess/devices/snapquik.h
r7488r7489
1010#define __SNAPQUIK_H__
1111
1212#include "image.h"
13#include "ui.h"
1314
1415
15
1616/***************************************************************************
1717    CONSTANTS
1818***************************************************************************/
r7488r7489
4343          logerror("Loading register %s\n", cpu_get_reg_string(_cpu, _reg)); \
4444        } while (0)
4545
46#define EXEC_NA "N/A"
4647
4748/***************************************************************************
4849    TYPE DEFINITIONS
r7488r7489
9192    FUNCTION PROTOTYPES
9293***************************************************************************/
9394
95void log_quickload(const char *type, UINT32 start, UINT32 length, UINT32 exec, const char *exec_format);
96
9497/* device getinfo function */
9598DEVICE_GET_INFO(snapshot);
9699
src/mess/devices/snapquik.c
r7488r7489
5757
5858
5959/*-------------------------------------------------
60    get_config - safely gets the bitbanger config
60    get_config - safely gets the quickload config
6161-------------------------------------------------*/
6262
6363INLINE const snapquick_config *get_config(running_device *device)
r7488r7489
7575   return (const snapquick_config *) device->inline_config;
7676}
7777
78/*-------------------------------------------------
79    log_quickload - logs and displays useful
80    data for the end user
81-------------------------------------------------*/
7882
83void 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
79106/***************************************************************************
80107    IMPLEMENTATION
81108***************************************************************************/
src/mess/drivers/spectrum.c
r7488r7489
16316315. The TK90X and TK95 roms output 0 to port #df on start up. The purpose of this port is unknown
164164    (probably display mode as TS2068) and thus is not emulated.
165165
166Very detailed infos about the ZX Spectrum +3e can be found at
167http://www.worldofspectrum.org/zxplus3e/
16616. Very detailed infos about the ZX Spectrum +3e can be found at
167    http://www.worldofspectrum.org/zxplus3e/
168168
16917. 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------------------------
181Mass storage controllers
182------------------------
183
184ZX 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
189Opus Discovery
190   up to 2 Disk drives
191   1 Centronics port
192   1 Joystick port (Kempston)
193
194DISCiPLE 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
200Plus D Interface
201   up to 2 Disk drives
202   1 Centronics port
203
204Rotronics Wafadrive
205   2 "Stringy" drives
206   1 RS-232 port
207   1 Centronics port
208
209Kempston Disc Interface
210   up to 4 Disk drives (KDOS)
211
212Beta 128 Disk Interface
213   up to 4 Disk drives (TR-DOS)
214
215Philips Disc ROM
216   ???
217
218----------------
219Game controllers
220----------------
221
222ZX Interface 2
223   2 Joystick ports (Sinclair)
224   1 ROM slot
225
226Kempston Interface
227   1 Joystick port (Kempston)
228
229Protek/AGF/Cursor Interface
230   1 Joystick port (Protek)
231
232Fuller 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
238Mikro-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------------
243Misc devices
244------------
245
246DK'Tronics Light Pen (identical to TK90X light pen)
247
248AMX Mouse
249    Schematics and test software at http://velesoft.speccy.cz/othermouse-cz.htm
250
251Kempston Mouse
252    Schematics and test software at http://8bit.yarek.pl/hardware/zx.mouse/
253
254Currah uSpeech
255    Speech synthesis thru allophones (SP0256-AL2)
256
257MGT Messenger
258    Allows connection between ZX Spectrum and SAM CoupĂ©
259
260Soft-ROM
261    A development system board - http://www.wearmouth.demon.co.uk/softrom.htm
262
263Multiface 1/128/+3
264    The classic snapshot interface for ZX Spectrum, 128 and +3 models, with 8K internal RAM.
265
266SamRam
267    A more versatile "Multiface I"-type interface - http://8bit.yarek.pl/upgrade/zx.samram/samram.html
268
269
169270*******************************************************************************/
170271
171272#include "emu.h"

Previous 15994 Revisions Next


© 1998-2018 The MESS Team