Squashed commit of the following:

commit d1328ed6e0e4fa8ad63dde99b4d79b23ef7bb21a
Author: Alan Cox <alan@linux.intel.com>
Date:   Sat Dec 27 00:45:09 2014 +0000

    Oops: revert Will's bits I didn't mean to merge

commit b3b6f7792ea34192f80e2979664307b813aedb56
Merge: e987c55 9a32f92
Author: Alan Cox <alan@linux.intel.com>
Date:   Sat Dec 27 00:42:05 2014 +0000

    Merge Will's fixes
    Merge branch 'master' of https://github.com/EtchedPixels/FUZIX

commit e987c5589f3cf37eee8b7ef0e8d4a1eaa3443065
Author: Alan Cox <alan@linux.intel.com>
Date:   Sat Dec 27 00:40:22 2014 +0000

    syscall-z88dk: initial fix ups

    It now looks plausible but isn't yet tested

commit 7bc38fbd1de447bab88708621dedd9a19b49d01f
Author: Alan Cox <alan@linux.intel.com>
Date:   Sat Dec 27 00:39:56 2014 +0000

    syscall: 32bytes per dirent needed

commit fa106f1645a12e9e1c165ea55eb0ae7935458c61
Author: Alan Cox <alan@linux.intel.com>
Date:   Sat Dec 27 00:39:35 2014 +0000

    syscall_name: Fix wrong entries

    Ones found while building the Z88DK test C lib

commit 8ed3ab2b704719d47c086a81a26d94936f7fed8c
Author: Alan Cox <alan@linux.intel.com>
Date:   Sat Dec 27 00:39:09 2014 +0000

    uname: pass the load average bits down

commit 9a32f9201c238e77d6cb7b178ebddb54ef23462f
Merge: 0061dad 17ad7cc
Author: EtchedPixels <alan@etchedpixels.co.uk>
Date:   Sat Dec 27 00:37:14 2014 +0000

    Merge pull request #27 from willsowerbutts/master

    Library sleep() -- update for time() API change.

commit 17ad7cc011f33176072b64d429864f7bfa692e9d
Author: Will Sowerbutts <will@sowerbutts.com>
Date:   Sat Dec 27 00:36:08 2014 +0000

    Various tweaks to utilities to build cleanly on my system

commit 3ff0ee9851f383c2ae75131b6cd18b1c93dac772
Author: Will Sowerbutts <will@sowerbutts.com>
Date:   Sat Dec 27 00:05:02 2014 +0000

    Library sleep() -- update for time() API change.

commit 0061dad049f419a888530c60d97fc82fb2f47a8c
Author: Alan Cox <alan@linux.intel.com>
Date:   Fri Dec 26 22:41:04 2014 +0000

    Correct spelling of LICENCE. This is a UK based project so there

commit f2c4b6d8e1d7a18e047f78673340e89fdca09c43
Author: Alan Cox <alan@linux.intel.com>
Date:   Fri Dec 26 21:40:55 2014 +0000

    z88dk: Add first pieces to bootstrap Z88DK for Fuzix

commit fd21296c39babf895fda524230eea216bd93db2e
Author: Alan Cox <alan@linux.intel.com>
Date:   Fri Dec 26 20:42:43 2014 +0000

    syscall uname: Add the uptime data

    While are breaking the prototype ABI lets just stuff the uptime data in
    the sysinfo block and be done with it.

commit ffd5e93605f9ca543718dae5e02502443ec41d2a
Author: Alan Cox <alan@linux.intel.com>
Date:   Fri Dec 26 20:31:06 2014 +0000

    syscalls: extra argument for _stime()

commit cdb93e0fd5bc8c4e5ede5211fae5c7cd61fa4de5
Author: Alan Cox <alan@linux.intel.com>
Date:   Fri Dec 26 20:30:00 2014 +0000

    time: correct bug, add stime time type

    This finishes the basic provision for multiple time sources

commit 7b216d00fbab7bec99ff0e82c668a15a29d587df
Author: Alan Cox <alan@linux.intel.com>
Date:   Fri Dec 26 20:26:24 2014 +0000

    execve: change binary format, add a byte for bank base and align fields

commit f8776faec2ac7e51b6502124d88ee5d342e8e24e
Author: Alan Cox <alan@linux.intel.com>
Date:   Fri Dec 26 20:25:42 2014 +0000

    crt0: Add a byte for the base of the binary

    Next step in the ABI breaking changes

commit 2b99e835ca099e92fb14d795b2be36f5d0f730d9
Author: Alan Cox <alan@linux.intel.com>
Date:   Fri Dec 26 20:25:21 2014 +0000

    chmem: Update for new format binaries

commit 6a71922d8e8060b68e2719b33aa7c5b1aee7d816
Author: Alan Cox <alan@linux.intel.com>
Date:   Fri Dec 26 20:16:01 2014 +0000

    time: resynch library with API change for time()

    Better to do this before we have too many dependancies than to delay it
    until we can't change it.

commit c872bf3e822dbfc35d703deebf2843a4ef7fa834
Author: Alan Cox <alan@linux.intel.com>
Date:   Fri Dec 26 20:11:09 2014 +0000

    syscall_name: add argument counts to the tables

    We will need these to automate creation of some types of call stubs

commit cb28e7453b3a4a70c4d8246518fa6813249526a0
Author: Alan Cox <alan@linux.intel.com>
Date:   Fri Dec 26 20:10:36 2014 +0000

    syscall_proc: change _time to allow multiple kinds of time

    Add since boot monotomic time.

    Yes this is an ABI break....

commit f75dced7183b3d1f357f510f3691360a87584263
Author: Alan Cox <alan@linux.intel.com>
Date:   Fri Dec 26 20:10:22 2014 +0000

    syscall: correct arg descriptions in uname

commit fc08ed8bc8e8dd7c21ec3fe102405bf0e8599a75
Author: Alan Cox <alan@linux.intel.com>
Date:   Tue Dec 23 22:49:02 2014 +0000

    socz80: start reworking MMU code for 16K banking model

    Bank switching functions, and switchin/switchout looked at so far. The fork
    copying code remains to be done. Here it definitely makes sense to use the
    MMU page 17 logic, but we now need to do it in 16K chunks.

commit a845740afd91e806816268a5bf21c42641edff1f
Author: Alan Cox <alan@linux.intel.com>
Date:   Tue Dec 23 22:46:57 2014 +0000

    socz80: config.h updates

commit 0909294e490c4b44fdaf9b087ed0ddf5b62546fc
Author: Alan Cox <alan@linux.intel.com>
Date:   Tue Dec 23 22:46:37 2014 +0000

    socz80: ramtop has changed type

    Start bringing socz80 back into line

commit 1850f0ab9d44da5548bca97312d1b198ae02ebd0
Author: Alan Cox <alan@linux.intel.com>
Date:   Tue Dec 23 21:06:04 2014 +0000

    TODO: rtc done(ish)

commit a9d47eb8b40c856a4d3649e0f8ca0c32dead9042
Author: Alan Cox <alan@linux.intel.com>
Date:   Mon Dec 22 16:54:20 2014 +0000

    README: update

commit f722407762999b00b6cc4a8643854135c8d860c6
Author: Alan Cox <alan@linux.intel.com>
Date:   Mon Dec 22 15:31:35 2014 +0000

    PORTING: some updates

commit 912117c73ed7027d864397ee6c89474e3a3b2653
Author: Alan Cox <alan@linux.intel.com>
Date:   Mon Dec 22 15:11:08 2014 +0000

    z80pack-lite: add RTC support

commit fc02500f3c59da06d7e3c40c3711746c734fa724
Author: Alan Cox <alan@linux.intel.com>
Date:   Mon Dec 22 14:54:59 2014 +0000

    z80pack: turn on RTC support

commit c92bdd9343f90f66e29bc73abe8e6c16476075e0
Author: Alan Cox <alan@linux.intel.com>
Date:   Mon Dec 22 14:54:42 2014 +0000

    z80pack: fix vt.c build failure

commit 97e9dfb2c28175400653f838a41829ab8c644df2
Author: Alan Cox <alan@linux.intel.com>
Date:   Mon Dec 22 14:54:22 2014 +0000

    z80pack: add rtc helper

commit 517a79df99cf8837b2b7c15876eb0b6c6b1fec87
Author: Alan Cox <alan@linux.intel.com>
Date:   Mon Dec 22 14:30:41 2014 +0000

    trs80: ensure the rtc digit wrap doesn't catch us out

commit cf62828fbd440df8f65fc92cd7f9755ba61430fb
Author: Alan Cox <alan@linux.intel.com>
Date:   Mon Dec 22 14:30:28 2014 +0000

    nc100: add RTC support

commit 071e8ef9b68d7d6939f1b69690be2ef3b455cd7b
Author: Alan Cox <alan@linux.intel.com>
Date:   Mon Dec 22 13:04:09 2014 +0000

    trs80: CRTC reg 0 was not being set

    Backported from Microbee port

commit c14ede24f7d461d73489a7e7aad15307d38a8159
Author: Alan Cox <alan@linux.intel.com>
Date:   Mon Dec 22 13:03:54 2014 +0000

    trs80: turn on the RTC support

commit 20c6a7abafbb2c7571929f0c05c04acee1558098
Author: Alan Cox <alan@linux.intel.com>
Date:   Mon Dec 22 12:42:14 2014 +0000

    ubee: 64 ticks/second and turn on the RTC

    We'll need the RTC in fact as 64 doesn't divide by 10

commit 9ca333107a8a873291b41b900b6ec873fd53636f
Author: Alan Cox <alan@linux.intel.com>
Date:   Mon Dec 22 12:39:17 2014 +0000

    timer: add initial support for RTC seconds locking

    We don't try and use the RTC as our actual clock. Many RTCs are not Y2K safe
    or have their own interesting sets of problems. We would also have to keep
    doing Unix type v RTC time conversion maths.

    Instead we treat the RTC seconds as a free running counter and update our
    second tick as we see the RTC one shift. This also gives us up to 59 seconds
    of 'overrun' which should do for the worst case disk I/O problems.

commit 73f74619710e9cf9f2bdfeb2bc78d693e7629284
Author: Alan Cox <alan@linux.intel.com>
Date:   Mon Dec 22 12:38:30 2014 +0000

    process: note problem to look at wrt ubee and 64 ticks/second

commit ff16113638398a717a81652c0e6cf63b9251a91a
Author: Alan Cox <alan@linux.intel.com>
Date:   Mon Dec 22 12:38:12 2014 +0000

    ubee: clean up some remaining TRS80isms

commit fcd12fc4b3d1269e1147d62faa2af2fb029c7998
Author: Alan Cox <alan@linux.intel.com>
Date:   Mon Dec 22 11:51:50 2014 +0000

    ubee: enable CRTC loading

    Load the CRTC up for 80x25 mode using the table given in the 256TC manuals

commit 15f1cd8c55fd53ade1f249f7d93b3163f3b9749b
Author: Alan Cox <alan@linux.intel.com>
Date:   Mon Dec 22 11:51:15 2014 +0000

    trs80: Set a 2ms seek time on the hard disk

commit d12005084e59939a53a53d679ee8242d695ff775
Author: Alan Cox <alan@linux.intel.com>
Date:   Sun Dec 21 22:07:57 2014 +0000

    ubee,devhd: step rates and the like

commit d096f430a5eeb90c006237ae7e73e0879490b5fd
Author: Alan Cox <alan@linux.intel.com>
Date:   Sun Dec 21 21:58:01 2014 +0000

    ubee: Further floppy driver bashing

    512 bytes/sector, double sided

    Also set the step to 6ms

commit aa5055b564f8b1e305709368ab7c2dfd30bb0ca9
Author: Alan Cox <alan@linux.intel.com>
Date:   Sun Dec 21 21:17:47 2014 +0000

    ubee: More work on the disk controllers

    Set the WD1002 up correctly for and work in 512 bytes/sector mode. This should
    bring the devhd side roughly where we need it. This doesn't deal with the
    precomp values (can we trust the firmware?) or disk step rates (can we read
    the firmware set values somewhere ?)

commit a5b346eeebac35a54aba4e719a6ddc71a156dcd5
Author: Alan Cox <alan@linux.intel.com>
Date:   Sun Dec 21 20:51:29 2014 +0000

    ubee,devhd: Bring more into line with what is needed

    Minor 4-7 are the floppy devices on the WD1002-5 and for those we must set the
    side bit in port 0x48

    Implement the 0x58 device select logic

    Check the device is present on open

commit 037e269435072eecc3b97b0960da6d13e9d20a6f
Author: Alan Cox <alan@linux.intel.com>
Date:   Sun Dec 21 20:50:14 2014 +0000

    ubee,devfd: add device select support for port 0x58

    It's probably not present but it costs us nothing much to support

commit b2e24c106bab5bcd58f607e805b42409d90da7d2
Author: Alan Cox <alan@linux.intel.com>
Date:   Sun Dec 21 20:16:49 2014 +0000

    trs80: WD1010 driver FIXME is obsolete

commit 503b7d93d187e911ca2982e2525c3ca5452dbdd9
Author: Alan Cox <alan@linux.intel.com>
Date:   Sun Dec 21 17:55:15 2014 +0000

    ubee: initial bits cloned from the TRS80 to begin a Microbee 128/256/512 port

commit d4826dfe7e83eb7f5f55a092b97566355701d1f2
Author: Alan Cox <alan@linux.intel.com>
Date:   Sun Dec 21 17:53:05 2014 +0000

    README: update for TRS80

commit 5b794e0e5259c5a4e302ca7c292316430f053e09
Author: Alan Cox <alan@linux.intel.com>
Date:   Sun Dec 21 16:53:55 2014 +0000

    trs80: clean up monitor bits

commit 6873a9c62868a35c9b64e8aa0ad47c0a76692911
Author: Alan Cox <alan@linux.intel.com>
Date:   Sun Dec 21 15:32:33 2014 +0000

    trs80: enable floppy disk write support