]> 4ch.mooo.com Git - 16.git/commitdiff
attempted font system added
authorsparky4 <sparky4@cock.li>
Fri, 12 Jun 2015 20:05:39 +0000 (15:05 -0500)
committersparky4 <sparky4@cock.li>
Fri, 12 Jun 2015 20:05:39 +0000 (15:05 -0500)
renamed:    src/v2/CONSOLE.TXT -> 16/v2/CONSOLE.TXT
renamed:    src/v2/MAPED.CFG -> 16/v2/MAPED.CFG
renamed:    src/v2/MAPED.EXE -> 16/v2/MAPED.EXE
renamed:    src/v2/MAPED2.TXT -> 16/v2/MAPED2.TXT
renamed:    src/v2/V2A10_27.ZIP -> 16/v2/V2A10_27.ZIP
renamed:    src/v2/V2T5_9.ZIP -> 16/v2/V2T5_9.ZIP
renamed:    src/v2/V2U5_9.ZIP -> 16/v2/V2U5_9.ZIP
renamed:    src/v2/VCC.EXE -> 16/v2/VCC.EXE
renamed:    src/v2/template/VERGE.EXE -> 16/v2/VERGE.EXE
renamed:    src/v2/VERGEC.TXT -> 16/v2/VERGEC.TXT
renamed:    src/v2/contents.txt -> 16/v2/contents.txt
renamed:    src/v2/source/verge/ENGINE/AUDIO.H -> 16/v2/source/ENGINE/AUDIO.H
renamed:    src/v2/source/verge/ENGINE/A_MEMORY.C -> 16/v2/source/ENGINE/A_MEMORY.C
renamed:    src/v2/source/verge/ENGINE/A_MEMORY.H -> 16/v2/source/ENGINE/A_MEMORY.H
renamed:    src/v2/source/verge/ENGINE/CONLIB.C -> 16/v2/source/ENGINE/CONLIB.C
renamed:    src/v2/source/verge/ENGINE/CONLIB.H -> 16/v2/source/ENGINE/CONLIB.H
renamed:    src/v2/source/verge/ENGINE/CONSOLE.C -> 16/v2/source/ENGINE/CONSOLE.C
renamed:    src/v2/source/verge/ENGINE/CONSOLE.H -> 16/v2/source/ENGINE/CONSOLE.H
renamed:    src/v2/source/verge/ENGINE/CONTROLS.C -> 16/v2/source/ENGINE/CONTROLS.C
renamed:    src/v2/source/verge/ENGINE/CONTROLS.H -> 16/v2/source/ENGINE/CONTROLS.H
renamed:    src/v2/source/verge/ENGINE/ENGINE.C -> 16/v2/source/ENGINE/ENGINE.C
renamed:    src/v2/source/verge/ENGINE/ENGINE.H -> 16/v2/source/ENGINE/ENGINE.H
renamed:    src/v2/source/verge/ENGINE/ENTITY.C -> 16/v2/source/ENGINE/ENTITY.C
renamed:    src/v2/source/verge/ENGINE/ENTITY.H -> 16/v2/source/ENGINE/ENTITY.H
renamed:    src/v2/source/verge/ENGINE/FLI.C -> 16/v2/source/ENGINE/FLI.C
renamed:    src/v2/source/verge/ENGINE/FLI.H -> 16/v2/source/ENGINE/FLI.H
renamed:    src/v2/source/verge/ENGINE/FONT.C -> 16/v2/source/ENGINE/FONT.C
renamed:    src/v2/source/verge/ENGINE/FONT.H -> 16/v2/source/ENGINE/FONT.H
renamed:    src/v2/source/verge/ENGINE/IMAGE.C -> 16/v2/source/ENGINE/IMAGE.C
renamed:    src/v2/source/verge/ENGINE/IMAGE.H -> 16/v2/source/ENGINE/IMAGE.H
renamed:    src/v2/source/verge/ENGINE/INTER.H -> 16/v2/source/ENGINE/INTER.H
renamed:    src/v2/source/verge/ENGINE/KEYBOARD.H -> 16/v2/source/ENGINE/KEYBOARD.H
renamed:    src/v2/source/verge/ENGINE/KEYBOARD.S -> 16/v2/source/ENGINE/KEYBOARD.S
renamed:    src/v2/source/verge/ENGINE/MAIN.H -> 16/v2/source/ENGINE/MAIN.H
renamed:    src/v2/source/ENGINE/MAKE.BAT -> 16/v2/source/ENGINE/MAKE.BAT
renamed:    src/v2/source/ENGINE/MAKEFILE -> 16/v2/source/ENGINE/MAKEFILE
renamed:    src/v2/source/verge/ENGINE/MESSAGE.C -> 16/v2/source/ENGINE/MESSAGE.C
renamed:    src/v2/source/verge/ENGINE/MESSAGE.H -> 16/v2/source/ENGINE/MESSAGE.H
renamed:    src/v2/source/verge/ENGINE/MIKMOD.A -> 16/v2/source/ENGINE/MIKMOD.A
renamed:    src/v2/source/verge/ENGINE/MIKMOD.C -> 16/v2/source/ENGINE/MIKMOD.C
renamed:    src/v2/source/verge/MAPED/MIKMOD.H -> 16/v2/source/ENGINE/MIKMOD.H
renamed:    src/v2/source/verge/ENGINE/MODE13H.C -> 16/v2/source/ENGINE/MODE13H.C
renamed:    src/v2/source/verge/ENGINE/MODEINIT.C -> 16/v2/source/ENGINE/MODEINIT.C
renamed:    src/v2/source/verge/ENGINE/MODEX.C -> 16/v2/source/ENGINE/MODEX.C
renamed:    src/v2/source/verge/MAPED/MTYPES.H -> 16/v2/source/ENGINE/MTYPES.H
renamed:    src/v2/source/verge/ENGINE/PCX.H -> 16/v2/source/ENGINE/PCX.H
renamed:    src/v2/source/verge/ENGINE/RENDER.C -> 16/v2/source/ENGINE/RENDER.C
renamed:    src/v2/source/verge/ENGINE/RENDER.H -> 16/v2/source/ENGINE/RENDER.H
renamed:    src/v2/source/verge/ENGINE/SINCOS.H -> 16/v2/source/ENGINE/SINCOS.H
renamed:    src/v2/source/verge/ENGINE/SOUND.C -> 16/v2/source/ENGINE/SOUND.C
renamed:    src/v2/source/verge/ENGINE/SOUND.H -> 16/v2/source/ENGINE/SOUND.H
renamed:    src/v2/source/verge/ENGINE/STARTUP.C -> 16/v2/source/ENGINE/STARTUP.C
renamed:    src/v2/source/verge/ENGINE/TIMER.C -> 16/v2/source/ENGINE/TIMER.C
renamed:    src/v2/source/verge/ENGINE/TIMER.H -> 16/v2/source/ENGINE/TIMER.H
renamed:    src/v2/source/verge/ENGINE/VC.C -> 16/v2/source/ENGINE/VC.C
renamed:    src/v2/source/verge/ENGINE/VC.H -> 16/v2/source/ENGINE/VC.H
renamed:    src/v2/source/verge/VCC/VCCODE.H -> 16/v2/source/ENGINE/VCCODE.H
renamed:    src/v2/source/verge/ENGINE/VDRIVER.C -> 16/v2/source/ENGINE/VDRIVER.C
renamed:    src/v2/source/verge/ENGINE/VDRIVER.H -> 16/v2/source/ENGINE/VDRIVER.H
renamed:    src/v2/source/verge/ENGINE/VERGE.C -> 16/v2/source/ENGINE/VERGE.C
renamed:    src/v2/source/verge/ENGINE/VERGE.H -> 16/v2/source/ENGINE/VERGE.H
renamed:    src/v2/source/verge/ENGINE/VESA.C -> 16/v2/source/ENGINE/VESA.C
renamed:    src/v2/source/verge/ENGINE/VFILE.C -> 16/v2/source/ENGINE/VFILE.C
renamed:    src/v2/source/verge/ENGINE/VFILE.H -> 16/v2/source/ENGINE/VFILE.H
renamed:    src/v2/source/verge/MAPED/A_MEMORY.C -> 16/v2/source/MAPED/A_MEMORY.C
renamed:    src/v2/source/verge/MAPED/COLBAK.H -> 16/v2/source/MAPED/COLBAK.H
renamed:    src/v2/source/verge/MAPED/COLSTUFF.H -> 16/v2/source/MAPED/COLSTUFF.H
renamed:    src/v2/source/verge/MAPED/COLUMNS.C -> 16/v2/source/MAPED/COLUMNS.C
renamed:    src/v2/source/verge/MAPED/COLUMNS.H -> 16/v2/source/MAPED/COLUMNS.H
renamed:    src/v2/source/verge/MAPED/CONFIG.C -> 16/v2/source/MAPED/CONFIG.C
renamed:    src/v2/source/verge/MAPED/CONFIG.H -> 16/v2/source/MAPED/CONFIG.H
renamed:    src/v2/source/verge/MAPED/CONTROLS.C -> 16/v2/source/MAPED/CONTROLS.C
renamed:    src/v2/source/MAPED/GUI.C -> 16/v2/source/MAPED/GUI.C
renamed:    src/v2/source/verge/MAPED/GUI.H -> 16/v2/source/MAPED/GUI.H
renamed:    src/v2/source/verge/MAPED/GUICOMP.C -> 16/v2/source/MAPED/GUICOMP.C
renamed:    src/v2/source/verge/MAPED/GUICOMP.H -> 16/v2/source/MAPED/GUICOMP.H
renamed:    src/v2/source/verge/MAPED/INTER.H -> 16/v2/source/MAPED/INTER.H
renamed:    src/v2/source/verge/MAPED/KEYBOARD.C -> 16/v2/source/MAPED/KEYBOARD.C
renamed:    src/v2/source/verge/MAPED/KEYBOARD.H -> 16/v2/source/MAPED/KEYBOARD.H
renamed:    src/v2/source/verge/MAPED/MAKEFILE -> 16/v2/source/MAPED/MAKEFILE
renamed:    src/v2/source/verge/MAPED/MAPED.C -> 16/v2/source/MAPED/MAPED.C
renamed:    src/v2/source/verge/MAPED/MAPED.H -> 16/v2/source/MAPED/MAPED.H
renamed:    src/v2/source/verge/MAPED/MIKMOD.C -> 16/v2/source/MAPED/MIKMOD.C
renamed:    src/v2/source/verge/ENGINE/MIKMOD.H -> 16/v2/source/MAPED/MIKMOD.H
renamed:    src/v2/source/verge/MAPED/MIKMOD.LIB -> 16/v2/source/MAPED/MIKMOD.LIB
renamed:    src/v2/source/verge/MAPED/MINIMAP.C -> 16/v2/source/MAPED/MINIMAP.C
renamed:    src/v2/source/verge/MAPED/MINIMAP.H -> 16/v2/source/MAPED/MINIMAP.H
renamed:    src/v2/source/verge/MAPED/MODE13H.C -> 16/v2/source/MAPED/MODE13H.C
renamed:    src/v2/source/verge/MAPED/MODE13H.H -> 16/v2/source/MAPED/MODE13H.H
renamed:    src/v2/source/verge/MAPED/MODEX.C -> 16/v2/source/MAPED/MODEX.C
renamed:    src/v2/source/verge/MAPED/MODEX.H -> 16/v2/source/MAPED/MODEX.H
renamed:    src/v2/source/verge/MAPED/MOUSE.C -> 16/v2/source/MAPED/MOUSE.C
renamed:    src/v2/source/verge/MAPED/MOUSE.H -> 16/v2/source/MAPED/MOUSE.H
renamed:    src/v2/source/verge/ENGINE/MTYPES.H -> 16/v2/source/MAPED/MTYPES.H
renamed:    src/v2/source/verge/MAPED/PCX.C -> 16/v2/source/MAPED/PCX.C
renamed:    src/v2/source/verge/MAPED/RENDER.C -> 16/v2/source/MAPED/RENDER.C
renamed:    src/v2/source/MAPED/RENDER.H -> 16/v2/source/MAPED/RENDER.H
renamed:    src/v2/source/verge/MAPED/SMALFONT.C -> 16/v2/source/MAPED/SMALFONT.C
renamed:    src/v2/source/verge/MAPED/SMALFONT.H -> 16/v2/source/MAPED/SMALFONT.H
renamed:    src/v2/source/verge/MAPED/SSAVER.C -> 16/v2/source/MAPED/SSAVER.C
renamed:    src/v2/source/verge/MAPED/SSAVER.H -> 16/v2/source/MAPED/SSAVER.H
renamed:    src/v2/source/verge/MAPED/SSAVER1.C -> 16/v2/source/MAPED/SSAVER1.C
renamed:    src/v2/source/verge/MAPED/TILEED.C -> 16/v2/source/MAPED/TILEED.C
renamed:    src/v2/source/verge/MAPED/TILEED.H -> 16/v2/source/MAPED/TILEED.H
renamed:    src/v2/source/verge/MAPED/TILESEL.C -> 16/v2/source/MAPED/TILESEL.C
renamed:    src/v2/source/verge/MAPED/TILESEL.H -> 16/v2/source/MAPED/TILESEL.H
renamed:    src/v2/source/verge/MAPED/TIMER.C -> 16/v2/source/MAPED/TIMER.C
renamed:    src/v2/source/verge/MAPED/TIMER.H -> 16/v2/source/MAPED/TIMER.H
renamed:    src/v2/source/verge/MAPED/VDRIVER.C -> 16/v2/source/MAPED/VDRIVER.C
renamed:    src/v2/source/verge/MAPED/VDRIVER.H -> 16/v2/source/MAPED/VDRIVER.H
renamed:    src/v2/source/verge/MAPED/VERGEPAL.H -> 16/v2/source/MAPED/VERGEPAL.H
renamed:    src/v2/source/verge/README.TXT -> 16/v2/source/README.TXT
renamed:    src/v2/source/verge/UTIL/CHRCONV/CHRCONV.C -> 16/v2/source/UTIL/CHRCONV/CHRCONV.C
renamed:    src/v2/util/CHRCONV.TXT -> 16/v2/source/UTIL/CHRCONV/CHRCONV.TXT
renamed:    src/v2/source/verge/UTIL/CHRCONV/DARIN.CHR -> 16/v2/source/UTIL/CHRCONV/DARIN.CHR
renamed:    src/v2/source/verge/UTIL/CHRCONV/MAKEDJ.BAT -> 16/v2/source/UTIL/CHRCONV/MAKEDJ.BAT
renamed:    src/v2/source/verge/UTIL/CHRMAK/CHRMAK.CC -> 16/v2/source/UTIL/CHRMAK/CHRMAK.CC
renamed:    src/v2/util/CHRMAK.TXT -> 16/v2/source/UTIL/CHRMAK/CHRMAK.TXT
renamed:    src/v2/source/verge/UTIL/CHRMAK/MAKEDJ.BAT -> 16/v2/source/UTIL/CHRMAK/MAKEDJ.BAT
renamed:    src/v2/source/verge/UTIL/CHRMAK/MAKEWAT.BAT -> 16/v2/source/UTIL/CHRMAK/MAKEWAT.BAT
renamed:    src/v2/source/verge/UTIL/CHRMAK/VECNA.MAK -> 16/v2/source/UTIL/CHRMAK/VECNA.MAK
renamed:    src/v2/source/verge/UTIL/CHRMAK/VECNA.PCX -> 16/v2/source/UTIL/CHRMAK/VECNA.PCX
renamed:    src/v2/source/verge/UTIL/CHRMAK/VER -> 16/v2/source/UTIL/CHRMAK/VER
renamed:    src/v2/source/verge/UTIL/PACK/MAKEDJ.BAT -> 16/v2/source/UTIL/PACK/MAKEDJ.BAT
renamed:    src/v2/source/verge/UTIL/PACK/PACK.C -> 16/v2/source/UTIL/PACK/PACK.C
renamed:    src/v2/util/PACK.TXT -> 16/v2/source/UTIL/PACK/PACK.TXT
renamed:    src/v2/source/verge/UTIL/UNPACK/TEST -> 16/v2/source/UTIL/PACK/TEST
renamed:    src/v2/source/verge/UTIL/UNPACK/TODO -> 16/v2/source/UTIL/PACK/TODO
renamed:    src/v2/source/verge/UTIL/PCX2FNT/FONT0.PCX -> 16/v2/source/UTIL/PCX2FNT/FONT0.PCX
renamed:    src/v2/source/verge/UTIL/PCX2FNT/FONT02B.PCX -> 16/v2/source/UTIL/PCX2FNT/FONT02B.PCX
renamed:    src/v2/source/verge/UTIL/PCX2FNT/MAKEDJ.BAT -> 16/v2/source/UTIL/PCX2FNT/MAKEDJ.BAT
renamed:    src/v2/source/verge/UTIL/PCX2FNT/PCX2FNT.C -> 16/v2/source/UTIL/PCX2FNT/PCX2FNT.C
renamed:    src/v2/util/PCX2FNT.TXT -> 16/v2/source/UTIL/PCX2FNT/PCX2FNT.TXT
renamed:    src/v2/source/verge/UTIL/TRANS/MAKEDJ.BAT -> 16/v2/source/UTIL/TRANS/MAKEDJ.BAT
renamed:    src/v2/source/verge/UTIL/TRANS/SULLY.PDF -> 16/v2/source/UTIL/TRANS/SULLY.PDF
renamed:    src/v2/source/verge/UTIL/TRANS/TRANS.C -> 16/v2/source/UTIL/TRANS/TRANS.C
renamed:    src/v2/util/TRANS.TXT -> 16/v2/source/UTIL/TRANS/TRANS.TXT
renamed:    src/v2/source/verge/UTIL/TRANS/TYRIAN.PDF -> 16/v2/source/UTIL/TRANS/TYRIAN.PDF
renamed:    src/v2/source/verge/UTIL/TRANS/TYRPAL.PCX -> 16/v2/source/UTIL/TRANS/TYRPAL.PCX
renamed:    src/v2/source/verge/UTIL/TRANS/VERGE.PDF -> 16/v2/source/UTIL/TRANS/VERGE.PDF
renamed:    src/v2/source/verge/UTIL/UNPACK/MAKEDJ.BAT -> 16/v2/source/UTIL/UNPACK/MAKEDJ.BAT
renamed:    src/v2/source/verge/UTIL/PACK/TEST -> 16/v2/source/UTIL/UNPACK/TEST
renamed:    src/v2/source/verge/UTIL/PACK/TODO -> 16/v2/source/UTIL/UNPACK/TODO
renamed:    src/v2/source/verge/UTIL/UNPACK/UNPACK.C -> 16/v2/source/UTIL/UNPACK/UNPACK.C
renamed:    src/v2/util/UNPACK.TXT -> 16/v2/source/UTIL/UNPACK/UNPACK.TXT
renamed:    src/v2/source/verge/VCC/CLEAN.BAT -> 16/v2/source/VCC/CLEAN.BAT
renamed:    src/v2/source/verge/VCC/CODE.H -> 16/v2/source/VCC/CODE.H
renamed:    src/v2/source/verge/VCC/COMPILE.C -> 16/v2/source/VCC/COMPILE.C
renamed:    src/v2/source/verge/VCC/COMPILE.H -> 16/v2/source/VCC/COMPILE.H
renamed:    src/v2/source/verge/VCC/FUNCLIB.C -> 16/v2/source/VCC/FUNCLIB.C
renamed:    src/v2/source/verge/VCC/FUNCLIB.H -> 16/v2/source/VCC/FUNCLIB.H
renamed:    src/v2/source/verge/VCC/LEXICAL.C -> 16/v2/source/VCC/LEXICAL.C
renamed:    src/v2/source/verge/VCC/LEXICAL.H -> 16/v2/source/VCC/LEXICAL.H
renamed:    src/v2/source/verge/VCC/MAKEDJ.BAT -> 16/v2/source/VCC/MAKEDJ.BAT
renamed:    src/v2/source/verge/VCC/PREPROC.C -> 16/v2/source/VCC/PREPROC.C
renamed:    src/v2/source/verge/VCC/PREPROC.H -> 16/v2/source/VCC/PREPROC.H
renamed:    src/v2/source/verge/VCC/VCC.C -> 16/v2/source/VCC/VCC.C
renamed:    src/v2/source/verge/VCC/VCC.H -> 16/v2/source/VCC/VCC.H
renamed:    src/v2/source/verge/ENGINE/VCCODE.H -> 16/v2/source/VCC/VCCODE.H
renamed:    src/v2/source/archives/V2GPL.ZIP -> 16/v2/source/archives/V2GPL.ZIP
renamed:    src/v2/source/verge/gnu.txt -> 16/v2/source/gnu.txt
renamed:    src/v2/source/ENGINE/AUDIO.H -> 16/v2/source/verge/ENGINE/AUDIO.H
renamed:    src/v2/source/ENGINE/A_MEMORY.C -> 16/v2/source/verge/ENGINE/A_MEMORY.C
renamed:    src/v2/source/ENGINE/A_MEMORY.H -> 16/v2/source/verge/ENGINE/A_MEMORY.H
renamed:    src/v2/source/ENGINE/CONLIB.C -> 16/v2/source/verge/ENGINE/CONLIB.C
renamed:    src/v2/source/ENGINE/CONLIB.H -> 16/v2/source/verge/ENGINE/CONLIB.H
renamed:    src/v2/source/ENGINE/CONSOLE.C -> 16/v2/source/verge/ENGINE/CONSOLE.C
renamed:    src/v2/source/ENGINE/CONSOLE.H -> 16/v2/source/verge/ENGINE/CONSOLE.H
renamed:    src/v2/source/ENGINE/CONTROLS.C -> 16/v2/source/verge/ENGINE/CONTROLS.C
renamed:    src/v2/source/ENGINE/CONTROLS.H -> 16/v2/source/verge/ENGINE/CONTROLS.H
renamed:    src/v2/source/ENGINE/ENGINE.C -> 16/v2/source/verge/ENGINE/ENGINE.C
renamed:    src/v2/source/ENGINE/ENGINE.H -> 16/v2/source/verge/ENGINE/ENGINE.H
renamed:    src/v2/source/ENGINE/ENTITY.C -> 16/v2/source/verge/ENGINE/ENTITY.C
renamed:    src/v2/source/ENGINE/ENTITY.H -> 16/v2/source/verge/ENGINE/ENTITY.H
renamed:    src/v2/source/ENGINE/FLI.C -> 16/v2/source/verge/ENGINE/FLI.C
renamed:    src/v2/source/ENGINE/FLI.H -> 16/v2/source/verge/ENGINE/FLI.H
renamed:    src/v2/source/ENGINE/FONT.C -> 16/v2/source/verge/ENGINE/FONT.C
renamed:    src/v2/source/ENGINE/FONT.H -> 16/v2/source/verge/ENGINE/FONT.H
renamed:    src/v2/source/ENGINE/IMAGE.C -> 16/v2/source/verge/ENGINE/IMAGE.C
renamed:    src/v2/source/ENGINE/IMAGE.H -> 16/v2/source/verge/ENGINE/IMAGE.H
renamed:    src/v2/source/ENGINE/INTER.H -> 16/v2/source/verge/ENGINE/INTER.H
renamed:    src/v2/source/ENGINE/KEYBOARD.H -> 16/v2/source/verge/ENGINE/KEYBOARD.H
renamed:    src/v2/source/ENGINE/KEYBOARD.S -> 16/v2/source/verge/ENGINE/KEYBOARD.S
renamed:    src/v2/source/ENGINE/MAIN.H -> 16/v2/source/verge/ENGINE/MAIN.H
renamed:    src/v2/source/verge/ENGINE/MAKEFILE -> 16/v2/source/verge/ENGINE/MAKEFILE
renamed:    src/v2/source/ENGINE/MESSAGE.C -> 16/v2/source/verge/ENGINE/MESSAGE.C
renamed:    src/v2/source/ENGINE/MESSAGE.H -> 16/v2/source/verge/ENGINE/MESSAGE.H
renamed:    src/v2/source/ENGINE/MIKMOD.A -> 16/v2/source/verge/ENGINE/MIKMOD.A
renamed:    src/v2/source/ENGINE/MIKMOD.C -> 16/v2/source/verge/ENGINE/MIKMOD.C
renamed:    src/v2/source/MAPED/MIKMOD.H -> 16/v2/source/verge/ENGINE/MIKMOD.H
renamed:    src/v2/source/ENGINE/MODE13H.C -> 16/v2/source/verge/ENGINE/MODE13H.C
renamed:    src/v2/source/ENGINE/MODEINIT.C -> 16/v2/source/verge/ENGINE/MODEINIT.C
renamed:    src/v2/source/ENGINE/MODEX.C -> 16/v2/source/verge/ENGINE/MODEX.C
renamed:    src/v2/source/MAPED/MTYPES.H -> 16/v2/source/verge/ENGINE/MTYPES.H
renamed:    src/v2/source/ENGINE/PCX.H -> 16/v2/source/verge/ENGINE/PCX.H
renamed:    src/v2/source/ENGINE/RENDER.C -> 16/v2/source/verge/ENGINE/RENDER.C
renamed:    src/v2/source/ENGINE/RENDER.H -> 16/v2/source/verge/ENGINE/RENDER.H
renamed:    src/v2/source/ENGINE/SINCOS.H -> 16/v2/source/verge/ENGINE/SINCOS.H
renamed:    src/v2/source/ENGINE/SOUND.C -> 16/v2/source/verge/ENGINE/SOUND.C
renamed:    src/v2/source/ENGINE/SOUND.H -> 16/v2/source/verge/ENGINE/SOUND.H
renamed:    src/v2/source/ENGINE/STARTUP.C -> 16/v2/source/verge/ENGINE/STARTUP.C
renamed:    src/v2/source/ENGINE/TIMER.C -> 16/v2/source/verge/ENGINE/TIMER.C
renamed:    src/v2/source/ENGINE/TIMER.H -> 16/v2/source/verge/ENGINE/TIMER.H
renamed:    src/v2/source/ENGINE/VC.C -> 16/v2/source/verge/ENGINE/VC.C
renamed:    src/v2/source/ENGINE/VC.H -> 16/v2/source/verge/ENGINE/VC.H
renamed:    src/v2/source/VCC/VCCODE.H -> 16/v2/source/verge/ENGINE/VCCODE.H
renamed:    src/v2/source/ENGINE/VDRIVER.C -> 16/v2/source/verge/ENGINE/VDRIVER.C
renamed:    src/v2/source/ENGINE/VDRIVER.H -> 16/v2/source/verge/ENGINE/VDRIVER.H
renamed:    src/v2/source/ENGINE/VERGE.C -> 16/v2/source/verge/ENGINE/VERGE.C
renamed:    src/v2/source/ENGINE/VERGE.H -> 16/v2/source/verge/ENGINE/VERGE.H
renamed:    src/v2/source/ENGINE/VESA.C -> 16/v2/source/verge/ENGINE/VESA.C
renamed:    src/v2/source/ENGINE/VFILE.C -> 16/v2/source/verge/ENGINE/VFILE.C
renamed:    src/v2/source/ENGINE/VFILE.H -> 16/v2/source/verge/ENGINE/VFILE.H
renamed:    src/v2/source/MAPED/A_MEMORY.C -> 16/v2/source/verge/MAPED/A_MEMORY.C
renamed:    src/v2/source/MAPED/COLBAK.H -> 16/v2/source/verge/MAPED/COLBAK.H
renamed:    src/v2/source/MAPED/COLSTUFF.H -> 16/v2/source/verge/MAPED/COLSTUFF.H
renamed:    src/v2/source/MAPED/COLUMNS.C -> 16/v2/source/verge/MAPED/COLUMNS.C
renamed:    src/v2/source/MAPED/COLUMNS.H -> 16/v2/source/verge/MAPED/COLUMNS.H
renamed:    src/v2/source/MAPED/CONFIG.C -> 16/v2/source/verge/MAPED/CONFIG.C
renamed:    src/v2/source/MAPED/CONFIG.H -> 16/v2/source/verge/MAPED/CONFIG.H
renamed:    src/v2/source/MAPED/CONTROLS.C -> 16/v2/source/verge/MAPED/CONTROLS.C
renamed:    src/v2/source/verge/MAPED/GUI.C -> 16/v2/source/verge/MAPED/GUI.C
renamed:    src/v2/source/MAPED/GUI.H -> 16/v2/source/verge/MAPED/GUI.H
renamed:    src/v2/source/MAPED/GUICOMP.C -> 16/v2/source/verge/MAPED/GUICOMP.C
renamed:    src/v2/source/MAPED/GUICOMP.H -> 16/v2/source/verge/MAPED/GUICOMP.H
renamed:    src/v2/source/MAPED/INTER.H -> 16/v2/source/verge/MAPED/INTER.H
renamed:    src/v2/source/MAPED/KEYBOARD.C -> 16/v2/source/verge/MAPED/KEYBOARD.C
renamed:    src/v2/source/MAPED/KEYBOARD.H -> 16/v2/source/verge/MAPED/KEYBOARD.H
renamed:    src/v2/source/MAPED/MAKEFILE -> 16/v2/source/verge/MAPED/MAKEFILE
renamed:    src/v2/source/MAPED/MAPED.C -> 16/v2/source/verge/MAPED/MAPED.C
renamed:    src/v2/source/MAPED/MAPED.H -> 16/v2/source/verge/MAPED/MAPED.H
renamed:    src/v2/source/MAPED/MIKMOD.C -> 16/v2/source/verge/MAPED/MIKMOD.C
renamed:    src/v2/source/ENGINE/MIKMOD.H -> 16/v2/source/verge/MAPED/MIKMOD.H
renamed:    src/v2/source/MAPED/MIKMOD.LIB -> 16/v2/source/verge/MAPED/MIKMOD.LIB
renamed:    src/v2/source/MAPED/MINIMAP.C -> 16/v2/source/verge/MAPED/MINIMAP.C
renamed:    src/v2/source/MAPED/MINIMAP.H -> 16/v2/source/verge/MAPED/MINIMAP.H
renamed:    src/v2/source/MAPED/MODE13H.C -> 16/v2/source/verge/MAPED/MODE13H.C
renamed:    src/v2/source/MAPED/MODE13H.H -> 16/v2/source/verge/MAPED/MODE13H.H
renamed:    src/v2/source/MAPED/MODEX.C -> 16/v2/source/verge/MAPED/MODEX.C
renamed:    src/v2/source/MAPED/MODEX.H -> 16/v2/source/verge/MAPED/MODEX.H
renamed:    src/v2/source/MAPED/MOUSE.C -> 16/v2/source/verge/MAPED/MOUSE.C
renamed:    src/v2/source/MAPED/MOUSE.H -> 16/v2/source/verge/MAPED/MOUSE.H
renamed:    src/v2/source/ENGINE/MTYPES.H -> 16/v2/source/verge/MAPED/MTYPES.H
renamed:    src/v2/source/MAPED/PCX.C -> 16/v2/source/verge/MAPED/PCX.C
renamed:    src/v2/source/MAPED/RENDER.C -> 16/v2/source/verge/MAPED/RENDER.C
renamed:    src/v2/source/verge/MAPED/RENDER.H -> 16/v2/source/verge/MAPED/RENDER.H
renamed:    src/v2/source/MAPED/SMALFONT.C -> 16/v2/source/verge/MAPED/SMALFONT.C
renamed:    src/v2/source/MAPED/SMALFONT.H -> 16/v2/source/verge/MAPED/SMALFONT.H
renamed:    src/v2/source/MAPED/SSAVER.C -> 16/v2/source/verge/MAPED/SSAVER.C
renamed:    src/v2/source/MAPED/SSAVER.H -> 16/v2/source/verge/MAPED/SSAVER.H
renamed:    src/v2/source/MAPED/SSAVER1.C -> 16/v2/source/verge/MAPED/SSAVER1.C
renamed:    src/v2/source/MAPED/TILEED.C -> 16/v2/source/verge/MAPED/TILEED.C
renamed:    src/v2/source/MAPED/TILEED.H -> 16/v2/source/verge/MAPED/TILEED.H
renamed:    src/v2/source/MAPED/TILESEL.C -> 16/v2/source/verge/MAPED/TILESEL.C
renamed:    src/v2/source/MAPED/TILESEL.H -> 16/v2/source/verge/MAPED/TILESEL.H
renamed:    src/v2/source/MAPED/TIMER.C -> 16/v2/source/verge/MAPED/TIMER.C
renamed:    src/v2/source/MAPED/TIMER.H -> 16/v2/source/verge/MAPED/TIMER.H
renamed:    src/v2/source/MAPED/VDRIVER.C -> 16/v2/source/verge/MAPED/VDRIVER.C
renamed:    src/v2/source/MAPED/VDRIVER.H -> 16/v2/source/verge/MAPED/VDRIVER.H
renamed:    src/v2/source/MAPED/VERGEPAL.H -> 16/v2/source/verge/MAPED/VERGEPAL.H
renamed:    src/v2/source/README.TXT -> 16/v2/source/verge/README.TXT
renamed:    src/v2/source/UTIL/CHRCONV/CHRCONV.C -> 16/v2/source/verge/UTIL/CHRCONV/CHRCONV.C
renamed:    src/v2/source/verge/UTIL/CHRCONV/CHRCONV.TXT -> 16/v2/source/verge/UTIL/CHRCONV/CHRCONV.TXT
renamed:    src/v2/source/UTIL/CHRCONV/DARIN.CHR -> 16/v2/source/verge/UTIL/CHRCONV/DARIN.CHR
renamed:    src/v2/source/UTIL/CHRCONV/MAKEDJ.BAT -> 16/v2/source/verge/UTIL/CHRCONV/MAKEDJ.BAT
renamed:    src/v2/source/UTIL/CHRMAK/CHRMAK.CC -> 16/v2/source/verge/UTIL/CHRMAK/CHRMAK.CC
renamed:    src/v2/source/verge/UTIL/CHRMAK/CHRMAK.TXT -> 16/v2/source/verge/UTIL/CHRMAK/CHRMAK.TXT
renamed:    src/v2/source/UTIL/CHRMAK/MAKEDJ.BAT -> 16/v2/source/verge/UTIL/CHRMAK/MAKEDJ.BAT
renamed:    src/v2/source/UTIL/CHRMAK/MAKEWAT.BAT -> 16/v2/source/verge/UTIL/CHRMAK/MAKEWAT.BAT
renamed:    src/v2/source/UTIL/CHRMAK/VECNA.MAK -> 16/v2/source/verge/UTIL/CHRMAK/VECNA.MAK
renamed:    src/v2/source/UTIL/CHRMAK/VECNA.PCX -> 16/v2/source/verge/UTIL/CHRMAK/VECNA.PCX
renamed:    src/v2/source/UTIL/CHRMAK/VER -> 16/v2/source/verge/UTIL/CHRMAK/VER
renamed:    src/v2/source/UTIL/PACK/MAKEDJ.BAT -> 16/v2/source/verge/UTIL/PACK/MAKEDJ.BAT
renamed:    src/v2/source/UTIL/PACK/PACK.C -> 16/v2/source/verge/UTIL/PACK/PACK.C
renamed:    src/v2/source/verge/UTIL/PACK/PACK.TXT -> 16/v2/source/verge/UTIL/PACK/PACK.TXT
renamed:    src/v2/source/UTIL/UNPACK/TEST -> 16/v2/source/verge/UTIL/PACK/TEST
renamed:    src/v2/source/UTIL/UNPACK/TODO -> 16/v2/source/verge/UTIL/PACK/TODO
renamed:    src/v2/source/UTIL/PCX2FNT/FONT0.PCX -> 16/v2/source/verge/UTIL/PCX2FNT/FONT0.PCX
renamed:    src/v2/source/UTIL/PCX2FNT/FONT02B.PCX -> 16/v2/source/verge/UTIL/PCX2FNT/FONT02B.PCX
renamed:    src/v2/source/UTIL/PCX2FNT/MAKEDJ.BAT -> 16/v2/source/verge/UTIL/PCX2FNT/MAKEDJ.BAT
renamed:    src/v2/source/UTIL/PCX2FNT/PCX2FNT.C -> 16/v2/source/verge/UTIL/PCX2FNT/PCX2FNT.C
renamed:    src/v2/source/verge/UTIL/PCX2FNT/PCX2FNT.TXT -> 16/v2/source/verge/UTIL/PCX2FNT/PCX2FNT.TXT
renamed:    src/v2/source/UTIL/TRANS/MAKEDJ.BAT -> 16/v2/source/verge/UTIL/TRANS/MAKEDJ.BAT
renamed:    src/v2/source/UTIL/TRANS/SULLY.PDF -> 16/v2/source/verge/UTIL/TRANS/SULLY.PDF
renamed:    src/v2/source/UTIL/TRANS/TRANS.C -> 16/v2/source/verge/UTIL/TRANS/TRANS.C
renamed:    src/v2/source/verge/UTIL/TRANS/TRANS.TXT -> 16/v2/source/verge/UTIL/TRANS/TRANS.TXT
renamed:    src/v2/source/UTIL/TRANS/TYRIAN.PDF -> 16/v2/source/verge/UTIL/TRANS/TYRIAN.PDF
renamed:    src/v2/source/UTIL/TRANS/TYRPAL.PCX -> 16/v2/source/verge/UTIL/TRANS/TYRPAL.PCX
renamed:    src/v2/source/UTIL/TRANS/VERGE.PDF -> 16/v2/source/verge/UTIL/TRANS/VERGE.PDF
renamed:    src/v2/source/UTIL/UNPACK/MAKEDJ.BAT -> 16/v2/source/verge/UTIL/UNPACK/MAKEDJ.BAT
renamed:    src/v2/source/UTIL/PACK/TEST -> 16/v2/source/verge/UTIL/UNPACK/TEST
renamed:    src/v2/source/UTIL/PACK/TODO -> 16/v2/source/verge/UTIL/UNPACK/TODO
renamed:    src/v2/source/UTIL/UNPACK/UNPACK.C -> 16/v2/source/verge/UTIL/UNPACK/UNPACK.C
renamed:    src/v2/source/verge/UTIL/UNPACK/UNPACK.TXT -> 16/v2/source/verge/UTIL/UNPACK/UNPACK.TXT
renamed:    src/v2/source/VCC/CLEAN.BAT -> 16/v2/source/verge/VCC/CLEAN.BAT
renamed:    src/v2/source/VCC/CODE.H -> 16/v2/source/verge/VCC/CODE.H
renamed:    src/v2/source/VCC/COMPILE.C -> 16/v2/source/verge/VCC/COMPILE.C
renamed:    src/v2/source/VCC/COMPILE.H -> 16/v2/source/verge/VCC/COMPILE.H
renamed:    src/v2/source/VCC/FUNCLIB.C -> 16/v2/source/verge/VCC/FUNCLIB.C
renamed:    src/v2/source/VCC/FUNCLIB.H -> 16/v2/source/verge/VCC/FUNCLIB.H
renamed:    src/v2/source/VCC/LEXICAL.C -> 16/v2/source/verge/VCC/LEXICAL.C
renamed:    src/v2/source/VCC/LEXICAL.H -> 16/v2/source/verge/VCC/LEXICAL.H
renamed:    src/v2/source/VCC/MAKEDJ.BAT -> 16/v2/source/verge/VCC/MAKEDJ.BAT
renamed:    src/v2/source/VCC/PREPROC.C -> 16/v2/source/verge/VCC/PREPROC.C
renamed:    src/v2/source/VCC/PREPROC.H -> 16/v2/source/verge/VCC/PREPROC.H
renamed:    src/v2/source/VCC/VCC.C -> 16/v2/source/verge/VCC/VCC.C
renamed:    src/v2/source/VCC/VCC.H -> 16/v2/source/verge/VCC/VCC.H
renamed:    src/v2/source/ENGINE/VCCODE.H -> 16/v2/source/verge/VCC/VCCODE.H
renamed:    src/v2/source/gnu.txt -> 16/v2/source/verge/gnu.txt
renamed:    src/v2/template/NULL.VSP -> 16/v2/template/NULL.VSP
renamed:    src/v2/template/SYSTEM.IDX -> 16/v2/template/SYSTEM.IDX
renamed:    src/v2/template/SYSTEM.VCS -> 16/v2/template/SYSTEM.VCS
renamed:    src/v2/template/TRANS.TBL -> 16/v2/template/TRANS.TBL
renamed:    src/v2/template/USER.CFG -> 16/v2/template/USER.CFG
renamed:    src/v2/template/VECNA.CHR -> 16/v2/template/VECNA.CHR
renamed:    src/v2/VERGE.EXE -> 16/v2/template/VERGE.EXE
renamed:    src/v2/template/VERGE.LOG -> 16/v2/template/VERGE.LOG
renamed:    src/v2/template/console.gif -> 16/v2/template/console.gif
renamed:    src/v2/template/start.map -> 16/v2/template/start.map
renamed:    src/v2/template/start.vc -> 16/v2/template/start.vc
renamed:    src/v2/template/system.fnt -> 16/v2/template/system.fnt
renamed:    src/v2/template/system.vc -> 16/v2/template/system.vc
renamed:    src/v2/template/text.fnt -> 16/v2/template/text.fnt
renamed:    src/v2/util/CHRCONV.EXE -> 16/v2/util/CHRCONV.EXE
renamed:    src/v2/source/UTIL/CHRCONV/CHRCONV.TXT -> 16/v2/util/CHRCONV.TXT
renamed:    src/v2/util/CHRMAK.EXE -> 16/v2/util/CHRMAK.EXE
renamed:    src/v2/source/UTIL/CHRMAK/CHRMAK.TXT -> 16/v2/util/CHRMAK.TXT
renamed:    src/v2/util/PACK.EXE -> 16/v2/util/PACK.EXE
renamed:    src/v2/source/UTIL/PACK/PACK.TXT -> 16/v2/util/PACK.TXT
renamed:    src/v2/util/PCX2FNT.EXE -> 16/v2/util/PCX2FNT.EXE
renamed:    src/v2/source/UTIL/PCX2FNT/PCX2FNT.TXT -> 16/v2/util/PCX2FNT.TXT
renamed:    src/v2/util/TRANS.EXE -> 16/v2/util/TRANS.EXE
renamed:    src/v2/source/UTIL/TRANS/TRANS.TXT -> 16/v2/util/TRANS.TXT
renamed:    src/v2/util/UNPACK.EXE -> 16/v2/util/UNPACK.EXE
renamed:    src/v2/source/UTIL/UNPACK/UNPACK.TXT -> 16/v2/util/UNPACK.TXT
modified:   Project 16.bfproject
new file:   data/font.pcx
modified:   maptest.exe
modified:   pcxtest.exe
modified:   scroll.exe
modified:   src/lib/bitmap.h
modified:   src/lib/lib_head.h
modified:   src/lib/modex16.c
modified:   src/lib/modex16.h
modified:   src/scroll.c
new file:   src/util/setres.c
modified:   test.exe
modified:   test2.exe

348 files changed:
16/v2/CONSOLE.TXT [moved from src/v2/CONSOLE.TXT with 100% similarity]
16/v2/MAPED.CFG [moved from src/v2/MAPED.CFG with 100% similarity]
16/v2/MAPED.EXE [moved from src/v2/MAPED.EXE with 100% similarity]
16/v2/MAPED2.TXT [moved from src/v2/MAPED2.TXT with 100% similarity]
16/v2/V2A10_27.ZIP [moved from src/v2/V2A10_27.ZIP with 100% similarity]
16/v2/V2T5_9.ZIP [moved from src/v2/V2T5_9.ZIP with 100% similarity]
16/v2/V2U5_9.ZIP [moved from src/v2/V2U5_9.ZIP with 100% similarity]
16/v2/VCC.EXE [moved from src/v2/VCC.EXE with 100% similarity]
16/v2/VERGE.EXE [moved from src/v2/VERGE.EXE with 100% similarity]
16/v2/VERGEC.TXT [moved from src/v2/VERGEC.TXT with 100% similarity]
16/v2/contents.txt [moved from src/v2/contents.txt with 100% similarity]
16/v2/source/ENGINE/AUDIO.H [moved from src/v2/source/ENGINE/AUDIO.H with 100% similarity]
16/v2/source/ENGINE/A_MEMORY.C [moved from src/v2/source/ENGINE/A_MEMORY.C with 100% similarity]
16/v2/source/ENGINE/A_MEMORY.H [moved from src/v2/source/ENGINE/A_MEMORY.H with 100% similarity]
16/v2/source/ENGINE/CONLIB.C [moved from src/v2/source/ENGINE/CONLIB.C with 100% similarity]
16/v2/source/ENGINE/CONLIB.H [moved from src/v2/source/ENGINE/CONLIB.H with 100% similarity]
16/v2/source/ENGINE/CONSOLE.C [moved from src/v2/source/ENGINE/CONSOLE.C with 100% similarity]
16/v2/source/ENGINE/CONSOLE.H [moved from src/v2/source/ENGINE/CONSOLE.H with 100% similarity]
16/v2/source/ENGINE/CONTROLS.C [moved from src/v2/source/ENGINE/CONTROLS.C with 100% similarity]
16/v2/source/ENGINE/CONTROLS.H [moved from src/v2/source/ENGINE/CONTROLS.H with 100% similarity]
16/v2/source/ENGINE/ENGINE.C [moved from src/v2/source/ENGINE/ENGINE.C with 100% similarity]
16/v2/source/ENGINE/ENGINE.H [moved from src/v2/source/ENGINE/ENGINE.H with 100% similarity]
16/v2/source/ENGINE/ENTITY.C [moved from src/v2/source/ENGINE/ENTITY.C with 100% similarity]
16/v2/source/ENGINE/ENTITY.H [moved from src/v2/source/ENGINE/ENTITY.H with 100% similarity]
16/v2/source/ENGINE/FLI.C [moved from src/v2/source/ENGINE/FLI.C with 100% similarity]
16/v2/source/ENGINE/FLI.H [moved from src/v2/source/ENGINE/FLI.H with 100% similarity]
16/v2/source/ENGINE/FONT.C [moved from src/v2/source/ENGINE/FONT.C with 100% similarity]
16/v2/source/ENGINE/FONT.H [moved from src/v2/source/ENGINE/FONT.H with 100% similarity]
16/v2/source/ENGINE/IMAGE.C [moved from src/v2/source/ENGINE/IMAGE.C with 100% similarity]
16/v2/source/ENGINE/IMAGE.H [moved from src/v2/source/ENGINE/IMAGE.H with 100% similarity]
16/v2/source/ENGINE/INTER.H [moved from src/v2/source/ENGINE/INTER.H with 100% similarity]
16/v2/source/ENGINE/KEYBOARD.H [moved from src/v2/source/ENGINE/KEYBOARD.H with 100% similarity]
16/v2/source/ENGINE/KEYBOARD.S [moved from src/v2/source/ENGINE/KEYBOARD.S with 100% similarity]
16/v2/source/ENGINE/MAIN.H [moved from src/v2/source/ENGINE/MAIN.H with 100% similarity]
16/v2/source/ENGINE/MAKE.BAT [moved from src/v2/source/ENGINE/MAKE.BAT with 100% similarity]
16/v2/source/ENGINE/MAKEFILE [moved from src/v2/source/ENGINE/MAKEFILE with 100% similarity]
16/v2/source/ENGINE/MESSAGE.C [moved from src/v2/source/ENGINE/MESSAGE.C with 100% similarity]
16/v2/source/ENGINE/MESSAGE.H [moved from src/v2/source/ENGINE/MESSAGE.H with 100% similarity]
16/v2/source/ENGINE/MIKMOD.A [moved from src/v2/source/ENGINE/MIKMOD.A with 100% similarity]
16/v2/source/ENGINE/MIKMOD.C [moved from src/v2/source/ENGINE/MIKMOD.C with 100% similarity]
16/v2/source/ENGINE/MIKMOD.H [moved from src/v2/source/ENGINE/MIKMOD.H with 100% similarity]
16/v2/source/ENGINE/MODE13H.C [moved from src/v2/source/ENGINE/MODE13H.C with 100% similarity]
16/v2/source/ENGINE/MODEINIT.C [moved from src/v2/source/ENGINE/MODEINIT.C with 100% similarity]
16/v2/source/ENGINE/MODEX.C [moved from src/v2/source/ENGINE/MODEX.C with 100% similarity]
16/v2/source/ENGINE/MTYPES.H [moved from src/v2/source/ENGINE/MTYPES.H with 100% similarity]
16/v2/source/ENGINE/PCX.H [moved from src/v2/source/ENGINE/PCX.H with 100% similarity]
16/v2/source/ENGINE/RENDER.C [moved from src/v2/source/ENGINE/RENDER.C with 100% similarity]
16/v2/source/ENGINE/RENDER.H [moved from src/v2/source/ENGINE/RENDER.H with 100% similarity]
16/v2/source/ENGINE/SINCOS.H [moved from src/v2/source/ENGINE/SINCOS.H with 100% similarity]
16/v2/source/ENGINE/SOUND.C [moved from src/v2/source/ENGINE/SOUND.C with 100% similarity]
16/v2/source/ENGINE/SOUND.H [moved from src/v2/source/ENGINE/SOUND.H with 100% similarity]
16/v2/source/ENGINE/STARTUP.C [moved from src/v2/source/ENGINE/STARTUP.C with 100% similarity]
16/v2/source/ENGINE/TIMER.C [moved from src/v2/source/ENGINE/TIMER.C with 100% similarity]
16/v2/source/ENGINE/TIMER.H [moved from src/v2/source/ENGINE/TIMER.H with 100% similarity]
16/v2/source/ENGINE/VC.C [moved from src/v2/source/ENGINE/VC.C with 100% similarity]
16/v2/source/ENGINE/VC.H [moved from src/v2/source/ENGINE/VC.H with 100% similarity]
16/v2/source/ENGINE/VCCODE.H [moved from src/v2/source/ENGINE/VCCODE.H with 100% similarity]
16/v2/source/ENGINE/VDRIVER.C [moved from src/v2/source/ENGINE/VDRIVER.C with 100% similarity]
16/v2/source/ENGINE/VDRIVER.H [moved from src/v2/source/ENGINE/VDRIVER.H with 100% similarity]
16/v2/source/ENGINE/VERGE.C [moved from src/v2/source/ENGINE/VERGE.C with 100% similarity]
16/v2/source/ENGINE/VERGE.H [moved from src/v2/source/ENGINE/VERGE.H with 100% similarity]
16/v2/source/ENGINE/VESA.C [moved from src/v2/source/ENGINE/VESA.C with 100% similarity]
16/v2/source/ENGINE/VFILE.C [moved from src/v2/source/ENGINE/VFILE.C with 100% similarity]
16/v2/source/ENGINE/VFILE.H [moved from src/v2/source/ENGINE/VFILE.H with 100% similarity]
16/v2/source/MAPED/A_MEMORY.C [moved from src/v2/source/MAPED/A_MEMORY.C with 100% similarity]
16/v2/source/MAPED/COLBAK.H [moved from src/v2/source/MAPED/COLBAK.H with 100% similarity]
16/v2/source/MAPED/COLSTUFF.H [moved from src/v2/source/MAPED/COLSTUFF.H with 100% similarity]
16/v2/source/MAPED/COLUMNS.C [moved from src/v2/source/MAPED/COLUMNS.C with 100% similarity]
16/v2/source/MAPED/COLUMNS.H [moved from src/v2/source/MAPED/COLUMNS.H with 100% similarity]
16/v2/source/MAPED/CONFIG.C [moved from src/v2/source/MAPED/CONFIG.C with 100% similarity]
16/v2/source/MAPED/CONFIG.H [moved from src/v2/source/MAPED/CONFIG.H with 100% similarity]
16/v2/source/MAPED/CONTROLS.C [moved from src/v2/source/MAPED/CONTROLS.C with 100% similarity]
16/v2/source/MAPED/GUI.C [moved from src/v2/source/MAPED/GUI.C with 100% similarity]
16/v2/source/MAPED/GUI.H [moved from src/v2/source/MAPED/GUI.H with 100% similarity]
16/v2/source/MAPED/GUICOMP.C [moved from src/v2/source/MAPED/GUICOMP.C with 100% similarity]
16/v2/source/MAPED/GUICOMP.H [moved from src/v2/source/MAPED/GUICOMP.H with 100% similarity]
16/v2/source/MAPED/INTER.H [moved from src/v2/source/MAPED/INTER.H with 100% similarity]
16/v2/source/MAPED/KEYBOARD.C [moved from src/v2/source/MAPED/KEYBOARD.C with 100% similarity]
16/v2/source/MAPED/KEYBOARD.H [moved from src/v2/source/MAPED/KEYBOARD.H with 100% similarity]
16/v2/source/MAPED/MAKEFILE [moved from src/v2/source/MAPED/MAKEFILE with 100% similarity]
16/v2/source/MAPED/MAPED.C [moved from src/v2/source/MAPED/MAPED.C with 100% similarity]
16/v2/source/MAPED/MAPED.H [moved from src/v2/source/MAPED/MAPED.H with 100% similarity]
16/v2/source/MAPED/MIKMOD.C [moved from src/v2/source/MAPED/MIKMOD.C with 100% similarity]
16/v2/source/MAPED/MIKMOD.H [moved from src/v2/source/MAPED/MIKMOD.H with 100% similarity]
16/v2/source/MAPED/MIKMOD.LIB [moved from src/v2/source/MAPED/MIKMOD.LIB with 100% similarity]
16/v2/source/MAPED/MINIMAP.C [moved from src/v2/source/MAPED/MINIMAP.C with 100% similarity]
16/v2/source/MAPED/MINIMAP.H [moved from src/v2/source/MAPED/MINIMAP.H with 100% similarity]
16/v2/source/MAPED/MODE13H.C [moved from src/v2/source/MAPED/MODE13H.C with 100% similarity]
16/v2/source/MAPED/MODE13H.H [moved from src/v2/source/MAPED/MODE13H.H with 100% similarity]
16/v2/source/MAPED/MODEX.C [moved from src/v2/source/MAPED/MODEX.C with 100% similarity]
16/v2/source/MAPED/MODEX.H [moved from src/v2/source/MAPED/MODEX.H with 100% similarity]
16/v2/source/MAPED/MOUSE.C [moved from src/v2/source/MAPED/MOUSE.C with 100% similarity]
16/v2/source/MAPED/MOUSE.H [moved from src/v2/source/MAPED/MOUSE.H with 100% similarity]
16/v2/source/MAPED/MTYPES.H [moved from src/v2/source/MAPED/MTYPES.H with 100% similarity]
16/v2/source/MAPED/PCX.C [moved from src/v2/source/MAPED/PCX.C with 100% similarity]
16/v2/source/MAPED/RENDER.C [moved from src/v2/source/MAPED/RENDER.C with 100% similarity]
16/v2/source/MAPED/RENDER.H [moved from src/v2/source/MAPED/RENDER.H with 100% similarity]
16/v2/source/MAPED/SMALFONT.C [moved from src/v2/source/MAPED/SMALFONT.C with 100% similarity]
16/v2/source/MAPED/SMALFONT.H [moved from src/v2/source/MAPED/SMALFONT.H with 100% similarity]
16/v2/source/MAPED/SSAVER.C [moved from src/v2/source/MAPED/SSAVER.C with 100% similarity]
16/v2/source/MAPED/SSAVER.H [moved from src/v2/source/MAPED/SSAVER.H with 100% similarity]
16/v2/source/MAPED/SSAVER1.C [moved from src/v2/source/MAPED/SSAVER1.C with 100% similarity]
16/v2/source/MAPED/TILEED.C [moved from src/v2/source/MAPED/TILEED.C with 100% similarity]
16/v2/source/MAPED/TILEED.H [moved from src/v2/source/MAPED/TILEED.H with 100% similarity]
16/v2/source/MAPED/TILESEL.C [moved from src/v2/source/MAPED/TILESEL.C with 100% similarity]
16/v2/source/MAPED/TILESEL.H [moved from src/v2/source/MAPED/TILESEL.H with 100% similarity]
16/v2/source/MAPED/TIMER.C [moved from src/v2/source/MAPED/TIMER.C with 100% similarity]
16/v2/source/MAPED/TIMER.H [moved from src/v2/source/MAPED/TIMER.H with 100% similarity]
16/v2/source/MAPED/VDRIVER.C [moved from src/v2/source/MAPED/VDRIVER.C with 100% similarity]
16/v2/source/MAPED/VDRIVER.H [moved from src/v2/source/MAPED/VDRIVER.H with 100% similarity]
16/v2/source/MAPED/VERGEPAL.H [moved from src/v2/source/MAPED/VERGEPAL.H with 100% similarity]
16/v2/source/README.TXT [moved from src/v2/source/README.TXT with 100% similarity]
16/v2/source/UTIL/CHRCONV/CHRCONV.C [moved from src/v2/source/UTIL/CHRCONV/CHRCONV.C with 100% similarity]
16/v2/source/UTIL/CHRCONV/CHRCONV.TXT [moved from src/v2/source/UTIL/CHRCONV/CHRCONV.TXT with 100% similarity]
16/v2/source/UTIL/CHRCONV/DARIN.CHR [moved from src/v2/source/UTIL/CHRCONV/DARIN.CHR with 100% similarity]
16/v2/source/UTIL/CHRCONV/MAKEDJ.BAT [moved from src/v2/source/UTIL/CHRCONV/MAKEDJ.BAT with 100% similarity]
16/v2/source/UTIL/CHRMAK/CHRMAK.CC [moved from src/v2/source/UTIL/CHRMAK/CHRMAK.CC with 100% similarity]
16/v2/source/UTIL/CHRMAK/CHRMAK.TXT [moved from src/v2/source/UTIL/CHRMAK/CHRMAK.TXT with 100% similarity]
16/v2/source/UTIL/CHRMAK/MAKEDJ.BAT [moved from src/v2/source/UTIL/CHRMAK/MAKEDJ.BAT with 100% similarity]
16/v2/source/UTIL/CHRMAK/MAKEWAT.BAT [moved from src/v2/source/UTIL/CHRMAK/MAKEWAT.BAT with 100% similarity]
16/v2/source/UTIL/CHRMAK/VECNA.MAK [moved from src/v2/source/UTIL/CHRMAK/VECNA.MAK with 100% similarity]
16/v2/source/UTIL/CHRMAK/VECNA.PCX [moved from src/v2/source/UTIL/CHRMAK/VECNA.PCX with 100% similarity]
16/v2/source/UTIL/CHRMAK/VER [moved from src/v2/source/UTIL/CHRMAK/VER with 100% similarity]
16/v2/source/UTIL/PACK/MAKEDJ.BAT [moved from src/v2/source/UTIL/PACK/MAKEDJ.BAT with 100% similarity]
16/v2/source/UTIL/PACK/PACK.C [moved from src/v2/source/UTIL/PACK/PACK.C with 100% similarity]
16/v2/source/UTIL/PACK/PACK.TXT [moved from src/v2/source/UTIL/PACK/PACK.TXT with 100% similarity]
16/v2/source/UTIL/PACK/TEST [moved from src/v2/source/UTIL/PACK/TEST with 100% similarity]
16/v2/source/UTIL/PACK/TODO [moved from src/v2/source/UTIL/PACK/TODO with 100% similarity]
16/v2/source/UTIL/PCX2FNT/FONT0.PCX [moved from src/v2/source/UTIL/PCX2FNT/FONT0.PCX with 100% similarity]
16/v2/source/UTIL/PCX2FNT/FONT02B.PCX [moved from src/v2/source/UTIL/PCX2FNT/FONT02B.PCX with 100% similarity]
16/v2/source/UTIL/PCX2FNT/MAKEDJ.BAT [moved from src/v2/source/UTIL/PCX2FNT/MAKEDJ.BAT with 100% similarity]
16/v2/source/UTIL/PCX2FNT/PCX2FNT.C [moved from src/v2/source/UTIL/PCX2FNT/PCX2FNT.C with 100% similarity]
16/v2/source/UTIL/PCX2FNT/PCX2FNT.TXT [moved from src/v2/source/UTIL/PCX2FNT/PCX2FNT.TXT with 100% similarity]
16/v2/source/UTIL/TRANS/MAKEDJ.BAT [moved from src/v2/source/UTIL/TRANS/MAKEDJ.BAT with 100% similarity]
16/v2/source/UTIL/TRANS/SULLY.PDF [moved from src/v2/source/UTIL/TRANS/SULLY.PDF with 100% similarity]
16/v2/source/UTIL/TRANS/TRANS.C [moved from src/v2/source/UTIL/TRANS/TRANS.C with 100% similarity]
16/v2/source/UTIL/TRANS/TRANS.TXT [moved from src/v2/source/UTIL/TRANS/TRANS.TXT with 100% similarity]
16/v2/source/UTIL/TRANS/TYRIAN.PDF [moved from src/v2/source/UTIL/TRANS/TYRIAN.PDF with 100% similarity]
16/v2/source/UTIL/TRANS/TYRPAL.PCX [moved from src/v2/source/UTIL/TRANS/TYRPAL.PCX with 100% similarity]
16/v2/source/UTIL/TRANS/VERGE.PDF [moved from src/v2/source/UTIL/TRANS/VERGE.PDF with 100% similarity]
16/v2/source/UTIL/UNPACK/MAKEDJ.BAT [moved from src/v2/source/UTIL/UNPACK/MAKEDJ.BAT with 100% similarity]
16/v2/source/UTIL/UNPACK/TEST [moved from src/v2/source/UTIL/UNPACK/TEST with 100% similarity]
16/v2/source/UTIL/UNPACK/TODO [moved from src/v2/source/UTIL/UNPACK/TODO with 100% similarity]
16/v2/source/UTIL/UNPACK/UNPACK.C [moved from src/v2/source/UTIL/UNPACK/UNPACK.C with 100% similarity]
16/v2/source/UTIL/UNPACK/UNPACK.TXT [moved from src/v2/source/UTIL/UNPACK/UNPACK.TXT with 100% similarity]
16/v2/source/VCC/CLEAN.BAT [moved from src/v2/source/VCC/CLEAN.BAT with 100% similarity]
16/v2/source/VCC/CODE.H [moved from src/v2/source/VCC/CODE.H with 100% similarity]
16/v2/source/VCC/COMPILE.C [moved from src/v2/source/VCC/COMPILE.C with 100% similarity]
16/v2/source/VCC/COMPILE.H [moved from src/v2/source/VCC/COMPILE.H with 100% similarity]
16/v2/source/VCC/FUNCLIB.C [moved from src/v2/source/VCC/FUNCLIB.C with 100% similarity]
16/v2/source/VCC/FUNCLIB.H [moved from src/v2/source/VCC/FUNCLIB.H with 100% similarity]
16/v2/source/VCC/LEXICAL.C [moved from src/v2/source/VCC/LEXICAL.C with 100% similarity]
16/v2/source/VCC/LEXICAL.H [moved from src/v2/source/VCC/LEXICAL.H with 100% similarity]
16/v2/source/VCC/MAKEDJ.BAT [moved from src/v2/source/VCC/MAKEDJ.BAT with 100% similarity]
16/v2/source/VCC/PREPROC.C [moved from src/v2/source/VCC/PREPROC.C with 100% similarity]
16/v2/source/VCC/PREPROC.H [moved from src/v2/source/VCC/PREPROC.H with 100% similarity]
16/v2/source/VCC/VCC.C [moved from src/v2/source/VCC/VCC.C with 100% similarity]
16/v2/source/VCC/VCC.H [moved from src/v2/source/VCC/VCC.H with 100% similarity]
16/v2/source/VCC/VCCODE.H [moved from src/v2/source/VCC/VCCODE.H with 100% similarity]
16/v2/source/archives/V2GPL.ZIP [moved from src/v2/source/archives/V2GPL.ZIP with 100% similarity]
16/v2/source/gnu.txt [moved from src/v2/source/gnu.txt with 100% similarity]
16/v2/source/verge/ENGINE/AUDIO.H [moved from src/v2/source/verge/ENGINE/AUDIO.H with 100% similarity]
16/v2/source/verge/ENGINE/A_MEMORY.C [moved from src/v2/source/verge/ENGINE/A_MEMORY.C with 100% similarity]
16/v2/source/verge/ENGINE/A_MEMORY.H [moved from src/v2/source/verge/ENGINE/A_MEMORY.H with 100% similarity]
16/v2/source/verge/ENGINE/CONLIB.C [moved from src/v2/source/verge/ENGINE/CONLIB.C with 100% similarity]
16/v2/source/verge/ENGINE/CONLIB.H [moved from src/v2/source/verge/ENGINE/CONLIB.H with 100% similarity]
16/v2/source/verge/ENGINE/CONSOLE.C [moved from src/v2/source/verge/ENGINE/CONSOLE.C with 100% similarity]
16/v2/source/verge/ENGINE/CONSOLE.H [moved from src/v2/source/verge/ENGINE/CONSOLE.H with 100% similarity]
16/v2/source/verge/ENGINE/CONTROLS.C [moved from src/v2/source/verge/ENGINE/CONTROLS.C with 100% similarity]
16/v2/source/verge/ENGINE/CONTROLS.H [moved from src/v2/source/verge/ENGINE/CONTROLS.H with 100% similarity]
16/v2/source/verge/ENGINE/ENGINE.C [moved from src/v2/source/verge/ENGINE/ENGINE.C with 100% similarity]
16/v2/source/verge/ENGINE/ENGINE.H [moved from src/v2/source/verge/ENGINE/ENGINE.H with 100% similarity]
16/v2/source/verge/ENGINE/ENTITY.C [moved from src/v2/source/verge/ENGINE/ENTITY.C with 100% similarity]
16/v2/source/verge/ENGINE/ENTITY.H [moved from src/v2/source/verge/ENGINE/ENTITY.H with 100% similarity]
16/v2/source/verge/ENGINE/FLI.C [moved from src/v2/source/verge/ENGINE/FLI.C with 100% similarity]
16/v2/source/verge/ENGINE/FLI.H [moved from src/v2/source/verge/ENGINE/FLI.H with 100% similarity]
16/v2/source/verge/ENGINE/FONT.C [moved from src/v2/source/verge/ENGINE/FONT.C with 100% similarity]
16/v2/source/verge/ENGINE/FONT.H [moved from src/v2/source/verge/ENGINE/FONT.H with 100% similarity]
16/v2/source/verge/ENGINE/IMAGE.C [moved from src/v2/source/verge/ENGINE/IMAGE.C with 100% similarity]
16/v2/source/verge/ENGINE/IMAGE.H [moved from src/v2/source/verge/ENGINE/IMAGE.H with 100% similarity]
16/v2/source/verge/ENGINE/INTER.H [moved from src/v2/source/verge/ENGINE/INTER.H with 100% similarity]
16/v2/source/verge/ENGINE/KEYBOARD.H [moved from src/v2/source/verge/ENGINE/KEYBOARD.H with 100% similarity]
16/v2/source/verge/ENGINE/KEYBOARD.S [moved from src/v2/source/verge/ENGINE/KEYBOARD.S with 100% similarity]
16/v2/source/verge/ENGINE/MAIN.H [moved from src/v2/source/verge/ENGINE/MAIN.H with 100% similarity]
16/v2/source/verge/ENGINE/MAKEFILE [moved from src/v2/source/verge/ENGINE/MAKEFILE with 100% similarity]
16/v2/source/verge/ENGINE/MESSAGE.C [moved from src/v2/source/verge/ENGINE/MESSAGE.C with 100% similarity]
16/v2/source/verge/ENGINE/MESSAGE.H [moved from src/v2/source/verge/ENGINE/MESSAGE.H with 100% similarity]
16/v2/source/verge/ENGINE/MIKMOD.A [moved from src/v2/source/verge/ENGINE/MIKMOD.A with 100% similarity]
16/v2/source/verge/ENGINE/MIKMOD.C [moved from src/v2/source/verge/ENGINE/MIKMOD.C with 100% similarity]
16/v2/source/verge/ENGINE/MIKMOD.H [moved from src/v2/source/verge/ENGINE/MIKMOD.H with 100% similarity]
16/v2/source/verge/ENGINE/MODE13H.C [moved from src/v2/source/verge/ENGINE/MODE13H.C with 100% similarity]
16/v2/source/verge/ENGINE/MODEINIT.C [moved from src/v2/source/verge/ENGINE/MODEINIT.C with 100% similarity]
16/v2/source/verge/ENGINE/MODEX.C [moved from src/v2/source/verge/ENGINE/MODEX.C with 100% similarity]
16/v2/source/verge/ENGINE/MTYPES.H [moved from src/v2/source/verge/ENGINE/MTYPES.H with 100% similarity]
16/v2/source/verge/ENGINE/PCX.H [moved from src/v2/source/verge/ENGINE/PCX.H with 100% similarity]
16/v2/source/verge/ENGINE/RENDER.C [moved from src/v2/source/verge/ENGINE/RENDER.C with 100% similarity]
16/v2/source/verge/ENGINE/RENDER.H [moved from src/v2/source/verge/ENGINE/RENDER.H with 100% similarity]
16/v2/source/verge/ENGINE/SINCOS.H [moved from src/v2/source/verge/ENGINE/SINCOS.H with 100% similarity]
16/v2/source/verge/ENGINE/SOUND.C [moved from src/v2/source/verge/ENGINE/SOUND.C with 100% similarity]
16/v2/source/verge/ENGINE/SOUND.H [moved from src/v2/source/verge/ENGINE/SOUND.H with 100% similarity]
16/v2/source/verge/ENGINE/STARTUP.C [moved from src/v2/source/verge/ENGINE/STARTUP.C with 100% similarity]
16/v2/source/verge/ENGINE/TIMER.C [moved from src/v2/source/verge/ENGINE/TIMER.C with 100% similarity]
16/v2/source/verge/ENGINE/TIMER.H [moved from src/v2/source/verge/ENGINE/TIMER.H with 100% similarity]
16/v2/source/verge/ENGINE/VC.C [moved from src/v2/source/verge/ENGINE/VC.C with 100% similarity]
16/v2/source/verge/ENGINE/VC.H [moved from src/v2/source/verge/ENGINE/VC.H with 100% similarity]
16/v2/source/verge/ENGINE/VCCODE.H [moved from src/v2/source/verge/ENGINE/VCCODE.H with 100% similarity]
16/v2/source/verge/ENGINE/VDRIVER.C [moved from src/v2/source/verge/ENGINE/VDRIVER.C with 100% similarity]
16/v2/source/verge/ENGINE/VDRIVER.H [moved from src/v2/source/verge/ENGINE/VDRIVER.H with 100% similarity]
16/v2/source/verge/ENGINE/VERGE.C [moved from src/v2/source/verge/ENGINE/VERGE.C with 100% similarity]
16/v2/source/verge/ENGINE/VERGE.H [moved from src/v2/source/verge/ENGINE/VERGE.H with 100% similarity]
16/v2/source/verge/ENGINE/VESA.C [moved from src/v2/source/verge/ENGINE/VESA.C with 100% similarity]
16/v2/source/verge/ENGINE/VFILE.C [moved from src/v2/source/verge/ENGINE/VFILE.C with 100% similarity]
16/v2/source/verge/ENGINE/VFILE.H [moved from src/v2/source/verge/ENGINE/VFILE.H with 100% similarity]
16/v2/source/verge/MAPED/A_MEMORY.C [moved from src/v2/source/verge/MAPED/A_MEMORY.C with 100% similarity]
16/v2/source/verge/MAPED/COLBAK.H [moved from src/v2/source/verge/MAPED/COLBAK.H with 100% similarity]
16/v2/source/verge/MAPED/COLSTUFF.H [moved from src/v2/source/verge/MAPED/COLSTUFF.H with 100% similarity]
16/v2/source/verge/MAPED/COLUMNS.C [moved from src/v2/source/verge/MAPED/COLUMNS.C with 100% similarity]
16/v2/source/verge/MAPED/COLUMNS.H [moved from src/v2/source/verge/MAPED/COLUMNS.H with 100% similarity]
16/v2/source/verge/MAPED/CONFIG.C [moved from src/v2/source/verge/MAPED/CONFIG.C with 100% similarity]
16/v2/source/verge/MAPED/CONFIG.H [moved from src/v2/source/verge/MAPED/CONFIG.H with 100% similarity]
16/v2/source/verge/MAPED/CONTROLS.C [moved from src/v2/source/verge/MAPED/CONTROLS.C with 100% similarity]
16/v2/source/verge/MAPED/GUI.C [moved from src/v2/source/verge/MAPED/GUI.C with 100% similarity]
16/v2/source/verge/MAPED/GUI.H [moved from src/v2/source/verge/MAPED/GUI.H with 100% similarity]
16/v2/source/verge/MAPED/GUICOMP.C [moved from src/v2/source/verge/MAPED/GUICOMP.C with 100% similarity]
16/v2/source/verge/MAPED/GUICOMP.H [moved from src/v2/source/verge/MAPED/GUICOMP.H with 100% similarity]
16/v2/source/verge/MAPED/INTER.H [moved from src/v2/source/verge/MAPED/INTER.H with 100% similarity]
16/v2/source/verge/MAPED/KEYBOARD.C [moved from src/v2/source/verge/MAPED/KEYBOARD.C with 100% similarity]
16/v2/source/verge/MAPED/KEYBOARD.H [moved from src/v2/source/verge/MAPED/KEYBOARD.H with 100% similarity]
16/v2/source/verge/MAPED/MAKEFILE [moved from src/v2/source/verge/MAPED/MAKEFILE with 100% similarity]
16/v2/source/verge/MAPED/MAPED.C [moved from src/v2/source/verge/MAPED/MAPED.C with 100% similarity]
16/v2/source/verge/MAPED/MAPED.H [moved from src/v2/source/verge/MAPED/MAPED.H with 100% similarity]
16/v2/source/verge/MAPED/MIKMOD.C [moved from src/v2/source/verge/MAPED/MIKMOD.C with 100% similarity]
16/v2/source/verge/MAPED/MIKMOD.H [moved from src/v2/source/verge/MAPED/MIKMOD.H with 100% similarity]
16/v2/source/verge/MAPED/MIKMOD.LIB [moved from src/v2/source/verge/MAPED/MIKMOD.LIB with 100% similarity]
16/v2/source/verge/MAPED/MINIMAP.C [moved from src/v2/source/verge/MAPED/MINIMAP.C with 100% similarity]
16/v2/source/verge/MAPED/MINIMAP.H [moved from src/v2/source/verge/MAPED/MINIMAP.H with 100% similarity]
16/v2/source/verge/MAPED/MODE13H.C [moved from src/v2/source/verge/MAPED/MODE13H.C with 100% similarity]
16/v2/source/verge/MAPED/MODE13H.H [moved from src/v2/source/verge/MAPED/MODE13H.H with 100% similarity]
16/v2/source/verge/MAPED/MODEX.C [moved from src/v2/source/verge/MAPED/MODEX.C with 100% similarity]
16/v2/source/verge/MAPED/MODEX.H [moved from src/v2/source/verge/MAPED/MODEX.H with 100% similarity]
16/v2/source/verge/MAPED/MOUSE.C [moved from src/v2/source/verge/MAPED/MOUSE.C with 100% similarity]
16/v2/source/verge/MAPED/MOUSE.H [moved from src/v2/source/verge/MAPED/MOUSE.H with 100% similarity]
16/v2/source/verge/MAPED/MTYPES.H [moved from src/v2/source/verge/MAPED/MTYPES.H with 100% similarity]
16/v2/source/verge/MAPED/PCX.C [moved from src/v2/source/verge/MAPED/PCX.C with 100% similarity]
16/v2/source/verge/MAPED/RENDER.C [moved from src/v2/source/verge/MAPED/RENDER.C with 100% similarity]
16/v2/source/verge/MAPED/RENDER.H [moved from src/v2/source/verge/MAPED/RENDER.H with 100% similarity]
16/v2/source/verge/MAPED/SMALFONT.C [moved from src/v2/source/verge/MAPED/SMALFONT.C with 100% similarity]
16/v2/source/verge/MAPED/SMALFONT.H [moved from src/v2/source/verge/MAPED/SMALFONT.H with 100% similarity]
16/v2/source/verge/MAPED/SSAVER.C [moved from src/v2/source/verge/MAPED/SSAVER.C with 100% similarity]
16/v2/source/verge/MAPED/SSAVER.H [moved from src/v2/source/verge/MAPED/SSAVER.H with 100% similarity]
16/v2/source/verge/MAPED/SSAVER1.C [moved from src/v2/source/verge/MAPED/SSAVER1.C with 100% similarity]
16/v2/source/verge/MAPED/TILEED.C [moved from src/v2/source/verge/MAPED/TILEED.C with 100% similarity]
16/v2/source/verge/MAPED/TILEED.H [moved from src/v2/source/verge/MAPED/TILEED.H with 100% similarity]
16/v2/source/verge/MAPED/TILESEL.C [moved from src/v2/source/verge/MAPED/TILESEL.C with 100% similarity]
16/v2/source/verge/MAPED/TILESEL.H [moved from src/v2/source/verge/MAPED/TILESEL.H with 100% similarity]
16/v2/source/verge/MAPED/TIMER.C [moved from src/v2/source/verge/MAPED/TIMER.C with 100% similarity]
16/v2/source/verge/MAPED/TIMER.H [moved from src/v2/source/verge/MAPED/TIMER.H with 100% similarity]
16/v2/source/verge/MAPED/VDRIVER.C [moved from src/v2/source/verge/MAPED/VDRIVER.C with 100% similarity]
16/v2/source/verge/MAPED/VDRIVER.H [moved from src/v2/source/verge/MAPED/VDRIVER.H with 100% similarity]
16/v2/source/verge/MAPED/VERGEPAL.H [moved from src/v2/source/verge/MAPED/VERGEPAL.H with 100% similarity]
16/v2/source/verge/README.TXT [moved from src/v2/source/verge/README.TXT with 100% similarity]
16/v2/source/verge/UTIL/CHRCONV/CHRCONV.C [moved from src/v2/source/verge/UTIL/CHRCONV/CHRCONV.C with 100% similarity]
16/v2/source/verge/UTIL/CHRCONV/CHRCONV.TXT [moved from src/v2/source/verge/UTIL/CHRCONV/CHRCONV.TXT with 100% similarity]
16/v2/source/verge/UTIL/CHRCONV/DARIN.CHR [moved from src/v2/source/verge/UTIL/CHRCONV/DARIN.CHR with 100% similarity]
16/v2/source/verge/UTIL/CHRCONV/MAKEDJ.BAT [moved from src/v2/source/verge/UTIL/CHRCONV/MAKEDJ.BAT with 100% similarity]
16/v2/source/verge/UTIL/CHRMAK/CHRMAK.CC [moved from src/v2/source/verge/UTIL/CHRMAK/CHRMAK.CC with 100% similarity]
16/v2/source/verge/UTIL/CHRMAK/CHRMAK.TXT [moved from src/v2/source/verge/UTIL/CHRMAK/CHRMAK.TXT with 100% similarity]
16/v2/source/verge/UTIL/CHRMAK/MAKEDJ.BAT [moved from src/v2/source/verge/UTIL/CHRMAK/MAKEDJ.BAT with 100% similarity]
16/v2/source/verge/UTIL/CHRMAK/MAKEWAT.BAT [moved from src/v2/source/verge/UTIL/CHRMAK/MAKEWAT.BAT with 100% similarity]
16/v2/source/verge/UTIL/CHRMAK/VECNA.MAK [moved from src/v2/source/verge/UTIL/CHRMAK/VECNA.MAK with 100% similarity]
16/v2/source/verge/UTIL/CHRMAK/VECNA.PCX [moved from src/v2/source/verge/UTIL/CHRMAK/VECNA.PCX with 100% similarity]
16/v2/source/verge/UTIL/CHRMAK/VER [moved from src/v2/source/verge/UTIL/CHRMAK/VER with 100% similarity]
16/v2/source/verge/UTIL/PACK/MAKEDJ.BAT [moved from src/v2/source/verge/UTIL/PACK/MAKEDJ.BAT with 100% similarity]
16/v2/source/verge/UTIL/PACK/PACK.C [moved from src/v2/source/verge/UTIL/PACK/PACK.C with 100% similarity]
16/v2/source/verge/UTIL/PACK/PACK.TXT [moved from src/v2/source/verge/UTIL/PACK/PACK.TXT with 100% similarity]
16/v2/source/verge/UTIL/PACK/TEST [moved from src/v2/source/verge/UTIL/PACK/TEST with 100% similarity]
16/v2/source/verge/UTIL/PACK/TODO [moved from src/v2/source/verge/UTIL/PACK/TODO with 100% similarity]
16/v2/source/verge/UTIL/PCX2FNT/FONT0.PCX [moved from src/v2/source/verge/UTIL/PCX2FNT/FONT0.PCX with 100% similarity]
16/v2/source/verge/UTIL/PCX2FNT/FONT02B.PCX [moved from src/v2/source/verge/UTIL/PCX2FNT/FONT02B.PCX with 100% similarity]
16/v2/source/verge/UTIL/PCX2FNT/MAKEDJ.BAT [moved from src/v2/source/verge/UTIL/PCX2FNT/MAKEDJ.BAT with 100% similarity]
16/v2/source/verge/UTIL/PCX2FNT/PCX2FNT.C [moved from src/v2/source/verge/UTIL/PCX2FNT/PCX2FNT.C with 100% similarity]
16/v2/source/verge/UTIL/PCX2FNT/PCX2FNT.TXT [moved from src/v2/source/verge/UTIL/PCX2FNT/PCX2FNT.TXT with 100% similarity]
16/v2/source/verge/UTIL/TRANS/MAKEDJ.BAT [moved from src/v2/source/verge/UTIL/TRANS/MAKEDJ.BAT with 100% similarity]
16/v2/source/verge/UTIL/TRANS/SULLY.PDF [moved from src/v2/source/verge/UTIL/TRANS/SULLY.PDF with 100% similarity]
16/v2/source/verge/UTIL/TRANS/TRANS.C [moved from src/v2/source/verge/UTIL/TRANS/TRANS.C with 100% similarity]
16/v2/source/verge/UTIL/TRANS/TRANS.TXT [moved from src/v2/source/verge/UTIL/TRANS/TRANS.TXT with 100% similarity]
16/v2/source/verge/UTIL/TRANS/TYRIAN.PDF [moved from src/v2/source/verge/UTIL/TRANS/TYRIAN.PDF with 100% similarity]
16/v2/source/verge/UTIL/TRANS/TYRPAL.PCX [moved from src/v2/source/verge/UTIL/TRANS/TYRPAL.PCX with 100% similarity]
16/v2/source/verge/UTIL/TRANS/VERGE.PDF [moved from src/v2/source/verge/UTIL/TRANS/VERGE.PDF with 100% similarity]
16/v2/source/verge/UTIL/UNPACK/MAKEDJ.BAT [moved from src/v2/source/verge/UTIL/UNPACK/MAKEDJ.BAT with 100% similarity]
16/v2/source/verge/UTIL/UNPACK/TEST [moved from src/v2/source/verge/UTIL/UNPACK/TEST with 100% similarity]
16/v2/source/verge/UTIL/UNPACK/TODO [moved from src/v2/source/verge/UTIL/UNPACK/TODO with 100% similarity]
16/v2/source/verge/UTIL/UNPACK/UNPACK.C [moved from src/v2/source/verge/UTIL/UNPACK/UNPACK.C with 100% similarity]
16/v2/source/verge/UTIL/UNPACK/UNPACK.TXT [moved from src/v2/source/verge/UTIL/UNPACK/UNPACK.TXT with 100% similarity]
16/v2/source/verge/VCC/CLEAN.BAT [moved from src/v2/source/verge/VCC/CLEAN.BAT with 100% similarity]
16/v2/source/verge/VCC/CODE.H [moved from src/v2/source/verge/VCC/CODE.H with 100% similarity]
16/v2/source/verge/VCC/COMPILE.C [moved from src/v2/source/verge/VCC/COMPILE.C with 100% similarity]
16/v2/source/verge/VCC/COMPILE.H [moved from src/v2/source/verge/VCC/COMPILE.H with 100% similarity]
16/v2/source/verge/VCC/FUNCLIB.C [moved from src/v2/source/verge/VCC/FUNCLIB.C with 100% similarity]
16/v2/source/verge/VCC/FUNCLIB.H [moved from src/v2/source/verge/VCC/FUNCLIB.H with 100% similarity]
16/v2/source/verge/VCC/LEXICAL.C [moved from src/v2/source/verge/VCC/LEXICAL.C with 100% similarity]
16/v2/source/verge/VCC/LEXICAL.H [moved from src/v2/source/verge/VCC/LEXICAL.H with 100% similarity]
16/v2/source/verge/VCC/MAKEDJ.BAT [moved from src/v2/source/verge/VCC/MAKEDJ.BAT with 100% similarity]
16/v2/source/verge/VCC/PREPROC.C [moved from src/v2/source/verge/VCC/PREPROC.C with 100% similarity]
16/v2/source/verge/VCC/PREPROC.H [moved from src/v2/source/verge/VCC/PREPROC.H with 100% similarity]
16/v2/source/verge/VCC/VCC.C [moved from src/v2/source/verge/VCC/VCC.C with 100% similarity]
16/v2/source/verge/VCC/VCC.H [moved from src/v2/source/verge/VCC/VCC.H with 100% similarity]
16/v2/source/verge/VCC/VCCODE.H [moved from src/v2/source/verge/VCC/VCCODE.H with 100% similarity]
16/v2/source/verge/gnu.txt [moved from src/v2/source/verge/gnu.txt with 100% similarity]
16/v2/template/NULL.VSP [moved from src/v2/template/NULL.VSP with 100% similarity]
16/v2/template/SYSTEM.IDX [moved from src/v2/template/SYSTEM.IDX with 100% similarity]
16/v2/template/SYSTEM.VCS [moved from src/v2/template/SYSTEM.VCS with 100% similarity]
16/v2/template/TRANS.TBL [moved from src/v2/template/TRANS.TBL with 100% similarity]
16/v2/template/USER.CFG [moved from src/v2/template/USER.CFG with 100% similarity]
16/v2/template/VECNA.CHR [moved from src/v2/template/VECNA.CHR with 100% similarity]
16/v2/template/VERGE.EXE [moved from src/v2/template/VERGE.EXE with 100% similarity]
16/v2/template/VERGE.LOG [moved from src/v2/template/VERGE.LOG with 100% similarity]
16/v2/template/console.gif [moved from src/v2/template/console.gif with 100% similarity]
16/v2/template/start.map [moved from src/v2/template/start.map with 100% similarity]
16/v2/template/start.vc [moved from src/v2/template/start.vc with 100% similarity]
16/v2/template/system.fnt [moved from src/v2/template/system.fnt with 100% similarity]
16/v2/template/system.vc [moved from src/v2/template/system.vc with 100% similarity]
16/v2/template/text.fnt [moved from src/v2/template/text.fnt with 100% similarity]
16/v2/util/CHRCONV.EXE [moved from src/v2/util/CHRCONV.EXE with 100% similarity]
16/v2/util/CHRCONV.TXT [moved from src/v2/util/CHRCONV.TXT with 100% similarity]
16/v2/util/CHRMAK.EXE [moved from src/v2/util/CHRMAK.EXE with 100% similarity]
16/v2/util/CHRMAK.TXT [moved from src/v2/util/CHRMAK.TXT with 100% similarity]
16/v2/util/PACK.EXE [moved from src/v2/util/PACK.EXE with 100% similarity]
16/v2/util/PACK.TXT [moved from src/v2/util/PACK.TXT with 100% similarity]
16/v2/util/PCX2FNT.EXE [moved from src/v2/util/PCX2FNT.EXE with 100% similarity]
16/v2/util/PCX2FNT.TXT [moved from src/v2/util/PCX2FNT.TXT with 100% similarity]
16/v2/util/TRANS.EXE [moved from src/v2/util/TRANS.EXE with 100% similarity]
16/v2/util/TRANS.TXT [moved from src/v2/util/TRANS.TXT with 100% similarity]
16/v2/util/UNPACK.EXE [moved from src/v2/util/UNPACK.EXE with 100% similarity]
16/v2/util/UNPACK.TXT [moved from src/v2/util/UNPACK.TXT with 100% similarity]
Project 16.bfproject
data/font.pcx [new file with mode: 0644]
maptest.exe
pcxtest.exe
scroll.exe
src/lib/bitmap.h
src/lib/lib_head.h
src/lib/modex16.c
src/lib/modex16.h
src/scroll.c
src/util/setres.c [new file with mode: 0644]
test.exe
test2.exe

similarity index 100%
rename from src/v2/CONSOLE.TXT
rename to 16/v2/CONSOLE.TXT
similarity index 100%
rename from src/v2/MAPED.CFG
rename to 16/v2/MAPED.CFG
similarity index 100%
rename from src/v2/MAPED.EXE
rename to 16/v2/MAPED.EXE
similarity index 100%
rename from src/v2/MAPED2.TXT
rename to 16/v2/MAPED2.TXT
similarity index 100%
rename from src/v2/V2A10_27.ZIP
rename to 16/v2/V2A10_27.ZIP
similarity index 100%
rename from src/v2/V2T5_9.ZIP
rename to 16/v2/V2T5_9.ZIP
similarity index 100%
rename from src/v2/V2U5_9.ZIP
rename to 16/v2/V2U5_9.ZIP
similarity index 100%
rename from src/v2/VCC.EXE
rename to 16/v2/VCC.EXE
similarity index 100%
rename from src/v2/VERGE.EXE
rename to 16/v2/VERGE.EXE
similarity index 100%
rename from src/v2/VERGEC.TXT
rename to 16/v2/VERGEC.TXT
similarity index 100%
rename from src/v2/contents.txt
rename to 16/v2/contents.txt
similarity index 100%
rename from src/v2/source/gnu.txt
rename to 16/v2/source/gnu.txt
similarity index 100%
rename from src/v2/util/CHRMAK.EXE
rename to 16/v2/util/CHRMAK.EXE
similarity index 100%
rename from src/v2/util/CHRMAK.TXT
rename to 16/v2/util/CHRMAK.TXT
similarity index 100%
rename from src/v2/util/PACK.EXE
rename to 16/v2/util/PACK.EXE
similarity index 100%
rename from src/v2/util/PACK.TXT
rename to 16/v2/util/PACK.TXT
similarity index 100%
rename from src/v2/util/TRANS.EXE
rename to 16/v2/util/TRANS.EXE
similarity index 100%
rename from src/v2/util/TRANS.TXT
rename to 16/v2/util/TRANS.TXT
similarity index 100%
rename from src/v2/util/UNPACK.EXE
rename to 16/v2/util/UNPACK.EXE
similarity index 100%
rename from src/v2/util/UNPACK.TXT
rename to 16/v2/util/UNPACK.TXT
index 792c9d1f5d0490a0f4e49cfe069ad509a7a46fe0..b96899a97cd0df7c8700b68e2b1aff7112a0db56 100644 (file)
@@ -3,25 +3,25 @@ e2c.convert_num: 0
 openfiles: /dos/z/16/doc/project.txt:138:0:0:
 openfiles: /dos/z/16/src/palettec.c:179:0:0:
 openfiles: /dos/z/16/src/pcxtest.c:1431:1432:0:
-openfiles: /dos/z/16/src/scroll.c:2104:2104:0:
+openfiles: /dos/z/16/src/scroll.c:19850:19233:0:
 openfiles: /dos/z/16/src/fmemtest.c:116:0:0:
 openfiles: /dos/z/16/src/emmtest.c:732:0:0:
 openfiles: /dos/z/16/src/emsdump.c:456:0:0:
-openfiles: /dos/z/16/src/maptest.c:207:0:0:
-openfiles: /dos/z/16/src/maptest0.c:506:122:0:
+openfiles: /dos/z/16/src/maptest.c:463:0:0:
+openfiles: /dos/z/16/src/maptest0.c:506:19:0:
 openfiles: /dos/z/16/src/test.c:0:0:0:
 openfiles: /dos/z/16/src/test2.c:0:0:0:
 openfiles: /dos/z/16/src/lib/planar.h:602:0:0:
 openfiles: /dos/z/16/src/lib/PLANAR.C:0:0:0:
 openfiles: /dos/z/16/src/lib/bitmap.c:0:0:0:
-openfiles: /dos/z/16/src/lib/bitmap.h:453:0:0:
-openfiles: /dos/z/16/src/lib/dos_kb.c:0:0:0:
+openfiles: /dos/z/16/src/lib/bitmap.h:257:0:0:
+openfiles: /dos/z/16/src/lib/modex16.c:22970:22527:0:
+openfiles: /dos/z/16/src/lib/modex16.h:2168:1159:0:
+openfiles: /dos/z/16/src/lib/dos_kb.c:3264:2408:1:
 openfiles: /dos/z/16/src/lib/dos_kb.h:0:0:0:
-openfiles: /dos/z/16/src/lib/modex16.c:17882:17405:0:
-openfiles: /dos/z/16/src/lib/modex16.h:490:349:0:
 openfiles: /dos/z/16/src/lib/mapread.c:2265:1988:0:
 openfiles: /dos/z/16/src/lib/mapread.h:584:0:0:
-openfiles: /dos/z/16/src/lib/fmapread.c:5594:5017:1:
+openfiles: /dos/z/16/src/lib/fmapread.c:5968:5651:0:
 openfiles: /dos/z/16/src/lib/fmapread.h:436:0:0:
 openfiles: /dos/z/16/src/lib/exmm/memory.c:308:99:0:
 openfiles: /dos/z/16/src/lib/exmm/memory.h:0:0:0:
@@ -29,7 +29,9 @@ openfiles: /dos/z/16/src/lib/exmm/emmsize.h:0:0:0:
 openfiles: /dos/z/16/src/lib/exmm/emmret.h:0:0:0:
 openfiles: /dos/z/16/src/lib/jsmn/farjsmn.c:7182:6673:0:
 openfiles: /dos/z/16/src/lib/jsmn/farjsmn.h:861:381:0:
-openfiles: /dos/z/16/makefile:107:0:0:
+openfiles: /dos/z/16/src/lib/lib_head.c:0:0:0:
+openfiles: /dos/z/16/src/lib/lib_head.h:2424:2067:0:
+openfiles: /dos/z/16/makefile:2533:2535:0:
 openfiles: /dos/z/16/src/lib/types.h:165:0:0:
 snr_recursion_level: 0
 convertcolumn_horizontally: 0
@@ -45,7 +47,7 @@ c2e.convert_iso: 0
 opendir: file:///dos/z/16/src/lib
 wrap_text_default: 0
 bookmarks_filename_mode: 1
-ssearch_text: jsmn_alloc_token
+ssearch_text: reg
 snr_casesens: 0
 view_blocks: 1
 name: Project 16
@@ -69,7 +71,6 @@ recent_files: file:///dos/z/bakac.c
 recent_files: file:///dos/z/16/src/lib/xms.c
 recent_files: file:///dos/z/16/src/lib/xms.h
 recent_files: file:///dos/z/16/src/lib/ems.c
-recent_files: file:///dos/z/16/src/lib/lib_head.h
 recent_files: file:///dos/z/16/src/emm.c
 recent_files: file:///dos/z/16/src/far.c
 recent_files: file:///dos/z/16/src/emstest.c
@@ -107,8 +108,10 @@ recent_files: file:///dos/z/16/src/lib/jsmn/farjsmn.c
 recent_files: file:///dos/z/16/src/lib/jsmn/farjsmn.h
 recent_files: file:///dos/z/16/makefile
 recent_files: file:///dos/z/16/src/lib/types.h
+recent_files: file:///dos/z/16/src/lib/lib_head.c
+recent_files: file:///dos/z/16/src/lib/lib_head.h
 snr_replacetype: 0
-savedir: file:///dos/z/16/src
+savedir: file:///dos/z/16/src/lib
 spell_check_default: 1
 spell_insert_entities: 0
 last_filefilter: 
@@ -118,21 +121,21 @@ snr_escape_chars: 0
 htmlbar_view: 0
 spell_lang: en
 ssearch_dotmatchall: 0
-searchlist: far
-searchlist: row
-searchlist: wrow
-searchlist:  typedef struct
-searchlist: struct
-searchlist: page_t
-searchlist: >-data
-searchlist: >data
-searchlist: data
-searchlist: -data
-searchlist: ->data
-searchlist: printf
-searchlist: jsmntok_t
-searchlist: token
-searchlist: jsmn_alloc_token
+searchlist: 44
+searchlist: page, x, y, w.width, w.height, &w);
+searchlist: bmp(
+searchlist: modexDrawBmp
+searchlist: CopyPageRegion
+searchlist: vga
+searchlist: VGA
+searchlist: =VGA
+searchlist: = VGA
+searchlist: FARPTR
+searchlist: aot
+searchlist: atoi
+searchlist: (*bmp)=bitmapLoadPcx("data/font.pcx");(*bmp)=bitmapLoadPcx("data/font.pcx");
+searchlist: modexDraws
+searchlist: reg
 autocomplete: 1
 outputb_show_all_output: 0
 bookmarks_show_mode: 0
diff --git a/data/font.pcx b/data/font.pcx
new file mode 100644 (file)
index 0000000..f8bc9f1
Binary files /dev/null and b/data/font.pcx differ
index 8362ef52dd5a5190281cfdde99cc2a003545b55a..932d217d5abb8d8cf126ee4b191515df563bcb44 100644 (file)
Binary files a/maptest.exe and b/maptest.exe differ
index b989fdb230893c29b0fec2a87a93411820ab9d1c..e2d598ae8eea1af5b019399472eff9a4aab0ac4e 100644 (file)
Binary files a/pcxtest.exe and b/pcxtest.exe differ
index 17c02db8a9d6a7b454d3ac195c65ad36e5010e51..42d6ff05c37d9166dd47e44508c73faa5415b09c 100644 (file)
Binary files a/scroll.exe and b/scroll.exe differ
index f1b126e5f28b9be9f8b67cba978fe3cd270359d6..802313d98f1051d6f2060028ccecc5e1339b99e9 100644 (file)
@@ -12,6 +12,7 @@ typedef struct {
        word height;\r
        byte *palette;
        word offset;
+//     byte far *font;
 } bitmap_t;\r
 \r
 typedef struct {\r
index 5bc441af5d276d0366c66a9c7f297b9cf4e7ce0c..ca5d2de60f6919bb350d755b7c6a438538deda02 100644 (file)
 #define KEY_MENU               (0x75)
 */
 
-//typedef unsigned char byte;
-//typedef unsigned int word;
-//typedef unsigned short syte;
+//#define      FARPTR(S, O)    MK_FP(S, O)\r
+\r
+//#define      inportb(P)      inp(P)\r
+//#define      outportb(P,V)   outp(P,V)\r
+//#define      outportw(P,V)   outpw(P,V)\r
+\r
+//#define      R_AX            w.ax\r
+//#define      R_BX            w.bx\r
+//#define      R_BP            w.bp\r
+//#define      R_ES            w.es\r
+\r
+/* WARNING: for 32-bit code, unused fields of regs_t\r
+must be zeroed before using this macro */\r
+//#define      trap(N,R)       intr(N,R)\r
+
+typedef union REGPACK  regs_t;
 
 void wait(clock_t wait);
 void* AllocateLargestFreeBlock(size_t* Size);
index 08ab753dbb075cf82d5186614a2bcb7c3659bc60..1ff10a1e3d02f255c77a20a82cf51d299c64bb07 100644 (file)
@@ -891,3 +891,51 @@ modexWaitBorder() {
        /* spin */
     }
 }
+
+/*****************************************************************************\r
+find 8x8 font in VGA BIOS ROM\r
+*****************************************************************************/\r
+byte far *bios_8x8_font(void)\r
+{\r
+       byte far *font;
+       regs_t regs;
+\r
+/* use BIOS INT 10h AX=1130h to find font #3 (8x8) in ROM */\r
+       //memset(&regs, 0, sizeof(regs)); /* for Watcom C */\r
+       regs.w.ax = 0x1130;\r
+       regs.w.bx = 0x0300;\r
+       intr(0x10, &regs);\r
+       font = (byte far *)MK_FP(regs.w.es, regs.w.bp);\r
+       return font;\r
+}
+
+/*****************************************************************************\r
+*****************************************************************************/\r
+void bputs(page_t *page, bitmap_t *bmp, int x, int y, const char *s)\r
+{\r
+       byte far *font;
+       //byte far *fontoffset;
+       //bitmap_t w;   //font bitmap wwww
+\r
+       font = bios_8x8_font();
+       //printf("font=%Fp\n", font);\r
+       for(; *s != '\0'; s++)\r
+       {
+//++++         (*bmp)=bitmapLoadPcx("data/font.pcx");\r
+               //src.raster = font + 8 * (*s);
+               //bmp->width=8;
+               //w.height=8;
+               //BLOODY!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!111111111111!!!11!!11!111!11!!1111!!111!11!!1!!!11!11!!1!!111!11!!
+//++++         (*(bmp->data)) = (*(font + 8 * (*s)));
+
+               //printf("fontoffset=%Fp\n", font + 8 * (*s));
+               //printf("*fontoffset=%s\n", *(font + 8 * (*s)));
+               //printf("w.data=%Fp\n", (w.data));
+               //printf("*w.data=%s\n", *(w.data));
+               //blit1(&src, bmp, x, y);
+//             modexDrawSprite(page, x, y, bmp);
+               modexDrawBmp(page, x, y, bmp);
+               x += 8;\r
+       }
+       //printf("\n");\r
+}
index 755a11c8a693055a9fc1fbba89735ec2c99e1d2f..f3e5e4217a17541a8f10ed99b07b43dcb7b3a9bf 100644 (file)
@@ -4,9 +4,11 @@
 #ifndef MODEX16_H
 #define MODEX16_H
 //#include <conio.h>
+
 #include "src/lib/types.h"
 #include "src/lib/bitmap.h"
 #include "src/lib/planar.h"
+#include "src/lib/lib_head.h"
 
 /* -========================== Types & Macros ==========================- */
 #define PAGE_OFFSET(x,y) (((y)<<6)+((y)<<4)+((x)>>2))
@@ -67,6 +69,8 @@ void modexPalUpdate1(byte *p);
 void modexPalUpdate0(byte *p);
 void chkcolor(bitmap_t *bmp, word *q, word *a, word *aa, word *z, word *i/*, word *offset*/);
 void modexWaitBorder();
+byte far *bios_8x8_font(void);
+void bputs(page_t *page, bitmap_t *bmp, int x, int y, const char *s);
 
 /* -======================= Constants & Vars ==========================- */
 extern byte far*  VGA;  /* The VGA Memory */
index b30c74f00217c7b7a919243d7e8fd76a427aeeec..174b7bab7c8d4a90d9e010bb705c1eb36d553a0d 100644 (file)
@@ -74,7 +74,8 @@ void main() {
        byte *dpal, *gpal;\r
        byte *ptr;
        byte *mappalptr;\r
-       actor_t player;\r
+       actor_t player;
+       bitmap_t font;\r
        //actor_t npc0;\r
 \r
 //     atexit(qclean());\r
@@ -122,6 +123,7 @@ void main() {
        /* data */\r
 //0000 printf("Total used @ before image loading:              %zu\n", oldfreemem-GetFreeSize());
        ptmp = bitmapLoadPcx("data/ptmp.pcx"); // load sprite
+       //font = bitmapLoadPcx("data/font.pcx");
        //npctmp = bitmapLoadPcx("ptmp1.pcx"); // load sprite\r
 \r
        /* create the planar buffer */\r
@@ -586,7 +588,8 @@ void main() {
                nosound();\r
        }\r
        if(player.q == (TILEWH/SPEED)+1 && player.d > 0 && (player.triggerx == 5 && player.triggery == 5)){ player.hp--; }\r
-       //if(keyp(0x0E)) while(1){ if(xmsmalloc(24)) break; }\r
+       //if(keyp(0x0E)) while(1){ if(xmsmalloc(24)) break; }
+       if(keyp(0x44))  bputs(bg->page, &font, player.triggerx, player.triggery, "wwww");       //f10
        if(keyp(25)){ pdump(bg); pdump(spri); }\r
        if(keyp(24)){ modexPalUpdate0(gpal); paloffset=0; pdump(bg); pdump(spri); }\r
        if(keyp(22)){\r
@@ -595,8 +598,9 @@ void main() {
         modexPalUpdate(map.tiles->data, &paloffset, 0, 0);\r
        printf("2paloffset      =       %d\n", paloffset/3);\r
         pdump(bg); pdump(spri); }
-\r
-       if(keyp(88)){if(!panswitch) panswitch++; else panswitch--; }\r
+       //pan switch\r
+       if(keyp(88)){if(!panswitch) panswitch++; else panswitch--; }
+       //TSR\r
        if(keyp(87))\r
        {\r
                modexLeave();\r
@@ -642,7 +646,9 @@ void main() {
        //xmsfree(spri);\r
        //xmsfree(mask);\r
        //xmsreport();\r
-       //emmclose(emmhandle);\r
+       //emmclose(emmhandle);
+       printf("%Fp\n", bios_8x8_font());
+       printf("%c\n", *bios_8x8_font());\r
        switch(detectcpu())\r
        {\r
                case 0: cpus = "8086/8088 or 186/88"; break;\r
diff --git a/src/util/setres.c b/src/util/setres.c
new file mode 100644 (file)
index 0000000..71fb4bc
--- /dev/null
@@ -0,0 +1,617 @@
+/*----------------------------------------------------------------------------\r
+Sets text video modes\r
+Chris Giese    <geezer@execpc.com>     http://my.execpc.com/~geezer/\r
+This code is public domain (no copyright).\r
+You can do whatever you want with it.\r
+Release date: March 31, 2009\r
+\r
+Compile with Turbo C, Borland C for DOS, or 16-bit Watcom C. I used:\r
+       bcc -O2 -2 -Z -d -mt -f- -w -c setres.c\r
+       tlink /Lc:\bc\lib /x/t c0t.obj setres.obj,setres.com,,cs.lib\r
+\r
+On one of my systems, the following video modes are supported:\r
+  40x25[b ] 40x50[b ]  80x25[b ]  80x50[b ] 132x25[v ] 132x43[v ]\r
+  40x30[tb] 40x60[tb]  80x30[tb]  80x60[tb]  90x25[tb]  90x30[tb]\r
+  90x50[tb] 90x60[tb] 132x30[tv] 132x50[tv] 132x60[tv]\r
+\r
+[ b]=VGA BIOS (INT 10h AH=00h) modes   [tb]=tweaked VGA BIOS modes\r
+[ v]=VBE BIOS (INT 10h AX=4F0xh) modes [tv]=tweaked VBE BIOS modes\r
+\r
+The 'tweaked' modes start with a VGA or VBE BIOS mode, then write to the\r
+CRTC registers to change the resolution. By default, this will happen only\r
+if INT 10h AX=4F00h reports that the hardware is register-compatible with\r
+VGA and INT 10h AX=4F01h reports that the mode is also register-compatible\r
+with VGA. '-v' option overrides this -- use it at your own risk. Tweaking\r
+does not (should not?) change the sync frequencies to unsupported values.\r
+----------------------------------------------------------------------------*/\r
+#include <string.h> /* strcpy() */\r
+#include <stdlib.h> /* realloc(), atoi() */\r
+#include <stdio.h> /* printf(), putchar() */\r
+#include <ctype.h> /* tolower() */\r
+/* union REGS, struct SREGS, int86(), int86x(), FP_SEG(), FP_OFF(), */\r
+#include <dos.h> /* pokeb(), poke(), inportb(), outportb() */\r
+#if 0\r
+#include <stdint.h>\r
+#else\r
+typedef unsigned char  uint8_t;\r
+typedef unsigned short uint16_t;\r
+typedef unsigned long  uint32_t;\r
+#endif\r
+\r
+#if defined(__TURBOC__)\r
+#include <conio.h> /* clrscr() */\r
+\r
+#elif defined(__WATCOMC__)\r
+#if defined(__386__)\r
+#error 16-bit program -- compile with WCC.EXE\r
+#endif\r
+#define        inportb(P)      inp(P)\r
+#define        outportb(P,V)   outp(P,V)\r
+#define        pokeb(S,O,V)    *(uint8_t  far *)MK_FP(S,O)=(V)\r
+#define        poke(S,O,V)     *(uint16_t far *)MK_FP(S,O)=(V)\r
+#define        peek(S,O)       *(uint16_t far *)MK_FP(S,O)\r
+void clrscr(void)\r
+{\r
+       union REGS regs;\r
+\r
+       regs.h.ah = 0x02;\r
+       regs.h.bh = 0; /* page number */\r
+       regs.h.dh = 0; /* top-most row */\r
+       regs.h.dl = 0; /* left-most column */\r
+       int86(0x10, &regs, &regs);\r
+}\r
+\r
+#else\r
+#error Sorry, unsupported compiler\r
+#endif\r
+\r
+/* besides the CRTC, VGA sequencer register #1 is also modified */\r
+#define VGA_SEQ_INDEX          0x3C4\r
+#define VGA_SEQ_DATA           0x3C5\r
+/* emulation (color or mono) is read from this register --\r
+it determines the CRTC I/O address (0x3B4 or 0x3D4) */\r
+#define        VGA_MISC_READ           0x3CC\r
+#define        VGA_CRTC_INDEX  (g_crtc_io + 0)\r
+#define        VGA_CRTC_DATA   (g_crtc_io + 1)\r
+\r
+/* this is like an X11 "modeline" */\r
+typedef struct\r
+{\r
+       unsigned disp, blank_start, sync_start, sync_end, blank_end, total;\r
+} timing_t;\r
+\r
+/* for 30-line modes, use the 16-pixel-high font instead of 8-pixel */\r
+static timing_t g_60_lines =\r
+{\r
+/*             blank   sync    sync    blank\r
+       disp    start   start   end     end     tot\r
+       ----    -----   -----   ----    -----   --- */\r
+       480,    488,    490,    493,    517,    525\r
+};\r
+\r
+static timing_t g_90_cols =\r
+{\r
+/*             blank   sync    sync    blank\r
+       disp    start   start   end     end     tot\r
+       ----    -----   -----   ----    -----   --- */\r
+       90,     90,     95,     108,    98,     112\r
+};\r
+\r
+typedef struct\r
+{\r
+       unsigned char cols, rows;\r
+       unsigned mode_num;      /* VGA (<0x100) or VBE (>=0x100) mode number */\r
+       unsigned char set_font; /* set 8x8 font after mode-set or no? */\r
+       timing_t *horiz, *vert; /* CRTC timing 'tweaks' */\r
+} mode_t;\r
+\r
+static mode_t *g_mode;\r
+static unsigned g_crtc_io, g_num_modes;\r
+/*****************************************************************************\r
+*****************************************************************************/\r
+static void add_mode(unsigned cols, unsigned rows, unsigned mode_num,\r
+               unsigned set_font, timing_t *horiz, timing_t *vert)\r
+{\r
+       mode_t *new_mode;\r
+\r
+       new_mode = realloc(g_mode, (g_num_modes + 1) * sizeof(mode_t));\r
+       if(new_mode == NULL)\r
+       {\r
+               printf("Error: out of memory\n");\r
+               exit(2);\r
+       }\r
+       g_mode = new_mode;\r
+       new_mode = &g_mode[g_num_modes];\r
+       g_num_modes++;\r
+       new_mode->cols          = cols;\r
+       new_mode->rows          = rows;\r
+       new_mode->mode_num      = mode_num;\r
+       new_mode->set_font      = set_font;\r
+       new_mode->horiz         = horiz;\r
+       new_mode->vert          = vert;\r
+}\r
+/*****************************************************************************\r
+*****************************************************************************/\r
+static void dump_modes(void)\r
+{\r
+       unsigned scn_wd, csr_x, i;\r
+       union REGS regs;\r
+\r
+       scn_wd = peek(0x40, 0x4A);\r
+       printf("The following video modes are supported\n");\r
+       for(i = 0; i < g_num_modes; i++)\r
+       {\r
+/* get cursor X position */\r
+               regs.h.ah = 0x03;\r
+               regs.h.bh = 0;\r
+               int86(0x10, &regs, &regs);\r
+               csr_x = regs.h.dl;\r
+/* emit newline now if next listing will wrap */\r
+               if(csr_x + 7 >= scn_wd)\r
+                       printf("\n");\r
+/* resolution listing is 7 characters wide */\r
+               printf("%4ux%-2u ", g_mode[i].cols, g_mode[i].rows);\r
+       }\r
+       printf("\n");\r
+}\r
+/*****************************************************************************\r
+*****************************************************************************/\r
+static mode_t *find_mode(unsigned cols, unsigned rows)\r
+{\r
+       unsigned i;\r
+\r
+       for(i = 0; i < g_num_modes; i++)\r
+       {\r
+               if(g_mode[i].cols == cols && g_mode[i].rows == rows)\r
+                       return &g_mode[i];\r
+       }\r
+       return NULL;\r
+}\r
+/*****************************************************************************\r
+*****************************************************************************/\r
+static void set_horiz(timing_t *t)\r
+{\r
+       unsigned i;\r
+\r
+/* remove write-protection from CRTC registers 0-5 (and 6-7) */\r
+       outportb(VGA_CRTC_INDEX, 17);\r
+       outportb(VGA_CRTC_DATA, inportb(VGA_CRTC_DATA) & ~0x80);\r
+/* set horizontal displayed */\r
+       outportb(VGA_CRTC_INDEX, 1);\r
+       outportb(VGA_CRTC_DATA, t->disp - 1);\r
+/* set horizontal blanking start */\r
+       outportb(VGA_CRTC_INDEX, 2);\r
+       outportb(VGA_CRTC_DATA, t->blank_start);\r
+/* set horizontal sync start */\r
+       outportb(VGA_CRTC_INDEX, 4);\r
+       outportb(VGA_CRTC_DATA, t->sync_start);\r
+/* set horizontal sync end */\r
+       outportb(VGA_CRTC_INDEX, 5);\r
+       i = inportb(VGA_CRTC_DATA) & ~0x1F;\r
+       outportb(VGA_CRTC_DATA, (t->sync_end & 0x1F) | i);\r
+/* set horizontal blanking end */\r
+       outportb(VGA_CRTC_INDEX, 3);\r
+       i = inportb(VGA_CRTC_DATA) & ~0x1F;\r
+       outportb(VGA_CRTC_DATA, (t->blank_end & 0x1F) | i);\r
+/* set horizontal total */\r
+       outportb(VGA_CRTC_INDEX, 0);\r
+       outportb(VGA_CRTC_DATA, t->total - 5);\r
+/* set "offset" (words per line) */\r
+       outportb(VGA_CRTC_INDEX, 19);\r
+       outportb(VGA_CRTC_DATA, t->disp / 2);\r
+/* make characters 8 or 9 pixels wide */\r
+       outportb(VGA_SEQ_INDEX, 1);\r
+       i = inportb(VGA_SEQ_DATA) & ~0x01;\r
+       if(t->disp == 90)\r
+               i |= 0x01;\r
+       outportb(VGA_SEQ_DATA, i);\r
+}\r
+/*****************************************************************************\r
+*****************************************************************************/\r
+static void set_vert(timing_t *t)\r
+{\r
+       unsigned i, j;\r
+\r
+/* remove write-protection from CRTC registers 6-7 (and 0-5) */\r
+       outportb(VGA_CRTC_INDEX, 17);\r
+       outportb(VGA_CRTC_DATA, inportb(VGA_CRTC_DATA) & ~0x80);\r
+/* set vertical displayed */\r
+       i = t->disp - 1;\r
+       outportb(VGA_CRTC_INDEX, 18);\r
+       outportb(VGA_CRTC_DATA, i);\r
+       outportb(VGA_CRTC_INDEX, 7);\r
+       j = inportb(VGA_CRTC_DATA) & ~0x42;\r
+       if(i & 0x100)\r
+               j |= 0x02;\r
+       if(i & 0x200)\r
+               j |= 0x40;\r
+       outportb(VGA_CRTC_DATA, j);\r
+/* set vertical blanking start */\r
+       i = t->blank_start;\r
+       outportb(VGA_CRTC_INDEX, 21);\r
+       outportb(VGA_CRTC_DATA, i);\r
+       outportb(VGA_CRTC_INDEX, 7);\r
+       j = inportb(VGA_CRTC_DATA) & ~0x08;\r
+       if(i & 0x100)\r
+               j |= 0x08;\r
+       outportb(VGA_CRTC_DATA, j);\r
+/* set vertical sync (retrace) start */\r
+       i = t->sync_start;\r
+       outportb(VGA_CRTC_INDEX, 16);\r
+       outportb(VGA_CRTC_DATA, i);\r
+       outportb(VGA_CRTC_INDEX, 7);\r
+       j = inportb(VGA_CRTC_DATA) & ~0x84;\r
+       if(i & 0x100)\r
+               j |= 0x04;\r
+       if(i & 0x200)\r
+               j |= 0x80;\r
+       outportb(VGA_CRTC_DATA, j);\r
+/* set vertical sync (retrace) end */\r
+       outportb(VGA_CRTC_INDEX, 17);\r
+       i = inportb(VGA_CRTC_DATA) & ~0x0F;\r
+       outportb(VGA_CRTC_DATA, (t->sync_end & 0x0F) | i);\r
+/* set vertical blanking end */\r
+       outportb(VGA_CRTC_INDEX, 22);\r
+/*     i = inportb(VGA_CRTC_DATA) & ~0x7F;\r
+       outportb(VGA_CRTC_DATA, (t->blank_end & 0x7F) | i); */\r
+       outportb(VGA_CRTC_DATA, t->blank_end);\r
+/* set vertical total */\r
+       i = t->total - 2;\r
+       outportb(VGA_CRTC_INDEX, 6);\r
+       outportb(VGA_CRTC_DATA, i);\r
+       outportb(VGA_CRTC_INDEX, 7);\r
+       j = inportb(VGA_CRTC_DATA) & ~0x21;\r
+       if(i & 0x100)\r
+               j |= 0x01;\r
+       if(i & 0x200)\r
+               j |= 0x20;\r
+       outportb(VGA_CRTC_DATA, j);\r
+}\r
+/*****************************************************************************\r
+*****************************************************************************/\r
+static void set_mode(mode_t *m)\r
+{\r
+       union REGS regs;\r
+\r
+/* set (initial) mode; using either the VGA... */\r
+       if(m->mode_num < 0x100)\r
+       {\r
+               regs.x.ax = m->mode_num;\r
+               int86(0x10, &regs, &regs);\r
+       }\r
+/* ...or VBE BIOS */\r
+       else\r
+       {\r
+               regs.x.ax = 0x4F02;\r
+               regs.x.bx = m->mode_num;\r
+               int86(0x10, &regs, &regs);\r
+       }\r
+/* set 8x8 font for 50- and 60-row VGA and tweaked modes */\r
+       if(m->set_font)\r
+       {\r
+               regs.x.ax = 0x1112;\r
+               regs.h.bl = 0;\r
+               int86(0x10, &regs, &regs);\r
+       }\r
+       if(m->horiz || m->vert)\r
+       {\r
+/* get CRTC address */\r
+               if((inportb(VGA_MISC_READ) & 0x01) == 0)\r
+                       g_crtc_io = 0x3B4;      /* monochrome emulation */\r
+               else\r
+                       g_crtc_io = 0x3D4;      /* color emulation */\r
+/* tweak CRTC timing */\r
+               if(m->horiz)\r
+                       set_horiz(m->horiz);\r
+               if(m->vert)\r
+                       set_vert(m->vert);\r
+       }\r
+/* let the BIOS know what we've done so text output works properly */\r
+       pokeb(0x40, 0x84, m->rows - 1);\r
+       poke(0x40, 0x4A, m->cols);\r
+}\r
+/*****************************************************************************\r
+*****************************************************************************/\r
+static void usage(void)\r
+{\r
+       printf("Sets text video modes. Usage:\n"\r
+               "\tSETRES [-vd] cols rows\t\t"  "-v skips VGA compatability test\n"\r
+               "\t\t\t\t\t"                    "-d prints debug messages\n"\r
+               "\tSETRES -l[vd]\t\t\t"         "lists available modes\n"\r
+               "\tSETRES -a\t\t\t"             "displays author info\n");\r
+       exit(1);\r
+}\r
+/*****************************************************************************\r
+*****************************************************************************/\r
+int main(int arg_c, char *arg_v[])\r
+{\r
+/* structure used by INT 10h AX=4F00h */\r
+#pragma pack(1)\r
+       static struct\r
+       {\r
+               char sig[4];\r
+               uint8_t ver_minor;\r
+               uint8_t ver_major;\r
+               char far *oem_name;\r
+               uint32_t capabilities;   /* b1=1 for non-VGA board */\r
+               uint16_t far *mode_list;\r
+               char res0[494];         /* fields we don't care about */\r
+       } vbe_info;\r
+/* structure used by INT 10h AX=4F01h */\r
+#pragma pack(1)\r
+       static struct\r
+       {\r
+               uint16_t mode_attrib;   /* b4=0 for text modes */\r
+               char res0[16];          /* fields we don't care about */\r
+/* OEM modes and VBE 1.2+ only: */\r
+               uint16_t wd;\r
+               uint16_t ht;\r
+               uint8_t char_wd;\r
+               uint8_t char_ht;\r
+               char res1[232];         /* fields we don't care about */\r
+       } mode_info;\r
+/* command-line options: */\r
+       char assume_vga, list_modes, info, debug;\r
+       unsigned i, num_count, wd, ht;\r
+       uint16_t far *mnp; /* Mode Number Pointer */\r
+       struct SREGS sregs;\r
+       union REGS regs;\r
+       mode_t *mode;\r
+       char *s;\r
+\r
+/* process command-line */\r
+       if(arg_c < 2)\r
+               usage();\r
+       num_count = 0;\r
+       assume_vga = list_modes = info = debug = 0;\r
+       for(i = 1; i < arg_c; i++)\r
+       {\r
+/* options */\r
+               if(arg_v[i][0] == '-')\r
+               {\r
+                       for(s = &arg_v[i][1]; *s != '\0'; s++)\r
+                       {\r
+                               if(tolower(*s) == 'v')\r
+                                       assume_vga = 1;\r
+                               else if(tolower(*s) == 'l')\r
+                                       list_modes = 1;\r
+                               else if(tolower(*s) == 'a')\r
+                                       info = 1;\r
+                               else if(tolower(*s) == 'd')\r
+                                       debug = 1;\r
+                               else\r
+                               {\r
+                                       printf("Error: invalid option '%c'\n",\r
+                                               *s);\r
+                                       usage();\r
+                               }\r
+                       }\r
+               }\r
+/* not an option, not a number */\r
+               else if(atoi(arg_v[i]) == 0)\r
+               {\r
+                       printf("Error: invalid parameter '%s'\n", arg_v[i]);\r
+                       usage();\r
+               }\r
+/* 1st number on command line = rows */\r
+               else if(num_count == 0)\r
+               {\r
+                       wd = atoi(arg_v[i]);\r
+                       num_count++;\r
+               }\r
+/* 2nd number on command line = cols */\r
+               else if(num_count == 1)\r
+               {\r
+                       ht = atoi(arg_v[i]);\r
+                       num_count++;\r
+               }\r
+/* too many numbers */\r
+               else\r
+               {\r
+                       printf("Error: invalid parameter '%s'\n", arg_v[i]);\r
+                       usage();\r
+               }\r
+       }\r
+       if(info)\r
+       {\r
+               printf( "Sets text video modes\n"\r
+                       "Chris Giese    <geezer@execpc.com>     http://my.execpc.com/~geezer/\n"\r
+                       "This code is public domain (no copyright).\n"\r
+                       "You can do whatever you want with it.\n"\r
+                       "Release date: March 31, 2009\n");\r
+               return 1;\r
+       }\r
+/* I assume these VGA text modes are supported on all systems: */\r
+       if(debug)\r
+               printf("Adding VGA BIOS modes...\n");\r
+       add_mode(40, 25, 1, 0, NULL, NULL);\r
+       add_mode(40, 50, 1, 1, NULL, NULL);\r
+       add_mode(80, 25, 3, 0, NULL, NULL);\r
+       add_mode(80, 50, 3, 1, NULL, NULL);\r
+/* check if VBE present */\r
+       if(debug)\r
+               printf("VBE BIOS...");\r
+       strcpy(vbe_info.sig, "VBE2");\r
+       sregs.es = FP_SEG(&vbe_info);\r
+       regs.x.di = FP_OFF(&vbe_info);\r
+       regs.x.ax = 0x4F00;\r
+       int86x(0x10, &regs, &regs, &sregs);\r
+/* (the indentation got a little ugly, so I'm going to use goto)\r
+need VBE 1.2 or better */\r
+       if(regs.x.ax != 0x004F)\r
+       {\r
+               if(debug)\r
+                       printf("not detected\n");\r
+               goto NO_VBE;\r
+       }\r
+       if(debug)\r
+               printf("version %u.%u; OEM name '%Fs'\n", vbe_info.ver_major,\r
+                       vbe_info.ver_minor,vbe_info.oem_name);\r
+       if(vbe_info.ver_major < 1 ||\r
+               (vbe_info.ver_major == 1 && vbe_info.ver_minor < 2))\r
+       {\r
+               if(debug)\r
+                       printf("Warning: VBE 1.2+ required\n");\r
+               goto NO_VBE;\r
+       }\r
+/* iterate over VBE modes */\r
+       if(debug)\r
+               printf("Hex VBE mode numbers:\n");\r
+       for(mnp = vbe_info.mode_list; *mnp != 0xFFFF; mnp++)\r
+       {\r
+               if(debug)\r
+                       printf("%4X ", *mnp);\r
+/* get mode info */\r
+               sregs.es = FP_SEG(&mode_info);\r
+               regs.x.di = FP_OFF(&mode_info);\r
+               regs.x.cx = *mnp;\r
+               regs.x.ax = 0x4F01;\r
+               int86x(0x10, &regs, &regs, &sregs);\r
+               if(regs.x.ax != 0x004F)\r
+                       continue;\r
+/* ignore all but text modes */\r
+               if(mode_info.mode_attrib & 0x10)\r
+                       continue;\r
+/* add VBE text mode to list */\r
+               if(debug)\r
+                       printf("\nAdding VBE mode: %ux%u\n",\r
+                               mode_info.wd, mode_info.ht);\r
+               add_mode(mode_info.wd, mode_info.ht, *mnp, 0, NULL, NULL);\r
+       }\r
+       if(debug)\r
+       {\r
+               if(assume_vga)\r
+                       printf("\n-v option; assuming hardware is VGA-compatible\n");\r
+               else\r
+               {\r
+                       printf("\nHardware is ");\r
+                       if(vbe_info.capabilities & 0x01)\r
+                               printf("NOT ");\r
+                       printf("register-compatible with VGA\n");\r
+               }\r
+       }\r
+/* check if board is register-compatible with VGA\r
+(unless overriden with '-v' option...) */\r
+       if(!assume_vga && (vbe_info.capabilities & 0x01))\r
+               goto NO_VBE;\r
+/* add 'tweaked' VGA modes to list */\r
+       if(debug)\r
+               printf("Adding tweaked VGA modes...\n");\r
+       add_mode(40, 30, 1, 0, NULL,            &g_60_lines);\r
+       add_mode(40, 60, 1, 1, NULL,            &g_60_lines);\r
+       add_mode(80, 30, 3, 0, NULL,            &g_60_lines);\r
+       add_mode(80, 60, 3, 1, NULL,            &g_60_lines);\r
+       add_mode(90, 25, 3, 0, &g_90_cols,      NULL);\r
+       add_mode(90, 30, 3, 0, &g_90_cols,      &g_60_lines);\r
+       add_mode(90, 50, 3, 1, &g_90_cols,      NULL);\r
+       add_mode(90, 60, 3, 1, &g_90_cols,      &g_60_lines);\r
+/* prepare to tweak VBE modes */\r
+       for(i = 0; i < g_num_modes; i++)\r
+       {\r
+               static unsigned rows[] = { 25, 30, 50, 60 };\r
+/**/\r
+               unsigned j, set_font, tweak_vert;\r
+\r
+/* find VBE modes... */\r
+               if(g_mode[i].mode_num < 0x100)\r
+                       continue;\r
+/* ...with 25, 30, 50, or 60 rows */\r
+               if(g_mode[i].rows != 25 && g_mode[i].rows != 30\r
+                       && g_mode[i].rows != 50 && g_mode[i].rows != 60)\r
+                               continue;\r
+/* check if this mode is register-compatible with VGA */\r
+               if(!assume_vga)\r
+               {\r
+                       sregs.es = FP_SEG(&mode_info);\r
+                       regs.x.di = FP_OFF(&mode_info);\r
+                       regs.x.cx = g_mode[i].mode_num;\r
+                       regs.x.ax = 0x4F01;\r
+                       int86x(0x10, &regs, &regs, &sregs);\r
+                       if(regs.x.ax != 0x004F)\r
+                               continue;\r
+/* xxx - b5 of mode_info.mode_attrib may be VBE 2.0+ only,\r
+according to Ralf Brown's list */\r
+                       if(mode_info.mode_attrib & 0x20)\r
+                       {\r
+                               if(debug)\r
+                                       printf("VBE mode 0x%X is NOT "\r
+                                               "register-compatible with "\r
+                                               "VGA; will not tweak\n",\r
+                                               g_mode[i].mode_num);\r
+                               continue;\r
+                       }\r
+               }\r
+/* now find mode with same number of columns\r
+and complementary number of rows */\r
+               for(j = 0; j < sizeof(rows) / sizeof(rows[0]); j++)\r
+               {\r
+                       if(g_mode[i].rows == rows[j])\r
+                               continue;\r
+/* if the complementary mode does not already exist... */\r
+                       mode = find_mode(g_mode[i].cols, rows[j]);\r
+                       if(mode != NULL)\r
+                               continue;\r
+/* ...add it */\r
+                       set_font = (rows[j] >= 50);\r
+                       tweak_vert = (rows[j] == 30 || rows[j] == 60);\r
+                       if(debug)\r
+                               printf("Adding tweaked VBE mode: %ux%u\n",\r
+                                       g_mode[i].cols, rows[j]);\r
+                       add_mode(g_mode[i].cols, rows[j],\r
+                               g_mode[i].mode_num, set_font, NULL,\r
+                               (tweak_vert ? &g_60_lines : NULL));\r
+               }\r
+       }\r
+NO_VBE:\r
+/* just list the supported modes */\r
+       if(list_modes)\r
+       {\r
+               dump_modes();\r
+               return 0;\r
+       }\r
+/* otherwise we need two numbers on the command-line\r
+(the case of more than 2 numbers was handled above) */\r
+       if(num_count != 2)\r
+       {\r
+               printf("Error: must specify cols and rows to set video mode\n");\r
+               usage();\r
+       }\r
+/* see if selected resolution supported */\r
+       mode = find_mode(wd, ht);\r
+       if(mode == NULL)\r
+       {\r
+               printf("Error: mode %ux%u not supported\n", wd, ht);\r
+               dump_modes();\r
+               return 3;\r
+       }\r
+/* SET MODE */\r
+       set_mode(mode);\r
+#if 1\r
+/* clear screen */\r
+       clrscr();\r
+#else\r
+/* DEBUG: display horizontal and vertical 'rulers' */\r
+/*     textattr(0x17); doesn't work -- no blue background after clrscr() */\r
+       clrscr();\r
+       for(i = 1; i < 0xFF00; i += 2)\r
+               pokeb(0xB800, i, 0x17);\r
+       for(i = 0; i < wd - 1; )\r
+       {\r
+               if(i % 10 == 0)\r
+               {\r
+                       printf("%03u", i);\r
+                       i += 3;\r
+               }\r
+               else\r
+               {\r
+                       putchar(' ');\r
+                       i++;\r
+               }\r
+       }\r
+       putchar('\n');\r
+       for(i = 1; i < ht - 4; i++)\r
+               printf("%u\n", i);\r
+       printf("Current screen resolution is %ux%u\n", wd, ht);\r
+#endif\r
+       return 0;\r
+}\r
index 24a89633d07f0299c4dce1469721c0d24c868edc..f5790cd8a23b7ba8d7bf9e5765600ef59db0e559 100644 (file)
Binary files a/test.exe and b/test.exe differ
index a69346ab549a838f0f95e9b5c91f6bcb859714fa..30b9c1cd02953718e0fd94d562f23d36276fd342 100644 (file)
Binary files a/test2.exe and b/test2.exe differ