mirror of
https://github.com/JorjBauer/aiie.git
synced 2025-01-11 09:29:56 +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);
|
void maintenance(uint32_t cycles);
|
||||||
|
|
||||||
|
uint8_t selectedDrive();
|
||||||
|
uint8_t headPosition(uint8_t drive);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
void setPhase(uint8_t phase);
|
void setPhase(uint8_t phase);
|
||||||
|
|
||||||
@ -57,7 +60,7 @@ class DiskII : public Slot {
|
|||||||
public:
|
public:
|
||||||
// debugging
|
// debugging
|
||||||
WozSerializer *disk[2];
|
WozSerializer *disk[2];
|
||||||
private:
|
private:
|
||||||
volatile int8_t curHalfTrack[2];
|
volatile int8_t curHalfTrack[2];
|
||||||
volatile uint8_t curWozTrack[2];
|
volatile uint8_t curWozTrack[2];
|
||||||
volatile int8_t curPhase[2];
|
volatile int8_t curPhase[2];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user