Skip to content

Commit

Permalink
docs, removed assert about moving paper backwards, which was violated…
Browse files Browse the repository at this point in the history
… by PTEST
  • Loading branch information
mortenjc committed Nov 14, 2024
1 parent e9431e3 commit ca56178
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
8 changes: 8 additions & 0 deletions docs/source/log.rst
Original file line number Diff line number Diff line change
Expand Up @@ -622,3 +622,11 @@ be write protected. But write protect does apparently not prevent renaming.
:align: center

Files SCR, DINDEX and FRENKB renamed to XXX, XXXXXX, XXXXXB using 'ALTER' program

Changes to disks, such as renaming and write protection is **not written to disk** so
it is safe to experiment.

The emulated system now comes preloaded with two floppy images: datamuseum and
debugdisk. The first has good integrity the second has a lot of bad tracks so
most programs will fail to load and execute. Some good files are: SCR, ALTER,
DISPTEST, PTEST, COPY
3 changes: 2 additions & 1 deletion src/devices/printer.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ def ctrl_06(self, value: int):
#print(f'SI printer ctrl: move {dir} {v:6.2f} cm. pos ({x:6.2f}, {y:6.2f})')



def ctrl_07(self, value: int):
self.poshi2 = value & 0x3
desc = ''
Expand All @@ -64,7 +65,7 @@ def ctrl_07(self, value: int):
if value & 0x04:
self.dir[0] = - self.dir[0]
self.dir[1] = - self.dir[1]
assert self.dir[1] >= 0
#assert self.dir[1] >= 0, self.dir[1] # fails for PTEST program
desc += 'reverse '
else:
desc += 'forward '
Expand Down

0 comments on commit ca56178

Please sign in to comment.