Menu

Tree [5f4e2d] master /
 History

HTTPS access


File Date Author Commit
 allegro 2018-01-23 Jason Stevnes Jason Stevnes [7ef836] Add in the allegro lib directly. Built with th...
 djgpp_v2 2018-01-23 Jason Stevnes Jason Stevnes [8f61e3] Added inline assembly for GCC, and assembly for...
 dos 2017-08-17 Jason Stevens Jason Stevens [811de9] Initial commit, based on the Linux DooM v1.10 s...
 gcc2721 2018-01-23 Jason Stevnes Jason Stevnes [8f61e3] Added inline assembly for GCC, and assembly for...
 go32 2019-05-02 neozeed2 neozeed2 [17eab3] SO.. apparently the endian stuff doesn't work r...
 go32_dpmi 2017-10-08 Jason Stevens Jason Stevens [07acdf] Other fixes for GCC 1.27 & GO32. verfified to ...
 null 2018-01-23 Jason Stevnes Jason Stevnes [c1f249] minor fixes for using ancient GCC, and the null...
 obj 2017-08-18 Jason Stevens Jason Stevens [cef6d6] Add in some basic support for Watcom. It compi...
 os2 2017-08-19 Jason Stevens Jason Stevens [299d4e] Addded the Linux clock to the OS/2 port, and th...
 test 2017-08-17 Jason Stevens Jason Stevens [811de9] Initial commit, based on the Linux DooM v1.10 s...
 watcom 2018-01-24 Jason Stevens Jason Stevens [f1c12b] Change from register to stack convention... May...
 x68k 2017-10-08 Jason Stevens Jason Stevens [d987cb] Added the support files for the x68000. I've v...
 DEFS.INC 2018-01-24 Jason Stevens Jason Stevens [e110c9] Add in the assembly version of R_DrawColumn and...
 DOOM.LNK 2017-08-18 Jason Stevens Jason Stevens [18b2ed] Add in some minor changes to compile on Watcom ...
 LINEAR.ASM 2018-01-24 Jason Stevens Jason Stevens [e110c9] Add in the assembly version of R_DrawColumn and...
 Makefile.emx 2017-08-17 Jason Stevens Jason Stevens [099b93] Add in changes to build for EMX. Tested with G...
 am_map.c 2019-05-02 neozeed2 neozeed2 [023b63] m68k GCC 2.5.8 has some error with am_map. I'l...
 am_map.h 2017-08-17 Jason Stevens Jason Stevens [811de9] Initial commit, based on the Linux DooM v1.10 s...
 ashldi3.c 2017-08-17 Jason Stevens Jason Stevens [099b93] Add in changes to build for EMX. Tested with G...
 ashrdi3.c 2017-08-17 Jason Stevens Jason Stevens [811de9] Initial commit, based on the Linux DooM v1.10 s...
 bdiv.c 2017-08-18 Jason Stevens Jason Stevens [18b2ed] Add in some minor changes to compile on Watcom ...
 build.cmd 2017-08-17 Jason Stevens Jason Stevens [811de9] Initial commit, based on the Linux DooM v1.10 s...
 changelog 2017-08-17 Jason Stevens Jason Stevens [811de9] Initial commit, based on the Linux DooM v1.10 s...
 cmpdi2.c 2017-08-17 Jason Stevens Jason Stevens [099b93] Add in changes to build for EMX. Tested with G...
 convert.cmd 2017-08-17 Jason Stevens Jason Stevens [811de9] Initial commit, based on the Linux DooM v1.10 s...
 d_englsh.h 2017-08-17 Jason Stevens Jason Stevens [811de9] Initial commit, based on the Linux DooM v1.10 s...
 d_event.h 2017-08-17 Jason Stevens Jason Stevens [811de9] Initial commit, based on the Linux DooM v1.10 s...
 d_french.h 2017-08-17 Jason Stevens Jason Stevens [811de9] Initial commit, based on the Linux DooM v1.10 s...
 d_items.c 2017-10-08 Jason Stevens Jason Stevens [7f3359] Changes to allow DooM to compile using GCC 1.27...
 d_items.h 2017-08-17 Jason Stevens Jason Stevens [811de9] Initial commit, based on the Linux DooM v1.10 s...
 d_main.c 2019-11-30 neozeed2 neozeed2 [c13a03] Doom 3 BFG doesn't have the titlepic resource i...
 d_main.h 2017-08-17 Jason Stevens Jason Stevens [811de9] Initial commit, based on the Linux DooM v1.10 s...
 d_net.c 2017-10-08 Jason Stevens Jason Stevens [7f3359] Changes to allow DooM to compile using GCC 1.27...
 d_net.h 2017-08-17 Jason Stevens Jason Stevens [811de9] Initial commit, based on the Linux DooM v1.10 s...
 d_player.h 2017-08-17 Jason Stevens Jason Stevens [811de9] Initial commit, based on the Linux DooM v1.10 s...
 d_textur.h 2017-08-17 Jason Stevens Jason Stevens [811de9] Initial commit, based on the Linux DooM v1.10 s...
 d_think.h 2017-08-17 Jason Stevens Jason Stevens [811de9] Initial commit, based on the Linux DooM v1.10 s...
 d_ticcmd.h 2017-08-17 Jason Stevens Jason Stevens [811de9] Initial commit, based on the Linux DooM v1.10 s...
 div.s 2017-10-08 Jason Stevens Jason Stevens [7f3359] Changes to allow DooM to compile using GCC 1.27...
 divdi3.c 2017-08-17 Jason Stevens Jason Stevens [099b93] Add in changes to build for EMX. Tested with G...
 doom.cmd 2017-08-17 Jason Stevens Jason Stevens [811de9] Initial commit, based on the Linux DooM v1.10 s...
 doomdata.h 2017-08-17 Jason Stevens Jason Stevens [811de9] Initial commit, based on the Linux DooM v1.10 s...
 doomdef.c 2017-10-08 Jason Stevens Jason Stevens [7f3359] Changes to allow DooM to compile using GCC 1.27...
 doomdef.h 2018-01-23 Jason Stevnes Jason Stevnes [1a5207] added in the allegro keyboard and more hooks. ...
 doomlic.txt 2017-08-17 Jason Stevens Jason Stevens [811de9] Initial commit, based on the Linux DooM v1.10 s...
 doomstat.c 2017-10-08 Jason Stevens Jason Stevens [7f3359] Changes to allow DooM to compile using GCC 1.27...
 doomstat.h 2018-01-23 Jason Stevnes Jason Stevnes [1a5207] added in the allegro keyboard and more hooks. ...
 doomtype.h 2017-08-17 Jason Stevens Jason Stevens [099b93] Add in changes to build for EMX. Tested with G...
 dstrings.c 2017-10-08 Jason Stevens Jason Stevens [7f3359] Changes to allow DooM to compile using GCC 1.27...
 dstrings.h 2018-01-23 Jason Stevnes Jason Stevnes [8f61e3] Added inline assembly for GCC, and assembly for...
 entries 2017-08-17 Jason Stevens Jason Stevens [811de9] Initial commit, based on the Linux DooM v1.10 s...
 err 2017-08-17 Jason Stevens Jason Stevens [811de9] Initial commit, based on the Linux DooM v1.10 s...
 exception.s 2018-01-23 Jason Stevnes Jason Stevnes [8f61e3] Added inline assembly for GCC, and assembly for...
 f_finale.c 2017-10-08 Jason Stevens Jason Stevens [7f3359] Changes to allow DooM to compile using GCC 1.27...
 f_finale.h 2017-08-17 Jason Stevens Jason Stevens [811de9] Initial commit, based on the Linux DooM v1.10 s...
 f_wipe.c 2017-10-08 Jason Stevens Jason Stevens [7f3359] Changes to allow DooM to compile using GCC 1.27...
 f_wipe.h 2017-08-17 Jason Stevens Jason Stevens [811de9] Initial commit, based on the Linux DooM v1.10 s...
 files 2017-08-17 Jason Stevens Jason Stevens [811de9] Initial commit, based on the Linux DooM v1.10 s...
 files2 2017-08-17 Jason Stevens Jason Stevens [811de9] Initial commit, based on the Linux DooM v1.10 s...
 fixdfsi.c 2024-05-29 Jason Stevens Jason Stevens [5f4e2d] used ai to get fixed multiply
 g_game.c 2017-10-08 Jason Stevens Jason Stevens [7f3359] Changes to allow DooM to compile using GCC 1.27...
 g_game.h 2017-08-17 Jason Stevens Jason Stevens [811de9] Initial commit, based on the Linux DooM v1.10 s...
 hu_lib.c 2017-10-08 Jason Stevens Jason Stevens [7f3359] Changes to allow DooM to compile using GCC 1.27...
 hu_lib.h 2017-08-17 Jason Stevens Jason Stevens [811de9] Initial commit, based on the Linux DooM v1.10 s...
 hu_stuff.c 2017-10-08 Jason Stevens Jason Stevens [7f3359] Changes to allow DooM to compile using GCC 1.27...
 hu_stuff.h 2017-08-17 Jason Stevens Jason Stevens [811de9] Initial commit, based on the Linux DooM v1.10 s...
 i_main.c 2018-01-23 Jason Stevnes Jason Stevnes [1a5207] added in the allegro keyboard and more hooks. ...
 i_net.c 2017-10-08 Jason Stevens Jason Stevens [7f3359] Changes to allow DooM to compile using GCC 1.27...
 i_net.h 2017-08-17 Jason Stevens Jason Stevens [811de9] Initial commit, based on the Linux DooM v1.10 s...
 i_sound.c 2017-10-08 Jason Stevens Jason Stevens [7f3359] Changes to allow DooM to compile using GCC 1.27...
 i_sound.h 2017-08-17 Jason Stevens Jason Stevens [811de9] Initial commit, based on the Linux DooM v1.10 s...
 i_system.h 2017-08-17 Jason Stevens Jason Stevens [811de9] Initial commit, based on the Linux DooM v1.10 s...
 i_video.h 2017-08-17 Jason Stevens Jason Stevens [811de9] Initial commit, based on the Linux DooM v1.10 s...
 info.c 2017-10-08 Jason Stevens Jason Stevens [7f3359] Changes to allow DooM to compile using GCC 1.27...
 info.h 2017-08-17 Jason Stevens Jason Stevens [811de9] Initial commit, based on the Linux DooM v1.10 s...
 linear.o2c 2018-01-24 Jason Stevens Jason Stevens [e110c9] Add in the assembly version of R_DrawColumn and...
 m_argv.c 2017-10-08 Jason Stevens Jason Stevens [7f3359] Changes to allow DooM to compile using GCC 1.27...
 m_argv.h 2017-08-17 Jason Stevens Jason Stevens [811de9] Initial commit, based on the Linux DooM v1.10 s...
 m_bbox.c 2017-10-08 Jason Stevens Jason Stevens [7f3359] Changes to allow DooM to compile using GCC 1.27...
 m_bbox.h 2017-08-17 Jason Stevens Jason Stevens [811de9] Initial commit, based on the Linux DooM v1.10 s...
 m_cheat.c 2017-10-08 Jason Stevens Jason Stevens [7f3359] Changes to allow DooM to compile using GCC 1.27...
 m_cheat.h 2017-08-17 Jason Stevens Jason Stevens [811de9] Initial commit, based on the Linux DooM v1.10 s...
 m_fixed.c 2024-05-29 Jason Stevens Jason Stevens [5f4e2d] used ai to get fixed multiply
 m_fixed.h 2019-04-21 neozeed2 neozeed2 [403c04] Restore the Watcom math from Frank Sappone. I ...
 m_fixed_i386.s 2019-03-14 Jason Stevens Jason Stevens [15ac86] added absolute fix from prboom so i386 assembly...
 m_menu.c 2017-10-08 Jason Stevens Jason Stevens [7f3359] Changes to allow DooM to compile using GCC 1.27...
 m_menu.h 2017-08-17 Jason Stevens Jason Stevens [811de9] Initial commit, based on the Linux DooM v1.10 s...
 m_misc.c 2018-01-23 Jason Stevnes Jason Stevnes [1a5207] added in the allegro keyboard and more hooks. ...
 m_misc.h 2017-08-17 Jason Stevens Jason Stevens [811de9] Initial commit, based on the Linux DooM v1.10 s...
 m_random.c 2017-10-08 Jason Stevens Jason Stevens [7f3359] Changes to allow DooM to compile using GCC 1.27...
 m_random.h 2017-08-17 Jason Stevens Jason Stevens [811de9] Initial commit, based on the Linux DooM v1.10 s...
 m_swap.c 2019-05-02 neozeed2 neozeed2 [17eab3] SO.. apparently the endian stuff doesn't work r...
 m_swap.h 2017-08-17 Jason Stevens Jason Stevens [811de9] Initial commit, based on the Linux DooM v1.10 s...
 makefile 2017-08-18 Jason Stevens Jason Stevens [9b15eb] update path, & verify that doom works on GCC 1.39
 makefile.djgpp_v2 2019-04-08 neozeed2 neozeed2 [1b170f] Make the i386 assembly conditional in the makef...
 makefile.null 2019-04-08 neozeed2 neozeed2 [1b170f] Make the i386 assembly conditional in the makef...
 makefile.v1 2024-05-29 Jason Stevens Jason Stevens [5f4e2d] used ai to get fixed multiply
 makefile.v2 2019-03-14 Jason Stevens Jason Stevens [15ac86] added absolute fix from prboom so i386 assembly...
 makefile.wat 2018-01-24 Jason Stevens Jason Stevens [f1c12b] Change from register to stack convention... May...
 makefile.x68 2018-01-23 Jason Stevnes Jason Stevnes [1a5207] added in the allegro keyboard and more hooks. ...
 muldi3.c 2017-08-17 Jason Stevens Jason Stevens [811de9] Initial commit, based on the Linux DooM v1.10 s...
 negdi2.c 2017-08-17 Jason Stevens Jason Stevens [099b93] Add in changes to build for EMX. Tested with G...
 out 2017-08-17 Jason Stevens Jason Stevens [811de9] Initial commit, based on the Linux DooM v1.10 s...
 p_ceilng.c 2017-10-08 Jason Stevens Jason Stevens [7f3359] Changes to allow DooM to compile using GCC 1.27...
 p_doors.c 2017-10-08 Jason Stevens Jason Stevens [7f3359] Changes to allow DooM to compile using GCC 1.27...
 p_enemy.c 2017-10-08 Jason Stevens Jason Stevens [7f3359] Changes to allow DooM to compile using GCC 1.27...
 p_floor.c 2017-10-08 Jason Stevens Jason Stevens [7f3359] Changes to allow DooM to compile using GCC 1.27...
 p_inter.c 2017-10-08 Jason Stevens Jason Stevens [7f3359] Changes to allow DooM to compile using GCC 1.27...
 p_inter.h 2017-08-17 Jason Stevens Jason Stevens [811de9] Initial commit, based on the Linux DooM v1.10 s...
 p_lights.c 2017-10-08 Jason Stevens Jason Stevens [7f3359] Changes to allow DooM to compile using GCC 1.27...
 p_local.h 2017-08-17 Jason Stevens Jason Stevens [811de9] Initial commit, based on the Linux DooM v1.10 s...
 p_map.c 2017-10-08 Jason Stevens Jason Stevens [7f3359] Changes to allow DooM to compile using GCC 1.27...
 p_maputl.c 2017-10-08 Jason Stevens Jason Stevens [7f3359] Changes to allow DooM to compile using GCC 1.27...
 p_mobj.c 2017-10-08 Jason Stevens Jason Stevens [7f3359] Changes to allow DooM to compile using GCC 1.27...
 p_mobj.h 2017-08-17 Jason Stevens Jason Stevens [811de9] Initial commit, based on the Linux DooM v1.10 s...
 p_plats.c 2017-10-08 Jason Stevens Jason Stevens [7f3359] Changes to allow DooM to compile using GCC 1.27...
 p_pspr.c 2017-10-08 Jason Stevens Jason Stevens [7f3359] Changes to allow DooM to compile using GCC 1.27...
 p_pspr.h 2017-08-17 Jason Stevens Jason Stevens [811de9] Initial commit, based on the Linux DooM v1.10 s...
 p_saveg.c 2017-10-08 Jason Stevens Jason Stevens [7f3359] Changes to allow DooM to compile using GCC 1.27...
 p_saveg.h 2017-08-17 Jason Stevens Jason Stevens [811de9] Initial commit, based on the Linux DooM v1.10 s...
 p_setup.c 2017-10-08 Jason Stevens Jason Stevens [7f3359] Changes to allow DooM to compile using GCC 1.27...
 p_setup.h 2017-08-17 Jason Stevens Jason Stevens [811de9] Initial commit, based on the Linux DooM v1.10 s...
 p_sight.c 2017-10-08 Jason Stevens Jason Stevens [7f3359] Changes to allow DooM to compile using GCC 1.27...
 p_spec.c 2017-10-08 Jason Stevens Jason Stevens [7f3359] Changes to allow DooM to compile using GCC 1.27...
 p_spec.h 2017-08-17 Jason Stevens Jason Stevens [811de9] Initial commit, based on the Linux DooM v1.10 s...
 p_switch.c 2017-10-08 Jason Stevens Jason Stevens [7f3359] Changes to allow DooM to compile using GCC 1.27...
 p_telept.c 2017-10-08 Jason Stevens Jason Stevens [7f3359] Changes to allow DooM to compile using GCC 1.27...
 p_tick.c 2017-10-08 Jason Stevens Jason Stevens [7f3359] Changes to allow DooM to compile using GCC 1.27...
 p_tick.h 2017-08-17 Jason Stevens Jason Stevens [811de9] Initial commit, based on the Linux DooM v1.10 s...
 p_user.c 2017-10-08 Jason Stevens Jason Stevens [7f3359] Changes to allow DooM to compile using GCC 1.27...
 r_bsp.c 2017-10-08 Jason Stevens Jason Stevens [7f3359] Changes to allow DooM to compile using GCC 1.27...
 r_bsp.h 2017-08-17 Jason Stevens Jason Stevens [811de9] Initial commit, based on the Linux DooM v1.10 s...
 r_data.c 2017-10-08 Jason Stevens Jason Stevens [7f3359] Changes to allow DooM to compile using GCC 1.27...
 r_data.h 2017-08-17 Jason Stevens Jason Stevens [811de9] Initial commit, based on the Linux DooM v1.10 s...
 r_defs.h 2017-08-17 Jason Stevens Jason Stevens [811de9] Initial commit, based on the Linux DooM v1.10 s...
 r_draw.c 2019-05-03 neozeed2 neozeed2 [104173] drawspan for Watcom needs TASM. Which I don't ...
 r_draw.h 2018-01-24 Jason Stevens Jason Stevens [4a37ff] since that o2c utility isn't free I did more di...
 r_drawcolumn.s 2018-01-24 Jason Stevens Jason Stevens [4a37ff] since that o2c utility isn't free I did more di...
 r_drawspan.s 2018-01-24 Jason Stevens Jason Stevens [4a37ff] since that o2c utility isn't free I did more di...
 r_local.h 2017-08-17 Jason Stevens Jason Stevens [811de9] Initial commit, based on the Linux DooM v1.10 s...
 r_main.c 2017-10-08 Jason Stevens Jason Stevens [7f3359] Changes to allow DooM to compile using GCC 1.27...
 r_main.h 2017-08-17 Jason Stevens Jason Stevens [811de9] Initial commit, based on the Linux DooM v1.10 s...
 r_plane.c 2018-01-23 Jason Stevnes Jason Stevnes [8f61e3] Added inline assembly for GCC, and assembly for...
 r_plane.h 2017-08-17 Jason Stevens Jason Stevens [811de9] Initial commit, based on the Linux DooM v1.10 s...
 r_segs.c 2018-01-23 Jason Stevnes Jason Stevnes [8f61e3] Added inline assembly for GCC, and assembly for...
 r_segs.h 2017-08-17 Jason Stevens Jason Stevens [811de9] Initial commit, based on the Linux DooM v1.10 s...
 r_sky.c 2017-10-08 Jason Stevens Jason Stevens [7f3359] Changes to allow DooM to compile using GCC 1.27...
 r_sky.h 2017-08-17 Jason Stevens Jason Stevens [811de9] Initial commit, based on the Linux DooM v1.10 s...
 r_state.h 2017-08-17 Jason Stevens Jason Stevens [811de9] Initial commit, based on the Linux DooM v1.10 s...
 r_things.c 2018-01-23 Jason Stevnes Jason Stevnes [8f61e3] Added inline assembly for GCC, and assembly for...
 r_things.h 2017-08-17 Jason Stevens Jason Stevens [811de9] Initial commit, based on the Linux DooM v1.10 s...
 readme.asm 2017-08-17 Jason Stevens Jason Stevens [811de9] Initial commit, based on the Linux DooM v1.10 s...
 readme.b 2017-08-17 Jason Stevens Jason Stevens [811de9] Initial commit, based on the Linux DooM v1.10 s...
 readme.book 2017-08-17 Jason Stevens Jason Stevens [811de9] Initial commit, based on the Linux DooM v1.10 s...
 readme.dos 2017-08-17 Jason Stevens Jason Stevens [811de9] Initial commit, based on the Linux DooM v1.10 s...
 readme.gl 2017-08-17 Jason Stevens Jason Stevens [811de9] Initial commit, based on the Linux DooM v1.10 s...
 readme.sound 2017-08-17 Jason Stevens Jason Stevens [811de9] Initial commit, based on the Linux DooM v1.10 s...
 release.txt 2017-08-17 Jason Stevens Jason Stevens [811de9] Initial commit, based on the Linux DooM v1.10 s...
 s_sound.c 2018-01-23 Jason Stevnes Jason Stevnes [1a5207] added in the allegro keyboard and more hooks. ...
 s_sound.h 2017-08-17 Jason Stevens Jason Stevens [811de9] Initial commit, based on the Linux DooM v1.10 s...
 sounds.c 2017-10-08 Jason Stevens Jason Stevens [7f3359] Changes to allow DooM to compile using GCC 1.27...
 sounds.h 2017-08-17 Jason Stevens Jason Stevens [811de9] Initial commit, based on the Linux DooM v1.10 s...
 st_lib.c 2017-10-08 Jason Stevens Jason Stevens [7f3359] Changes to allow DooM to compile using GCC 1.27...
 st_lib.h 2017-08-17 Jason Stevens Jason Stevens [811de9] Initial commit, based on the Linux DooM v1.10 s...
 st_stuff.c 2017-10-08 Jason Stevens Jason Stevens [7f3359] Changes to allow DooM to compile using GCC 1.27...
 st_stuff.h 2017-08-17 Jason Stevens Jason Stevens [811de9] Initial commit, based on the Linux DooM v1.10 s...
 strcasecmp.c 2017-08-18 Jason Stevens Jason Stevens [18b2ed] Add in some minor changes to compile on Watcom ...
 strncasecmp.c 2017-08-18 Jason Stevens Jason Stevens [18b2ed] Add in some minor changes to compile on Watcom ...
 tables.c 2017-10-08 Jason Stevens Jason Stevens [7f3359] Changes to allow DooM to compile using GCC 1.27...
 tables.h 2017-08-17 Jason Stevens Jason Stevens [811de9] Initial commit, based on the Linux DooM v1.10 s...
 todo 2017-08-17 Jason Stevens Jason Stevens [811de9] Initial commit, based on the Linux DooM v1.10 s...
 udivdi3.c 2017-08-17 Jason Stevens Jason Stevens [099b93] Add in changes to build for EMX. Tested with G...
 v_video.c 2017-10-08 Jason Stevens Jason Stevens [7f3359] Changes to allow DooM to compile using GCC 1.27...
 v_video.h 2017-08-17 Jason Stevens Jason Stevens [811de9] Initial commit, based on the Linux DooM v1.10 s...
 w_wad.c 2019-05-02 neozeed2 neozeed2 [85463b] On the Atari ST, binary mode is 4. Don't ask m...
 w_wad.h 2019-05-03 neozeed2 neozeed2 [104173] drawspan for Watcom needs TASM. Which I don't ...
 w_wad_fstream.c 2019-05-03 neozeed2 neozeed2 [104173] drawspan for Watcom needs TASM. Which I don't ...
 wi_stuff.c 2017-10-08 Jason Stevens Jason Stevens [7f3359] Changes to allow DooM to compile using GCC 1.27...
 wi_stuff.h 2017-08-17 Jason Stevens Jason Stevens [811de9] Initial commit, based on the Linux DooM v1.10 s...
 z_zone.c 2017-10-08 Jason Stevens Jason Stevens [7f3359] Changes to allow DooM to compile using GCC 1.27...
 z_zone.h 2017-08-18 Jason Stevens Jason Stevens [18b2ed] Add in some minor changes to compile on Watcom ...

Read Me

README - DOOM assembly code

Okay, I add the DOS assembly module for the historically
inclined here (may rec.games.programmer suffer). If anyone
feels the urge to port these to GNU GCC; either inline or
as separate modules including Makefile support, be my guest.

Module tmap.S includes the inner loops for texture mapping,
the interesting one being the floor/ceiling span rendering.

There was another module in the source dump, fpfunc.S, that
had both texture mapping and fixed point functions. It
contained implementations both for i386 and M68k. For
brevity, I include only the i386 fixed point stuff below.

//====================================================
// tmap.S  as of January 10th, 1997

//================
//
// R_DrawColumn
//
//================

	.data
loopcount	.long	0
pixelcount	.long	0

	.text

	.align 16
.globl _R_DrawColumn
_R_DrawColumn:

	pushad

	movl		ebp,[_dc_yl]
	movl		ebx,ebp
	movl     edi,[_ylookup+ebx*4]
	movl		ebx,[_dc_x]
	addl     edi,[_columnofs + ebx*4]

	movl		eax,[_dc_yh]
	incl		eax
	subl     eax,ebp                   	// pixel count
	movl		[pixelcount],eax			// save for final pixel
	js		done						// nothing to scale
	shrl		eax,1						// double pixel count
	movl		[loopcount],eax
	
	movl     ecx,[_dc_iscale]

	movl		eax,[_centery]
	subl		eax,ebp
	imull	ecx
	movl		ebp,[_dc_texturemid]
	subl		ebp,eax
	shll		ebp,9							// 7 significant bits, 25 frac

	movl     esi,[_dc_source]
	

	movl		ebx,[_dc_iscale]
	shll		ebx,9
	movl		eax,OFFSET patch1+2		// convice tasm to modify code...
	movl		[eax],ebx
	movl		eax,OFFSET patch2+2		// convice tasm to modify code...
	movl		[eax],ebx
	
// eax		aligned colormap
// ebx		aligned colormap
// ecx,edx	scratch
// esi		virtual source
// edi		moving destination pointer
// ebp		frac
	
	movl	ecx,ebp					// begin calculating first pixel
	addl	ebp,ebx					// advance frac pointer
	shrl ecx,25					// finish calculation for first pixel
	movl	edx,ebp					// begin calculating second pixel
	addl	ebp,ebx					// advance frac pointer
	shrl edx,25					// finish calculation for second pixel
	movl eax,[_dc_colormap]
	movl ebx,eax
	movb	al,[esi+ecx]			// get first pixel
	movb	bl,[esi+edx]			// get second pixel
	movb	al,[eax]				// color translate first pixel
	movb	bl,[ebx]				// color translate second pixel
	
	testl	[pixelcount],0fffffffeh
	jnz	doubleloop				// at least two pixels to map
	jmp	checklast
	
	.align	16
doubleloop:
	movl	ecx,ebp					// begin calculating third pixel
patch1:
	addl	ebp,12345678h			// advance frac pointer
	movb	[edi],al				// write first pixel
	shrl ecx,25					// finish calculation for third pixel
	movl	edx,ebp					// begin calculating fourth pixel
patch2:
	addl	ebp,12345678h			// advance frac pointer
	movl	[edi+SCREENWIDTH],bl	// write second pixel
	shrl edx,25					// finish calculation for fourth pixel
	movb	al,[esi+ecx]			// get third pixel
	addl	edi,SCREENWIDTH*2		// advance to third pixel destination
	movb	bl,[esi+edx]			// get fourth pixel
	decl	[loopcount]				// done with loop?
	movb	al,[eax]				// color translate third pixel
	movb	bl,[ebx]				// color translate fourth pixel
	jnz	doubleloop
	
// check for final pixel
checklast:
	testl	[pixelcount],1
	jz	done
	movb	[edi],al				// write final pixel
	
done:
	popad
	ret
	


//================
//
// R_DrawSpan
//
// Horizontal texture mapping
//
//================


	.align	16
.globl _R_DrawSpan
_R_DrawSpan:
	pushad

//
// find loop count
//	
	movl		eax,[_ds_x2]
	incl		eax
	subl     eax,[_ds_x1]               	// pixel count
	movl		[pixelcount],eax			// save for final pixel
	js		hdone						// nothing to scale
	shrl		eax,1						// double pixel count
	movl		[loopcount],eax

//
// build composite position
//
	movl	ebp,[_ds_xfrac]
	shll	ebp,10
	andl	ebp,0ffff0000h
	movl	eax,[_ds_yfrac]
	shrl	eax,6
	andl	eax,0ffffh
	orl	ebp,eax

	movl	esi,[_ds_source]

//
// calculate screen dest
//
	movl	edi,[_ds_y]
	movl	edi,[_ylookup+edi*4]
	movl	eax,[_ds_x1]
	addl edi,[_columnofs+eax*4]

//
// build composite step
//
	movl	ebx,[_ds_xstep]
	shll	ebx,10
	andl	ebx,0ffff0000h
	movl	eax,[_ds_ystep]
	shrl	eax,6
	andl	eax,0ffffh
	orl	ebx,eax

	movl		eax,OFFSET hpatch1+2		// convice tasm to modify code...
	movl		[eax],ebx
	movl		eax,OFFSET hpatch2+2		// convice tasm to modify code...
	movl		[eax],ebx
	
// eax		aligned colormap
// ebx		aligned colormap
// ecx,edx	scratch
// esi		virtual source
// edi		moving destination pointer
// ebp		frac
	
	shldl ecx,ebp,22				// begin calculating third pixel (y units)
	shldl ecx,ebp,6				// begin calculating third pixel (x units)
	addl	ebp,ebx					// advance frac pointer
	andl ecx,4095				// finish calculation for third pixel
	shldl edx,ebp,22				// begin calculating fourth pixel (y units)
	shldl edx,ebp,6				// begin calculating fourth pixel (x units)
	addl	ebp,ebx					// advance frac pointer
	andl edx,4095				// finish calculation for fourth pixel
	movl eax,[_ds_colormap]
	movl ebx,eax
	movb	al,[esi+ecx]			// get first pixel
	movb	bl,[esi+edx]			// get second pixel
	movb	al,[eax]				// color translate first pixel
	movb	bl,[ebx]				// color translate second pixel
	
	testl	[pixelcount],0fffffffeh
	jnz	hdoubleloop				// at least two pixels to map
	jmp	hchecklast
	

	.align	16
hdoubleloop:
	shldl ecx,ebp,22				// begin calculating third pixel (y units)
	shldl ecx,ebp,6				// begin calculating third pixel (x units)
hpatch1:
	addl	ebp,12345678h			// advance frac pointer
	movb	[edi],al				// write first pixel
	andl ecx,4095				// finish calculation for third pixel
	shldl edx,ebp,22				// begin calculating fourth pixel (y units)
	shldl edx,ebp,6				// begin calculating fourth pixel (x units)
hpatch2:
	addl	ebp,12345678h			// advance frac pointer
	movb	[edi+1],bl				// write second pixel
	andl edx,4095				// finish calculation for fourth pixel
	movb	al,[esi+ecx]			// get third pixel
	addl	edi,2					// advance to third pixel destination
	movb	bl,[esi+edx]			// get fourth pixel
	decl	[loopcount]				// done with loop?
	movb	al,[eax]				// color translate third pixel
	movb	bl,[ebx]				// color translate fourth pixel
	jnz	hdoubleloop

// check for final pixel
hchecklast:
	testl	[pixelcount],1
	jz	hdone
	movb	[edi],al				// write final pixel
	
hdone:
	popad
	ret




//====================================================
// fpfunc.S  as of January 10th, 1997 (parts)

#ifdef i386

.text
	.align 4
.globl _FixedMul
_FixedMul:	
	pushl %ebp
	movl %esp,%ebp
	movl 8(%ebp),%eax
	imull 12(%ebp)
	shrdl $16,%edx,%eax
	popl %ebp
	ret


	.align 4
.globl _FixedDiv2
_FixedDiv2:
	pushl %ebp
	movl %esp,%ebp
	movl 8(%ebp),%eax
	cdq
	shldl $16,%eax,%edx
	sall	$16,%eax
	idivl	12(%ebp)
	popl %ebp
	ret

#endif