Skip to content

Commit

Permalink
[#211]
Browse files Browse the repository at this point in the history
GetFloppyInfo hinzugefuegt
  • Loading branch information
ThKattanek committed Aug 23, 2021
1 parent dc0e7b6 commit e02a9a0
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
8 changes: 7 additions & 1 deletion src/floppy1581_class.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
// Dieser Sourcecode ist Copyright geschützt! //
// Geistiges Eigentum von Th.Kattanek //
// //
// Letzte Änderung am 21.08.2021 //
// Letzte Änderung am 23.08.2021 //
// www.emu64.de //
// //
//////////////////////////////////////////////////
Expand Down Expand Up @@ -180,6 +180,12 @@ bool Floppy1581::OneCycle()
return true;
}

void Floppy1581::GetFloppyInfo(FLOPPY_1581_INFO *fi)
{
fi->Power_Led = true;
fi->Data_Led = true;
}

void Floppy1581::WriteNoMem(uint16_t /*address*/, uint8_t /*value*/)
{
}
Expand Down
4 changes: 3 additions & 1 deletion src/floppy1581_class.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
// Dieser Sourcecode ist Copyright geschützt! //
// Geistiges Eigentum von Th.Kattanek //
// //
// Letzte Änderung am 21.08.2021 //
// Letzte Änderung am 23.08.2021 //
// www.emu64.de //
// //
//////////////////////////////////////////////////
Expand Down Expand Up @@ -44,6 +44,8 @@ class Floppy1581
void SetEnableFloppy(bool status);
bool OneCycle();

void GetFloppyInfo(FLOPPY_1581_INFO *fi);

/// Wird mit den einzelnen Chips verbunden via "bind" ///

void WriteNoMem(uint16_t address, uint8_t value);
Expand Down

0 comments on commit e02a9a0

Please sign in to comment.