trs80: fix hard disk problems
authorAlan Cox <alan@linux.intel.com>
Fri, 15 May 2015 23:32:24 +0000 (00:32 +0100)
committerAlan Cox <alan@linux.intel.com>
Fri, 15 May 2015 23:32:24 +0000 (00:32 +0100)
commit601b9d2c0ec55122e7b7248cf5c6c1772bcceb27
treeb7367ed6738e93b18df601db87f122cced8736ef
parented280c7ee6837145b59738e060e4c8fdf94c08c7
trs80: fix hard disk problems

- Sector offset was wrong so it didn't interoperate
- User mode fetched only half the sectors so execve broke on hd
- Tools replicated hd offset bug

With these fixed you can partition and run FUZIX on the hard disk device even
if set up directly or under another OS.

Swap still blows up but this doesn't appear to be an hd bug at this point
Kernel/platform-trs80/devhd.c
Kernel/platform-trs80/devhd_discard.c
Kernel/tools/trslabel.c