this is an example how to create modules in tasm.

may be it's not the way you, v2 guys, do it, but i haven't dox on module structure, so i did some 'reverse engineering' and decided to make modules my way...

	"when i'd grow up
	 there will be the day
	 when everybody got to do with...
	   MUH-Y WAAA-Y" (C) clowfinga

	:)

all you need is fill header (see v2m.asm) but keep in mind that all offsets and field widths there are fixed. next time i'd write it using struc, so that everyting become more easy to use. so far you need to link your module with 'v2m.asm' (and 'v2m.obj' MUST be the first obj to link with). in your files you have to define these globals:

modrun:proc - stub that shows "can't run module" message
modload:proc - proc to be called when module is being loaded
modunload:proc - proc to be called when module is being unloaded
modservice:proc - service routine
modname:near - string with module name
moddesc:near - string with module description
modcpyr:near - string with copyright info

"that's all, folks" (C) walt disney :)
