#
# Copyright (C) 2017 FAUmachine Team <info@faumachine.org>.
# This program is free software. You can redistribute it and/or modify it
# under the terms of the GNU General Public License, either version 2 of
# the License, or (at your option) any later version. See COPYING.
#

SIMULATION_PC := pc-i386-isa.vhdl
FLOPPY_IMAGE := floppy.img
CHANGE_DISK_SIZE := 1
CHANGE_MEM_SIZE := 64

include $(dir $(shell which faum))/../share/faumachine/vhdl/experiment.mk

floppy.img: FDOEM.144.gz DIAGNOSE.EXE
	gunzip < FDOEM.144.gz > floppy.img
	mcopy -i floppy.img DIAGNOSE.EXE ::

clean distclean::
	$(RM) floppy.img

generate: ../test-sound-int/generate
	cat $^ > $@

clean distclean::
	$(RM) generate
