mirror of
https://github.com/JorjBauer/aiie.git
synced 2024-11-22 15:31:41 +00:00
expose selected drive and track for debugging
This commit is contained in:
parent
7f561b1b90
commit
6d0f168232
@ -759,3 +759,15 @@ void DiskII::maintenance(uint32_t cycle)
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
uint8_t DiskII::selectedDrive()
|
||||
{
|
||||
return selectedDisk;
|
||||
}
|
||||
|
||||
uint8_t DiskII::headPosition(uint8_t drive)
|
||||
{
|
||||
return curHalfTrack[drive];
|
||||
}
|
||||
|
||||
|
||||
|
@ -37,6 +37,9 @@ class DiskII : public Slot {
|
||||
|
||||
void maintenance(uint32_t cycles);
|
||||
|
||||
uint8_t selectedDrive();
|
||||
uint8_t headPosition(uint8_t drive);
|
||||
|
||||
private:
|
||||
void setPhase(uint8_t phase);
|
||||
|
||||
@ -57,7 +60,7 @@ class DiskII : public Slot {
|
||||
public:
|
||||
// debugging
|
||||
WozSerializer *disk[2];
|
||||
private:
|
||||
private:
|
||||
volatile int8_t curHalfTrack[2];
|
||||
volatile uint8_t curWozTrack[2];
|
||||
volatile int8_t curPhase[2];
|
||||
|
Loading…
Reference in New Issue
Block a user