# pce-sim6502.cfg
#
# Example config file

section sim6502 {
	# Multiple "ram" sections may be present
	section ram {
		# The base address
		base = 0x0000

		# The size in bytes
		size = 0xe000
		
		# The RAM image that is used to initialize the RAM
		file = "sim6502.ram"
	}

	# Multiple "rom" sections may be present
	section rom {
		# The base address
		base = 0xf000

		# The rom size in bytes
		size = 0x1000

		# The file from which the rom code is loaded
		file = "sim6502.rom"
	}

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

	section load {
		format = "binary"
		file = "rom.bin"
		base = 0xf000
	}

	section console {
		io = 0xe000
	}
}
