Skip to content

Commit

Permalink
[#211]
Browse files Browse the repository at this point in the history
Struct FLOPPY_INFO --> FLOPPY_1541_INFO
  • Loading branch information
ThKattanek committed Aug 23, 2021
1 parent bffe605 commit dc0e7b6
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/floppy1541_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 20.08.2021 //
// Letzte Änderung am 23.08.2021 //
// www.emu64.de //
// //
//////////////////////////////////////////////////
Expand Down Expand Up @@ -554,7 +554,7 @@ void Floppy1541::SetWriteProtect(bool status)
WriteProtect = WriteProtectAkt = status;
}

void Floppy1541::GetFloppyInfo(FLOPPY_INFO *fi)
void Floppy1541::GetFloppyInfo(FLOPPY_1541_INFO *fi)
{
fi->Sektor = RAM[0x19];
fi->Spur = (AktHalbSpur+1)>>1;
Expand Down
4 changes: 2 additions & 2 deletions src/floppy1541_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 20.08.2021 //
// Letzte Änderung am 23.08.2021 //
// www.emu64.de //
// //
//////////////////////////////////////////////////
Expand Down Expand Up @@ -61,7 +61,7 @@ class Floppy1541
void GetCpuReg(REG_STRUCT *reg, IREG_STRUCT *ireg);
void SetCpuReg(REG_STRUCT *reg);
void SetResetReady(bool* ResetReady, uint16_t ResetReadyAdr);
void GetFloppyInfo(FLOPPY_INFO *fi);
void GetFloppyInfo(FLOPPY_1541_INFO *fi);
uint8_t ReadByte(uint16_t address);
void WriteByte(uint16_t address, uint8_t value);
int LoadFloppySounds(const char* motor_sound_filename, const char* motor_on_sound_filename, const char* motor_off_sound_filename, const char* anschlag_sound_filename, const char* stepper_dec_sound_filename, const char* Stepper_inc_sound_filename);
Expand Down
10 changes: 8 additions & 2 deletions src/structs.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 01.06.2021 //
// Letzte Änderung am 23.08.2021 //
// www.emu64.de //
// //
//////////////////////////////////////////////////
Expand Down Expand Up @@ -205,7 +205,7 @@ struct BREAK_GROUP
boolean bTrue;
};

struct FLOPPY_INFO
struct FLOPPY_1541_INFO
{
bool Motor;
bool Data;
Expand All @@ -214,6 +214,12 @@ struct FLOPPY_INFO
unsigned char Sektor;
};

struct FLOPPY_1581_INFO
{
bool Power_Led; // VC1581
bool Data_Led; // VC1581
};

struct D64_FILES
{
char Name[17];
Expand Down

0 comments on commit dc0e7b6

Please sign in to comment.