Console queues a mission -> egg over the wire -> pod loads + runs it -> all
cockpit heads render -> mission ends on the console timer. Four fixes:
1. ne2000.cpp: don't BX_PANIC on the TCR inhibit-CRC / auto-tx-disable bits.
A full production boot runs the packet driver's internal loopback
self-test, which sets those bits; Bochs' NE2000 aborted the whole
emulator. Record them in TCR state instead (harmless for an emulated NIC;
pcap/host does framing+CRC). Also fixes a latent coll_prio bit-4 vs bit-3
round-trip bug. Committed copy in vpx-device/.
2. Confirmed the mission-load page fault (00FF:219D) was RIO-OFF; booting
with the RIO live (net_full.conf) loads and runs the mission cleanly.
3. net_loop.conf + net-boot/loop.bat: GO.BAT-style loop so the pod stays
connected to the console and picks up missions as they're queued (the
real pod relaunches netnub after each mission/idle disconnect).
4. HEADLINE: blank MFD/radar heads were an I/O port collision. The VDB
video splitter is hardwired at 0x300-0x31A (palettes 0x300/0x308/0x310);
the NE2000 at nicbase=300 swallowed the game's VDB palette writes ->
vdb_pal stayed zero -> pal_draw decoded every head to black. Same VDB
spam corrupted NIC RX, dropping the console EndMission (mission overran
its timer). Fix: move the NIC to 0x340 (DOSBox nicbase=340 + DOS NET.CFG
PORT 340; must agree). VDB keeps 0x300. Config-only, no rebuild.
Adds: net_full.conf, net_loop.conf, net-boot/ (ODI drivers, NET.CFG@340,
loop.bat, README), vpx-device/{ne2000,ethernet_pcap}.cpp; updates NET-NOTES.md.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
70 lines
1.8 KiB
Plaintext
70 lines
1.8 KiB
Plaintext
# Networked pod boot (single mission, then DOS pause).
|
|
# Console (SheepShaver) pushes the mission egg over TCP 1501; pod runs it.
|
|
# RIO on COM1 + dual AWE32 sound (host env VWE_AWE32=1 + VWE_AWE_ROM=<rom>).
|
|
#
|
|
# CRITICAL: NE2000 is at nicbase=340, NOT 300 -- the VDB video splitter board
|
|
# is hardwired at 0x300-0x31A (palettes 0x300/0x308/0x310). nicbase=300 makes
|
|
# the NIC swallow the game's VDB palette writes -> all MFD/radar heads decode
|
|
# to black AND corrupts NIC RX (console EndMission lost, mission overruns its
|
|
# timer). net-boot/NET.CFG must match (PORT 340). VDB stays at 0x300.
|
|
#
|
|
# Launch (host env): VPXLOG, VPX_RESPOND=1, VPX_RENDER=1, VPX_DUMPDIR,
|
|
# RIO_TAP, VWE_AWE32=1, VWE_AWE_ROM, and C:\Windows\System32\Npcap on PATH.
|
|
# pcap realnic must be the bridge miniport (see NET-NOTES.md).
|
|
[sdl]
|
|
output=opengl
|
|
priority=highest,highest
|
|
[dosbox]
|
|
memsize=32
|
|
machine=svga_s3
|
|
[cpu]
|
|
core=dynamic
|
|
cputype=pentium
|
|
cycles=max
|
|
[ne2000]
|
|
ne2000=true
|
|
nicbase=340
|
|
nicirq=3
|
|
backend=pcap
|
|
[ethernet, pcap]
|
|
realnic=DB5521D
|
|
[sblaster]
|
|
sbtype=sb16
|
|
sbbase=220
|
|
irq=5
|
|
dma=1
|
|
hdma=5
|
|
[mixer]
|
|
rate=44100
|
|
blocksize=1024
|
|
prebuffer=60
|
|
[serial]
|
|
serial1=directserial realport:COM1 rxpollus:100 rxburst:16
|
|
serial2=disabled
|
|
[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 s s g
|
|
echo === launching game via NetNub (RIO + sound; no -egg; waits for console) ===
|
|
32rtm.exe -x
|
|
netnub -p -f btl4opt > nn.log
|
|
32rtm.exe -u
|
|
echo === NET-RUN-DONE ===
|
|
pause
|