1
0
mirror of https://github.com/Tolik-Trek/DOOM2.git synced 2026-06-15 00:51:33 +03:00
DOOM2/Resources/tools/gen_d2_table/gen_d2_table.asm

20 lines
824 B
NASM
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

; =====================================================================
; Запуск генератора d2_table.tbl под sjasmplus (Lua 5.5), без эмулятора.
;
; sjasmplus --nologo Resources/tools/gen_d2_table/gen_d2_table.asm
;
; (запускать из КОРНЯ проекта — пути в .lua относительные)
; Z80-кода не производит: вся работа в Lua-блоке. Сравнение
; результата с Bin/d2_table.tbl печатается в консоль.
; =====================================================================
DEVICE NONE
LUA PASS1
local d = "Resources/tools/gen_d2_table/gen_d2_table.lua"
local chunk, err = loadfile(d)
if not chunk then sj.error("Lua load: " .. tostring(err)) return end
chunk()
ENDLUA
END