4.10 reconstruction: BTL4OPT.EXE links clean and BOOTS to the first staged brick
The reconstructed tree now produces a runnable binary with the authentic 1995 toolchain (BC4.52 / tlink32 / DPMI32): - BTL4.CPP main TU reconstructed from the 4.11 Ghidra decomp (FUN_0040109c) + the 4.10 binary's own string pool + surviving RPL4TOOL.CPP house style; probe_main.cpp scaffold retired (BTL4.NOTES.md documents every decoded call) - L4NET.CPP staged: L4NetworkManager ctor/dtor + 10 vtable-pulled virtuals (standalone-benign ones no-op, network ones Fail loudly) + NetNub client globals (Net_Common_Ptr=NULL routes L4File to its plain-DOS path) - build410.sh: libs now built in the AUTHENTIC makefile member order (MUNGA.MAK / mungal4.mak / BT.MAK / BTL4.MAK). Order is load-bearing: tlink emits static-init records in module pull order, and alphabetical order booted into a null-vptr crash (IcomManager::ClassDerivations constructing before parent NetworkClient::ClassDerivations). Also fixed stage_link to the proven 32-bit lib set (SOSDBXC+SOSMBXC, no WATTCPLG) - BOXTREE.HPP MemoryBlock unify, BTL4GRND notify stubs, remaining engine backfills (audio/gauge/resource/stream TUs) that closed the deep ledger Smoke test (DOSBox-X + 32RTM, copy of the pod BT tree, our exe swapped in): BattleTech v4.10 BTL4Application::BTL4Application l4net.cpp(22): L4NetworkManager -- l4net.cpp not yet reconstructed Static init, main, -egg parse, BTL4.RES load (version 1.0.6 check passes), ApplicationManager and the BTL4Application ctor chain all execute real reconstructed code; boot halts at the first staged Fail() as designed. Next brick: the real l4net.cpp body. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -27,3 +27,23 @@ BTCameraDirector::SharedData
|
||||
1,
|
||||
(Entity::MakeHandler)BTCameraDirector::Make
|
||||
);
|
||||
|
||||
BTCameraDirector::BTCameraDirector(
|
||||
MakeMessage *creation_message,
|
||||
SharedData &shared_data
|
||||
):
|
||||
CameraDirector(creation_message, shared_data)
|
||||
{
|
||||
Fail("BTCameraDirector -- btdirect.cpp not yet reconstructed");
|
||||
}
|
||||
|
||||
BTCameraDirector::~BTCameraDirector()
|
||||
{
|
||||
}
|
||||
|
||||
BTCameraDirector*
|
||||
BTCameraDirector::Make(CameraDirector::MakeMessage *)
|
||||
{
|
||||
Fail("BTCameraDirector::Make -- btdirect.cpp not yet reconstructed");
|
||||
return NULL;
|
||||
}
|
||||
|
||||
@@ -27,3 +27,23 @@ BTPlayer::SharedData
|
||||
1,
|
||||
(Entity::MakeHandler)BTPlayer::Make
|
||||
);
|
||||
|
||||
BTPlayer::BTPlayer(
|
||||
MakeMessage *creation_message,
|
||||
SharedData &shared_data
|
||||
):
|
||||
Player(creation_message, shared_data)
|
||||
{
|
||||
Fail("BTPlayer -- btplayer.cpp not yet reconstructed");
|
||||
}
|
||||
|
||||
BTPlayer::~BTPlayer()
|
||||
{
|
||||
}
|
||||
|
||||
BTPlayer*
|
||||
BTPlayer::Make(MakeMessage *)
|
||||
{
|
||||
Fail("BTPlayer::Make -- btplayer.cpp not yet reconstructed");
|
||||
return NULL;
|
||||
}
|
||||
|
||||
@@ -37,3 +37,20 @@ Mech::SharedData
|
||||
33,
|
||||
(Entity::MakeHandler)Mech::Make
|
||||
);
|
||||
|
||||
//
|
||||
//#############################################################################
|
||||
//#############################################################################
|
||||
//
|
||||
Mech*
|
||||
Mech::Make(MakeMessage *)
|
||||
{
|
||||
Fail("Mech::Make -- mech.cpp not yet reconstructed");
|
||||
return NULL;
|
||||
}
|
||||
|
||||
void
|
||||
Mech::SetMappingSubsystem(Subsystem *)
|
||||
{
|
||||
Fail("Mech::SetMappingSubsystem -- mech.cpp not yet reconstructed");
|
||||
}
|
||||
|
||||
@@ -0,0 +1,58 @@
|
||||
//===========================================================================//
|
||||
// File: mechmppr.cpp //
|
||||
// Project: BattleTech //
|
||||
// Contents: Implementation details for the mech controls mapper //
|
||||
//---------------------------------------------------------------------------//
|
||||
// Copyright (C) 1995, Virtual World Entertainment, Inc. //
|
||||
// All Rights reserved worldwide //
|
||||
// This unpublished sourcecode is PROPRIETARY and CONFIDENTIAL //
|
||||
//===========================================================================//
|
||||
|
||||
#include <bt.hpp>
|
||||
#pragma hdrstop
|
||||
|
||||
#if !defined(MECHMPPR_HPP)
|
||||
# include <mechmppr.hpp>
|
||||
#endif
|
||||
|
||||
Derivation
|
||||
MechControlsMapper::ClassDerivations(
|
||||
Subsystem::ClassDerivations,
|
||||
"MechControlsMapper"
|
||||
);
|
||||
|
||||
MechControlsMapper::SharedData
|
||||
MechControlsMapper::DefaultData(
|
||||
MechControlsMapper::ClassDerivations,
|
||||
Subsystem::MessageHandlers,
|
||||
Subsystem::AttributeIndex,
|
||||
1
|
||||
);
|
||||
|
||||
MechControlsMapper::MechControlsMapper(
|
||||
Mech *owner,
|
||||
int subsystem_ID,
|
||||
CString subsystem_name,
|
||||
RegisteredClass::ClassID class_ID,
|
||||
SharedData &shared_data
|
||||
):
|
||||
Subsystem(
|
||||
(Entity *)owner,
|
||||
subsystem_ID,
|
||||
subsystem_name,
|
||||
class_ID,
|
||||
shared_data
|
||||
)
|
||||
{
|
||||
Fail("MechControlsMapper -- mechmppr.cpp not yet reconstructed");
|
||||
}
|
||||
|
||||
MechControlsMapper::~MechControlsMapper()
|
||||
{
|
||||
}
|
||||
|
||||
Logical
|
||||
MechControlsMapper::TestInstance() const
|
||||
{
|
||||
return IsDerivedFrom(ClassDerivations);
|
||||
}
|
||||
@@ -27,3 +27,10 @@ Missile::SharedData
|
||||
1,
|
||||
(Entity::MakeHandler)Missile::Make
|
||||
);
|
||||
|
||||
Missile*
|
||||
Missile::Make(MakeMessage *)
|
||||
{
|
||||
Fail("Missile::Make -- missile.cpp not yet reconstructed");
|
||||
return NULL;
|
||||
}
|
||||
|
||||
@@ -27,3 +27,10 @@ Projectile::SharedData
|
||||
1,
|
||||
(Entity::MakeHandler)Projectile::Make
|
||||
);
|
||||
|
||||
Projectile*
|
||||
Projectile::Make(MakeMessage *)
|
||||
{
|
||||
Fail("Projectile::Make -- projtile.cpp not yet reconstructed");
|
||||
return NULL;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user