apple2js/js/formats/prodos/base_file.ts

15 lines
310 B
TypeScript
Raw Normal View History

2022-07-23 19:00:38 +00:00
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;
}