ich hab ein Branch für den OpenWatcom V2 DOS gen.exe built aufgesetzt und meine ersten Änderungen gepusht (noch nicht PR ready)
https://github.com/LowLevelMahn/BrightEy...tcom_build
relativ liebevoll die Änderungen eingebracht - vielleicht mag ja jemand mit drauf schauen - ich weiss noch gar nicht so genau wie ich testen kann ob das Ergebnis dann auch richtig läuft
das sind noch Kompilierfehler
beim Linken bin ich noch nicht
mein bisheriges Build-Script (build_ow2.bat) liegt so im Repo
https://github.com/LowLevelMahn/BrightEy...tcom_build
relativ liebevoll die Änderungen eingebracht - vielleicht mag ja jemand mit drauf schauen - ich weiss noch gar nicht so genau wie ich testen kann ob das Ergebnis dann auch richtig läuft
das sind noch Kompilierfehler
Code:
CDA_CODE.C(493): Warning! W131: No prototype found for function 'harderr'
CDA_CODE.C: 515 lines, included 3250, 1 warnings, 0 errors
NGEN.C(1965): Error! E1151: Parameter count does not agree with previous definition
NGEN.C(1965): Note! N2002: 'mouse_isr' defined in: NGEN.C(1911)
NGEN.C: 7826 lines, included 4638, 0 warnings, 1 errors
VGALIB.C: 693 lines, included 1817, 0 warnings, 0 errors
POWERP20.C(26): Warning! W135: Shift amount too large
POWERP20.C(26): Warning! W135: Shift amount too large
POWERP20.C(31): Warning! W135: Shift amount too large
POWERP20.C: 141 lines, included 818, 3 warnings, 0 errors
beim Linken bin ich noch nicht
mein bisheriges Build-Script (build_ow2.bat) liegt so im Repo
Code:
@echo off
set tools_dir=f:\projects\fun\dos_games_rev\tools
set WATCOM=%tools_dir%\open-watcom-2_0-c-win-x64
set WATCOM_BIN=%watcom%\binnt64
set INCLUDE=%watcom%\h
set PATH=%WATCOM_BIN%;%PATH%
echo start dos build > doscomp.txt
wcc -bt=dos -ml -ox -2 -s -fp3 CDA_CODE.C >> doscomp.txt 2>&1
wcc -bt=dos -ml -ox -2 -s -fp3 -IAIL NGEN.C >> doscomp.txt 2>&1
wcc -bt=dos -ml -ox -2 -s -fp3 VGALIB.C >> doscomp.txt 2>&1
wcc -bt=dos -ml -ox -2 -s -fp3 POWERP20.C >> doscomp.txt 2>&1
rem TASM.EXE /os /z POWERP20.ASM POWERP20.OBJ >> doscomp.txt 2>&1
rem TASM.EXE /m /w+ /ml /iAIL AIL\AIL.ASM AIL.OBJ >> doscomp.txt 2>&1
rem TLINK @TLINK.RES >> doscomp.txt 2>&1