#
# 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.
#

floppy_insert	floppy.img
#
# Power-on node.
#
power_on
#
# Wait for command prompt.
# Type "diags" to start diagnose tool.
#
wait_asc	A:						1min
type		"diags\0d"
#
# Wait for "Intel(R) Diagnostic Tool for PRO Series Ethernet adapters".
#
wait_asc	Intel(R) Diagnostic Tool for PRO Series Ethernet adapters	1min
#
# Wait for "Main Menu".
# Type <Return> to start pre-selected "Test Adapter".
#
wait_asc	Main Menu					1min
wait_asc	Test Adapter					10sec
type		"\0d"
#
# Wait for "Test Menu"
# Type <Return> to start pre-selected "Begin Adapter Tests".
#
wait_asc	Test Menu					1min
wait_asc	Begin Adapter Tests				10sec
type		"\0d"
#
# Wait for "Test Pass 1 of 1".
# Wait for "... Passed".
# Wait for "... Passed".
# Wait for "... Passed".
# Wait for "... Passed".
#
wait_asc	Test Pass 1 of 1				1min
wait_asc	Device Registers....................................  Passed	1min
wait_asc	EEPROM..............................................  Passed	1min
wait_asc	Interrupt...........................................  Passed	1min
wait_asc	Loopback Test(s)....................................  Passed	5min
#
# Wait for "Press any key to continue".
# Type <Return>.
#
wait_asc	Press any key to continue			1min
type		"\0d"
#
# Wait for "Test Menu".
# Type <ESC> to return to previous menu.
#
wait_asc	Test Menu					1min
type		"\0f"
#
# Wait for "Main Menu".
# Type <Cursor Down> to select "View Adapter Configuration".
# Type <Return> to start.
#
wait_asc	Main Menu					1min
type		"\1f"
type		"\0d"
#
# Wait for "Adapter Configuration".
# Wait for ...
# Wait for "[ENTER] to continue..."
# Type <Return> to return to previous menu.
#
wait_asc	Adapter Configuration				1min
wait_asc	Adapter Type:..........Intel(R) PRO/100 Network Connection	10sec
wait_asc	MAC Address:...........00D0B7000001 		10sec
wait_asc	Part Number:...........123443-021		10sec
wait_asc	Media Type:............Copper 			10sec
wait_asc	Interrupt:.............10 			10sec
wait_asc	PCI Bus Number:........0 			10sec
wait_asc	PCI Device Number:.....9 			10sec
wait_asc	Function Number:.......0 			10sec
wait_asc	Memory Address:........62010000 		10sec
wait_asc	Link Type:.............100 mbit Full Duplex 	10sec
wait_asc	Eeprom Version:........Unversioned 		10sec
wait_asc	[ENTER] to continue...				10sec
type		"\0d"
#
# Wait for "Main Menu".
# Type <ESC> to exit program.
#
wait_asc	Main Menu					1min
type		"\0f"
#
# Wait for DOS prompt
#
wait_asc	A:\>						1min
