1
0
mirror of https://github.com/TomHarte/CLK.git synced 2026-04-26 19:17:52 +00:00

Ensures that the Mac now retains its ROM properly.

This commit is contained in:
Thomas Harte
2019-05-03 22:39:09 -04:00
parent 5f385e15f6
commit 6873f62ad8
7 changed files with 67 additions and 14 deletions
+24
View File
@@ -0,0 +1,24 @@
//
// MemoryPacker.hpp
// Clock Signal
//
// Created by Thomas Harte on 03/05/2019.
// Copyright © 2019 Thomas Harte. All rights reserved.
//
#ifndef MemoryPacker_hpp
#define MemoryPacker_hpp
#include <cstdint>
#include <vector>
namespace Memory {
/*!
Copies the bytes from @c source into @c target, interpreting them
as big-endian 16-bit data.
*/
void PackBigEndian16(const std::vector<uint8_t> &source, uint16_t *target);
}
#endif /* MemoryPacker_hpp */