Dark Byte Site Admin
Reputation: 474
Joined: 09 May 2003 Posts: 25947 Location: The netherlands
|
Posted: Fri Jun 05, 2026 4:49 pm Post subject: Dosbox base finder |
|
|
This script will register the base address of the emulated memory in dosbox. Version independent. Works on windows and linux
| Code: |
local ms=createMemScan()
ms.ScanValue='IBM COMPATIBLE'
ms.VarType=vtString
ms.ScanWritable='scanInclude'
ms.ScanExecutable='scanExclude'
ms.ScanCopyOnWrite='scanExclude'
ms.scan()
local r=ms.Results
ms.destroy()
if #r==1 then
registerSymbol('base',r[1]-0xfe00e)
else
--needs more refining
print("needs more refining")
end
--scan for "IBM COMPATIBLE"
|
_________________
Tools give you results. Knowledge gives you control.
Like my help? Join me on Patreon so i can keep helping |
|