Showing posts with label Z80. Show all posts
Showing posts with label Z80. Show all posts

22 December 2024

I WANNA KNOW THE NAME OF THE GAME [480]


Having owned a Game Boy for five years now I appreciate the reliable source of enjoyment and distraction it has been, and I want to keep that experience as long as I can without making any compromises.

My current console is a blue Nintendo Game Boy Pocket, made in around 1997-98. I love its robust build and frugal use of AAA batteries, but I am aware of its biggest limitation, an LCD display with no backlight that also slowly fades with age – playing the Breakout-like game “Alleyway”, I’ve often realised I can’t see where the bouncing ball is going, even when playing in a brightly lit room.

I cannot expect the console to keep working forever, so I decided to take advantage of the growing market in Game Boy clones, arising from the love of the machine, its game library, and the fact that Nintendo built it with largely off-the-shelf components – the Z80-derived processor found in the original Game Boy, Pocket, Light and Color is also found among 1980s computers like the Sega Master System, Sinclair ZX Spectrum and the Amstrad CPC range.

My first option was to buy another Nintendo console, but not their latest Switch – I already own the games I play, so I don’t need to buy them again from the Nintendo eShop. I bought a Game Boy Advance in 2021, which also plays the original cartridges, but its screen is also not backlit – the later folding Advance SP has both front- and blacklit versions, and accordingly sell at a premium, just like the Japan-only Game Boy Light. Admittedly, I had not done my research, but the Advance was later sold for more than I bought it for, a mark of increasing interest and appetite for these consoles.

My next consideration was a refurbished console. An enormous demand has grown for after-market Game Boy screens – backlit, of course, but only able to approximating screen resolutions – console shells and components. I have no aptitude for this kind of modification and assembly, especially more delicate tasks like connecting a new screen to the motherboard, but the ability to order one, encased in exactly the colour of case and buttons you wish, was very appealing. It is an ideal choice to extend the life of existing Game Boy hardware, if you can look past the age of the motherboards – the last Game Boy Colour was sold in 2003, and the last Advance SP in 2010 – but the rework usually with its own warranty.

I then decided to at all-new hardware. A company named Funny Playing makes the “FPGBC”, a Game Boy Color clone using a field-programmable gate array (FPGA) chip to replicate exactly the original machine’s processors, largely guaranteeing compatibility with cartridges and peripherals. Like refurbishing an existing console, you can buy the FPGBC motherboard, pre-assembled with screen attached, and build your own case around it, or have one built for you. Aside from its using a rechargeable battery, this is the closest available console to the original Game Boy, the perfect choice if you simply want to play games using all-new hardware.

The only reason I didn’t go for the FPGBC myself was seeing the price tick up when I looked at assembly options for the case and button colours I wanted, followed by the cost and time of delivery, because it pushed my expected cost towards the Analogue Pocket, a console produced in limited numbers since 2021 that, while assuming a mostly similar shape and button layout to a Game Boy, uses its FPGA chip to replicate the Sega Game Gear, Atari Lynx, PC Engine and Neo Geo Pocket, although the extra cost of cartridge adaptors made this less desirable. Furthermore, its continued use of a plastic case and similar rechargeable battery like the FPGBC, while costing up to twice as much as one, soured me a bit, high-resolution screen or not – their shipping costs from the US to the UK didn’t help either.

My final option was announced in June 2024. The ModRetro Chromatic comes from Palmer Luckey, a former virtual reality headset designer who got into modifying Game Boys as a teenager, and now owns a company named Anduril, making armed drones – this fact might be a deal-breaker, but the Chromatic, advertised as a strictly limited “1st Edition”, is already sold out as of the time of publication, so it has already become moot. 

The console is built like a smartphone: a bespoke display matching the resolution and colour temperature of the Game Boy Color, rather than appropriating a screen made elsewhere, and encased by sapphire glass; durable clicky PBT plastic buttons, and a painted magnesium-aluminium alloy case seemingly doubling as its warranty, in the hope of making it indestructible. It is completely overbuilt for its purpose, and more expensive than a FPGBC that could do the same job just as well, and while you can connect a USB-C cable to capture or relay the video from the screen, do you really need that?

I pre-ordered the Chromatic four months after it was announced: I surmised that if Luckey wanted to make money from it, it wouldn’t have been made the way it had been, or would cost more than the $199 asking price – I expect future editions will be cost-reduced, and more in line with the FPGBC. 

However, the 1st Edition might be the best Game Boy not made by Nintendo themselves. I bought it in “bubblegum” (pink, with purple A and B buttons), and feels incredibly solid and well put together, although heavier than I was expecting – with cartridge and AA batteries installed, the Chromatic weights 270 grams, versus 160 for a similarly prepared Game Boy Pocket. The crisp, legible and colourful screen is a revelation – the backlight is so powerful that I have it at one level above “off”, so I expect it, and the console, to last a very long time, although my main concern is avoiding any chipping of the paintwork.

In short, buy the FPGBC to enter the world of Game Boy gaming to avoid using old hardware, and if you want a Game Boy Advance, buy a refurbished console if you can, or an Analogue Pocket. If you don’t want to compromise, learn to compromise.

30 June 2019

NOW FLIP, FLOP AND FLY [183]



The Sinclair ZX80 launched in 1980 as the first complete home computer available for under £100 – it also sold in kit form for £79.95. It may have been a breakthrough, with both the ZX80 and its successor, the ZX81, introducing home computing to millions in the UK, but that £100 price was achieved through compromise that leaves it little more than that first step. Infamously, it only had one kilobyte (1024 bytes) of RAM, when other computers came with at least four times that amount. Its central processor, a Zilog Z80, also generated the video display, meaning the press of a key caused interference with the picture. The keys themselves were flat, requiring you to press through a membrane to the motherboard itself. When the ZX81 was introduced in 1981, a “slow” mode fixed the flickering screen, and £20 was knocked off the price, but if you wanted more than 1K of RAM, you had to buy an expansion pack, required for most games. (By the way, 1024 bytes is the space needed to hold this paragraph, including spaces.)
The limitations of the ZX80 led to arguments that it cannot really be called a computer, even for 1980. However, comparing it against the “1977 Trinity” - the Commodore PET 2001, the Apple II, and the Tandy TRS-80 Model I all launched in 1977 – the ZX80 holds up reasonably well. The ZX80 could only produce a monochrome display, but only the Apple II was capable of colour. All of the computers have no lowercase text option except for the PET, but you cannot mix them with capitals, with only an either/or option for all text. Only the PET and Apple II had sound, a simple speaker to produce beeps, and only the Apple II had the built-in instructions to load programs from a floppy disc – the others would need to be expanded first.



The main contention over the ZX80 is the implementation of the programming language BASIC, short for Beginner’s All-Purpose Symbolic Instruction Code. This language overlays the assembly code that is being fed to the processor, and is much easier to learn - even people who never used an old computer know what a BASIC program looks like:

10 PRINT “HELLO”

20 GOTO 10

RUN

The Apple II and PET computers, like most at the time, would license their versions of BASIC from Microsoft, but Sinclair would employ a software company, Nine Tiles, to write their BASIC. However, the chip that would hold it in the computer was to be only 4 kilobytes in size, restricting the number of commands it could hold. Shortcuts to the commands it had were laid across the keyboard, reducing the space in RAM needed to hold programs, but one strange result of Sinclair’s BASIC was that the ZX80 could not calculate decimal points.
You would expect a computer to divide 5 by 4 and give you 1.25, or divide 20,000 by 10,001 and give you 1.9998. In both cases, the answer given by the ZX80 is just the integer “1”, making you wonder why you didn’t just buy a scientific calculator from Hewlett-Packard instead. The instruction manual doesn’t help this: it is named “A course in Basic Programming,” cementing that this computer is only your first step into computers, but pages 36-38 provides a program for completing long division on your ZX80 to produce an answer with decimal points, like you were using pen and paper anyway.
What the ZX80 missed was the ability to run floating-point arithmetic, which is a way of calculating very large numbers. Basically (which is the right word to use here), floating-point arithmetic as used by a computer notes that the decimal point can be placed anywhere within a number, and you can use an exponent to determine where the point should lie. One answer we wanted earlier, “1.25”, can be written as 125 x 10-2 – this is because we moved the decimal point two places to the right. We could also express it as 12500000 x 10-8, if that proves more useful to a computer.

Before processor clock speeds and numbers of cores became the standard for how fast a computer is, it was previously how many floating-point operations per second, or FLOPS, it can complete – for 1980, tens of thousands of FLOPS is the standard, whereas an iPhone XS can do a billion FLOPS at least. However, if your computer can do none at all, is it really a computer?
Then again, do you need them? One kilobyte of RAM is not enough to do many things, let alone produce a display full of text, but you can make games – the software company Psion, known later for their personal organisers, fit Chess into 1K, minus a couple of rules. I have also seen the BASIC program for a type of Space Invaders game, made mostly of “PRINT” commands to draw the ships, and “LET” commands to apply values to them. Applying logic to the ZX80 is fine, and the reason most games for the ZX81 required more memory was because the games themselves were more elaborate. A popular early computing project was the “TV Typewriter” of 1973, which existed only to put text on screen, with homebrew projects adding memory chips and BASIC to them, and the ZX80, with its motherboard of mostly logic chips, can be seen as an extension of that.
Of course, the ZX81 added floating-point arithmetic to their BASIC in 1981, with the success of the ZX80 having validated the idea of cheap home computing. However, now that I know the Tandy TRS-80’s original BASIC chip was a public-domain version that had floating-point arithmetic added to it, while still fitting into the same 4K that Sinclair had, it makes me wonder why Sinclair didn’t do that in the first place – the ZX80 was inspired by Clive Sinclair’s daughter playing on her TRS-80, so it would have been worth a further look.