Analysis model: gpt-5.5 xhigh

A New BBS Intro (Anarchy Boards) by Anarchy PC - Technical Dissection

Release year: 1993.

A New BBS Intro (Anarchy Boards), also listed as BBS Intro (Anarchy Boards), is a December 1993 MS-DOS board-ad intro by Anarchy PC. Demozoo places it at The Party 1993, and Pouet lists it as an MS-DOS production from December 1993.

This is not claimed here as the missing Wildfire/Wildwire intro. It is included because it is a real late-1993 PC board-ad intro from the side trail, small enough to dissect tightly, and technically richer than the file size suggests: the release is a packed Borland C program with a custom LZ-style unpacker, GoldPlay music code, a ProTracker module appended after the MZ image, generated tables, unchained VGA pages, palette fades, RLE picture uploaders, and a scanline span filler.

Old private contact details in the bundled NFO and visible board-contact material are deliberately omitted.

A New BBS Intro welcome screen

Screenshot note: the image above is the public 320x200 screenshot from Pouet, copied locally as images/anarchy-bbs-intro-screenshot.png. A local DOSBox-X DX-CAPTURE attempt in this pass only captured the shell/setup path, not a useful runtime frame.

Runtime-To-Code Concordance

This page has a public screenshot rather than a successful local runtime capture. The concordance is therefore deliberately bounded: the Pouet still shows the board-ad welcome presentation, while the code analysis explains the loader, unchained VGA, palette, page, RLE upload, and span machinery capable of producing that class of screen. It should not be read as timestamped DOSBox-X evidence.

The public welcome screen sits after the packed MZ has become the restored Borland program. The entry stub at packed load 0xadee relocates the depacker, expands the 128,180-byte image, applies 157 relocation targets, and jumps to the restored 0000:0000 entry. The visible intro is therefore not the 4.5 KB-ish MZ stub; it is the larger recovered program plus the appended ProTracker/data tail beginning at file offset 0xb01c.

The show skeleton at expanded 0xc057 is the closest high-level match to the still. It stores the current mode, uses an early BIOS graphics mode, calls the first screen uploader at 0xc4c1, performs palette ramps through 0xb2d0 and 0xb404, then moves into the double-buffered animation path where page flag [12e8] alternates draw and visible pages around calls to 0xd354, 0xd365, 0xb61e, and 0xace5.

The 320x200 board-art look maps to the unchained VGA setup at 0xd3e7. The routine starts from BIOS mode 13h, clears chain-4 in Sequencer Memory Mode, adjusts CRTC registers 14h and 17h, and clears the planar aperture through 0xd330 with map mask 0f02h. That explains why later code can treat the screen as four 16,000-byte planes rather than one simple linear 64,000-byte framebuffer.

The still's logo/panel material is consistent with the paired RLE upload paths. 0xc44c writes (value,count) streams into a single 16,000-byte plane-sized buffer, while 0xc480 cycles the Sequencer Map Mask through 1, 2, 4, and 8 so one RLE stream naturally deinterleaves into all four VGA planes. The article's recovered call sites, 0xc4c1 and 0xc501, pair palette sources with plane streams and line up with the board-ad image/screens named in the visual discussion.

Color in the screenshot ties to the direct DAC helpers rather than to BIOS palette services. The fade-out path around 0xb35e decrements current palette bytes, waits on 03DAh, and writes RGB triples through 03C8h/03C9h; the fade-in path at 0xb404 steps a second palette toward the target table at 0x12e9; and the 0xb4c6/0xb534 single-color helpers adjust DAC entry 0xfe for accent/highlight use. Those paths explain the bright board-list and logo accents in the public still.

The code underneath is more than a static screen viewer. 0xd414 changes the draw-page segment among A000h, A400h, A800h, and related pages, while 0xd425 writes the CRTC start address and waits on 03DAh before returning. That page machinery is why the main loop can prepare a frame off-screen and then reveal it cleanly.

The filled graphical shapes use the scanline span filler at 0xd45a. It reads left/right edge tables at 0x0a18 and 0x0ba6, converts x coordinates to planar byte positions with shr x,2, builds left and right partial-byte map masks, writes full middle bytes with map mask 0fh, and advances by a 320-byte scanline stride. The public still only shows one board-ad state, but this filler is the recovered mechanism for the smoother filled/panel animation claimed by the intro.

The local capture failure remains important: the attempted DOSBox-X run stopped on the shell/setup path, so there are no trustworthy local timestamps for these visual stages. The screenshot-to-code mapping here is a bounded evidence bridge from the public 320x200 still to recovered code paths, not a replacement for a successful playback capture.

Public References

Demozoo identifies the production as an Anarchy PC intro released in December 1993 at The Party 1993. Pouet identifies it as an MS-DOS board-ad intro from December 1993. The bundled FILE_ID.DIZ says it was released at The Party III on 27-28 December 1993.

Examined Package

The raw Scene.org archive metadata observed for this pass:

content-type: application/zip
content-length: 170571
last-modified: Wed, 05 Jan 1994 08:00:00 GMT

Archive hashes:

0541c2309184477fab766f66025bd80a66294bbd67c31ddf7d465989ae25f992  bbsintro.zip
34d9c90a6c3c1ddbb1897a5f55ca4bf9870c6ee0f579eb9b13caa69f222f5bb9  a_bbsintro.zip

The two ZIP files differ only as ZIP containers. They carry the same payload files:

378228646ff3abeac578c056308523a2d3dc7ed692311fdb211187beb49bdaf5  BBSINTRO.EXE
bf273fb771df4955b3900f28ad378b512f89d9f7d90bad341be5238951311962  BBSINTRO.NFO
7cce8bb2565bf48ad26593af84870d79d1d5f88f84a47d990b20a1e0434b843d  FILE_ID.DIZ

ZIP contents:

Length   Date        Time   Name
4775     1993-12-17  14:52  BBSINTRO.NFO
279      1993-12-12  14:35  FILE_ID.DIZ
234960   1993-12-14  18:03  BBSINTRO.EXE

The NFO credits code to RAC and 6809E, graphics/design to Hydra, music to NHP and BKH, and the music system to The Code Blasters. It gives the hardware target as 386/486, VGA, and Sound Blaster/SB Pro/speaker-class output.

Top-Level File Shape

BBSINTRO.EXE is a normal MZ executable, but the MZ image is only the packed program. A much larger data tail starts immediately after the declared image:

file size                  234960 bytes
MZ declared image           45084 bytes
MZ header                      32 bytes
packed load image           45052 bytes
appended tail              189876 bytes
relocation records              0
entry CS:IP             0ade:000e
entry file offset           0xae0e
stack SS:SP             1f7f:0080
minalloc/maxalloc       14aa/ffff

The appended tail begins exactly at file offset 0xb01c, which is also where the embedded ProTracker module title begins. The MZ loader does not load that tail automatically; the restored program has to open/read its own executable or use file-position logic to consume it.

The split hashes used below:

daea7a42c02d2fcfa8cda721d12846deace45802362dca654b421c7bbcecbfa3  packed load image
670722cf5f768623c568b4eb780ed54c02be5bd6184fe8334ee751d7aa52ee9d  appended tail

Appended Music Tail

The appended tail is a 4-channel ProTracker module followed by additional non-module data:

tail offset in EXE      0xb01c
module title            Epsonic   nhp bkh
M.K. signature          tail+0x438, file+0xb454
song length             50 patterns/orders
sample bytes            145784
module byte span        146868 bytes
tail bytes after module  43008 bytes

Representative module sample names and sizes:

1   Anarchy in 1992       3080 bytes
3   Composed by           7306 bytes
4   Nhp and bkh           1790 bytes
6   All samples from      9414 bytes
7      korg t3            1462 bytes

The sample names identify the music as Epsonic by NHP/BKH and tie it to the NFO credits. The 43,008 bytes after the estimated module span are not a normal ProTracker payload. In the restored program, the visible board text is not found as plain ASCII strings in the executable, so the remaining tail is likely part of the picture/font/board-data stream rather than simple copied text.

Packed Stub

The EXE entry lands at packed load offset 0xadee, near the end of the MZ load image. That code is not Borland startup. It is a self-relocating depacker.

Important stub data in the packed load image:

load+0xade0  far entry pointer for restored program: 0000:0000
load+0xade4  restored SP: 0080
load+0xade6  restored SS: 168b
load+0xade8  move paragraph count: 0adeh
load+0xadea  high packed-source segment delta: 147fh
load+0xadec  relocated-stub byte count: 021ch
load+0xaf38  relocation delta table

The first step copies the 540-byte stub itself upward:

adee  push es
adef  push cs
adf0  pop  ds
adf1  mov  cx,[000c]      ; 021ch bytes
adf5  mov  si,cx
adf7  dec  si
adf8  mov  di,si
adfa  mov  bx,ds
adfc  add  bx,[000a]      ; add 147fh paragraphs
ae00  mov  es,bx
ae02  std
ae03  rep  movsb          ; copy stub from old CS:0 to high CS:0
ae05  push bx
ae06  mov  ax,002bh
ae09  push ax
ae0a  retf                ; continue in relocated copy at offset 002bh

The second step moves the packed body upward in paragraph-sized chunks so that the low load base can be overwritten by decompressed output:

ae0b  mov  bp,cs:[0008]   ; 0adeh paragraphs
ae10  mov  dx,ds          ; original CS, i.e. load base + 0adeh
ae12  mov  ax,bp
ae14  cmp  ax,1000h
ae17  jbe  ae1c
ae19  mov  ax,1000h       ; move at most 64 KiB per pass
ae1c  sub  bp,ax
ae1e  sub  dx,ax
ae20  sub  bx,ax
ae22  mov  ds,dx
ae24  mov  es,bx
ae26  mov  cl,03h
ae28  shl  ax,cl
ae2a  mov  cx,ax          ; words to copy
ae2c  shl  ax,1
ae2e  dec  ax
ae2f  dec  ax
ae30  mov  si,ax
ae32  mov  di,ax
ae34  rep  movsw
ae36  or   bp,bp
ae38  jne  ae12

For this file, the move puts the compressed stream at normalized segment 147f: and decompresses into normalized segment 0000:.

Decompression Inner Loop

The decompressor is a compact LZ variant. It keeps a 16-bit bit bucket in BP, the remaining bit count in DX, the compressed input at DS:SI, and output at ES:DI.

The bit reader is inlined everywhere:

ae49  shr  bp,1
ae4b  dec  dx
ae4c  jne  have_bit
ae4e  lodsw
ae4f  mov  bp,ax
ae51  mov  dl,10h
have_bit:

Top-level token dispatch:

ae53  jae  not_literal
ae55  movsb               ; bit 1: copy one literal byte
ae56  jmp  ae49

ae58  xor  cx,cx          ; bit 0: copy from already written output

There are three copy forms:

  1. Short back-reference. After the leading zero, two more bits form a length in the range 2..5. The next byte is a negative displacement in 0xff00..0xffff.
ae70  rcl  cx,1           ; first length bit
ae7c  rcl  cx,1           ; second length bit
ae7e  inc  cx
ae7f  inc  cx             ; length = two-bit-value + 2
ae80  lodsb
ae81  mov  bh,ffh
ae83  mov  bl,al          ; BX = negative 8-bit distance
  1. Long back-reference. The next word supplies both distance and length. The high byte is shifted down and ORed with e0h, keeping it negative; the low three high-byte bits become the length code.
ae88  lodsw
ae89  mov  bx,ax
ae8b  mov  cl,03h
ae8d  shr  bh,cl
ae8f  or   bh,e0h         ; negative window distance
ae92  and  ah,07h
ae95  je   extended
ae97  mov  cl,ah
ae99  inc  cx
ae9a  inc  cx             ; length = low3bits + 2
  1. Extended form. A zero length code consumes one more byte. 0 terminates the stream, 1 performs a segment slide, and all other values encode length as AL + 1.
aea3  lodsb
aea4  or   al,al
aea6  je   finished
aea8  cmp  al,01h
aeaa  je   slide_segments
aeac  mov  cl,al
aeae  inc  cx             ; length = AL + 1

The shared copy loop is byte-for-byte simple:

ae9b  mov  al,es:[bx+di]
ae9e  stosb
ae9f  loop ae9b
aea1  jmp  ae49

Because the source and destination share ES, overlapping copies work the same way as classic LZSS: each byte just written can immediately become the next source byte.

The segment-slide token keeps the decompressor working after 64K offset wrap:

aeb1  mov  bx,di
aeb3  and  di,000fh
aeb6  add  di,2000h
aeba  mov  cl,04h
aebc  shr  bx,cl
aebe  mov  ax,es
aec0  add  ax,bx
aec2  sub  ax,0200h
aec5  mov  es,ax

aec7  mov  bx,si
aec9  and  si,000fh
aecc  shr  bx,cl
aece  mov  ax,ds
aed0  add  ax,bx
aed2  mov  ds,ax

For this executable the recovered statistics were:

literal tokens            18076
copy tokens               11596
short copies               5472
long copies                3949
extended copies            2175
segment-slide tokens          3
expanded byte span       128180
expanded image sha256    1146c84862e41ecf62597201e0df62e48faab66b5b5a81a686fcb4582540ea58

Relocation Pass

After the end marker, the stub walks the relocation delta table at relocated stub offset 0x158, which corresponds to original packed-load offset 0xaf38.

The table is byte/dword mixed:

aedc  push cs
aedd  pop  ds
aede  mov  si,0158h       ; relocation table
aee1  pop  bx             ; original PSP segment from the entry stack
aee2  add  bx,0010h       ; DOS load segment
aee5  mov  dx,bx
aee7  xor  di,di

aee9  lodsb
aeea  or   al,al
aeec  je   wide_code
aeee  mov  ah,00h
aef0  add  di,ax          ; byte delta
...
aeff  add  es:[di],bx     ; patch segment word
af02  jmp  aee9

af04  lodsw
af05  or   ax,ax
af07  jne  not_segment_marker
af09  add  dx,0fffh       ; table marker: advance target segment
af0d  mov  es,dx
af0f  jmp  aee9

af11  cmp  ax,0001h
af14  jne  aef0           ; word delta

The terminator word 0001h transfers into the restored program:

af16  mov  ax,bx
af18  mov  di,cs:[0004]   ; restored SP = 0080
af1c  mov  si,cs:[0006]   ; restored SS = 168b
af20  add  si,ax
af22  add  cs:[0002],ax   ; far-entry segment += load segment
af26  sub  ax,0010h       ; DS/ES = PSP segment
af29  mov  ds,ax
af2b  mov  es,ax
af2d  xor  bx,bx
af2f  cli
af30  mov  ss,si
af32  mov  sp,di
af34  sti
af35  jmp  far cs:[bx]    ; restored entry 0000:0000

The recovered relocation table has 157 target words and consumes 0xc4 bytes. In the normalized unpacked image the far entry is 0000:0000; at runtime the stub adds the DOS load segment to the segment half before jumping.

Restored Runtime Startup

The first restored code at expanded offset 0x0000 is now recognizable as Borland real-mode startup:

0000  mov  dx,107fh
0003  mov  cs:[02c4],dx
0008  mov  ah,30h
000a  int  21h            ; DOS version
000c  mov  bp,[0002]
0010  mov  bx,[002c]      ; environment segment
0014  mov  ds,dx          ; Borland data segment
0016  mov  [0092],ax
0019  mov  [0090],es
001d  mov  [008c],bx
0021  mov  [00a8],bp
0025  call 01b0           ; save vectors/install error trap

The startup code:

The restored strings confirm the toolchain and audio library:

expanded+0x108f4  Borland C++ - Copyright 1991 Borland Intl.
expanded+0x16933  GoldPlay ver 1.00
expanded+0x16946  (C)opyright 1992 The CodeBlasters
expanded+0x16967  Coded By Sourcer

GoldPlay setup text offers NoSound, Covox/Soundplayer, and Sound Blaster IRQ choices. In the real intro path, this is the audio-selection layer above the embedded ProTracker module.

Main Show Skeleton

The most useful recovered show body starts around expanded offset 0xc057. It stores the current video mode, switches to BIOS mode 0Eh briefly, calls intro display helpers, then later switches to unchained VGA mode via the helper at 0xd3e7.

Selected flow, with far calls converted to normalized flat offsets:

c057  mov  word [0a16],a000h
c05d  mov  ax,0f10h
c060  int  10h            ; AH=0Fh, get current mode; AL is saved
c065  mov  ax,000eh
c068  int  10h            ; early BIOS graphics mode

c06a  push 0030h
c06d  call b2d0           ; palette fade helper
c073  call c4c1           ; first RLE/screen upload helper
c078  push [5d10]
c07d  call b404           ; palette ramp toward target

c089  call d006           ; frame/wait tick
c08e  inc  [12da]
c092  cmp  [12da],005ah
c097  jl   c089           ; wait about 90 ticks in this phase

After several screen uploads and palette ramps, the loop enters a double-buffer animation section:

c0f2  mov  al,[12e8]
c0f6  call d354           ; select draw page
c101  call d365           ; select visible page

c10a  mov  [12ca],0000h
c110  push 0001h
c112  call d354
c11a  mov  [0a0a],0019h   ; y0
c120  mov  [0a0c],0032h   ; y1
...
c171  mov  al,1
c173  sub  al,[12e8]
c177  mov  [12e8],al      ; toggle page flag
c17b  call d354           ; draw into new page
c18c  call b61e           ; parameterize object motion
c197  call ace5           ; transform/draw
c1a1  call d365           ; show page
c1a9  inc  [12d8]
c1ad  cmp  [12d8],0050h
c1b2  jl   c171

The timing constants are plain and useful:

The local DX-CAPTURE attempt did not produce visual frame timestamps, so the article does not claim exact effect times. It does, however, identify the frame counter constants that drive the sequence.

VGA Mode Setup

The mode setup at 0xd3e7 starts with BIOS mode 13h and then changes VGA registers into an unchained planar layout:

d3e7  mov  ax,0013h
d3ea  int  10h

d3ec  mov  dx,03c4h
d3ef  mov  al,04h
d3f1  out  dx,al
d3f2  inc  dx
d3f3  in   al,dx
d3f4  and  al,0f7h        ; clear chain-4
d3f6  or   al,04h
d3f8  out  dx,al

d3f9  mov  dx,03d4h
d3fc  mov  al,14h
d3fe  out  dx,al
d3ff  inc  dx
d400  in   al,dx
d401  and  al,0bfh        ; clear doubleword/word addressing bit
d403  out  dx,al

d404  mov  dx,03d4h
d407  mov  al,17h
d409  out  dx,al
d40a  inc  dx
d40b  in   al,dx
d40c  or   al,40h
d40e  out  dx,al
d410  call d330           ; clear planes

The clear helper uses sequencer map-mask 0f02h and zero-fills A000:

d330  mov  dx,03c4h
d333  mov  ax,0f02h       ; index 2, enable all four planes
d336  out  dx,ax
d338  mov  ax,0a000h
d33b  mov  es,ax
d33d  xor  di,di
d33f  xor  ax,ax
d341  mov  cx,0fa00h
d344  rep  stosw

This is the familiar Mode-X-family trick: begin from 320x200x256, unchain the planes, and use the sequencer map mask to choose which plane receives each byte.

Page Selection And Retrace

The page/draw helpers use two different ideas:

  1. A draw-page helper changes the segment word of a far pointer so drawing can target a000, a400, a800, and so on.
  2. A visible-page helper writes the CRTC start address and optionally waits for vertical retrace.

Draw page at 0xd414:

d414  mov  cl,[bp+06]
d41a  mov  al,04h
d41c  mul  cl
d41e  or   al,0a0h
d420  mov  [0a17],al      ; word [0a16] becomes a000/a400/a800/...

Visible page with retrace wait at 0xd425:

d425  mov  cl,[bp+06]
d42b  mov  al,40h
d42d  mul  cl
d42f  mov  ah,al          ; CRTC start high byte
d431  mov  dx,03d4h
d434  mov  al,0ch
d436  out  dx,ax

d437  mov  dx,03dah
d43a  in   al,dx
d43b  test al,08h
d43d  je   d43a           ; wait until in retrace
d43f  in   al,dx
d440  test al,08h
d442  jne  d43f           ; wait until retrace ends

The non-waiting variant at 0xd446 writes the same CRTC start high byte and returns immediately. The main loop uses these page functions around object draw calls, so the visible frame changes only after the new page is prepared.

Palette Paths

The palette helpers use the VGA DAC at 3c8h/3c9h and wait on 3dah to pace visible changes.

One fade-out helper at 0xb35e decrements target palette bytes, waits for one vertical retrace, then writes triples to the DAC:

b37d  xor  cx,cx
b37f  mov  si,12e9h
b387  cmp  byte [si],01h
b38a  jb   zero_it
b38c  mov  al,[si]
b38e  add  al,ffh         ; decrement by one
b390  mov  [si],al
...
b3a5  mov  dx,03dah
b3a8  in   al,dx
b3a9  test al,08h
b3ab  je   b3a8
b3ad  in   al,dx
b3ae  test al,08h
b3b0  jne  b3ad

b3b8  push 0000h
b3ba  push 03c8h
b3be  call b2c4           ; select DAC index
b3cb  mov  dx,03c9h
b3ce  mov  al,[bx+12e9h]
b3d2  out  dx,al          ; red
b3d4  mov  al,[bx+12e9h]
b3d8  out  dx,al          ; green
b3da  mov  al,[bx+12e9h]
b3de  out  dx,al          ; blue

The fade-in helper at 0xb404 builds a second palette at 0x15e9, incrementing each channel toward the target palette at 0x12e9. The single-color helper at 0xb4c6/0xb534 adjusts only DAC entry 0xfe, which is used as a highlight or border-like accent color during the animation.

RLE Screen Uploads

Two related routines upload compressed image data into VGA memory.

The simple RLE uploader at 0xc44c reads (value,count) pairs and writes the same value repeatedly:

c44c  push si
c451  push ds
c452  push cs
c453  pop  ds
c454  xor  di,di
c456  shr  cx,1
c458  mov  ax,0a000h
c45b  mov  es,ax
...
c462  mov  al,[si]        ; value
c464  inc  si
c465  mov  bl,[si]        ; run count, stored as count-1
c467  mov  es:[di],al
c46a  inc  di
c46b  dec  bl
c46d  cmp  bl,ffh
c470  jne  c467
c472  inc  si
c473  cmp  di,3e80h
c477  jb   c462

The limit 0x3e80 is 16,000 bytes. In an unchained four-plane 320x200 screen, one plane for the full screen is 320*200/4 = 16,000 bytes. So this routine loads one plane-sized image stream.

The planar RLE uploader at 0xc480 cycles the VGA map mask through planes and increments the byte offset only after four plane writes:

c483  mov  dx,03c4h
c486  mov  al,02h
c488  out  dx,al
c489  inc  dx             ; now 3c5h, map mask data port
c48a  xor  cx,cx          ; CL = plane number 0..3
...
c498  mov  ah,[si]        ; value
c49b  mov  ch,[si]        ; run count
c49d  mov  al,01h
c49f  shl  al,cl          ; map mask: 1,2,4,8
c4a1  out  dx,al
c4a2  mov  es:[di],ah
c4a5  inc  cl
c4a7  cmp  cl,04h
c4aa  jb   same_address
c4ae  xor  cl,cl
c4b0  inc  di             ; advance after all four planes
c4b1  dec  ch
c4b3  cmp  ch,ffh
c4b6  jne  c49d

That is a clean planar decode loop. The compressed stream is still byte-run RLE, but the output is naturally deinterleaved into VGA planes by changing the map mask instead of rearranging source data first.

The show uses these uploaders in pairs:

c4c1  palette source 6810h, plane stream 2d50h, then 32b0h
c501  palette source 6b10h, plane stream 35c0h, then 3ac0h

Those offsets line up with the welcome/logo style visible in the public screenshot.

Scanline Span Filler

The central filled-shape primitive starts at 0xd45a. It consumes per-scanline left/right edge tables at 0x0a18 and 0x0ba6. The row range is controlled by [0a0a] and [0a0c].

The routine first converts a scanline number to an unchained VGA byte offset:

d475  dec  ax             ; y - 1
d476  mov  [0303],ax
d47b  mov  ax,0140h
d47e  mul  word [0303]    ; 320 * (y-1)
d482  mov  [0305],ax

For each row it loads the left and right x edges:

d499  mov  dx,[bx+0a18h]  ; left edge
d49d  mov  cx,[bx+0ba6h]  ; right edge
d4a1  mov  [02fd],dx
d4a5  mov  [02ff],cx

It converts pixel x coordinates to planar byte offsets by shifting by two:

d4a9  mov  ax,[0305]
d4ac  add  ax,dx
d4ae  shr  ax,02h
d4b1  mov  di,ax
d4b3  shr  cx,02h
d4b6  shr  dx,02h
d4b9  sub  cx,dx
d4bb  mov  [0301],cx      ; full middle byte count

The hard part is left/right partial bytes. If both edges land in the same VGA byte, it builds one combined mask:

d4c3  mov  ax,[02ff]
d4c6  mov  dx,[02fd]
d4ca  sub  ax,dx
d4cc  inc  ax
d4cd  mov  cl,04h
d4cf  sub  cl,al
d4d1  mov  dl,0fh
d4d3  shr  dl,cl
d4d5  mov  ax,[02fd]
d4d8  and  al,03h
d4da  mov  cl,al
d4dc  shl  dl,cl
d4de  mov  [02ea],dl
d4e2  mov  byte [02fa],00h

If the row spans more than one VGA byte, it builds a left mask and a right mask:

d4ea  dec  word [0301]
d4ee  mov  ax,[02fd]
d4f1  and  al,03h
d4f3  mov  cl,al
d4f5  mov  al,0fh
d4f7  shl  al,cl
d4f9  mov  [02ea],al      ; left partial mask

d4fc  mov  ax,[02ff]
d4ff  and  al,03h
d501  mov  cl,03h
d503  sub  cl,al
d505  mov  al,0fh
d507  shr  al,cl
d509  mov  [02fa],al      ; right partial mask

The actual fill loop is then just map-mask writes and repeated stores of one color byte from [0d34]:

d50c  mov  dx,03c5h
d50f  mov  al,[02ea]
d512  out  dx,al
d513  mov  al,[0d34]
d516  stosb               ; left partial

d517  mov  cx,[0301]
d51b  mov  al,0fh
d51d  out  dx,al
d51e  mov  al,[0d34]
d521  rep  stosb          ; full middle bytes, all four planes

d523  mov  al,[02fa]
d526  out  dx,al
d527  mov  al,[0d34]
d52a  stosb               ; right partial

Then it advances one scanline:

d52b  mov  ax,[0303]
d52e  add  word [0305],0140h
d534  cmp  ax,[0a0c]
d538  jb   d48b

This is exactly the kind of loop that makes a small 1993 PC intro feel smoother than a pure BIOS/putpixel program. It amortizes horizontal spans by writing whole VGA bytes with map mask 0fh and only pays per-plane masking at the two ends of each row.

Edge Table Reset

The helper at 0xd53e initializes edge limits for a row range:

d53e  mov  cx,[0a0c]
d542  sub  cx,[0a0a]
d546  inc  cx
d547  mov  bx,[0a0a]
d54b  shl  bx,1
d54d  mov  ax,ffffh
d550  mov  dx,7d00h
d553  mov  [bx+0a18h],dx  ; left starts very high
d557  mov  [bx+0ba6h],ax  ; right starts -1
d55b  add  bx,2
d55e  loop d553

Other line/edge routines update these tables before 0xd45a fills them. The fill path itself never computes polygon intersections; it trusts the left/right tables and concentrates on fast planar output.

Transform / Motion Math

The animated object parameter helpers use 386-size arithmetic in real mode. 0xb61e chooses a phase from the frame counter and indexes 32-bit sine/cosine tables around 0x18ec and 0x2430:

b62a  movsx eax,word [bp+08]
b62f  mov   ebx,00000168h
b635  cdq
b637  idiv  ebx
b63a  shl   dx,02h
b63d  mov   bx,dx
b63f  mov   eax,[bx+2430h]
b644  imul  eax,eax,ffffff92h
b648  sar   eax,08h
b64c  mov   dx,[0d74h]
b650  add   dx,ax
b652  add   dx,006eh
b655  mov   [0d6c],dx

0xb673 derives three wrapped phase indices from the frame counter:

b68e  movsx eax,word [bp+08]
b697  imul  eax,eax,00000003h
b69b  mov   ebx,00000168h
b6a3  idiv  ebx
b6a6  mov   [0d3e],dx

b6aa  mov   eax,[bp-04]
b6ae  shl   eax,1
b6b3  idiv  ebx
b6b6  mov   ax,0168h
b6b9  sub   ax,dx
b6bb  mov   [0d40],ax

b6be  mov   eax,[bp-04]
b6c4  idiv  ebx
b6c7  mov   [0d42],dx

The draw helper at 0xace5 multiplies table values into a small matrix:

acea  mov  si,[bp+06]
aced  mov  bx,[0d42]
acf1  shl  bx,02h
acf4  mov  eax,[bx+18ech]
acfd  mov  bx,[0d40]
ad00  imul eax,[bx+18ech]
ad06  sar  eax,08h
ad0a  mov  [0d58],ax
...
ad5d  imul eax,[bx+2430h]
ad63  sar  eax,10h
ad7a  imul edx,[bx+18ech]
ad80  sar  edx,08h
ad84  sub  ax,dx
ad86  mov  [0d5e],ax

This is not FPU code despite the odd int 34h/35h/39h/3bh bytes elsewhere in the disassembly. The meaningful transform path is 386 integer math with operand-size prefixes, table lookups, multiplies, and shifts.

Runtime Capture Attempt

Command used for the local capture attempt:

DOSBox-X version 2026.01.02
SDL_VIDEODRIVER=dummy
DX-CAPTURE /V /-A /-M RUN.BAT

RUN.BAT invoked BBSINTRO.EXE < KEYS.TXT with a short sequence of 0 inputs. DOSBox-X produced a 720x400 AVI of about 2.95 seconds, but the extracted frames remained on the DOSBox-X shell/command screen:

command_000.avi
width=720
height=400
duration=2.953489
nb_frames=207

Because that capture did not reach the visual intro, this article does not use it as visual evidence and does not infer effect timestamps from it.

What The Intro Is Doing

At a high level:

  1. DOS loads a small packed MZ image.
  2. The entry stub relocates itself, moves the packed stream upward, expands a 128,180-byte Borland real-mode program, applies 157 relocations, restores the original stack, and jumps to 0000:0000.
  3. Borland startup saves vectors, resizes memory, clears BSS, and calls initializer lists.
  4. GoldPlay/The Code Blasters setup handles music-device selection and module playback.
  5. The program reads or otherwise consumes the appended ProTracker/data tail after the MZ image.
  6. The visual code uses BIOS graphics briefly, then switches to mode 13h and unchains VGA memory into a planar Mode-X-like layout.
  7. Image screens are uploaded from compact RLE streams using either one-plane or per-plane map-mask decoders.
  8. Palette fades are synchronized to vertical retrace and use direct DAC writes.
  9. The main animation double-buffers by changing draw segments and the CRTC start address.
  10. Filled shapes are rendered through per-scanline edge tables and a fast planar span filler.

The public screenshot matches that structure: a board-ad welcome screen with a logo panel, board names, and bright palette accents. The code underneath is more advanced than a static advert viewer; it carries enough custom VGA and integer-transform machinery to animate its board-list presentation cleanly on a 386-class PC.