Home | Demoscene | Links | Gallery | About us
TECHNICAL NOTEBOOK
Ramsoft documents | Other documents

Last updated: July 1st, 2006


This is the RAMSOFT technical notebook, containing lots of low-level details about the Spectrum hardware, peripherals, file formats, cables, pinouts, routine addresses and so on. It is mainly intended as a way to collect the dispersed bits of our knowledge derived from nearly 10 years of programming with the Spectrum. Of course we also point the attention over other interesting documents available on the net. Happy programming!

NOTE: Due to copyright issues, we cannot put some third-party documents on-line. A link to the official site is provided, instead.

Ramsoft documents


The RAMSOFT
DISCiPLE / +D Technical Guide

Revision 8b (30/1/04)
The first exhaustive guide to all the secrets of the MGT drive interfaces, that we have always supported in our programs and conversions. It will help you to get the most from this wonderful disk system.
 Covered topics are:
  • Detailed description of all the I/O ports and hardware registers.
  • VL1772 floppy disk controller (also mounted on Sam Coupe and Atari ST) registers info, with the list of all the FDC commands and response codes.
  • Commented list of the DOS hook codes (including UNIDOS ones) for assembler programming with a machine code example to load a file.
  • File system implementation, with a detailed analysis of all the file types structure including the snapshot registers layout. UNIDOS specific file types are also covered.
  • GDOS, G+DOS and UNIDOS syntax overview. All the DOS BASIC statements are commented, including printing and network commands.
  • Connectors pinouts, memory mapping and more, including a procedure to connect common 5.25" (1.2 MB) PC disk drives to the DISCiPLE and +D.

ROM TAPE LOADER TUTORIAL The ROM TAPE LOADER TUTORIAL explains the basics of tape loading through the detailed analysis of the ROM code. This is the first step to understand the secrets of the Speedlock turbo loader, maybe the most famous commercial protection system which has been used for many games.

SPEEDLOCK LOADER TUTORIAL The SPEEDLOCK TUTORIAL will examine in detail the signal encoding (tone clicks, sync pulses and so on) with the commented disassembly of the loading routine. It will also examine the differences amongst the various versions (1 through 7) of the loader.

SOUNDTRACKER 1.1 FILE FORMATS Want to write your own stable ST player? Fine, here are the implementation charts of the various ST file formats (songs, patterns, samples and ornaments) both in compiled and uncompiled form. Old stuff, but yet unreleased!

HDF v1.1
FILE FORMAT
HDF files have been introduced by RealSpectrum and other emulators to store hard-disk data images for the emulated IDE peripherals. This is the official documentation of the file structure.

RZX
DEVELOPMENT PAGE
The RZX acronymn stands for ZX Recording and it is a new versatile input recording format designed with portability and security in mind. RZX is an open-source project and everybody can contribute to the final format definition process.

FLOATING BUS
EXPLAINED
A complete description of the floating bus and the snow effect of the ULA, including a test program for experiments and auto-diagnostic.

CSW FILE FORMAT
Revision 2.00
The Compressed Square Wave format is an effective way to store computer tapes in a compact form. It faithfully preserves the original structure of the tape at the detail level of the individual pulses, combined with an efficient compression system which reduces the file size by several hundreds of times compared to a PCM WAV file.

Other documents


TZX FILE FORMAT Revision 1.13 The most advanced tape format which allows exact reproduction of the behaviour of turbo and custom loading routines. Supported by the newest and coolest emulators!
Check the software page for some utilities to convert your tapes to TZX format.

RUSSIAN SPECTRUM CLONES FAQ Everything you ever wanted to know about the russian Spectrums with extended hardware capabilities, such as the Pentagon 128 and the Scorpion 256. Discussed topics are video timings, I/O ports, memory management and the TRDOS floppy disk system.
The home is at Concern Cha0S page.

TRDOS (BETADISK) SYSTEM INFO Another document about eastern Spectrum clones, with the description of TRDOS BASIC commands, machine code system calls and the TRDOS disk format (also .TRD image files).

THE OFFICIAL COMP.SYS.SINCLAIR FAQ This is a real must have, the first place to start with! The latest version is always available at the CSSFAQ primary site and World Of Spectrum.

Subjects covered are:
  • Hardware info about Z80, ULA, video timings, AY-38912A, Interface I, connectors pinouts and a lot more.
  • Description of many snapshot and tape file formats used by emulators.
  • Answers to many common questions (well, it's a FAQ, isn't it? :-))
  • Tons of site links and addresses.
  • Reviews of the Spectrum emulators available for the various platforms.

Z80 FAMILY OFFICIAL SUPPORT PAGE An excellent site containing the most complete reference material about the Z80, including programming info, undocumented opcodes and flags, instruction timings, microcode breakdown and links to other resources related to the Z80. Unvaluable for emulator writers.

AY-LPT Circuit Diagram The AY-LPT interface is a simple device with a real AY-3-8912 sounchip, which can be connected to the standard PC parallel port. AY-LPT is supported by some emulators (including RealSpectrum) to provide the real sound of the Spectrum 128K.


Copyright notice: The material appearing in the "Ramsoft documents" section is ©1997-2006 Ramsoft ZX Spectrum demogroup. If you want to keep copies of such documents on your website, please ask our written permission, first.