Analysis model: gpt-5.5 xhigh

# Late Easter '92 by Sonic PC - Technical Dissection

## Scope

This covers `Late Easter '92` by Sonic PC, released in June 1992 for
MS-DOS. It is an early Sonic PC production: a configuration loader, a small
intermediate helper, a first VGA part, a larger VGA/music part, and an S3M
payload packed into one Hornet archive.

The interesting technical surface is the split rather than one single effect.
The archive uses three packed MZ executables with the same `dlz0` wrapper
shape, a Borland C loader that carries the Sound Blaster setup prompts, a
first hand-written mode-13h part, and a main part that switches into an
unchained planar VGA layout and drives an STMIK 0.20 Scream Tracker playback
surface.

Sources and artifact:

- Demozoo: https://demozoo.org/productions/307012/
- Pouet: https://www.pouet.net/prod.php?which=4212
- Hornet index: https://files.scene.org/get/mirrors/hornet/demos/1992/00_index.txt
- Hornet archive: https://files.scene.org/get/mirrors/hornet/demos/1992/leaster.zip

Public visual reference copied from Pouet:

![Late Easter '92 public Pouet screenshot](images/late-easter-92-pouet.gif)

## Public Still-To-Code Concordance

The Pouet GIF is a single 320x200 public still, not a local runtime capture.
It should therefore be read as evidence for the visible title state rather than
as timing proof for the whole demo. The still shows the Sonic globe/logo,
small `1992` / `PRODUCTION` lettering, a sparse star field, and the yellow
`LATE EASTER '92` bottom strip. Those features line up with the first VGA
child, `JUSTDOIT.EXE`, more tightly than with the later `ROLLINS.EXE` music
part.

The first match is the display mode and palette path. `JUSTDOIT` enters plain
mode `13h` at `0218h`, loads a 256-entry DAC stream from segment `102Eh`, then
writes extra highlight ranges at DAC index `1` and `D0h`. The public GIF has
only 32 used colours, which is consistent with a mostly static title picture
using a small subset of the uploaded palette rather than with the later
unchained planar effect code.

The globe/logo is not drawn by a general sprite engine in the visible startup
path. The code treats the first screen as an image source in segment `102Eh`
and reveals it through the mirrored-column copy at `0634h`: one byte per row is
copied from the left edge and one from the right edge, and `[1605h]` advances
by two columns per frame. That explains why this title screen can be stored as
one mode-13h picture while still having a simple animated reveal.

The small white/blue star points around the globe match the 70-record object
walker at `034Ah`. Each record carries position/timer state; the address helper
builds `y*320+x` using byte swaps and shifts, tests occupancy in `A000h`, and
plots directly into the mode-13h frame. This is a tiny title-particle system,
not the later main-part planar blitter.

The bottom `LATE EASTER '92` strip matches the first part's separate text
machinery. Strings inside the restored child include `LATE EASTER -92`, and
the renderer at `04B4h` uses the script/glyph tables at `1613h` and `18BDh`.
The later `0588h` path copies narrow seven-row strips to the bottom of
`A000h`, so the title line can sit below the globe without redrawing the whole
picture.

The public still therefore captures the first part after the image reveal has
settled: mode-13h title picture, star/object overlay, bottom title strip, and
keyboard-controlled exit into the next process. The later `ROLLINS.EXE` code
is still important for the demo as a whole, but its unchained VGA setup,
STMIK/S3M playback, palette rings, and script dispatcher belong to the
following main section rather than to this specific still.

Generated loader and VGA/music path map:

![Late Easter '92 loader, VGA, and music map](images/late-easter-92-pipeline-map.png)

## Release Year

1992.

Demozoo lists `Late Easter '92` as released in June 1992. Pouet also lists the
release date as June 1992. Hornet keeps the production in `demos/1992` as
`leaster.zip`.

## Archive Layout

The downloaded Hornet ZIP is 149,421 bytes, SHA-256:

```text
cda123f7bf691e9e229506c718dd238b48ed7e8b32cba8f16e4834dbf1849e24
```

Extracted files:

| File | Size | SHA-256 | Role |
| --- | ---: | --- | --- |
| `8).com` | 1,452 | `39ca522445d419e72c6e502808bb25c72c7b4da508f3579d536d1b1af631494d` | tiny helper/launcher-side DOS program |
| `leaster.com` | 12,435 | `781932188e9210ffd2a71a1478e3dce14f2df025abb35d209d3bb0a1e050b0d4` | MZ executable renamed `.COM`; the configuration loader |
| `justdoit.exe` | 14,389 | `ad9d03502cc577ea33455d7ff4dc116f4aa9571dc6c88b0b6b19ec87fe7801bd` | first VGA part, packed |
| `rollins.exe` | 47,196 | `997ae372475eb544848f6ca2b7499e975f192ef927c74b665c60c73402b19df2` | main VGA/music part, packed |
| `sonicdat.8-)` | 102,465 | `a3f05f14e8f36c576582b0153e966dfae13e714af607ae500878bd04ff8e7aa2` | Scream Tracker module-style data |
| `readme.txt` | 4,147 | `c8c823e9e99db25e20e097f6ae04b784669b34e221058c97ce7d870b76d671ca` | release notes |

The readme says the demo has three parts, credits coding mainly to JAZ with
some help by FTJ, credits graphics to Marvel/JAZ, and describes Sound Blaster
as optional. It also says this was Sonic PC's first demo. The public article
omits the old contact/address/BBS block and detailed private hardware
inventory from the readme.

## Packed MZ Carriers

`leaster.com` is named like a COM file but starts with `MZ`. DOS uses the MZ
header, so the extension is cosmetic. The packed executable headers look like
this:

| Program | Original size | Header | Relocs | Min alloc | SS:SP | CS:IP | Entry file offset |
| --- | ---: | ---: | ---: | ---: | --- | --- | ---: |
| `leaster.com` | 12,435 | 32 | 1 | `0210h` | `0510:0080` | `0000:0000` | `0020h` |
| `justdoit.exe` | 14,389 | 32 | 1 | `1EA9h` | `2223:0080` | `0000:0000` | `0020h` |
| `rollins.exe` | 47,196 | 32 | 1 | `3CD7h` | `4853:0080` | `0000:0000` | `0020h` |

All three have the same wrapper skeleton at file offset `0020h`:

```asm
push es
push ds
push cs
mov  ax,cs
add  [0135h],ax     ; relocated unpack target helper word
mov  dx,packed_paragraph_count
add  ax,dx
mov  bx,ax
add  ax,unpacked_span
mov  ds,bx
mov  es,ax
xor  si,si
xor  di,di
mov  cx,8
rep  movsw          ; copy 16 bytes from source paragraph to high destination
dec  bx
dec  ax
dec  dx
jns  copy_more
mov  es,bx
mov  ds,ax
mov  si,0052h
lodsw
mov  bp,ax
mov  dl,10h
jmp  far unpacker
```

The constants differ per program:

- `leaster`: `DX=0312h`, high span add `01FEh`, far jump `0494:06BA`.
- `justdoit`: `DX=0389h`, high span add `1E9Ah`, far jump `21A6:06D0`.
- `rollins`: `DX=0B8Bh`, high span add `3CC8h`, far jump `47D4:06F7`.

The visible `dlz0` marker at original file offset `0057h` sits immediately
after the far jump operand. The wrapper copies a small unpacker/body region
upward paragraph by paragraph before entering the real depacker. Because the
copy is made high-to-low by decrementing the segment registers, the source
range can overlap its destination without corrupting bytes that have not yet
been copied.

UNP restores the bodies cleanly:

| Program | Restored size | Header | Relocs | Restored entry |
| --- | ---: | ---: | ---: | ---: |
| `LEASTER.EXE` | 19,270 | 512 | 3 | file `0200h` |
| `JUSTDOIT.EXE` | 138,346 | 512 | 10 | file `0200h` |
| `ROLLINS.EXE` | 294,723 | 512 | 28 | file `46C90h` |

## Loader: `LEASTER.EXE`

The restored loader is a Borland C/C++ real-mode program. The strings include
`Borland C++ - Copyright 1991 Borland Intl.`, `LOADER.C`, `_main`,
`_execl`, `_LoadProg`, `_searchpath`, and the usual Borland startup/runtime
symbols. That explains the large amount of general DOS/C runtime code around a
small amount of demo-specific logic.

The startup at restored file offset `0200h` is the Borland-style entry:

```asm
0200  mov dx,02E6h
0203  mov cs:[0235h],dx
0208  mov ah,30h
020A  int 21h             ; DOS version
020C  mov bp,[0002h]      ; memory block size from PSP
0210  mov bx,[002Ch]      ; environment segment
0225  call 0365h          ; save INT 00/04/05/06 vectors
025A  mov di,[0422h]      ; heap/stack sizing
02AF  mov ah,4Ah
02B1  int 21h             ; resize process block
02B8  mov ss,dx
02BA  mov sp,di           ; switch to computed stack
02CF  int 1Ah             ; initial clock tick seed
02E8  call 03D5h          ; init-table runner
0308  call 0439h          ; C main/config UI
0333  call 03A8h          ; restore saved vectors
0355  int 21h/AH=4Ch      ; exit with main's return code
```

The loader saves and restores divide/overflow/bounds/invalid-op style vectors
through DOS `35h` and `25h`. The table runner at `03D5h` walks six-byte
records and calls init/cleanup function pointers in priority order:

```asm
03D5  mov ah,FFh
03DF  cmp byte [bx],FFh       ; unused record?
03E4  cmp ah,[bx+1]           ; lower priority byte wins
03EE  add bx,6
03F7  mov bx,dx               ; selected record
03FC  cmp byte [bx],0
03FF  mov byte [bx],FFh       ; mark consumed
0409  call far [es:bx+2]      ; far init
0410  call     [es:bx+2]      ; near init
0415  jmp 03D5h
```

The demo-specific `main` starts around `0439h`. It prints the welcome and
configuration prompts, waits for keys through the Borland console routine at
`1D4Bh`, accepts upper/lowercase answers and Return as defaults, and records
Sound Blaster base/IRQ choices. It also builds the launcher context used by
the child executables. The part executables later read a two-byte marker/config
file at runtime and print a direct-run warning if that context is absent.

## Helper: `8).COM`

`8).COM` is only 1,452 bytes and is a true COM program. Its first visible
operation is a DOS string print:

```asm
0000  mov dx,0132h
0003  mov ah,09h
0005  int 21h              ; "Please wait! Loading..."
```

Then it uses the BIOS tick byte at `0040:006Ch` as a short delay:

```asm
0008  mov ax,0040h
000B  mov es,ax
000D  mov cx,3
0010  mov ah,es:[006Ch]
0015  and ah,0Fh
0018  mov al,es:[006Ch]
001C  and al,0Fh
001E  cmp al,ah
0020  je  0018h
0022  mov al,es:[006Ch]
0026  and al,0Fh
0028  cmp al,ah
002A  jne 0022h
002C  loop 0018h
```

The loader body beginning around `00B5h` shrinks its memory block with
`INT 21h/AH=4Ah`, records the environment segment, builds a child command
context, and jumps through a small internal dispatch block. The file is best
understood as a launcher-side helper for the child process chain, not as an
effect part.

## First VGA Part: `JUSTDOIT.EXE`

`JUSTDOIT.EXE` starts at restored file offset `0200h`. The first thing it
does is check for the launcher context; if the guard fails it switches to text
mode and prints the "Run LEASTER.COM" warning. Otherwise it installs a
keyboard IRQ hook, enters mode `13h`, uploads palettes, draws the first screen,
and runs until a key is pressed.

The early setup:

```asm
0200  mov ax,1FFEh
0203  mov ds,ax
0205  call 0749h          ; guard/open check
0215  call 07A0h          ; install INT 09h wrapper
0218  mov ax,0013h
021C  int 10h             ; 320x200x256
021E  mov ax,102Eh
0221  mov ds,ax
0223  mov si,0000h
0228  mov dx,03C8h
022B  out dx,al           ; DAC index 0
022C  inc dx
022D  mov cx,0100h
0230  lodsb
0231  out dx,al
0232  lodsb
0233  out dx,al
0234  lodsb
0235  out dx,al
0236  loop 0230h          ; 256 RGB triples
```

It writes another five palette entries starting at DAC index `1`, then sixteen
entries starting at `D0h`, so the first screen uses a base palette plus local
highlight ranges.

The retrace wait is deliberately simple:

```asm
06A5  mov dx,03DAh
06A8  in  al,dx
06A9  test al,08h
06AB  je  06A8h
06AD  mov dx,03DAh
06B0  in  al,dx
06B1  test al,08h
06B3  je  06B0h
06B5  ret
```

It waits until bit 3 of input status register 1 is set. The duplicated loop
does not wait for the low phase first; it just synchronizes to "currently in
vertical retrace" twice. That is coarse but enough to avoid obvious tearing on
slow 1992 machines.

### Mirrored Wipe

The clear/reveal path at `0634h` copies one byte per scanline from a source
screen in segment `102Eh` to `A000h`, moving two vertical edges inward:

```asm
0634  mov si,0300h
0638  add si,[1605h]
063C  mov di,0000h
063F  add di,[1605h]
0643  mov ds,102Eh
0648  mov es,A000h
064D  mov cx,00C8h        ; 200 rows
0650  movsb
0651  add si,013Fh        ; next source row: +320-1
0655  add di,013Fh
0659  loop 0650h

065D  mov si,0300h
0660  add si,013Fh
0664  sub si,[1605h]
0668  mov di,013Fh
066B  sub di,[1605h]
0679  mov cx,00C8h
067C  movsb
067D  add si,013Fh
0681  add di,013Fh
0685  loop 067Ch

068E  inc word [1605h]
0692  inc word [1605h]    ; two columns per frame
0696  cmp word [1605h],013Eh
```

The row stride is `0140h` bytes. Because the loop performs a `movsb` and then
adds `013Fh`, it lands on the same column in the next scanline. The first loop
draws the left edge at `x = offset`; the second draws the right edge at
`x = 319 - offset`. Incrementing by two makes the wipe complete in roughly
160 column steps.

### Small Object Table Walker

The object updater at `034Ah` walks 70 eight-byte records. A zero in the first
word means "spawn/reset this record"; otherwise the record's delay counter is
decremented until it reaches one:

```asm
034A  mov si,0128h
034D  mov ax,[si]
034F  cmp ax,0
0354  call 03CCh          ; spawn if empty
0357  add si,8
035A  mov ax,[si]
035C  cmp ax,1
0361  dec ax
0362  mov [si],ax
03BB  inc byte [003Bh]
03BF  cmp byte [003Bh],46h
03C6  mov byte [003Bh],0
```

The spawn routine picks a source byte from a cyclic table, calls the small
integer mixer at `0325h`, rejects rows above `AFh`, then writes a new position,
timer, and target into the record. The plot/test helper computes a mode-13h
address as:

```asm
address = y * 320 + x
```

but performs it with byte/word tricks:

```asm
041D  push ax,bx,cx,es
0421  mov es,A000h
0426  xchg bh,bl
0428  add ax,bx
042A  shr bx,1
042C  shr bx,1
042E  add bx,ax
0430  mov cx,es:[bx]      ; occupied?
```

`xchg bh,bl` turns `y` into `y*256`; `add ax,bx` contributes the `x` part; two
shifts add another `y*64`. The result is `y*320+x` without a multiply.

### Text Stream and Bottom Strip

The text renderer at `04B4h` reads a script at `1613h`, looks each character
up in a four-byte font table at `18BDh`, computes a source offset, and calls
`0542h` fourteen times for a tall glyph strip:

```asm
04CD  mov si,1613h
04D0  add si,[1603h]
04D4  mov ah,[si]         ; script byte
04D6  cmp ah,0Dh          ; line terminator
04DB  mov si,18BDh        ; glyph metadata table
04DE  cmp [si],ah
04E4  add si,4
04E9  inc si
04EA  mov cl,[si]         ; width/count
04F1  mov al,[si]         ; source coordinates
0500  shr ax,1
0502  shr ax,1
0504  add ax,cx
0509  call 0542h
050C  inc byte [1600h]
0510  cmp byte [1600h],0Eh
```

`0542h` copies `CX` bytes from font segment `005Eh` into a target strip:

```asm
0544  mov si,0300h + [1605h] + line_phase
054B  mov di,047Fh + [1609h] + line_phase
0564  mov cx,[1607h]
0568  mov ds,005Eh
056D  mov bl,[si]
056F  mov es:[di],bl
0572  inc di
0573  inc si
0574  dec cx
0578  jne 056Dh
```

Later, `0588h` copies two moving seven-row strips from this text buffer to the
bottom of `A000h`, using `027Eh` as the row advance between two-byte writes.
That is the little bottom-strip scroller/wipe rather than a full-screen
blitter.

### Keyboard Hook

The IRQ1 wrapper is minimal and raw:

```asm
0779  in  al,60h
077C  cmp al,01h      ; Esc
0780  cmp al,4Ah      ; keypad minus
0784  cmp al,4Eh      ; keypad plus
0788  in  al,61h
078C  or  al,80h
078E  out 61h,al
0792  out 61h,al      ; acknowledge keyboard controller edge
0794  mov al,20h
0796  out 20h,al      ; EOI
0798  iret
079A  jmp far [old09]
```

Most keys are swallowed after acknowledging the keyboard controller and PIC.
Esc/plus/minus chain to the saved handler. The install/restore code writes the
IVT entry at `0000:0024`.

## Main Part: `ROLLINS.EXE`

`ROLLINS.EXE` is the main body. Its restored MZ entry is not near the start of
the file: CS:IP is `46A9:0000`, which maps to file offset `46C90h`. A lot of
code before that is STMIK and data.

At startup it shrinks the process block, checks the launcher marker/config
file, deletes the same marker name, loads `SONICDAT.8-)`, sets VGA state, and
then enters a sequence of scripted sections.

```asm
46C90  mov ax,cs
46C92  mov ds,ax
46C94  mov ah,4Ah
46C96  mov bx,2000h
46C99  int 21h             ; shrink memory block
46C9B  call 47A6Fh         ; launcher/config guard
46CAB  mov ah,41h
46CAD  mov dx,0DAEh
46CB0  int 21h             ; delete launcher marker/temp name
46CB2  call 47F07h
46CBE  mov ax,0013h
46CC2  int 10h
46CC4  mov ax,0012h
46CC7  int 10h
46CC9  mov ax,0013h
46CCC  int 10h             ; reset through VGA modes
46D33  mov ds,1259h
46D36  mov si,0000h
46D38  mov dx,03C8h
46D3D  mov cx,0100h
46D40  lodsb/out dx,al     ; full DAC upload
46D49  call 47095h         ; planar image upload
46D4C  call 47119h         ; second planar image upload
46D4F  call 4719Dh
46D52  call 474FCh
46D5A  mov dx,022Ch        ; filename pointer
46D5D  call 46EECh         ; load data file
```

### Data File Loader

The file loader at `46EECh` opens the name in `DX`, seeks to EOF, computes how
many paragraphs the file needs, allocates memory, rewinds, and reads in 32 KiB
chunks:

```asm
46EF2  mov ah,3Dh
46EF4  mov al,00h
46EF6  int 21h             ; open read-only
46EFC  mov ah,42h
46EFE  mov al,02h
46F06  int 21h             ; seek EOF, DX:AX = file size

46F0A  push bx
46F0B  shr dx,1
46F0D  rcr ax,1
46F0F  shr dx,1
46F11  rcr ax,1
46F13  shr dx,1
46F15  rcr ax,1
46F17  shr dx,1
46F19  rcr ax,1            ; DX:AX / 16
46F1B  mov bx,ax
46F1D  inc bx              ; one paragraph slack
46F24  mov ah,48h
46F26  int 21h             ; allocate memory
46F2A  mov cs:[0255h],ax   ; loaded segment

46F3D  mov ds,cs:[0255h]
46F42  mov ah,3Fh
46F44  mov cx,8000h
46F47  mov dx,0000h
46F4A  int 21h             ; read 32 KiB
46F4E  mov dx,ds
46F50  add dx,0800h
46F54  mov ds,dx           ; next 32 KiB paragraph block
46F56  add cs:[025Ah],ax   ; byte count low word
46F5B  cmp ax,8000h
46F5E  je  46F42h
```

This loader is not special to S3M; it is a general whole-file loader. In this
demo it is called with `SONICDAT.8-)`.

The data file is an S3M-like payload with `SCRM` at file offset `003Ch`.
Relative to header base `0010h`, it reports 31 orders, 16 instruments, and 47
patterns. The visible title text begins four bytes into the S3M title field as
`!Scream!`, matching the STMIK/Scream Tracker theme in the executable.

### STMIK Sound Gate

`ROLLINS` embeds `STMIK020` and the visible text `Scream Tracker Music
Interface Kit V0.2`. The launcher marker/config reader at `47A6Fh` opens a
small file/name at CS:`0DAEh`, reads two bytes, and maps them into sound
configuration:

```asm
47A76  mov ah,3Dh
47A7A  mov dx,0DAEh
47A7D  int 21h
47AA9  mov dx,0DDDh
47AAC  mov cx,2
47AB4  mov ah,3Fh
47AB6  int 21h             ; read two config bytes
47AC1  mov si,0DDDh
47AC4  mov ah,cs:[si]      ; base selector
47AD8  if '2' -> cs:[0DD9h] = 0220h
47AE4  if '3' -> cs:[0DD9h] = 0230h
47AF0  if '4' -> cs:[0DD9h] = 0240h
47AFC  if '5' -> cs:[0DD9h] = 0250h
47B08  if '6' -> cs:[0DD9h] = 0260h
47B10  inc si
47B13  mov ah,cs:[si]      ; IRQ selector
47B18  if '2' -> cs:[0DD8h] = 02h
47B23  if '3' -> cs:[0DD8h] = 03h
47B2E  if '5' -> cs:[0DD8h] = 05h
47B39  if '7' -> cs:[0DD8h] = 07h
```

When `cs:[0DD8h]` is nonzero, the main code calls through the STMIK far-call
gateway at `0001:000F`:

```asm
46D6D  mov ax,0000h
46D70  mov bl,01h
46D72  mov bh,cs:[0DD8h]   ; IRQ
46D77  mov cx,cs:[0DD9h]   ; SB base
46D7C  mov dx,3A98h
46D7F  call far 0001:000F  ; init-ish command
46D84  mov ax,0003h
46D87  mov bx,0001h
46D8A  call far 0001:000F
46D8F  mov ax,0001h
46D92  mov bx,cs:[0257h]   ; loaded data segment
46D97  call far 0001:000F  ; start/use module
```

During visual loops it repeatedly calls command `0004h`, and at shutdown it
calls command `0002h`. The code treats sound as optional: if no IRQ/base was
configured, the visual loop still runs.

### Unchained VGA Setup

The main part resets to mode `13h`, briefly to mode `12h`, then back to
`13h`. It then modifies VGA registers directly:

```asm
46CCE  mov bx,0140h
46CD1  shr bx,3            ; 320 / 8 = 40
46CD4  mov cx,0140h
46CD7  shr cx,2
46CDA  dec cx              ; 79
46CDB  mov dx,03D4h
46CDE  mov al,11h
46CE0  mov ah,00h
46CE2  out dx,ax           ; unlock/protect bit cleared
46CE3  mov al,01h
46CE5  mov ah,cl
46CE7  out dx,ax
46CE8  mov al,13h
46CEA  mov ah,bl
46CEC  out dx,ax           ; offset = 40 words

46CED  mov dx,03C4h
46CF0  mov al,04h
46CF2  out dx,al
46CF4  in  al,dx+1
46CF5  and al,F6h
46CF7  out dx,al           ; disable chain/odd-even bits

46CFB  mov dx,03D4h
46CFE  in  al,dx+1
46CFF  and al,BFh
46D02  out dx,al           ; byte/word addressing adjustment
46D06  mov al,17h
46D08  mov ah,E3h
46D0A  out dx,ax
```

This is Mode-X-style unchaining: keep the 320x200 256-colour environment, but
address four VGA planes independently through the sequencer map mask.

### Chunky-to-Planar Upload

The full-image upload at `47095h` deinterleaves a chunky source into four VGA
planes. Each pass sets sequencer index `02h` and writes map mask `01h`, `02h`,
`04h`, or `08h`. The first pass:

```asm
47095  mov dx,03C4h
47098  mov al,02h
4709A  out dx,al
4709B  mov al,01h
4709D  inc dx
4709E  out dx,al           ; plane 0
470A1  mov ds,1259h
470A6  mov es,A032h
470AB  mov si,0300h
470AE  mov di,0000h
470B1  mov cx,3E80h
470B4  movsb
470B5  add si,3
470B8  loop 470B4h
```

The next passes restart at the same source but use `SI+1`, `SI+2`, and
`SI+3`, map masks `02h`, `04h`, and `08h`, and the same count. `3E80h` bytes
per plane is 16,000 bytes, so four planes cover 64,000 chunky pixels.

`47119h` repeats the same operation from segment `2229h` into a different
destination aperture (`A680h`). The direct `ES=A032h` / `ES=A680h` segment
choices are just paragraph-offset views into the VGA aperture; the plane mask
decides which memory plane receives each byte.

### CRTC Start and Vertical Strip Kernel

The frame update at `46F81h` increments a small frame counter, possibly resets
the source pointer, updates CRTC start address registers `0Ch/0Dh`, and calls
two strip helpers:

```asm
46F9A  mov bx,[40FEh]
46F9E  sub bx,004Fh
46FA1  mov dx,03D4h
46FA4  mov ah,bh
46FA6  mov al,0Ch
46FA9  out dx,ax
46FAB  mov ah,bl
46FAD  inc al
46FAE  out dx,ax           ; display start
46FB0  call 46FB7h         ; retrace wait
46FB3  call 47065h         ; overlay/strip copy
```

The helper beginning at `46FC2h` copies a 62-row, one-byte-wide column-like
strip. It sets VGA graphics controller register `05h` to `41h`, sets the
sequencer mask to all planes, then walks the source and destination with a
stride of `4Fh`:

```asm
46FDB  mov dx,03CEh
46FDE  mov ax,4105h
46FE1  out dx,ax
46FE2  mov dx,03C4h
46FE5  mov ax,0F02h
46FE8  out dx,ax           ; all planes
46FE9  mov cx,003Eh        ; 62 rows
46FEC  movsb
46FED  add si,004Fh
46FF0  add di,004Fh
46FF3  dec cx
46FF4  jne 46FECh
```

The `4Fh` stride is a planar row-ish stride in the modified VGA layout. The
same helper wraps when `[40FEh]` reaches `ECA0h`, resets destination/source
state, and restores graphics controller register `05h` to `40h`.

### Palette Ring

The palette ring at `472ECh` has four independent indices in bytes
`3FF6h..3FF9h`. For each lane it blanks the old colour range, increments the
lane, then writes a new range:

```asm
472EC  mov si,4096h
472F1  dec byte [3FF6h]
472F5  mov al,[3FF6h]
472FA  mov al,[si+al]
472FC  call 472DBh         ; write 39 zero bytes at DAC index al+3Fh
472FF  inc byte [3FF6h]
47303  mov si,4096h
47306  mov al,[3FF6h]
4730B  mov al,[si+al]
4730D  mov bx,0000h
47310  call 472BCh         ; write lane 0 palette bytes
...
47388  inc byte [3FF6h]
4738C  cmp byte [3FF6h],68h
47393  mov byte [3FF6h],0  ; modulo 104
```

`472DBh` selects DAC index `AL+3Fh`, emits 39 zero bytes, and returns.
`472BCh` selects the same DAC window but uses `BX` to choose one of four
palette tables before emitting 39 bytes. This is not a whole-palette fade; it
is a compact ring over a small DAC range, suitable for animated highlights.

### Text and Script Dispatcher

The main script dispatcher at `475EEh` reads a byte from `3182h + script_ptr`.
Special bytes alter the state machine:

- `00h`: reset script pointer to zero.
- `70h`: set a 200-frame delay and mark a wait state.
- `3Ch`: reset horizontal state and advance vertical offset by `1Ch`.
- `6Dh`: set a 500-frame delay.
- `71h`, `77h`, `65h`: call sub-effects and conditionally retry the same byte.

Normal bytes are looked up in a four-byte table at `30E2h`, then converted to
a glyph/source offset:

```asm
47693  mov si,30E2h
47696  mov al,[si]
47698  cmp al,ah
4769C  add si,4
476A1  inc si
476A4  mov al,[si]         ; x-ish source component
476A7  mov bl,[si]         ; y-ish component
476AE  mov cl,[si]         ; width/count
476B0  mov [30BFh],cx
476B4  xchg bh,bl
476B6  add ax,bx
476B8  shr bx,1
476BA  shr bx,1
476BC  add ax,bx           ; y*320+x-style offset
476BE  mov [30C1h],ax
```

That is the same multiplication avoidance as the first part: build a
`y*320+x` or `y*80+x/4` style offset from byte swaps and shifts rather than
using `MUL`.

The plot helper at `474CEh` is explicitly planar:

```asm
474D3  shl dx,6
474D8  shl ax,4
474DB  add ax,dx           ; y*80 = y*64 + y*16
474DE  shr cx,1
474E0  shr cx,1
474E2  add ax,cx           ; + x/4
474E7  and cl,03h
474EA  mov ah,01h
474EC  shl ah,cl           ; plane mask = 1 << (x & 3)
474F1  mov al,02h
474F3  out 03C4h,al
474F6  out 03C5h,al
474F8  mov es:[di],bl
```

This is the canonical unchained 320-wide pixel address calculation:
`offset = y * 80 + (x >> 2)`, plane `x & 3`.

### Small Text Strip Copy

`473C9h` copies an 11-row block inside `A000h`. Each row copies three adjacent
bytes, then jumps by `4Eh`:

```asm
473EB  mov cx,000Bh
473EE  mov al,es:[si]
473F1  mov es:[di],al
473F4  inc si
473F5  inc di
473F6  mov al,es:[si]
473F9  mov es:[di],al
473FC  inc si
473FD  inc di
473FE  mov al,es:[si]
47401  mov es:[di],al
47404  add si,004Eh
47407  add di,004Eh
4740A  dec cx
4740B  jne 473EEh
```

This is a tiny planar character/stamp mover, not a general blitter. It exists
because much of the main part is built from narrow strips and scripts rather
than full-screen redraws.

### Red Pulse

The routines at `4757Ch` and `47590h` animate DAC entry `E6h`:

```asm
4757C  mov dx,03C8h
4757F  mov al,E6h
47581  out dx,al
47582  inc dx
47583  mov al,[3F53h]
47586  out dx,al
47587  xor al,al
47589  out dx,al
4758A  out dx,al
4758B  inc byte [3F53h]

47590  ... same DAC index ...
47597  mov al,[3F53h]
4759A  out dx,al
4759B  xor al,al
4759D  out dx,al
4759E  out dx,al
4759F  dec byte [3F53h]
```

Only the red component changes. The green and blue components are zero. The
caller clamps this ramp at `3Fh` and `FFh` depending on which side of the
state machine is active.

## What Each Part Does

In execution terms, the production is a staged DOS process chain:

1. `LEASTER.COM` starts as an MZ executable despite the `.COM` extension,
   unpacks itself, prints the Sonic PC welcome/configuration UI, and records
   Sound Blaster choices.
2. `8).COM` is the small launcher/helper sidecar. It prints a wait/loading
   message, burns a few BIOS ticks, shrinks memory, and participates in the
   child handoff.
3. `JUSTDOIT.EXE` runs the first visual section: mode `13h`, palette upload,
   object/table updates, mirrored wipe, narrow bottom strip, raw keyboard hook.
4. `ROLLINS.EXE` runs the main section: STMIK setup if sound was configured,
   S3M data loading, unchained VGA, chunky-to-planar uploads, CRTC start
   motion, strip copies, scripted text/effect dispatch, palette-ring motion,
   and eventual text-mode exit.

The code is not a single polished engine yet. It reads like a first demo in a
good way: small hard-coded kernels, narrow state machines, a Borland loader
wrapped around handwritten VGA parts, and a large STMIK body embedded to solve
music playback while the visuals stay close to the hardware.

In the Sonic PC line this sits between two different kinds of ambition. `Sonic
Demo A` is earlier and more display-hardware-specific, with its 640x480 SVGA
banking path and `V001` container. `Late Easter '92` is less about one unusual
video mode and more about building a complete DOS demo chain: setup UI,
launcher helper, first VGA part, main VGA/music part, and shared data file.
That makes it a useful predecessor to `Delusion`, where the separate-process
shape is collapsed into a single self-loading overlay and an internal visible
timeline. `Plan-B` then pushes the compact-intro direction further with a
protected-mode shell and embedded Sonic Music System path.

The important continuity is practical rather than cosmetic: each step reduces
the amount of external orchestration. `Late Easter '92` still exposes the seams
between programs; `Delusion` hides the seams inside one overlay-driven EXE;
`Plan-B` hides even more inside the expanded 100K intro image.

## Reproduction Notes

- Static disassembly was performed on the original Hornet files and on UNP
  restored copies of the three packed MZ programs.
- No private contact/address/BBS material from the readme or runtime strings is
  reproduced here.
- The visual frame in this article is the public Pouet screenshot. The
  pipeline map is generated from local binary analysis.
