sezero
7dbc64777a
apply the commit 721b6fcf changes to h3info.h, too. [glide2x side]
2018-08-09 16:10:01 +03:00
sezero
5c6e58e4e2
apply the commit 721b6fcf changes to ddglobal.h and h3info.h, too.
2018-08-09 15:55:28 +03:00
sezero
b5a555a538
cvg,fxremap.c: only include sst1init.h (for INIT_PRINTF) for dos builds
...
for others, make INIT_PRINTF() in fxremap.c a nop.
2018-08-09 15:55:01 +03:00
sezero
b4c30b1693
h3cinit.c: made mode_table[] and vgaattr[] static const
2018-08-09 12:51:50 +03:00
sezero
721b6fcf1b
cvg, fxremap: removed all unnecessary stuff, made it to use INIT_OUTPUT
2018-08-09 11:56:56 +03:00
sezero
43f6bbc977
cvginfo.h: remove top-level defines and forward declare struct sstregs.
...
It 'defined' FxU32 and FxBool for if __unix__ is defined and cvgregs.h
not included. DJGPP does define __unix__, and this caused a mess with
one of my experiments.
I do not see the real need for this. So, adding a forward declaration
of struct sstregs, replacing all SstRegs* with volatile struct sstregs*
serves the purpose. 3dfx.h (which typedefs FxU32 and FxBool) is always
included before cvginfo.h everywhere in the code, so, there is no need
for 'defining' FxU32 and FxBool here, either.
DJGPP build gives an identical DXE output before and after this change.
2018-08-09 11:50:02 +03:00
sezero
64bae86d19
cvg, fxremap: leave out lots of actually unused code from build.
...
glide code only calls fxremap() and not fxremap_main(), so silent
is always true, there is no cmdline processing, and nothing can
actually print to console. added a new FXREMAP_EXE ifdef in there
to filter things out.
2018-08-09 02:20:40 +03:00
sezero
43291704cb
h5,dos_mode.c,lin_mode.c: made buildVideoModeData and setVideoModeSlave static.
...
whitespace tidy-up.
2018-08-08 23:55:32 +03:00
sezero
12d926449a
cvg, gu.c: added guEncodeRLE16()
...
this function used to be exported by earlier versions of glide3x.dll in
voodoo2 reference drivers, but later it disappeared. it _is_ present in
glide3x.dll versions for all other voodoo boards, so added it here.
2018-08-08 23:04:10 +03:00
sezero
b62e3fd33c
h5, fxglide.h: restored FX_EXPORT in GR_ENTRY definition.
...
koolsmoky commit 0b8571b (initial checkin of dos win32 glide) commented
it out for who knows why, and that resulted in two of the exports in the
dll to go missing, namely grCheckForRoom and guEncodeRLE16. they are now
back.
2018-08-08 22:39:10 +03:00
sezero
3c54cfde1e
cvg,sst1 init: #undef FX_DLL_ENABLE so that we don't dllexport the symbols.
2018-08-08 22:38:50 +03:00
sezero
40ee824879
swlibs, fxpci: #undef FX_DLL_ENABLE, so that we don't dllexport the symbols.
2018-08-08 22:38:27 +03:00
sezero
bc18c519d7
gdebug.c: #undef FX_DLL_ENABLE, so that we don't dllexport the symbols.
2018-08-08 22:38:12 +03:00
sezero
1fe48886a8
gdebug.c: whitespace tidy-up.
2018-08-08 22:37:50 +03:00
sezero
de0e7ca28f
fxdll.h: revert koolsmoky commit bab2f1c 'use dllimport for __MSC__ imports'
...
it was wrong, and was causing LNK4049 warnings.
2018-08-08 22:35:48 +03:00
sezero
1e89ef2670
cvg, Makefile.win32: missed replacing one path separator
2018-08-08 18:55:04 +03:00
sezero
8c917cb2a2
convert win32 Makefiles to crlf, convert path separators to backslash.
2018-08-08 14:56:02 +03:00
sezero
8adf484af7
h3, h5: last of the VC6 and ddraw.h compatibility stuff.
2018-08-08 14:25:50 +03:00
sezero
e710954c4e
h5, minihwc.c: VC6 rejects pMinSW in the inline asm.
...
changed pMinSW mm0,mm3 to
_asm _emit 0x0f _asm _emit 0xea _asm _emit 0xc3
2018-08-08 11:10:02 +03:00
sezero
59d59bad72
h5, minihwc.c: VC6 doesn't have _aligned_malloc(). locally implemented.
2018-08-08 11:06:51 +03:00
sezero
380a78de05
h3, h5, minihwc: remove some unused stuff from win_mode.c. minor cleanup.
2018-08-08 10:50:10 +03:00
sezero
42c8b28993
Windows (VC6) build fixes, 03/##: HMONITOR type hack for h3 and h5.
2018-08-08 08:55:02 +03:00
sezero
d6fce294b4
h3, h5, minihwc: don't unconditionally define GDBG_INFO_ON in win_mode.c
2018-08-08 08:50:37 +03:00
sezero
0aa1e159bf
Windows (VC6) build fixes, 02/##: grDrawLine() const issue.
...
this is a hack and need to be fixed properly by constifying other
procedures.
2018-08-08 08:47:00 +03:00
sezero
d6448ee662
Windows (VC6) build fixes, 01/##
2018-08-08 08:45:02 +03:00
sezero
29212e8a14
fxremap.c: warning fixes.
2018-08-07 12:04:40 +03:00
sezero
af4ebfce0c
warning fixes and minor cleanup.
2018-08-07 11:58:55 +03:00
sezero
19efdba7e0
swlibs/fxmisc/fximg.c: -Wformat warning fixes
2018-08-07 11:57:45 +03:00
sezero
032b25b708
minor type corrections
2018-08-07 10:37:24 +03:00
sezero
d46910aa23
sst96.c (_grSst96Load32): fix a minor warning after commit 30ec8787
2018-08-06 17:00:02 +03:00
sezero
2ee4b4f583
h3, h5, minihwc: don't unconditionally define GDBG_INFO_ON in minihwc.c
...
several constifications. exclude the debug stuff from release builds.
fixed that 'waxRegnames' typo in HWC_WAX_STORE and HWC_WAX_LOAD macros.
2018-08-06 14:10:02 +03:00
sezero
b33d69b0a3
cvg, fxremap.c: make almost everything static.
...
except for the two exported functions.
also replaced 'null' by 'NULL' (why that 'null' define I wonder..)
2018-08-06 14:00:50 +03:00
sezero
1f08466bc6
sst96: more of making several global vars static:
...
- initat3d.c: make ClockTableAT3D[] const and static.
- initad3d.c: make const vars bPowerOff, bHighSpeed,
and bBypass static.
2018-08-06 14:00:01 +03:00
sezero
30ec87871d
sst96: exclude debug stuff from release-builds (regNames & co.)
2018-08-06 13:56:50 +03:00
sezero
f053d6b0cf
sst96: constified iRegNames[]
2018-08-06 13:55:02 +03:00
sezero
ef5108ae49
sst96: vgdrvr.c, vg96drvr.c: minor whitespace cleanups.
2018-08-05 17:24:28 +03:00
sezero
9fee9e454d
sst96: fix warnings introduced by commit 383731e84
2018-08-05 17:23:37 +03:00
sezero
46226e7d14
revert commit 16a4feb6, define INIT_ACCESS_DIRECT for SST96 DOS builds.
2018-08-05 12:04:04 +03:00
sezero
383731e840
make a few more global vars static. remove glideIdent[] from gglide.c (unused.)
2018-08-05 12:02:59 +03:00
sezero
08e1e599fd
xos.inc: fixed 'unterminated string' warning from nasm.
2018-08-05 12:02:59 +03:00
sezero
4f81f1ed1b
added a top-level README file.
2018-08-05 12:02:59 +03:00
sezero
ae760389ae
glide2x/h3 (linhwc.c/minihwc.c): fix fenceVar with newer gcc versions.
...
from glide3x tree.
2018-08-05 12:02:59 +03:00
sezero
486276471e
add missing Rush files to glide2x side.
2018-08-05 12:02:59 +03:00
sezero
1a273ba12a
sst1 cleanup: remove non-existent h3drvr (FX_SST2) stuff [glide2x side]
2018-08-05 12:02:59 +03:00
sezero
8b047bb95c
splash and shameless plug updates:
...
removed experimental splash stuff from h3/h5 for non-windows.
if either of GLIDE_SPLASH or GLIDE_PLUG aren't defined their
respective data are completey excluded from the binary image,
and their respective functions aren't called at all.
2018-08-05 12:02:59 +03:00
sezero
bbbb581698
add a sst96 subdirectory to sst1/lib/
2018-08-05 12:02:59 +03:00
sezero
cb46d5b49c
disable shameless plug overlay and splash screen in DOS builds.
...
reduces binary size and not really needed.
2018-08-05 12:02:59 +03:00
sezero
8bdf368c58
Makefile.DJ: define a DXE3GEN variable, defaulting to dxe3gen
2018-08-05 12:02:59 +03:00
sezero
720d0b125e
DJGPP Makefile updates with some (ugly) cross-build workarounds.
2018-08-05 12:02:59 +03:00
sezero
35be4ad445
sst1 cleanup: remove non-existent h3drvr (FX_SST2) stuff
2018-08-05 12:02:59 +03:00