Skip to content

Commit 066e2dd

Browse files
committed
acorn: Fixes for single-density image handling
1. The two sides of a double-sided disk are independent filesystems, and both seem to have the per-sector H field set to 0. 2. SSD image files are laid out sequentially if double sided. Refs #551
1 parent 967d8be commit 066e2dd

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

src/greaseweazle/data/diskdefs_acorn.cfg

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ disk dfs.ds
9999
id = 0
100100
cskew = 3
101101
rate = 125
102+
h = 0
102103
end
103104
end
104105

@@ -113,5 +114,6 @@ disk dfs.ds80
113114
id = 0
114115
cskew = 3
115116
rate = 125
117+
h = 0
116118
end
117119
end

src/greaseweazle/image/acorn.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99

1010
class SSD(IMG):
1111
default_format = 'acorn.dfs.ss'
12+
sequential = True
1213

1314
class DSD(IMG):
1415
default_format = 'acorn.dfs.ds'

0 commit comments

Comments
 (0)