Skip to content

Commit

Permalink
It turns out that "these areas are full with blanks" means ASCII 32, …
Browse files Browse the repository at this point in the history
…not 0.
  • Loading branch information
TomHarte committed Sep 30, 2015
1 parent eda25ab commit 4e22410
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions CPM for OS X/BDOS/BDOS.m
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,13 @@ - (id)initWithContentsOfURL:(NSURL *)URL terminalView:(CPMTerminalView *)termina
// also set the default DMA address
_dmaAddress = 0x80;

// set no filenames found
for(uint16_t c = 0; c < 11; c++)
{
[_memory setValue:' ' atAddress:0x5d+c];
[_memory setValue:' ' atAddress:0x6d+c];
}

// allocate a dictionary to keep track of our open files
_fileHandlesByControlBlock = [[NSMutableDictionary alloc] init];
}
Expand Down

0 comments on commit 4e22410

Please sign in to comment.