Skip to content

Commit

Permalink
Fix log message for F_WRITERAND
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanizag committed Feb 4, 2024
1 parent c743b29 commit 00f6a75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bdos_file.rs
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ pub fn write_rand(env: &mut BdosEnvironment, fcb_address: u16) -> u8 {
let fcb = Fcb::new(fcb_address);
let record = fcb.get_random_record_number(env);
if env.call_trace {
print!("[Read random record {:x} into {:04x}]", record, env.state.dma);
print!("[Write random record {:x} into {:04x}]", record, env.state.dma);
}
if record > 65535 {
return 6; //06 seek Past Physical end of disk
Expand Down

0 comments on commit 00f6a75

Please sign in to comment.