mirror of
https://github.com/TomHarte/CLK.git
synced 2024-11-30 04:50:08 +00:00
Ensured that -description can handle the newly-captured bus actions.
This commit is contained in:
parent
0f18768091
commit
b6f51474ff
@ -79,10 +79,12 @@ static CPU::Z80::Register registerForRegister(CSTestMachineZ80Register reg) {
|
|||||||
- (NSString *)description {
|
- (NSString *)description {
|
||||||
NSString *opName = @"";
|
NSString *opName = @"";
|
||||||
switch(self.operation) {
|
switch(self.operation) {
|
||||||
|
case CSTestMachineZ80BusOperationCaptureOperationReadOpcode: opName = @"ro"; break;
|
||||||
case CSTestMachineZ80BusOperationCaptureOperationRead: opName = @"r"; break;
|
case CSTestMachineZ80BusOperationCaptureOperationRead: opName = @"r"; break;
|
||||||
case CSTestMachineZ80BusOperationCaptureOperationWrite: opName = @"w"; break;
|
case CSTestMachineZ80BusOperationCaptureOperationWrite: opName = @"w"; break;
|
||||||
case CSTestMachineZ80BusOperationCaptureOperationPortRead: opName = @"i"; break;
|
case CSTestMachineZ80BusOperationCaptureOperationPortRead: opName = @"i"; break;
|
||||||
case CSTestMachineZ80BusOperationCaptureOperationPortWrite: opName = @"o"; break;
|
case CSTestMachineZ80BusOperationCaptureOperationPortWrite: opName = @"o"; break;
|
||||||
|
case CSTestMachineZ80BusOperationCaptureOperationInternalOperation: opName = @"iop"; break;
|
||||||
}
|
}
|
||||||
return [NSString stringWithFormat:@"%@ %04x %02x [%d]", opName, self.address, self.value, self.timeStamp];
|
return [NSString stringWithFormat:@"%@ %04x %02x [%d]", opName, self.address, self.value, self.timeStamp];
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user