mirror of
https://github.com/TomHarte/CLK.git
synced 2025-08-11 18:25:05 +00:00
Compare commits
4 Commits
SoftwareOu
...
2022-07-08
Author | SHA1 | Date | |
---|---|---|---|
|
cf5c6c2144 | ||
|
3a2d27a636 | ||
|
18735ee571 | ||
|
1ce07e2ee8 |
@@ -171,8 +171,8 @@ template <Personality personality, typename T, bool uses_ready_line> void Proces
|
|||||||
case CyclePullY: s_++; read_mem(y_, s_ | 0x100); break;
|
case CyclePullY: s_++; read_mem(y_, s_ | 0x100); break;
|
||||||
case CyclePullOperand: s_++; read_mem(operand_, s_ | 0x100); break;
|
case CyclePullOperand: s_++; read_mem(operand_, s_ | 0x100); break;
|
||||||
case OperationSetFlagsFromOperand: set_flags(operand_); continue;
|
case OperationSetFlagsFromOperand: set_flags(operand_); continue;
|
||||||
case OperationSetOperandFromFlagsWithBRKSet: operand_ = flags_.get() | Flag::Break; continue;
|
case OperationSetOperandFromFlagsWithBRKSet: operand_ = flags_.get(); continue;
|
||||||
case OperationSetOperandFromFlags: operand_ = flags_.get(); continue;
|
case OperationSetOperandFromFlags: operand_ = flags_.get() & ~Flag::Break; continue;
|
||||||
case OperationSetFlagsFromA: flags_.set_nz(a_); continue;
|
case OperationSetFlagsFromA: flags_.set_nz(a_); continue;
|
||||||
case OperationSetFlagsFromX: flags_.set_nz(x_); continue;
|
case OperationSetFlagsFromX: flags_.set_nz(x_); continue;
|
||||||
case OperationSetFlagsFromY: flags_.set_nz(y_); continue;
|
case OperationSetFlagsFromY: flags_.set_nz(y_); continue;
|
||||||
|
@@ -25,7 +25,7 @@ constexpr uint32_t block(const char (& src)[5]) {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
constexpr size_t block_size(Storage::FileHolder &file, uint8_t header) {
|
size_t block_size(Storage::FileHolder &file, uint8_t header) {
|
||||||
uint8_t size_width = header >> 5;
|
uint8_t size_width = header >> 5;
|
||||||
size_t length = 0;
|
size_t length = 0;
|
||||||
while(size_width--) {
|
while(size_width--) {
|
||||||
|
Reference in New Issue
Block a user