Tag Archives: Sinclair

In Praise Of Zilog’s Z80 Microprocessor

zilog,Zilog,ZILOG,z,Z,z80,Z80,z 80,Z 80,z-80,Z-80,80,80s,80's,80S,80'S,eighties,Eighties,EIGHTIES,z80A,Z80A,z80B,Z80B,cpu,Cpu,CPU,micro,Micro,MICRO,processor,Processor,PROCESSOR,computer,Computer,COMPUTER,msx,Msx,MSX,2,2+,turboR,turbo R,turbo r,turbo,Turbo,TURBO,records,Records,RECORDS,intel,Intel,INTEL,8080,arm,Arm,ARM,risc,Risc,RISC,cisc,Cisc,CISC,sharp,Sharp,SHARP,X1,X1 twin,X1 turbo Z,sinclair,Sinclair,SINCLAIR,zx,Zx,ZX,80,81,spectrum,Spectrum,SPECTRUM,48,128,+,+1,+2,+3,48K,128K,ram,Ram,RAM,rom,Rom,ROM,accumulator,Accumulator,ACCUMULATOR,register,Register,REGISTERS,zeus,Zeus,ZEUS,zaus,Zaus,ZAUS,assembly,Assembly,ASSEMBLY,assembler,Assembler,ASSEMBLER,.asm,.Asm,.ASM,machine,Machine,MACHINE,code,Code,CODE,mos,Mos,MOS,6502,8502,commodore,Commodore,COMMODORE,radio,Radio,RADIO,shack,Shack,SHACK,tandy,Tandy,TANDY,trs-80,Trs-80,TRS-80,trs 80,Trs 80,TRS 80,snk,Snk,SNK,triple,Triple,TRIPLE,arcade,Arcade,ARCADE,arcades,Arcades,ARCADES,board,Board,BOARD,boards,Boards,BOARDS,motherboard,Motherboard,MOTHERBOARD,sega,Sega,SEGA,sg-1000,SG-1000,sc 3000,SC 3000,SC-3000,game,Game,GAME,games,Games,GAMES,gear,Gear,GEAR,gears,Gears,GEARS,nec,Nec,NEC,pc,Pc,PC,PC-6000,PC-6001,PC6601,PC-8000,PC-8001,amstrad,Amstrad,AMSTRAD,cpc,Cpc,CPC,464,664,6128,464plus,6128plus,plus,Plus,PLUS,8bit,8-bit,8 bit,8BIT,8-BIT,8 BIT,16bit,16 bit,16-bit,16BIT,16-BIT,16 BIT,mega,Mega,MEGA,drive,Drive,DRIVE,master,Master,MASTER,system,System,SYSTEM,coleco,Coleco,COLECO,vision,Vision,VISION,ColecoVision,colecovision,Colecovision,COLECOVISION,nintendo,Nintendo,NINTENDO,gameboy,Gameboy,GAMEBOY,boy,Boy,BOY,color,Color,COLOR,pocket,Pocket,POCKET,neo,Neo,NEO,geo,Geo,GEO,neo geo,Neo Geo,NEO GEO,neogeo,Neogeo,NeoGeo,NEOGEO,playmore,Playmore,PLAYMORE,
The choice of the 8-bit generation!

Video games are an electronic medium and quite naturally require some form of computer hardware to run on. The CPU (central processing unit or processor if you prefer) has always played a vital part in the creation and execution of game code. Without this important component, video games would simply not exist. After all the processor is essentially the brain of a computer system…basic stuff!

And just as human brains can vary in intellectual capacity, various makes and models of microprocessors offer different performance capabilities. For game related tasks, the GPU (graphics processing unit) plays an even greater role within the modern game development paradigm. However, this article is not about development techniques and how they are to be applied to modern hardware. Rather, we will look at a specific microprocessor which played a leading role in defining gaming during it’s early stages.

Two prominent periods of gaming are the 8-bit and 16-bit eras, and quite frankly of greatest import. As shiny as our games are, and powerful as our hardware is nowadays – none of this would exist without the groundwork laid down during those halcyon days. And both those eras brought forward to amazing microprocessors that truly revolutionized gaming, namely the Zilog Z80 and the Motorola 68000.

zilog,Zilog,ZILOG,z,Z,z80,Z80,z 80,Z 80,z-80,Z-80,80,80s,80's,80S,80'S,eighties,Eighties,EIGHTIES,z80A,Z80A,z80B,Z80B,cpu,Cpu,CPU,micro,Micro,MICRO,processor,Processor,PROCESSOR,computer,Computer,COMPUTER,msx,Msx,MSX,2,2+,turboR,turbo R,turbo r,turbo,Turbo,TURBO,records,Records,RECORDS,intel,Intel,INTEL,8080,arm,Arm,ARM,risc,Risc,RISC,cisc,Cisc,CISC,sharp,Sharp,SHARP,X1,X1 twin,X1 turbo Z,sinclair,Sinclair,SINCLAIR,zx,Zx,ZX,80,81,spectrum,Spectrum,SPECTRUM,48,128,+,+1,+2,+3,48K,128K,ram,Ram,RAM,rom,Rom,ROM,accumulator,Accumulator,ACCUMULATOR,register,Register,REGISTERS,zeus,Zeus,ZEUS,zaus,Zaus,ZAUS,assembly,Assembly,ASSEMBLY,assembler,Assembler,ASSEMBLER,.asm,.Asm,.ASM,machine,Machine,MACHINE,code,Code,CODE,mos,Mos,MOS,6502,8502,commodore,Commodore,COMMODORE,radio,Radio,RADIO,shack,Shack,SHACK,tandy,Tandy,TANDY,trs-80,Trs-80,TRS-80,trs 80,Trs 80,TRS 80,snk,Snk,SNK,triple,Triple,TRIPLE,arcade,Arcade,ARCADE,arcades,Arcades,ARCADES,board,Board,BOARD,boards,Boards,BOARDS,motherboard,Motherboard,MOTHERBOARD,sega,Sega,SEGA,sg-1000,SG-1000,sc 3000,SC 3000,SC-3000,game,Game,GAME,games,Games,GAMES,gear,Gear,GEAR,gears,Gears,GEARS,nec,Nec,NEC,pc,Pc,PC,PC-6000,PC-6001,PC6601,PC-8000,PC-8001,amstrad,Amstrad,AMSTRAD,cpc,Cpc,CPC,464,664,6128,464plus,6128plus,plus,Plus,PLUS,8bit,8-bit,8 bit,8BIT,8-BIT,8 BIT,16bit,16 bit,16-bit,16BIT,16-BIT,16 BIT,mega,Mega,MEGA,drive,Drive,DRIVE,master,Master,MASTER,system,System,SYSTEM,coleco,Coleco,COLECO,vision,Vision,VISION,ColecoVision,colecovision,Colecovision,COLECOVISION,nintendo,Nintendo,NINTENDO,gameboy,Gameboy,GAMEBOY,boy,Boy,BOY,color,Color,COLOR,pocket,Pocket,POCKET,neo,Neo,NEO,geo,Geo,GEO,neo geo,Neo Geo,NEO GEO,neogeo,Neogeo,NeoGeo,NEOGEO,playmore,Playmore,PLAYMORE,
The Z80 is one of the most important microprocessors in gaming history

Zilog’s Z80 truly helped to kick start affordable home computing and arcade gaming from the late 70’s onward. The Z80 is an 8-bit processor, which is closely based on Intel’s earlier 8080 CPU. Due to it’s performance and versatility, it was adopted by a large variety of computer and arcade amusement vendors. Either Zilog’s original CPU, clones or variants of the Z80 architecture was incorporated into motherboards worldwide. Everyone from Sinclair Research right through to Sega made use of this mighty little chip, benefiting gaming inexplicably.

Some will argue in favour of a rival 8-bit microprocessor, namely the 6502 by MOS Technology. Also very popular and widely used, particularly in the home computer market but also made in-roads in the arcades thanks to Atari. However, the true acid test of which 8-bit processor was better, rests with the greater adoption enjoyed by the Z80, especially among Japanese arcade manufacturers. From Namco’s Galaxian through to Irem’s M52 system boards, the Z80 was the CPU of choice.

None can downplay the wide adoption of the Z80 when considering it brain-powered the following systems:

  • Sinclair ZX80 & ZX81
  • Sinclair ZX Spectrum 16K / 48K / + / 128K / +2 / +3
  • Amstrad / Schneider CPC464 / 464plus / CPC664 / CPC6128 / 6128plus
  • Amstrad GX4000
  • Cambridge Z88
  • SAM Coupé
  • Tandy / Radio Shack TRS-80 series
  • Coleco’s – ColecoVision
  • Commodore 128 (includes both a Zilog Z80A & MOS 8602)
  • NEC PC-6001 / mkII / mkIISR (using NEC’s μPD780C – a Z80 compatible CPU)
  • NEC PC-6601
  • NEC PC-8000 series
  • NEC PC-8801 (a wide range of models manufactured between 1981 – 1989)
  • MSX 2 / 2+ / turboR
  • Sharp MZ-80K series / MZ-80B series / MZ-3500 series
  • Sharp X1 / X1 turbo / X1 turbo Z / X1 twin 
  • Sony SMC-70
  • Sega SG-1000 / SG-1000 II / SC-3000 / Mark III / Master System
  • Sega Game Gear
  • Sega Mega Drive / Genesis (includes both a Motorola 68000 & Zilog Z80)
  • SNK Neo Geo (includes both a Motorola 68000 & Zilog Z80)
  • SNK Neo Geo Pocket / Color (includes both a TOSHIBA TLCS-900H & Z80)
  • Nintendo Game Boy / Color (Sharp LR35902 – a custom Z80 CPU)

The above list is only a small segment of computer and console systems that the trusty Z80 found itself in. Arcade manufacturers in particular, truly took advantage of this versatile processor in numerous ways. Initially arcade boards would only be designed with a singular Z80 CPU in place. But as games were becoming more complex, some added processing grunt was required. Since the Z80 was affordable and developers already accustomed to coding games for it, a very common solution was to add a secondary Z80 to increase the board’s horsepower.

SNK (Shin Nihon Kikaku Corporation) were always partial to manufacturing some fantastically exotic boards. During the mid-80’s they came up with the SNK Triple Z80 arcade board, and as the name suggests – boasts three Zilog Z80’s working in tandem. Two Z80’s were allocated to handle main CPU duties, while the third was specifically for sound CPU tasks. The games that ran on this board naturally surpassed the audio and visual fidelity of many of it’s counterparts. Resulting in games that had a look, feel and sound closer to the 16-bit standard.

My personal experiences with the Z80 were both positive and enjoyable, owning a ZX Spectrum played a big part in this. I learned to program on it, firstly in BASIC and then later on in machine code – wasn’t easy but I got the nitty-gritty. Later on I got hold of Zeus Assembler which made programming in assembly far more palatable to machine code.

Generally it didn’t take long to get accustomed to how the accumulator and various registers within the Z80 work together. The architecture is simple and elegant enough, not hard to figure out why it was so readily adopted. Not bad for a microprocessor that was originally intended for cash registers, instead of computers, consoles and arcade machines.

Advertisement

Top 10 Articles Of 2014

We’re almost a fortnight into 2015 and I hope it’s been going great for everyone. Here at 16-BIT Shock HQ, things are moving along at a brisk pace. Work on game projects resumed early last week, after a short holiday break.

top,Top,TOP,10,ten,Ten,TEN,8,16,16bit,16Bit,16BIT,16 bit,16 Bit,16 BIT,16-bit,16-Bit,16-BIT,blog,blogs,blogging,Blog,BLOG,Blogs,BLOGS,article,articles,Article,Articles,sprite,sprites,Sprite,Sprites,animation,Animation,onionskinning,onion skinning,skinning,Skinning,japan,Japan,japanese,Japanese,Nippon,ARTS,ART,art,2d,2D,D,d,bitmap,bitmaps,Bitmaps,bmp,*.bmp,.bmp,BMP,*.BMP,graphics,graphics,edit,editting,editing,editor,soft,software,package,program,suite,digital,Digital,amiga,Amiga,AMIGA,Commodore,commodore,COMMODORE,64,C64,ibm,IBM,Ibm,PC,DOS,pc,dos,Dos,MS,ms,MS-Dos,MS-DOS,ms-dos,ms dos,80s,80's,90s,90's,8bit,8-bit,16bit,16-bit,24,24-bit,24 bit,color,colour,256,colors,colours,vga,VGA,video,Video,painting,draw,drawing,pixel,pixels,pixelate,pixellate,pixellated,pixelated,line,lines,dot,dots,matrix,low,hi,high,resolution,bit,rate,depth,page,pages,Project,project,PROJECT,Projects,projects,PROJECTS,indie,dev,indiedev,IndieDev,GameDev,artist,artists,ARTIST,ARTISTS,manga,anime,studio

Before moving on with fresh content for the new year, let’s take this opportunity for a brief recap of top posts on this blog. Several articles proved to be quite popular with readers and it would be great to showcase them again. Particularly for those who discovered this blog, only recently. The following list features a quick rundown of those posts truly, resonating with folks during 2014, and my personal viewpoint of why that is the case.

Just click on the relative heading and you will be taken directly to the article:

  1. Tools Of The Trade – GameMaker : Studio – Certainly the most read article on this site by a large margin, and quite understandably so. With the explosion of indie game development in recent years, everyone is looking around for the best ways to make games. This article gives a brief overview of one of the most popular game engines in existence today.
  2. Project MSG – Early Development – The game project I’ve been working on and has fortunately excited a few people. It’s a 2D retro-style shooting game with a top-down view perspective set within a cyberpunk universe. Many folks loved the logo and the pixel-art style, and in turn generated some interesting conversation between us. I appreciate all the input I’ve received and will be sharing more about this project in the near future.
  3. Developing For Vintage Hardware – It’s a no-brainer why this post struck a nerve, after all the number of retro gaming and computer aficionados keeps growing. Homebrew development is both intriguing and reinvigorating within the game development scene. Vintage consoles and computer systems, with their limited capabilities offer alternative, frankly more interesting roads for creative expression.
  4. Cybermanga – I’m a huge fan of anime & manga, particularly from the 80’s – 90’s. And it seems so are plenty of people visiting this site, even attracting significant traffic from Japan. The influence of these art forms play a big part in my own creative path and this post gives a brief overview.
  5. This Is For Retro Lovers – On the 2nd of June 2014, I wrote this blog’s very first post. Short, sweet and straight to the point – ultimately setting the general tone for future articles. Surprisingly it attracted a far larger audience than I was expecting, considering it was very early days for the blog.
  6. The 16-BIT Shock Design Philosophy – Probably one of the more important articles I’ve written here. The goal was to convey the direction that my game development projects were to take. Worth a read for recent visitors.
  7. Prototyping And Arcade Presentation – A fairly recent article, managing to gain far more traction than I was expecting. I covered an issue in games that I feel should gain more attention, and that’s the matter of how they are presented. Arcade games in particular are a great example of how this could be done.
  8. Anti-Establishment – Another one of those articles that had a significant impact with readers. Further reiterating key points from the 16-BIT Shock Design Philosophy article. Perhaps a tad more cheeky, but still attracting small trickles of traffic several months after it was published.
  9. Tools Of The Trade – GraphicsGale – At one point, pixel art seemed like it was a dying art form. Fortunately it has been rejuvenated recently with all the interest in retro and indie gaming. One of the better, if not the best pixel art editor is GraphicsGale. A personal favourite of mine which I go into more detail in this post.
  10. FM Synthesis & Video Games: Kick Drums & Toms – Last but not least, is this excellent article by Joe Giliver from Ocular Audio. Joe’s vast knowledge in music composition and FM synthesis is a great help in understanding what is substantially niche subject matter. Lately FM synthesis, is enjoying growing interest which is in line with the resurgence of retro gaming, computing and 80’s synthesizer music.

Plenty of reading there, great way to start the new year I would think. Future articles will tread similar ground for the most part. However, there will be a shift in focus around the periods when I’ll be releasing my game projects. Naturally there will be greater emphasis on these as should be expected.

 

 

 

 

Tools Of The Trade – GraphicsGale

My initial foray in pixel art was with a nifty little program called OCP Art Studio on the ZX Spectrum. Generally an easy-to-use pixel editor that truly deepened my interest in the art form. In subsequent years as I upgraded to new computer hardware I was always on the look out for similar graphics software.

When I got hold of my first IBM PC compatible I started using another drawing program called Dr. Halo. Essentially a Macpaint wannabe for DOS-based systems of that period. It lacked some of the charm of OCP Art Studio but it was competent enough for pixel pushing. Eventually I switched to Deluxe Paint II, a port of the original Commodore Amiga version. I liked this one quite a lot, an impressive and professional package that I still use on occasion.

dp,DP,Dp,Dpaint,dpaint,2,deluxe,paint,Deluxe,Paint,Deluxe Paint II,II,deluxe paint 2,deluxe paint ii,ii,ea,EA,elctronic,arts,electronic,Electronic Arts,ELECTRONIC,ARTS,ART,art,2d,2D,D,d,bitmap,bitmaps,Bitmaps,bmp,*.bmp,.bmp,BMP,*.BMP,graphics,graphics,edit,editting,editing,editor,soft,software,package,program,suite,digital,Digital,amiga,Amiga,AMIGA,Commodore,commodore,COMMODORE,64,C64,ibm,IBM,Ibm,PC,DOS,pc,dos,Dos,MS,ms,MS-Dos,MS-DOS,ms-dos,ms dos,80s,80's,90s,90's,8bit,8-bit,16bit,16-bit,24,24-bit,24 bit,color,colour,256,colors,colours,vga,VGA,lisa,LISA,Lisa,video toaster,toaster,video,Video,Toaster,opal,vision,Opal Vision,OPAL,VISION,egypt,Egypt,EGYPT,Pyramids,pyramids,PYRAMIDS,pyramid,Pharaoh,PHARAOH,pharoah,Pharoah,pharaohs,Pharaohs,painting,draw,drawing,pixel,pixels,pixelate,pixellate,pixellated,pixelated,line,lines,dot,dots,matrix,low,hi,high,resolution,bit,rate,depth,page,pages,Project,project,PROJECT,Projects,projects,PROJECTS,indie,dev,indiedev,IndieDev,GameDev,artist,artists,ARTIST,ARTISTS,manga,anime,studio
The famous digital illustration of the Pharaoh showcasing the capabilities of Deluxe Paint II

As I moved onto Pentium hardware it was time to make another switch to a more advanced art application. I went with Paint Shop Pro which I thoroughly enjoyed and significantly improved my pixel art capabilities. Somewhat limited when compared to Photoshop but definitely better as a pixel editor. When Gimp came to my attention I used it in tandem with Paint Shop Pro and worked on some HD-quality pixel art. Yes, pixel art at a resolution of 1280 x 720 which was completely nuts but it helped me improve my detailing.

Three years ago I discovered GraphicsGale and quite honestly have never looked back. This is the absolute best pixel editor I’ve ever used and I think I speak with some degree of authority. Incredibly intuitive to use without any unnecessary features that often impede the creation process. GraphicsGale is all about the pixels and nothing but the pixels – just the way I like it!

Sprite animation and onion skinning are also features of GraphicsGale but I seldom use it for those purposes. I prefer to do all that within the game engine where I can change sprite speeds and frames on the fly. Where GraphicsGale truly excels in that the pixel editor is exactly as it should be and does everything to save the user time. I’ve seen Youtube tutorials of people doing pixel art on Photoshop and it’s just such a cumbersome process.

GraphicsGale,graphicsgale,GRAPHICSGALE,Graphics Gale,graphics gale,graphics,gale,Graphics,Gale,humanbalance,Human,Balance,Human Balance,humanbalance.net,.NET,.net,sprite,sprites,Sprite,Sprites,animation,Animation,onionskinning,onion skinning,skinning,Skinning,japan,Japan,japanese,Japanese,Nippon,ARTS,ART,art,2d,2D,D,d,bitmap,bitmaps,Bitmaps,bmp,*.bmp,.bmp,BMP,*.BMP,graphics,graphics,edit,editting,editing,editor,soft,software,package,program,suite,digital,Digital,amiga,Amiga,AMIGA,Commodore,commodore,COMMODORE,64,C64,ibm,IBM,Ibm,PC,DOS,pc,dos,Dos,MS,ms,MS-Dos,MS-DOS,ms-dos,ms dos,80s,80's,90s,90's,8bit,8-bit,16bit,16-bit,24,24-bit,24 bit,color,colour,256,colors,colours,vga,VGA,video,Video,painting,draw,drawing,pixel,pixels,pixelate,pixellate,pixellated,pixelated,line,lines,dot,dots,matrix,low,hi,high,resolution,bit,rate,depth,page,pages,Project,project,PROJECT,Projects,projects,PROJECTS,indie,dev,indiedev,IndieDev,GameDev,artist,artists,ARTIST,ARTISTS,manga,anime,studio
GraphicsGale is the best contemporary pixel editor

Photoshop is a fantastic tool for illustration and photo editing but not necessarily great for pixel art. I would even recommend MS Paint over Photoshop for pushing those pixels. The other problem with fully-featured packages is that they offer plenty of plug-ins giving lazy artists workarounds. An artist may go about drawing an object conventionally and then simply use a filter to pixelate the image. The result is often a muddy mess that is sadly passed on as pixel art.

GraphicsGale will therefore not help a weak pixel artist, no such filters come available and I couldn’t be happier. The artist has no choice but to master working within limited resolution and colour parameters. With OCP Art Studio that was exactly the case, one had to make the most of the ZX Spectrum’s resolution of 256 x 192 pixels and 8 colours. Such limitations are not present with GraphicsGale but the option is given to work within various limits, some handy presets are also included.

Let me stress that I don’t use GraphicsGale for any illustration work though. It’s simply not suitable for this job and there are other better options. Manga Studio is the package I use to sketch character & mechanical design and subsequent line and colouring work. The brushes in particular are the best in the business and truly aid in the creation of manga / comic book art. It’s ideal for my needs as I’ve adopted an art-style reminiscent of old school anime shows. The work of anime studios such as AIC, Madhouse, Sunrise and Tatsunoko Pro are a huge influence on me.

I should briefly cover Manga Studio in a future article, even though it’s not very popular within game development circles. Mainly used by aspiring and professional manga artists who have opted to go digital. Understandably it won’t be suitable to the majority of game creators but could be of interest to those treading similar ground to me. Funnily enough I haven’t given Photoshop much love, don’t worry I’m not anti-Adobe or anti-Photoshop. Photoshop is great at what it does, I’ve just shown that there are alternatives and developers should exercise their options.