mirror of
https://github.com/JorjBauer/aiie.git
synced 2024-10-31 09:15:51 +00:00
26 lines
534 B
C++
26 lines
534 B
C++
#ifndef __WOZ_SERIALIZER_H
|
|
#define __WOZ_SERIALIZER_H
|
|
|
|
#include "woz.h"
|
|
class WozSerializer: public virtual Woz {
|
|
public:
|
|
WozSerializer();
|
|
virtual ~WozSerializer();
|
|
|
|
const char *diskName();
|
|
|
|
public:
|
|
bool Serialize(int8_t fd);
|
|
bool Deserialize(int8_t fd);
|
|
|
|
virtual bool flush();
|
|
|
|
virtual bool writeNextWozBit(uint8_t datatrack, uint8_t bit);
|
|
virtual bool writeNextWozByte(uint8_t datatrack, uint8_t b);
|
|
virtual uint8_t nextDiskBit(uint8_t datatrack);
|
|
virtual uint8_t nextDiskByte(uint8_t datatrack);
|
|
};
|
|
|
|
|
|
#endif
|