mirror of
https://github.com/whscullin/apple2js.git
synced 2024-01-12 14:14:38 +00:00
15 lines
310 B
TypeScript
15 lines
310 B
TypeScript
import { word } from 'js/types';
|
|
import { ProDOSVolume } from '.';
|
|
|
|
export interface ProDOSFileData {
|
|
data: Uint8Array;
|
|
address: word;
|
|
}
|
|
|
|
export abstract class ProDOSFile {
|
|
constructor(public volume: ProDOSVolume) { }
|
|
|
|
abstract read(): Uint8Array;
|
|
abstract write(data: Uint8Array): void;
|
|
}
|