# pce-sims32.cfg
#
# Example config file

section sims32 {
	section sparc32 {
		model = "sparc32"
		nwindows = 4
	}

	# Multiple "ram" sections may be present
	section ram {
		# The linear base address
		address = 0x00000000

		# The size in bytes
		size = 0x04000000
		
		# The RAM image that is used to initialize the RAM
		file = "linux.bin"
	}

	# Multiple "rom" sections may be present
	section rom {
		# The file from which the rom code is loaded
		file = "sims32.rom"

		# The linear base address
		address = 0xffff0000

		# The rom size in bytes
		size = 65536
	}

	# load sections are processed after the emulator is set up.
	section load {
		format = "ihex"
		file = "sims32.ihex"
	}

	section load {
		format = "binary"
		file = "rom.bin"
		address = 0xffff0000
	}

	# Up to two "serial" sections may be present. The first is
	# UART0, the second UART1. If the base addresses are changed,
	# linux won't find the UARTs
	section serial {
		address = 0xef600300
		irq = 0
		
		# The file that output is written to
		file = "current/uart0.out"
	}

	section serial {
		address = 0xef600400
		irq = 1
		file = "current/uart1.out"
	}
}
