Krolyxon
Commit 6e1cd95

Branches

Tags

Refs →

bench516e1cd95

rename crate and binary to bench51

Author
krolyxon
Date
2026-10-23 00:03 +0530
Parent
a921fe1
Commit
6e1cd95f9eb7bcd08837188e312ed02fde10717e

+15 −13

5 files changed

  1. M Cargo.lock +9 −9
  2. M Cargo.toml +1 −1
  3. M README.md +3 −1
  4. M src/ui/app.rs +1 −1
  5. M src/ui/draw.rs +1 −1
M Cargo.lock View
@@ -103,6 +103,15 @@ version = "0.22.1"
103103 source = "registry+https://github.com/rust-lang/crates.io-index"
104104 checksum = "72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6"
105105
106+[[package]]
107+name = "bench51"
108+version = "0.1.0"
109+dependencies = [
110+ "clap",
111+ "ratatui",
112+ "ratatui-textarea",
113+]
114+
106115 [[package]]
107116 name = "bit-set"
108117 version = "0.5.3"
@@ -568,15 +577,6 @@ version = "0.4.3"
568577 source = "registry+https://github.com/rust-lang/crates.io-index"
569578 checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70"
570579
571−[[package]]
572−name = "i8051"
573−version = "0.1.0"
574−dependencies = [
575− "clap",
576− "ratatui",
577− "ratatui-textarea",
578−]
579−
580580 [[package]]
581581 name = "ident_case"
582582 version = "1.0.1"
M Cargo.toml View
@@ -1,5 +1,5 @@
11 [package]
2−name = "i8051"
2+name = "bench51"
33 version = "0.1.0"
44 edition = "2024"
55 description = "A TUI Intel 8051 assembler, simulator and debugger"
M README.md View
@@ -1,4 +1,4 @@
1−# i8051 — a TUI 8051 assembler, simulator & debugger
1+# bench51 — a TUI 8051 assembler, simulator & debugger
22
33 A small, Keil µVision-style IDE for the Intel 8051 that runs in your terminal.
44 Write assembly in the built-in editor, assemble it, inspect the listing and
@@ -37,6 +37,8 @@ cycle-exact replacement for a vendor simulator.
3737 ## Usage
3838
3939 ```bash
40+cargo install --path . # installs the `bench51` binary
41+
4042 cargo run --release -- examples/serial_hello.asm # open in the TUI
4143 cargo run --release # start with a template
4244 cargo run --release -- firmware.hex # disassemble & debug a HEX file
M src/ui/app.rs View
@@ -264,7 +264,7 @@ impl App {
264264 (p, false)
265265 }
266266 None => {
267− let p = std::env::temp_dir().join(format!("i8051-{}.asm", std::process::id()));
267+ let p = std::env::temp_dir().join(format!("bench51-{}.asm", std::process::id()));
268268 if let Err(e) = std::fs::write(&p, self.text() + "\n") {
269269 self.status = format!("cannot write {}: {e}", p.display());
270270 return;
M src/ui/draw.rs View
@@ -90,7 +90,7 @@ fn draw_header(f: &mut Frame, app: &App, area: Rect) {
9090 )
9191 };
9292 let mut spans = vec![
93− Span::styled(" i8051 ", Style::new().bg(ACCENT).fg(Color::Black).bold()),
93+ Span::styled(" bench51 ", Style::new().bg(ACCENT).fg(Color::Black).bold()),
9494 Span::raw(" "),
9595 Span::styled(mode, mode_style),
9696 Span::styled(state, state_style),