diff options
| author | Ian C <ianc@noddybox.co.uk> | 2008-12-13 01:09:44 +0000 | 
|---|---|---|
| committer | Ian C <ianc@noddybox.co.uk> | 2008-12-13 01:09:44 +0000 | 
| commit | 3cd340549f5ea5380abc9d7377ae6b016244c292 (patch) | |
| tree | 65761418706d11c6d72b92438fb0205c084f49f2 /source | |
| parent | 3557796008941acab4f047f6818ff2b98951faf9 (diff) | |
Added high bit on ULA keyboard read that some code expects.
Diffstat (limited to 'source')
| -rw-r--r-- | source/zx81.c | 7 | 
1 files changed, 7 insertions, 0 deletions
| diff --git a/source/zx81.c b/source/zx81.c index fb6f801..7aa5380 100644 --- a/source/zx81.c +++ b/source/zx81.c @@ -982,6 +982,13 @@ Z80Byte ZX81ReadPort(Z80 *z80, Z80Word port)  		    b=matrix[7];  		    break;  	    } + +	    /* Some code expects some of the top bits set...  Of course, whether +	       or not this may be worse as other code doesn't expect the bits, +	       we shall find out! +	    */ +	    b |= 0x60; +  	    break;  	default: | 
