Live data from Hacker News

David Horne's 1K Chess on the ZX81 (2001)

thad.frogley.info

151–154 of 154 posts

Re: David Horne's 1K Chess on the ZX81 (2001)

#151

Earlier quoted context omitted.

> Patients that switched from Bootstrap to Min reported up to a ninefold decrease in markup hehe. Actually though, as someone who learned CSS with the rule "Use Divs! No Tables!" What does a page with less divs even look like? What are the workhorses for page layout?

That rule is good. Using divs normally is fine. However, it is possible to overuse divs. Sometimes you'll have a div nested inside a div (and so on) six levels deep. That's considered bad. For example, is bad - you could reduce that to one or two divs at most.

Gotcha. Thanks!

Re: David Horne's 1K Chess on the ZX81 (2001)

#152

Earlier quoted context omitted.

I agree. I couldn't care less what he had to do in order to fit his not really usable (from a chess enthusiasts perspective) chess implementation in N kb. Apparently N kb is not enough for a good chess program.

However, 1024 bytes was, at the time, all the RAM available, in a computer that was the only one many people could afford. For some, like me, a computer was in fact a very good way to find a chess opponent. Therefore, for a chess enthusiast of 1981-1982, this program was groundbreaking. You could actually get a computer to play against you. (Personally, I did not have ZX81 but I got ZX Spectrum. I had to mow a lot of…

> Therefore, for a chess enthusiast of 1981-1982, this program was groundbreaking. You could actually get a computer to play against you.

That's a really good point I guess. Maybe if I was a bit older I would be much more amazed by the feat.

Re: David Horne's 1K Chess on the ZX81 (2001)

#153

Earlier quoted context omitted.

However, 1024 bytes was, at the time, all the RAM available, in a computer that was the only one many people could afford. For some, like me, a computer was in fact a very good way to find a chess opponent. Therefore, for a chess enthusiast of 1981-1982, this program was groundbreaking. You could actually get a computer to play against you. (Personally, I did not have ZX81 but I got ZX Spectrum. I had to mow a lot of…

> Therefore, for a chess enthusiast of 1981-1982, this program was groundbreaking. You could actually get a computer to play against you. That's a really good point I guess. Maybe if I was a bit older I would be much more amazed by the feat.

Yes, there were some feats done already then. I guess people can't imagine what strange tweaks were used in the machines.

Take for instance the 48K ZX Spectrum: it had 16K ROM from 0000H to 3FFFH, then 16K RAM (some of which was display buffer) from 4000H to 7FFFH made of eight 16 kbit chips, and the remaining 32K RAM from 8000H to FFFFH was actually made of eight faulty 64kbit chips which Sinclair could buy cheaply. The chips that had failed in manufacturing testing were just tested again to determine whether the faulty part in the chip was in upper or lower half of the 64kbit address range. The high address bit of memory chip was connected permanently high or low to keep the address pointing to a working half of chips, thus enabling the extremely cheap broken 64kbit chips to be used as valid 32kbit chips.

(All eight chips of memory of course had to have be broken in the same upper/lower configuration).

The Psion chess program for Spectrum needed the 48K RAM model, although I think someone also wrote a full chess program for the 16K model (including castling, en passant and all).

Psion, by the way, was publisher for much of the early software for ZX Spectrum, including chess, spreadsheet and 3D design programs. Later on it was known for handheld devices, as well as the EPOC system which later on was to become Symbian, used in Nokia smartphones.

Re: David Horne's 1K Chess on the ZX81 (2001)

#154

By the standards of the linked article I would say the greatest program is the original Elite game. A whole universe complete with star systems and 3D models for spaceships plus some other content like missions... I think the name says it: elite. All in 52 kb on disk.

The universe was algorithmically generated and took next to no space.
Post reply on HN