private void writeByte(byte value, int address) {
		
		if (address >= 0 && address < MAX_ADDRESS_SPACE) {
			if (map[address] == HARDWARE_ACCESS) {
				
				switch (address) {
				
				case PORT_A_DATA:
					// give error
					break;
					
				default:
					memory[address] = value;
					break;
				}
			}
			
			else if (map[address] == RAM_MEMORY) {
				memory[address] = value;
			}
			
			else if (map[address] == ROM_MEMORY) {
				memory[address] = value;
			}
			
			else if (map[address] == NOTHING_ATTACHED) {
				// give error
			}
		}
	}