Questions tagged [zx-spectrum]
For questions about the different versions and products of the Sinclair ZX Spectrum computer
137
questions
5
votes
2
answers
639
views
BASIC line input buffer location on ZX Spectrum
I'm currently writing a ZX Spectrum emulator (I know there are plenty, but it's a project).
I'm having an issue where it keeps repeating the last key press even though I know the port lines have been ...
16
votes
4
answers
4k
views
Was the ZX Spectrum used for serious number crunching?
From Eurogamer’s obituary of Sir Clive Sinclair:
Sinclair never intended for his computers to be games machines, but
that was what the market decided they were. Within the space of a few
years, the ...
4
votes
2
answers
224
views
How do I use the extra commands in the Spanish version of the 128k Spectrum ROM?
The Spanish Inves/Investronica version of the 128k Sinclair Spectrum had a rather different ROM from the English 128k Speccy.
Error messages were in Spanish, there were extra letters and punctuation ...
14
votes
1
answer
809
views
How are the extra BASIC keywords of the Timex Sinclair 2068 that the ZX Spectrum didn't have encoded?
I've read that the BASIC of the Timex Sinclair 2068 is a superset of the BASIC of the Sinclair ZX Spectrum with a few extra keywords.
The extra keywords are: DELETE delete BASIC program lines,
FREE ...
14
votes
2
answers
1k
views
What is the size of the border of the ZX Spectrum in scanlines/pixels/bytes?
The bitmap area of the Sinclair ZX Spectrum is exactly 256 x 192 pixels.
Surrounding the bitmap is quite a wide border area which is generally just one colour but loading and saving from tape changes ...
4
votes
1
answer
285
views
Does the .sna snapshot file format for Sinclair ZX Spectrum emulators support a 16k variant
I'm playing with emulator and file format programming again.
One of the common game snapshot formats for the Sinclair ZX Spectrum is the .sna format.
I know it comes in a 48k format and a newer 128k ...
10
votes
2
answers
1k
views
What was Sinclair's intention with the Microdrive?
The ZX Spectrum was announced with support for both standard cassette tapes and Sinclair's new Microdrive format -- although the latter wasn't released for another 17 months.
Given that the necessary ...
4
votes
2
answers
285
views
Spectrum 128K +2 Power Supply Buzzing and over voltage
I've seen a similar question to asked here but but I'm not sure it fully addresses the issue I'm having. I'm using a PSU the same as this one from the 128K +2
According to this site, this PSU ...
6
votes
2
answers
1k
views
Is there a version of Python that runs on a QL, Speccy or a Commodore?
Does any Python port run on any Speccies or Commodores? I am hopeful about QL, since:
Based on a Motorola 68008 processor clocked at 7.5 MHz, the QL
included 128 KB of RAM, which was officially ...
32
votes
1
answer
3k
views
How did the various Soviet ZX Spectrum clones support Cyrillic text?
There may be no one single answer to this question, since the various clones might have done this all in different ways. And of course, some clones do not have the Cyrillic text support at all. I'm ...
32
votes
1
answer
7k
views
Did John Carmack really invent "Adaptive Tile Refresh"?
John Carmack is credited with making fast-paced arcade games like Commander Keen possible on an IBM-PC that had no specialized graphics controllers suited for those, thanks to the "Adaptive Tile ...
8
votes
1
answer
899
views
Why was Carrier Command for the ZX Spectrum superior to the C64 version?
The ZX Spectrum version of Carrier Command has 3D rendering, while the Commodore 64 version, despite a greater amount of RAM, was inferior in comparison. You open the in-game map and there's Google ...
12
votes
1
answer
1k
views
Is I/O port 0xFE reserved on the eZ80?
TL;DR
Following on from OmarL's comment, to the closed question, Why did the Spectrum Next choose Z80 on FPGA?:
But also, the eZ80 is not compatible with the ZX Spectrum because it uses port FE for ...
4
votes
1
answer
310
views
ZX Spectrum coordinates to bitmap conversion subroutine acting strange
I originally posted this question on stackoverflow, but I wrote a little program that converts coordinates stored in the b and c registers of the z80 into their corresponding memory address for the ZX ...
10
votes
4
answers
2k
views
Compression techniques used in old ZX Spectrum tapes
Many ZX Spectrum games* (and demos) would improve loading time and save space in the tape using rudimentary compression. During decompression, the game would display "decrunching" for ...
20
votes
3
answers
3k
views
Is there a list of space-saving techniques for representing constants?
Since numbers in ZX BASIC are always floating point and take up 5 bytes, it's often possible to save space when representing integers by using several tokens, which take up 1 byte each.
I know of COS ...
4
votes
1
answer
252
views
Where can I find a copy of the HiSoft C compiler manual for ZX Spectrum?
I've been able to find the manual for the CPC version of HiSoft C, but not for the ZX. The only ones I could find appeared to have been OCRed, so virtually all of the necessary information was lost.
...
1
vote
0
answers
211
views
How to save and load CSpect emulator state when emulating ZX Spectrum Next [closed]
I use CSpect emulator for playing a game for ZX Spectrum Next. I wonder whether is possible to save the emulator state to memory and load it in the future in order to have game save/load functionality ...
9
votes
2
answers
520
views
Did any ZX Spectrum clones use a 16 bit datapath between memory and video generation?
On the Commodore 64, there is a 12 bit datapath between memory and the VIC II: the ordinary screen data, which is in DRAM, and another 4 bits which comes from another SRAM chip which may be paged into ...
8
votes
3
answers
538
views
Reading data of floppies from a ZX Spectrum Swift Disc
Back in the day when we had a Sixword Ltd. Swift Disc floppy-drive we were ahead of the game on our speccy, allowing us to use 3.5inch floppy disks. See:
https://www.worthpoint.com/worthopedia/swift-...
3
votes
3
answers
934
views
What are quick ways to load downloaded tape images onto an unmodified 8-bit computer?
There are repositories of tape software available online, for example CPC Power for Amstrad CPC machines.
What is the fastest and simplest way to load such games onto an unmodified computer, with the ...
9
votes
1
answer
768
views
ZX Spectrum fuse-emulator - how to use loader/multi-file program?
I'm using fuse-emulator on Ubuntu. In a book of type-in programs, some are spread across multiple files. There is a "loader" (usually setting up graphics or some machine code parts) which ...
7
votes
3
answers
621
views
Why did the Vic-20 need special chips for I/O?
The Vic-20 used two 6522 VIA chips for I/O. I asked why it had two of them but thanks to a comment from Bruce Abbott, I now think that wasn't quite the question I needed to ask.
What I really need to ...
7
votes
1
answer
807
views
What non-Spectrum computers did Sinclair sell 4 million of?
Reading Alan Sugar : The Amstrad Story, I just came across one of those little oddities that initially manifest as 'huh, wait a minute' and sometimes just mean someone has made a typo, and sometimes ...
9
votes
3
answers
1k
views
ZX Spectrum 48k Power Supply outputting 15V
I got a working ZX Spectrum 48k (issue 6a) with the original power supply.
Before hooking up the power supply I tested with my multimeter to see if it was good. The power supply specifies it outputs ...
3
votes
1
answer
323
views
Where can I donate Old Mags and Media in bulk in UK?
I am taking advantage of lockdown(s) and scanning/imaging all old media to archive.org, but would like to donate the boxes when finished.
A bit like Donating old Computer Shopper Magazines
The Centre ...
8
votes
2
answers
2k
views
How ZX Spectrum avoided key ghosting
Was ZX spectrum better at handling than later PCs-keyboards without having diodes in its key matrix? I encountered this comment on ycombinator but I fail to understand it.
Couldn't be Speccy method ...
66
votes
5
answers
10k
views
Back in 1984 I wrote some games for Spectrum - Will they still be playable?
Back in 1984, I was commissioned to write some games for ZX-Spectrum. They were sold together. To my amazement I found that someone is selling a copy online.
I thought of buying it but it is in the ...
3
votes
2
answers
481
views
ZX Spectrum red stripes during loading
When we load any game on ZX Spectrum from cassette player...
Should red stripes move smoothly for better result or they should be static for perfect result?
What is the theory?
18
votes
1
answer
5k
views
Could Pac-Man be replicated perfectly on the ZX Spectrum?
We all know that various ports of Pac-Man exist but my question is just for one specific computer. Could the Spectrum, with time and proper knowledge, run the Arcade version of Pac-Man despite it's ...
8
votes
1
answer
383
views
Was the Ram Turbo the only 3rd party Interface 2 ROM cartridge interface for the ZX Spectrum or were there others?
One of the original Sinclair peripherals for the ZX Spectrum was the Interface 2 which provided joystick ports and also a slot for ROM cartridges:
The cartridges did not catch on though and only ...
1
vote
1
answer
517
views
Using Bresenham's circle algorithm (or another alternative algorithm) to draw an arc [closed]
I'm trying to create some graphics function for a ZX Spectrum (Z80) machine in assembler. I already have the basics except for the arc.
I know that there must be some way to draw an arc using the ...
5
votes
1
answer
355
views
Are all 64k x 4-bit ICs interchangeable for Amstrad-era ZX Spectrum 128k +2/+3?
There were 4 64k x 4-bit Integrated Circuit chips in the Amstrad-era Sinclair ZX Spectrum +2 and +3 models. These are known as the +2A, +2B (both +2 "black"), +3 and +3B (also both black cases).
I ...
2
votes
0
answers
381
views
Why did the Spectrum Next choose Z80 on FPGA? [closed]
I'm curious to understand why the Spectrum Next uses Z80 on an FPGA instead of something like at eZ80? I would have imagined they would choose the eZ80 since it is still a production part. Anyone ...
3
votes
1
answer
247
views
Where can this "boot.B" file be coming from on this Spectrum TR-DOS disk image?
After working on some tools that parse the TR-DOS disk image format .TRD files for a while I just noticed that one of the game disk images I had downloaded "La Abadia Del Crimen", only has three files ...
5
votes
2
answers
866
views
Does Sinclair Spectrum BASIC have a maximum length for one line?
I was just writing some junk Speccy Basic programs, more to see how they take up space on the +3's disk layout than to do any actual programming.
But I noticed that after editing a program line to ...
6
votes
1
answer
522
views
What role does the 4-bit shift register play in the Leningrad video generation?
The Leningrad contains a shift register1, which I believe is loaded with data from the bitmap. This part loads 8 bits in parallel, and shifts each bit out in turn on the rising edge of a clock signal. ...
14
votes
1
answer
832
views
Did the Samsung SPC-650 have any hardware or firmware differences to the genuine Sinclair Spectrum+?
There was a clone of the Sinclair Spectrum+ in South Korea called the Samsung SPC-650 that looks identical to original British version with just an extra model number/logo. It even retains the ...
3
votes
1
answer
177
views
Is there a Spectrum +3 ROM disassembly available with the addresses of the instructions included?
In my experiments with Spectrum disk formats I've found myself looking into the ROM code a few times. Several Spectrum emulators have built-in debuggers that let me dissassemble and step through the ...
5
votes
3
answers
425
views
How do I know where the file directory is stored on a Spectrum +3 disk layout?
I'm trying to parse Spectrum +3 disk images. I only ever had a tape-based Speccy back in the day.
The +3 had a built-in floppy drive but was late to the party and not that successful. It had the same ...
5
votes
4
answers
1k
views
How does the Spectrum +3 know whether a disk is bootable or not?
I've been looking through documentation on The Sinclair/Amstrad Spectrum +3 which was the only Spectrum that came with a built-in floppy disk drive. The disk format was based on The Amstrad CPC and ...
5
votes
3
answers
632
views
How does DRAM refresh work in the Leningrad?
The Leningrad uses the КР565РУ5 chip, which is the same as a 4164. It contains 64kbits of DRAM, and the datasheet says that each of the 256 row addressed need to be strobed every 4ms.
I can see how ...
6
votes
1
answer
257
views
Details of ZS Scorpion port 0x1ffd
There's this page about the ZS Scorpion, and I'm reading about the way bankswitching works. Port 0x7ffd is the same as on western ZX Spectrums, but to double the amount of RAM to 256k and also the ...
9
votes
1
answer
679
views
Did the Timex Sinclair 2068 and the Sinclair ZX Interface 2 use totally different hardware and software techniques?
Sinclair released an add-on for the Spectrum called the ZX Interface 2 that provided joystick ports and a cartridge slot. It wasn't successful and only a few cartridges were ever produced.
In the US, ...
3
votes
0
answers
127
views
Do we know any estimate of how many Sinclair ZX Spectrums, clones, and compatibles were made in the world?
The original ZX Spectrum was made by Sinclair and then by Amstrad in the UK.
There were official versions also in the US, Europe and even India.
There were very many clones and compatibles made in ...
4
votes
2
answers
488
views
Do any of the open source Sinclair ZX Spectrum emulators support both TR-DOS and 3DOS?
The number of Spectrum emulators has been growing for decades now so there's quite a lot for different platforms and written in different languages.
I'm interested in learning about two of the disk ...
5
votes
4
answers
641
views
How did the Spectrum clones with TR-DOS and paged memory load and run code files from disk?
I've been playing with Spectrum emulators, their file formats and some reverse engineering tools recently.
Thanks to this forum, I was able to parse the TR-DOS disk image format and find the bytes of ...
4
votes
2
answers
630
views
How do I navigate the boot menu in later model Spectrum emulators?
35 years ago I had an original 48K Sinclair ZX Spectrum. I never had any of the Plus or 128K models and practically never even touched one as I moved onto the Amiga quite early.
I'm now playing with ...
6
votes
1
answer
183
views
How to use Tasword 2 with Esxdos
I'd like to be use the Tasword 2 text editor for the ZX Spectrum to load and save text files on an SD card. Gary Lancaster provides a version of Tasword that uses Residos system calls, but as far as I ...
3
votes
2
answers
815
views
What file formats were used for binary executable files on later Sinclair ZX Spectrums?
The last official version of the Sinclair ZX Spectrum was the +3, released after the company was owned by Amstrad. It included a 3-inch floppy disk drive as used on other Amstrad computers.
But even ...