From 1a830a3d1b9d99653322d5ae49ea8165de7ed9d0 Mon Sep 17 00:00:00 2001
From: Ben Bridle <bridle.benjamin@gmail.com>
Date: Mon, 28 Oct 2024 20:25:01 +1300
Subject: Rewrite emulator

This is a complete rewrite and restructure of the entire emulator
project, as part of the effort in locking down the Bedrock specification
and in creating much better tooling for creating and using Bedrock
programs.

This commit adds a command-line argument scheme, an embedded assembler,
a headless emulator for use in non-graphical environments, deferred
window creation for programs that do not access the screen device,
and new versions of phosphor and bedrock-core. The new version of
phosphor supports multi-window programs, which will make it possible to
implement program forking in the system device later on, and the new
version of bedrock-core implements the final core specification.
---
 src/devices/file/entry.rs | 36 ------------------------------------
 1 file changed, 36 deletions(-)
 delete mode 100644 src/devices/file/entry.rs

(limited to 'src/devices/file/entry.rs')

diff --git a/src/devices/file/entry.rs b/src/devices/file/entry.rs
deleted file mode 100644
index d604bb7..0000000
--- a/src/devices/file/entry.rs
+++ /dev/null
@@ -1,36 +0,0 @@
-use super::*;
-
-use std::cmp::Ordering;
-
-pub enum Entry {
-    File(BufferedFile),
-    Directory(DirectoryListing),
-}
-
-#[derive(Copy, Clone, PartialEq, Eq)]
-pub enum EntryType {
-    File,
-    Directory,
-}
-
-impl PartialOrd for EntryType {
-    fn partial_cmp(&self, other: &Self) -> Option<Ordering> {
-        match (self, other) {
-            (EntryType::Directory, EntryType::Directory) => Some(Ordering::Equal  ),
-            (EntryType::Directory, EntryType::File     ) => Some(Ordering::Less   ),
-            (EntryType::File,      EntryType::Directory) => Some(Ordering::Greater),
-            (EntryType::File,      EntryType::File     ) => Some(Ordering::Equal  ),
-        }
-    }
-}
-
-impl Ord for EntryType {
-    fn cmp(&self, other: &Self) -> Ordering {
-        match (self, other) {
-            (EntryType::Directory, EntryType::Directory) => Ordering::Equal  ,
-            (EntryType::Directory, EntryType::File     ) => Ordering::Less   ,
-            (EntryType::File,      EntryType::Directory) => Ordering::Greater,
-            (EntryType::File,      EntryType::File     ) => Ordering::Equal  ,
-        }
-    }
-}
-- 
cgit v1.2.3-70-g09d2