From ee36f7a353ae8af7ebbff6857a9daeee32dfa579 Mon Sep 17 00:00:00 2001 From: Jordan Goulder Date: Fri, 17 Jan 2025 21:13:06 -0500 Subject: [PATCH] Add file listing --- src/components/DiskInfo.vue | 21 +++++++++++++++++++++ src/floppy/disk.ts | 33 +++++++++++++++++++++++++++++++++ 2 files changed, 54 insertions(+) diff --git a/src/components/DiskInfo.vue b/src/components/DiskInfo.vue index 9bfd6b4..8ed9c24 100644 --- a/src/components/DiskInfo.vue +++ b/src/components/DiskInfo.vue @@ -7,10 +7,16 @@ const { data = new ArrayBuffer(0) } = defineProps<{ data: ArrayBuffer }>() const floppyDisk = computed(() => { return new FloppyDisk(data) }) + +const fileListing = computed(() => { + return floppyDisk.value.buildFileListing() +})