Bring the pod's 128x32 plasma readout in-fork, completing the self-contained
glass cockpit -- no vPLASMA process, no pipe.
- serialplasma.{cpp,h}: CSerialPlasma, a serial<n>=plasma backend that parses
the game's ESC P graphics stream (L4PLASMA streams whole changed rows;
receive-only, no replies) into a 128x32 1bpp framebuffer. Transcribed from
vPLASMA's PlasmaProtocol + VPlasmaDevice (graphics path); the factory
text-mode/fonts aren't used by the game and aren't rendered, but their escape
operands are still consumed so the parser can't desync. Seam PLASMA_GetFrame()
for the renderer.
- vpxlog.cpp: draw the framebuffer as an amber-on-black window in the explode
layout, lazily created once a plasma port exists, parked centered under the
lower-left MFD (VPX_PLASMA="x,y,w,h" overrides); WS_EX_NOACTIVATE so it can't
steal DOSBox focus.
- Register SERIAL_TYPE_PLASMA (serialport.h/.cpp, dosbox.cpp -- documented in
the vpx-device README step 3d, since those stock files live in the git-ignored
src tree).
- Confs: serial2 in the _rio confs + deploy templates switches from
namedpipe pipe:vplasma to the in-fork plasma.
Live-validated 2026-07-24. Real pods keep directserial realport:COM2; the
standalone vPLASMA app keeps namedpipe pipe:vplasma.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
66 lines
1.7 KiB
Plaintext
66 lines
1.7 KiB
Plaintext
# IN-FORK vRIO variant of net_loop_pipe.conf: the RIO cockpit board is emulated
|
|
# natively inside DOSBox-X (serial1=rio) and driven by an SDL game controller --
|
|
# no external vRIO process and no named pipe. Self-contained flyable cockpit.
|
|
# Everything else is identical to net_loop_pipe.conf (see it for the network /
|
|
# GO.BAT-loop rationale). The plasma readout stays on the vPLASMA pipe (optional;
|
|
# an unconnected pipe is just discarded). Real pods keep net_loop.conf
|
|
# (directserial realport:COM1); this file is dev / standalone only.
|
|
[sdl]
|
|
output=opengl
|
|
priority=highest,highest
|
|
[dosbox]
|
|
memsize=32
|
|
machine=svga_s3
|
|
[cpu]
|
|
core=dynamic
|
|
cputype=pentium
|
|
cycles=max
|
|
[ne2000]
|
|
ne2000=true
|
|
nicbase=340
|
|
# IRQ 10, NOT 3: COM2 (plasma) owns IRQ 3 in-game; see net_full.conf.
|
|
nicirq=10
|
|
backend=pcap
|
|
[ethernet, pcap]
|
|
realnic=F70BADD7A
|
|
[sblaster]
|
|
sbtype=sb16
|
|
sbbase=220
|
|
irq=5
|
|
dma=1
|
|
hdma=5
|
|
[mixer]
|
|
rate=44100
|
|
blocksize=1024
|
|
prebuffer=60
|
|
[joystick]
|
|
# the in-fork RIO owns the game controller (SDL); keep the DOS gameport +
|
|
# mapper auto-binding off so nothing else grabs the pad.
|
|
joysticktype=none
|
|
[serial]
|
|
# in-fork virtual RIO board on COM1 (pad:<n> and inverty are optional args)
|
|
serial1=rio
|
|
serial2=plasma
|
|
[autoexec]
|
|
mount c "C:\VWE\TeslaRel410\ALPHA_1"
|
|
mount d "C:\VWE\TeslaRel410\emulator\net-boot"
|
|
d:
|
|
echo === loading NE2000 packet-driver stack (pcap/bridge, port 340) ===
|
|
d:\lsl
|
|
d:\ne2000
|
|
d:\odipkt
|
|
c:
|
|
cd \rel410\bt
|
|
set VIDEOFORMAT=svga
|
|
set BLASTER=A220 I5 D1 H5 P330 T6
|
|
c:\sb16\diagnose /s
|
|
set BLASTER=A240 I7 D3 H6 P300 T6
|
|
c:\sb16\diagnose /s
|
|
set BLASTER=A220 I5 D1 H5 P330 T6
|
|
set TEMP=c:\
|
|
set HEAPSIZE=15000000
|
|
set L4GAUGE=640x480x16
|
|
call setenv.bat r f s p
|
|
echo === entering GO.BAT-style netnub loop (waits for console missions) ===
|
|
call d:\loop.bat
|