Skip to content

Commit

Permalink
Load BBC BASIC directly
Browse files Browse the repository at this point in the history
  • Loading branch information
vascocosta committed Apr 13, 2024
1 parent 2448029 commit a9be63b
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/commands.rs
Original file line number Diff line number Diff line change
Expand Up @@ -240,12 +240,8 @@ impl BargoCommand for EmuCommand {
path.push(AUTOEXEC);
let mut output = File::create(&path)
.map_err(|_| format!("Could not create {}", &path.to_string_lossy()))?;
write!(
output,
"load /bin/bbcbasic.bin\r\nrun . /{}.bas\r\n",
self.config.package.name
)
.map_err(|_| format!("Could not write to {}", &path.to_string_lossy()))?;
write!(output, "bbcbasic /{}.bas\r\n", self.config.package.name)
.map_err(|_| format!("Could not write to {}", &path.to_string_lossy()))?;

path.pop();
path.pop();
Expand Down

0 comments on commit a9be63b

Please sign in to comment.