Retrocomputing Asked on August 25, 2021
The Commodore 128 was a version of the Commodore 64 that also had a Z80 CPU along with its “native” 6502 CPU so the system could run CP/M as well as C64 software. (As well as more RAM and other differences.)
But were there ever any games that ran on the C128’s Z80 as the main CPU?
If not games, demos or other software that ran on the metal rather than within the CP/M system.
Obvious examples would be ports from Z80-based systems such as the ZX Spectrum.
You can write Zilog 80 programs and games (as I do) on the Commodore 128. I exploit Z88DK, which does the magic of booting the C128 in Zilog 80 mode. The Zilog80 at 2mhz effective speed is about as fast as a MOS6502/8502@1mhz in many situations. In some situations that depend on a bigger hardware stack, the slow Zilog80@2mhz can beat the MOS6502/8502@1mhz. This is the case when you write your games in C with CC65/Z88DK dev-kits.
My games are written in C + my abstraction layer CrossLib so that I can compile C128 versions in both MOS8502 and Zilog80 mode. I use equally good compilers for MOS8502 and Zilog80 (i.e., CC65 for MOS6502, SCCZ80 for Z80 and Intel8080 as part of Z88DK, as well as a dozen other cross-compilers). I know that this is not a scientific proof but both compilers have been developed and optimized over many years and both come from Small-C.
You can take a look at my project and even test the binaries of my games (also in exotic C128 modes as such Zilog 80 non-CP/M):
Source and doc: https://github.com/Fabrizio-Caruso/CROSS-CHASE
Binaries: https://github.com/Fabrizio-Caruso/CROSS-CHASE/releases/
Correct answer by Fabrizio Caruso on August 25, 2021
There were two reasons not many commercial C=128 z80 were games made. First is that if they wrote for C=64, the C=128 people could play it too. Writing only for z80 thus limited their potential market. Second, the graphics are not as flexible with the z80, such as no sprites. It is more difficult (but not impossible) to do graphically intensive games. Achievable resolution would be better, but doing something with that resolution would be harder.
Answered by RichF on August 25, 2021
Other than some CP/M based text games (mostly PD stuff) that aren't C128 specific, not that I know of. Remember there weren't that all that many C128 specific games to begin with, I'd guess more than 99% of the games people ran on it were unmodified C64 games, and of course the C64 has no Z80 CPU.
Answered by TeaRex on August 25, 2021
Get help from others!
Recent Questions
Recent Answers
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP