mirror of
https://github.com/TomHarte/CLK.git
synced 2024-11-26 23:52:26 +00:00
Corrects capitalisation.
This commit is contained in:
parent
428b6145fa
commit
15f7cbe8c1
@ -491,13 +491,13 @@ class ConcreteMachine:
|
|||||||
// also push memory resources into the 6560 video memory map; the 6560 has only a
|
// also push memory resources into the 6560 video memory map; the 6560 has only a
|
||||||
// 14-bit address bus and the top bit is invested and used as bit 15 for the main
|
// 14-bit address bus and the top bit is invested and used as bit 15 for the main
|
||||||
// memory bus. It can access only internal memory, so the first 1kb, then the 4kb from 0x1000.
|
// memory bus. It can access only internal memory, so the first 1kb, then the 4kb from 0x1000.
|
||||||
struct range {
|
struct Range {
|
||||||
const std::size_t start, end;
|
const std::size_t start, end;
|
||||||
range(std::size_t start, std::size_t end) : start(start), end(end) {}
|
Range(std::size_t start, std::size_t end) : start(start), end(end) {}
|
||||||
};
|
};
|
||||||
const std::array<range, 2> video_ranges = {{
|
const std::array<Range, 2> video_ranges = {{
|
||||||
range(0x0000, 0x0400),
|
Range(0x0000, 0x0400),
|
||||||
range(0x1000, 0x2000),
|
Range(0x1000, 0x2000),
|
||||||
}};
|
}};
|
||||||
for(auto &video_range : video_ranges) {
|
for(auto &video_range : video_ranges) {
|
||||||
for(auto addr = video_range.start; addr < video_range.end; addr += 0x400) {
|
for(auto addr = video_range.start; addr < video_range.end; addr += 0x400) {
|
||||||
|
Loading…
Reference in New Issue
Block a user