/usr/share/faumachine/experiments/test-sound/00README is in faumachine-data 20110812-1.2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 | all:
experiment: gen_sb16vhdl fdsb16boot.iso
@echo " "
@echo "This experiment boots FreeDOS and runs the soundblaster diagnose tool"
@echo "from Creative Labs (www.creative.com)"
@echo
@echo "Do a tail -f ./expect-run.log to view progress output."
@echo
faum-expect > log.faum-expect 2> log.faum-node-pc
touch experiment
gen_sb16vhdl::
cat basic1.vhdl > system.vhdl
cat generate/dos-sb16diag | awk -f generate.awk -F "(\t)*" >> system.vhdl
cat basic2.vhdl >> system.vhdl
fdsb16boot.iso:
@echo " "
@echo "This experiment boots DOS and runs the soundblaster diagnose tool"
@echo "for dos supplied by creative. Unfortunately, there are quite a"
@echo "few prerequisites for this."
@echo "We cannot package the boot disc and testing tool together"
@echo "with FAUmachine, so you will have to download and create"
@echo "a bootable ISO image from it yourself."
createbootdiskimage: showwarning FDOEM144.flp diagnose.exe
@echo "Wow, seems you've managed to download all the files."
@echo "Unfortunately, the next step will require root priviledges,"
@echo "as I need to loopback-mount the floppy image to modify it."
-mkdir lbmnt
mount -o loop -t vfat ./FDOEM144.flp ./lbmnt
cp diagnose.exe ./lbmnt/
umount ./lbmnt
rmdir lbmnt
mkdir cdimg
cp FDOEM144.flp cdimg/
mkisofs -o fdsb16boot.iso -b FDOEM144.flp cdimg
rm cdimg/FDOEM144.flp
rmdir cdimg
@echo "Do not forget to chown fdsb16boot.iso to the right user!"
showwarning:
@echo "I will now try to automatically assemble the boot cd image."
@echo "This will most probably fail because URLs on the internet"
@echo "usually do not stay valid for too long... You'll have to do"
@echo "the failed steps manually then."
FDOEM144.flp:
@echo "Trying to fetch:"
@echo "FreeDOS OEM boot disc."
@echo "At the time of writing this, it was available from"
@echo " http://www.fdos.org/bootdisks/autogen/FDOEM.144.gz"
wget --output-document=FDOEM144.flp.gz http://www.fdos.org/bootdisks/autogen/FDOEM.144.gz
gzip -d FDOEM144.flp.gz
diagnose.exe:
@echo "You will have to manually download the Creative Soundblaster 16"
@echo "Diagnose Tool from www.creative.com. "
@echo "Just go to Support and check out the Download Section. After "
@echo "determining your location, look out for DOS Software for the Sound-"
@echo "blaster 16. Now download under the Application section the "
@echo "diagnose.exe included in an self-extracting .EXE-file. You have"
@echo "to use Wine or startup DOS/Windows to get the diagnose.exe out"
@echo "of this."
@exit 1
gen_vhdlblubb:
@cat basic1.vhdl > system.vhdl
@cat testdesc.genscr | awk -f ../UltimateBootCD/generate.awk -F "(\t)*" >> system.vhdl
@cat basic2.vhdl >> system.vhdl
clean:
rm -fr node*
rm -f start_all.sh kill_all.sh
rm -f errors.*
rm -f expect-*.log
rm -f log.*
rm -f fault_list.expect
distclean: clean
rm -f experiment
rm -rf node.*
rm -f *~
install:
mkdir -p $(DESTDIR)$(thisexdir)
for file in \
simulation.setup \
software.setup \
system.vhdl \
Makefile \
; do \
cp $${file} $(DESTDIR)$(thisexdir) ; \
done ;
|