*** ../dosemu-0.60.3-old/commands/Makefile	Wed Jun 28 19:23:20 1995
--- commands/Makefile	Thu Aug 10 08:58:10 1995
***************
*** 5,10 ****
  SRC=exitemu.S vgaoff.S vgaon.S eject.S lredir.c lredir.readme dumpconf.asm \
  	bootoff.S booton.S dosdbg.c dosdbg.readme emumouse.c isemu.c \
! 	emufs.S ems.S cdrom.S chdir.c   getcwd.c  system.c speed.S
! COM=exitemu.com vgaoff.com vgaon.com eject.com bootoff.com booton.com speed.com
  EXE=lredir.com dumpconf.exe dosdbg.com lancheck.exe isemu.com unix.com \
  	unix.c emumouse.exe mgarrot.com mgarrot.a86 isemu.com \
--- 5,11 ----
  SRC=exitemu.S vgaoff.S vgaon.S eject.S lredir.c lredir.readme dumpconf.asm \
  	bootoff.S booton.S dosdbg.c dosdbg.readme emumouse.c isemu.c \
! 	emufs.S ems.S cdrom.S chdir.c   getcwd.c  system.c speed.S fossil.S
! COM=exitemu.com vgaoff.com vgaon.com eject.com bootoff.com booton.com \
! 	speed.com fossil.com
  EXE=lredir.com dumpconf.exe dosdbg.com lancheck.exe isemu.com unix.com \
  	unix.c emumouse.exe mgarrot.com mgarrot.a86 isemu.com \
***************
*** 25,28 ****
--- 26,38 ----
  	$(LD86) -T 0 -s -o $*.tmp $*.o
  	dd if=$*.tmp of=$@ bs=1 skip=32
+ 	rm -f $*.tmp $*.o
+ 
+ # The commands above require that you use ".org 0" which doesn't work at all
+ # if you need absolute addresses. Just use ".org 0x100" and cut the extra
+ # bytes using dd.
+ fossil.com: fossil.S
+ 	$(AS86) -0 -o $*.o $<
+ 	$(LD86) -T 0 -s -o $*.tmp $*.o
+ 	dd if=$*.tmp of=$@ bs=1 skip=288
  	rm -f $*.tmp $*.o
  
