← All spotlightsPrograms / Games

Spotlight › Wire Arena

Wire Arena

A first-person arena shooter for a 4.77 MHz IBM PC. The arenas are drawn with text characters, and up to four players meet over a serial cable, a local network or the internet.

IBM PC, CGA, 40 columns
Wire Arena on a CGA screen at 40 columns: thin blue and cyan wall edges on black, a ramp of steps climbing away on the left, a tower of three posts ahead and a staircase running down to the right. The crosshair sits in the middle, the gun at the bottom, health 80 at the bottom left and the score 0/20 with the weapon row 123456 at the bottom right.
The Heights, on MartyPC's IBM 5150 with a CGA card.
Arenas
8
Players
Up to 4
One view, 4.77 MHz
22 to 46 ms

01 / What it is

What it is

A first-person shooter shows the world through the player's own eyes. You walk through rooms, look around with the mouse and shoot at the other players. An arena shooter keeps that to a set of rooms built for fighting, with weapons and health lying on the floor and players who come back a few seconds after they lose.

The IBM PC of 1981 has an 8088 processor at 4.77 MHz. It cannot redraw a graphics screen fast enough for this kind of game. Its text screen is different. It is 25 rows of 40 or 80 characters, and changing a character is one write to memory. Wire Arena draws its walls, ramps and players out of characters, and on each frame it writes only the characters that changed.

Play alone against up to three computer players, or with two to four people. The machines connect over a null modem cable, which is a serial cable with its send and receive wires crossed, or over an Ethernet network, nearby or across the internet. There are eight arenas with lifts, ramps and towers, and six weapons: pistol, shotgun, chaingun, grenades, rockets and railgun. There are four ways to play: free-for-all, team deathmatch, capture the flag and king of the hill.

02 / On the screen

On the screen

Killed by a bot, CGA
Wire Arena on CGA: a white figure stands to the left of centre with its arm out, the word RESPAWN and a 2 across the middle, and the bottom line reads RIVET killed YOU, with health 0.
Thirty seconds into a match with three bots. The count is to your respawn.
The tower, CGA
Wire Arena on CGA: a tall cyan pillar on the left, a raised platform ahead with a green bar on top of it, and walls in dark blue stepping away to the right. Health 100 at the bottom left.
The walls are shaded by their distance from you.
A bot in view, VGA
Wire Arena on VGA at 40 columns: a blue and yellow figure running toward the player in front of a tower of cyan posts, RED 0 and BLUE 0 across the top, health 100 at the bottom left and 0/10 with the weapon row at the bottom right.
A team match on the Heights. The figure is drawn in solid blocks.
Capture the flag, VGA
Wire Arena on VGA: two blue figures at their base in the distance, a cyan post on the right and dashed floor lines, with RED 0 and BLUE 0 and a flag mark beside each team's score at the top.
Capture the flag on the Twin, with the blue team at its base.
Tab held, VGA
Wire Arena on VGA with Tab held: a map of the arena in blue blocks over the view, the players' letters K and D on it and two green rings, and the team scores at the top.
Holding Tab shows the scoreboard and a map of the arena.
80 columns, VGA
Wire Arena on VGA at 80 columns: the same view in finer detail, a figure in front of the tower, and Columns 80 at the bottom left where the game reports the setting just changed.
Plus switches to 80 columns, and the bottom line says so.
Hercules, 80 columns
Wire Arena on a Hercules card: the Heights in thin monochrome lines at 80 columns, the ramp on the left, the tower ahead and the staircase on the right, with health 80 at the bottom left.
A Hercules card always plays at 80 columns. MartyPC's IBM 5150.
The match setup
The Wire Arena window on the os8088 desktop: Wire Arena - match setup, with drop-down lists for Arena (Heights), Bots (3), Play (Offline), Mode (Free-for-All), Columns (40), Skill (Normal), Detail (Medium) and Win at (20 Kills), a Nick box, and Play and Keys buttons.
Every choice is in one window on the desktop. Play starts the match.

03 / How it fits in an 8088

How it fits in an 8088

Each arena is a list of boxes: solid blocks, ramps, lifts and low outlines. A box can stand on another. The arenas are built on the host computer when the program is built, along with a sorted tree of the boxes and a table of which parts of the room can see each other. On the PC, the game reads those tables instead of working them out each frame. The bots find their way by a route table made the same way, which tells them which way to go first from any point to any goal.

The game moves everyone 30 times a second on a fixed clock, whatever the screen manages. On an 8088 it draws 40 columns, which halves the characters on screen, and a 286 or newer starts at 80. Five detail levels trade how much of the arena is drawn against speed: F1 to F5 during a match.

Measured on MartyPC, an emulator that counts the 8088's cycles exactly, drawing one view at 40 columns takes 105,532 cycles in the Open arena and 218,942 in the Pit. At 4.77 MHz that is 22 ms and 46 ms. Putting the characters on the screen comes after that. The whole program, its eight arenas included, is a 59,730-byte file.

A linked match sends the same frames over all three connections: the serial cable at 2,400 baud, raw Ethernet and UDP. The computer that starts the match runs the bots, and the others see them over the wire.

04 / What it does not do

What it does not do

It needs the standard system disk. The small system disk for 128KB machines refuses it with Needs kern_big or mega.

On a 4.77 MHz PC the screen does not keep up with the 30-step game clock. The busiest arenas take the longest to draw. A 286 draws faster than the monitor refreshes, which is why its highest detail level also waits for the refresh.

Mouse look needs a mouse that reports movement. On the emulator system disk, where the pointer follows the host's mouse, mouse look does nothing; the arrow keys turn and look up and down, and the buttons still fire. That includes this site's in-browser demo.

Pause works only in a match you play alone.

05 / Run Wire Arena

Run Wire Arena

  1. Boot the system disk. Wire Arena is in the GAMES folder of the 1.44MB and 1.2MB software disks and of the second 720KB disk (720K/MORE-720.IMG), at the top of the second 360KB games disk (360K/GAMES2.IMG), and on The Wire.

  2. Double-click WIRERENA.O88. The match setup window opens.

  3. Choose an arena, the number of bots and the mode, then press Play or Enter.

  4. Move the mouse to look and click to fire. W, A, S and D walk, Space jumps, 1 to 6 pick a weapon, Tab shows the scores and Esc leaves.