Analysis model: gpt-5.5 xhigh

# Racter Graffiti by IPL - Technical Dissection

`Racter Graffiti` is a 1986 MS-DOS cracktro / graffiti screen by IPL. Demozoo
lists it as a cracktro, released in 1986 for MS-DOS, with a Demozoo advert
target recorded as an old advert entry that is intentionally omitted here.

Release year: 1986

This is a source-limited early-PC entry. The public Demozoo page has a
screenshot and an external Defacto2 record, but I do not have a verified
executable for this pass. The analysis below therefore does not claim exact
code addresses or recovered bytes. It models the most likely 8088-era inner
loops from the visible text-mode frame and keeps every inference tied to what
the frame proves.

The public screenshot includes old contact text and emulator/path chrome. The
article image crops out the emulator setup lines and masks the old contact
number. The original public screenshot hash is recorded for provenance, but the
unredacted image is not used in the article.

## Sources

- Demozoo production page:
  https://demozoo.org/productions/368816/
- Demozoo original screenshot:
  https://media.demozoo.org/screens/o/89/1f/c7c6.358040.png
- Defacto2 external record:
  https://defacto2.net/f/ab18cda

Demozoo records:

```text
Title:        Racter Graffiti
Group:        IPL
Type:         Cracktro
Platform:     MS-Dos
Released:     1986
Advert for:   old advert entry omitted
```

Screenshot hashes used while preparing the public-safe images:

```text
698bddd273ca58b704f93da1dbe9b9b2d370b7d015de08d5127d0a1564f1450e  Demozoo original screenshot, held only in scratch
360c7f04c89fb69c779ca5ae9262be78886ca7bf116bf3efed729860431ca7e3  images/racter-graffiti-demozoo-redacted.png
e8a8d733a93712b91b19e07a76e89b2ce8f230c9118e0e2e597884008998206d  images/racter-graffiti-layout-map.png
```

## Visual References

| Time | Image | Notes |
| --- | --- | --- |
| `00:00.000` | ![Racter Graffiti public-safe cropped and redacted Demozoo frame](images/racter-graffiti-demozoo-redacted.png) | Cropped from the public Demozoo screenshot. DOSBox-X header/path lines are removed, and the old contact line in the title box is masked. The frame shows the Racter copyright card and the beginning of the interactive prompt. |

![Racter Graffiti text-mode layout and loop model](images/racter-graffiti-layout-map.png)

## What The Frame Proves

The unredacted Demozoo screenshot is 720 by 400 pixels. That is the standard
visual footprint of 80-column VGA text mode with 9 by 16 character cells:

```text
80 columns * 9 pixels  = 720 pixels
25 rows    * 16 pixels = 400 pixels
```

The visible screen is not a bitmap title page like several 1984-1986 CGA
graffiti entries. It is a text page:

- the title card is made from ASCII punctuation, hyphens, spaces, and uppercase
  text;
- the prompt is ordinary monospaced text at the bottom;
- all visible coordinates align to 9x16 cells;
- there is no evidence of pixel plotting, packed CGA image data, or a custom
  font.

That means the real code is very likely a small text-mode wrapper around the
Racter executable rather than a graphics decompressor.

## Screen Layout

The useful mental model is an 80 by 25 array of character/attribute words:

```text
offset = (row * 80 + column) * 2
word   = character | (attribute << 8)
base   = B800:0000 for colour text mode, or B000:0000 for monochrome
```

The public frame looks like this in cell-space:

```text
rows 0..2       blank / previous emulator command area cropped away
rows 3..8       centered title box
rows 9..17      blank gap
row  18         "Hello, I'm Racter. Are you Jeff?"
row  19         ">"
rows 20..24     unused prompt area / future conversation
```

The title box itself is a plain ASCII rectangle. It is not CP437 line art:

```text
.------------------------------------------------------,
|                                                      |
|                 A CONVERSATION WITH RACTER           |
|                                                      |
|        COPYRIGHTED BY INRAC CORPORATION, 1984        |
| PORTIONS COPYRIGHTED BY MICROSOFT CORPORATION, 1982  |
|                 [contact line redacted]              |
`------------------------------------------------------'
```

The exact punctuation at the bottom corners is less important than the
construction: a horizontal rule made from repeated hyphen characters, left and
right side borders, and centered strings.

## Likely Program Shape

For a 1986 MS-DOS text-mode wrapper, the small, practical implementation is:

1. Set or assume 80-column text mode.
2. Clear the visible page.
3. Draw the centered title box.
4. Print the first Racter prompt.
5. Wait for keyboard input.
6. Continue into the underlying Racter conversation loop or loader path.

The screenshot begins after the operator ran `RACTER.EXE`, and the program has
already printed the first prompt. There is no sign of animation or timed
transition in this captured frame.

## Clear-Screen Loop

The fastest and most common direct-video clear is a word fill:

```asm
mov  ax,0B800h      ; colour text segment
mov  es,ax
xor  di,di
mov  ax,0720h       ; space character, grey-on-black attribute
mov  cx,2000        ; 80 * 25 character cells
cld
rep  stosw
```

Inner loop after `REP STOSW` expansion:

```text
repeat 2000 times:
    ES:[DI+0] = 20h      ; space
    ES:[DI+1] = 07h      ; normal grey-on-black
    DI += 2
```

The visible screen's black background and grey text are compatible with that
default attribute. A BIOS clear, such as `INT 10h AH=06h`, would produce the
same final frame, so this is a ranked implementation model rather than proof.

The direct-video version is still the best fit for an early cracktro because it
needs no cursor maintenance and it can draw fixed ASCII art with simple offset
arithmetic.

## Title-Box Horizontal Rule

The top and bottom rules are repeated hyphen cells between corner characters.
A direct video version would write one row like this:

```asm
; input:
;   DH = row
;   DL = left column
;   CX = inner width
;   AL = left corner
;   AH = attribute

call cell_offset        ; DI = row * 160 + column * 2
stosw                  ; left corner
mov  al,'-'
rep  stosw             ; inner horizontal rule
mov  al,right_corner
stosw
```

The hot part is just:

```text
for i in 0..inner_width-1:
    write '-' with the active attribute
```

On an 8088, `REP STOSW` is ideal for this because every cell is the same
character/attribute word. It is also why the rule is made from a repeated
single-byte ASCII character instead of a custom bitmap line.

## Title-Box Interior Rows

The empty interior rows and text rows can share one helper:

```asm
; DI points to left border cell
mov  ax,border_word
stosw

mov  cx,inner_width
mov  ax,space_word
rep  stosw

mov  ax,border_word
stosw
```

For rows with text, the program would either:

- precompose the whole row into an 80-cell buffer and copy it with `REP MOVSW`;
- or draw the border/space row first, then overwrite the centered text.

The second version is simpler for this frame because there are only a few
centered strings:

```text
draw empty row
column = left + ((inner_width - string_length) / 2)
write string at row,column
```

That produces the centered title, copyright lines, and contact line with one
small string writer.

## Cell Offset Arithmetic

For text mode, a row/column to byte-offset helper is tiny:

```asm
; DH = row, DL = column
xor  ax,ax
mov  al,dh
mov  bl,160
mul  bl             ; AX = row * 160
xor  bx,bx
mov  bl,dl
shl  bx,1           ; BX = column * 2
add  ax,bx
mov  di,ax
```

An optimized 8088 version avoids `MUL`:

```asm
mov  al,dh
xor  ah,ah
mov  bx,ax
shl  ax,7           ; row * 128
shl  bx,5           ; row * 32
add  ax,bx          ; row * 160
mov  bl,dl
xor  bh,bh
shl  bx,1
add  ax,bx
mov  di,ax
```

The exact helper is not visible, but these are the only operations needed for
the frame. Every visible element is row/column aligned.

## Centered String Writer

The string writer's inner loop is the same in all direct-video variants:

```asm
; DS:SI = zero-terminated ASCII string
; ES:DI = text-mode destination cell
; AH    = text attribute

.next:
    lodsb
    test al,al
    jz   .done
    stosw
    jmp  .next
.done:
```

Expanded per character:

```text
read next source byte
if zero, stop
write byte as character
write constant attribute byte
advance destination by one character cell
```

A BIOS teletype version would be even smaller:

```asm
mov  ah,0Eh
lodsb
int  10h
```

But BIOS teletype output would naturally advance the cursor and is less
convenient for centered box text unless the program constantly sets cursor
positions. The direct `B800h` writer remains the stronger model for the fixed
title box.

## Prompt Loop

The prompt line at the bottom is the live part:

```text
Hello, I'm Racter. Are you Jeff?
>
```

The prompt could be written with the same string writer as the title card, but
the subsequent conversation needs an input gate. The minimal loop is:

```asm
print_prompt:
    ; write prompt string at row 18, column 0

wait_key:
    mov  ah,00h
    int  16h          ; AL = ASCII, AH = scan code
    cmp  al,0Dh
    jne  collect_char
    jmp  parse_answer
```

For DOS console input:

```asm
mov  ah,01h
int  21h             ; read with echo
```

or:

```asm
mov  ah,0Ah
mov  dx,buffer
int  21h             ; buffered line input
```

The screenshot alone cannot distinguish those input paths. What it does prove
is that this graffiti screen is not only a static credit card; it is already at
the first Racter question and has entered a prompt/response state.

## Why This Belongs With The Early PC Graffiti Line

Compared with the 1984-1986 bitmap and menu-like graffiti screens, `Racter
Graffiti` is technically modest but historically useful:

- it is still MS-DOS and cell-based, not a later VGA effect intro;
- it uses the existing commercial program's conversational identity as the
  visible front end;
- the cracktro content is grafted into a copyright/title card rather than a
  separate scroller;
- the rendering cost is near zero: a few row fills, string writes, and a key
  input loop.

That is a different branch from the CGA image loaders. The trick is not visual
compression; it is using the DOS text screen as a cheap launcher/ad card.

## Public-Safe Boundary

The original public screenshot includes old contact text in the title card and
emulator/path lines above the program. The article image intentionally removes
the emulator chrome and masks the full contact line. This keeps the technical
structure visible: title box, copyright lines, prompt line, and text-mode
composition.

## Summary

`Racter Graffiti` is a small but useful 1986 data point. It shows how early PC
cracktro/graffiti practice did not require a custom graphics engine. A credible
implementation needs only:

1. an 80x25 text page;
2. a clear-screen word fill;
3. a horizontal-rule fill for the title box;
4. a centered string writer;
5. a prompt/input loop.

Without the executable, those are implementation models, not recovered
addresses. But the frame strongly constrains the model: it is text-mode cell
work, not pixel plotting, and that makes its likely inner loops unusually
simple and 8088-friendly.
