Alan Cox [Sat, 20 Oct 2018 17:41:27 +0000 (18:41 +0100)]
fweep: remove more FIXME and uint32_t usage
Alan Cox [Sat, 20 Oct 2018 14:20:52 +0000 (15:20 +0100)]
fweep: make the version overridable with -D
Alan Cox [Sat, 20 Oct 2018 14:19:52 +0000 (15:19 +0100)]
fweep: make the framepointer a real pointer
Saves us a chunk of RAM
Alan Cox [Sat, 20 Oct 2018 14:03:31 +0000 (15:03 +0100)]
fweep; first step to tidying up framepointers
Alan Cox [Sat, 20 Oct 2018 14:02:07 +0000 (15:02 +0100)]
fweep: remove more debug
Alan Cox [Sat, 20 Oct 2018 13:54:27 +0000 (14:54 +0100)]
fweep: remove a bit of surplus debug
Alan Cox [Fri, 19 Oct 2018 22:08:02 +0000 (23:08 +0100)]
fweep: first pass at a working Z machine for Fuzix
Still uses u64s as the original did and has ugly stuff
Lots of cleanup and space saving left to do
Auto buffer sizing needed
But it does play zork!
Tormod Volden [Thu, 18 Oct 2018 21:23:48 +0000 (23:23 +0200)]
Add chmem to images
Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
Tormod Volden [Thu, 18 Oct 2018 21:23:47 +0000 (23:23 +0200)]
chmem: Correct index for binary magic
Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
Alan Cox [Fri, 19 Oct 2018 18:47:44 +0000 (19:47 +0100)]
kernel: add a generic eject ioctl
We'll need this later
Alan Cox [Fri, 19 Oct 2018 18:46:38 +0000 (19:46 +0100)]
z80pack: "implement" the new fd API
Alan Cox [Fri, 19 Oct 2018 18:46:22 +0000 (19:46 +0100)]
fdc: add a first attempt at a proper floppy API
Alan Cox [Mon, 15 Oct 2018 18:01:06 +0000 (19:01 +0100)]
ppide.h: header so we can fix silly warnings in parport ide users
Alan Cox [Sat, 13 Oct 2018 13:42:07 +0000 (14:42 +0100)]
trs80m1: more work on the FDC
This gets us closer, unfortunately I've now broken the C compiler again.
Alan Cox [Fri, 12 Oct 2018 21:03:05 +0000 (22:03 +0100)]
trs80m1: first pass towards decent floppy disk support
Alan Cox [Wed, 10 Oct 2018 21:46:34 +0000 (22:46 +0100)]
ps: match the kernel changes for time
Alan Cox [Wed, 10 Oct 2018 21:28:23 +0000 (22:28 +0100)]
kernel: rework usage timers
The old UZI code we started from defined the various time fields in both proc
and udata but used only the udata one. Perhaps an unfinished attempt to move
from proc to udata. While it saves memory keeping it in udata (20 bytes a
process or 320 bytes) we were wasting that memory anyway.
Go back to keeping it in proc as that avoids some messiness and standards
violation in the code, and makes ps work nicely. Possibly we can later move
cutime and cstime into udata but that needs review (otoh it would leave us
80 bytes up on where we started)
Alan Cox [Wed, 10 Oct 2018 21:19:06 +0000 (22:19 +0100)]
library/tools: first cut at cc65 relocbin
Alan Cox [Wed, 10 Oct 2018 21:18:56 +0000 (22:18 +0100)]
rc2014: tidy up configuration
Alan Cox [Wed, 10 Oct 2018 21:18:29 +0000 (22:18 +0100)]
chmem: merge in utils improvements
Alan Cox [Wed, 10 Oct 2018 21:18:03 +0000 (22:18 +0100)]
z80, banking: fix ei/di reporting for swap
Alan Cox [Wed, 10 Oct 2018 21:17:40 +0000 (22:17 +0100)]
ppide: only build if configured
Alan Cox [Wed, 10 Oct 2018 21:17:26 +0000 (22:17 +0100)]
util: build new tools
Alan Cox [Wed, 10 Oct 2018 21:17:09 +0000 (22:17 +0100)]
labelfs: fix block size
Alan Cox [Wed, 10 Oct 2018 21:16:55 +0000 (22:16 +0100)]
chmem: remove dead comment
Alan Cox [Mon, 8 Oct 2018 15:07:22 +0000 (16:07 +0100)]
visualize: trivial mode to make it easier to read
EtchedPixels [Mon, 8 Oct 2018 12:52:22 +0000 (13:52 +0100)]
Merge pull request #667 from beretta42/man
fsh: correct build failure
Brett Gordon [Mon, 8 Oct 2018 12:27:25 +0000 (08:27 -0400)]
fsh: correct build failure
Alan Cox [Sun, 7 Oct 2018 22:13:04 +0000 (23:13 +0100)]
net_w5100: fix building with older sdcc
Alan Cox [Sun, 7 Oct 2018 21:59:46 +0000 (22:59 +0100)]
travis: fix up build rule for sbcv2 not rc2014
Alan Cox [Sun, 7 Oct 2018 21:58:26 +0000 (22:58 +0100)]
ds1302_discard: blow away the now redundant boot time clock setting
This is now done nicely in user space
Alan Cox [Sun, 7 Oct 2018 21:48:40 +0000 (22:48 +0100)]
ue: Makefile fixes
Alan Cox [Sun, 7 Oct 2018 21:48:28 +0000 (22:48 +0100)]
cursesgames: Makefile fixes
Alan Cox [Sun, 7 Oct 2018 21:48:15 +0000 (22:48 +0100)]
sh: fix all the build messes
Alan Cox [Sun, 7 Oct 2018 21:47:52 +0000 (22:47 +0100)]
68000: fix library building
Alan Cox [Sun, 7 Oct 2018 21:46:56 +0000 (22:46 +0100)]
65c816: tweak buffers down so it all fits
Alan Cox [Sun, 7 Oct 2018 21:14:35 +0000 (22:14 +0100)]
amstradnc: clock support
Also adjust the config for the NC200 as it was spilling over the boundary
Alan Cox [Sun, 7 Oct 2018 20:57:28 +0000 (21:57 +0100)]
tc8521: works better if you use the right I/O port
Alan Cox [Sun, 7 Oct 2018 20:56:28 +0000 (21:56 +0100)]
travis: build sbcv2 not rc2014 for test
rc2014 doesn't build and fit correctly with optimization off
Alan Cox [Sun, 7 Oct 2018 20:55:46 +0000 (21:55 +0100)]
fsh: more Makefile hackery
Alan Cox [Sun, 7 Oct 2018 17:55:49 +0000 (18:55 +0100)]
fsh: 6809 Makefile silly
Alan Cox [Sun, 7 Oct 2018 14:04:55 +0000 (15:04 +0100)]
fsh: force the directory to exist in git
Alan Cox [Sun, 7 Oct 2018 14:02:43 +0000 (15:02 +0100)]
6809: Correct Makefile for fsh
Alan Cox [Sun, 7 Oct 2018 12:40:07 +0000 (13:40 +0100)]
tc8521: first cut at an RTC driver for the NC100
I believe the NC200 needs an MC146818 driver writing
Alan Cox [Sun, 7 Oct 2018 12:28:12 +0000 (13:28 +0100)]
fsh: turn on the fsh shell for other platforms
Alan Cox [Sun, 7 Oct 2018 12:24:26 +0000 (13:24 +0100)]
libs: turn on readline for other ports
Alan Cox [Sun, 7 Oct 2018 01:00:12 +0000 (02:00 +0100)]
readline: fix stupid bug in the history code
Now seems to work properly
Alan Cox [Sat, 6 Oct 2018 23:57:45 +0000 (00:57 +0100)]
rc2014: update README
Alan Cox [Sat, 6 Oct 2018 23:46:37 +0000 (00:46 +0100)]
Makefile: update obsolete ubee comment
Alan Cox [Sat, 6 Oct 2018 23:45:08 +0000 (00:45 +0100)]
sh: more work on fsh (fuzix sh - with editing)
We can't just dump /bin/sh because fsh won't fit on 32/32K systems. It sort
of works at this point but there are bugs somewhere in the readline history
logic that mess stuff up
Alan Cox [Sat, 6 Oct 2018 23:43:26 +0000 (00:43 +0100)]
readline: fix ^B stop at line start
With this fixed I think it's just the history support that's a bit buggy
Alan Cox [Sat, 6 Oct 2018 21:18:33 +0000 (22:18 +0100)]
fd: support map_buffers
Alan Cox [Sat, 6 Oct 2018 21:15:27 +0000 (22:15 +0100)]
kernel: add other needed map_buffers instances
As we add it to more stuff it may be more generally needed. For the moment
get the cases that matter
Alan Cox [Sat, 6 Oct 2018 21:04:22 +0000 (22:04 +0100)]
rc2014: turn on all the features
This is a bit of a tight fit but the core works with this changed.
The discard must not start below C300 to leave space for the arguments and
bootup processing.
Alan Cox [Sat, 6 Oct 2018 21:01:49 +0000 (22:01 +0100)]
kernel: allow for cases with only a small window in the base page
If you have a 4x16K or similar mapping model and most of the upper page
is taken up by discard and common then there may not be 4K to randomly play with.
In that case firstly we overflow and miscalculate the pages, secondly we then
scribble on stuff we shouldn't.
Instead tighten it up so there needs to be only 512 bytes (plus vectors etc
- 256 bytes on Z80) of space.
Alan Cox [Sat, 6 Oct 2018 19:31:29 +0000 (20:31 +0100)]
devide: use the new map_buffers interface
This means everyone now needs a map_buffers but as it's a no-op for most
systems and not a critical path it shouldn't be a big deal. Given how useful
external buffers are on many systems it's worth it
Alan Cox [Sat, 6 Oct 2018 19:31:15 +0000 (20:31 +0100)]
rc2014: turn on all the features for external buffers
Alan Cox [Sat, 6 Oct 2018 19:28:55 +0000 (20:28 +0100)]
rc2014: add external buffer cache
That lets us go up to 16K of buffers that are also unmapped when not being
accessed. Lots more meta data cached and a nicer system feel.
Alan Cox [Sat, 6 Oct 2018 17:07:14 +0000 (18:07 +0100)]
init: fix termios settings for character size
The termios code in init forgets to set the character width in bits so defaults
to 5 bit chars. Needless to say now we have implemented character widths in
termios settings in some drivers this does not end well.
Alan Cox [Sat, 6 Oct 2018 16:45:12 +0000 (17:45 +0100)]
rc2014: move to 0x0100 in order to match the new boot code
Alan Cox [Sat, 6 Oct 2018 16:44:40 +0000 (17:44 +0100)]
rc2014: switch to being a bootable image not a CP/M file
Alan Cox [Sat, 6 Oct 2018 16:44:05 +0000 (17:44 +0100)]
rc2014: remove dead bits
Alan Cox [Sat, 6 Oct 2018 00:02:21 +0000 (01:02 +0100)]
msx1: update README
Alan Cox [Sat, 6 Oct 2018 00:01:37 +0000 (01:01 +0100)]
sh: initial readline tiny changes
This is still a work in progress to get us a /bin/sh with nice modern editing
behaviour
Alan Cox [Sat, 6 Oct 2018 00:01:18 +0000 (01:01 +0100)]
libs: build readline and install it for Z80 at least
Alan Cox [Fri, 5 Oct 2018 13:47:11 +0000 (14:47 +0100)]
Clean up licensing information
Alan Cox [Fri, 5 Oct 2018 12:31:26 +0000 (13:31 +0100)]
readline: fflush stdout on the GNUish one
We don't use stdio but the caller might expect us to. Given any space concerned
user will call the Fuzix interfaces directly adding the stdio dep here ought to
be fine.
Alan Cox [Fri, 5 Oct 2018 12:30:16 +0000 (13:30 +0100)]
readline: updates and fixes
Now supports a timeout helper so you can use it with timed operations etc.
The fake GNU readline call is put in a seperate module so you don't have to
suck in malloc and friends just to use it.
Alan Cox [Fri, 5 Oct 2018 11:16:27 +0000 (12:16 +0100)]
readline: support Fuzix mappings for keys
Alan Cox [Fri, 5 Oct 2018 00:36:29 +0000 (01:36 +0100)]
readline: first cut at a readline style library
Needs further work but is nice and small even with history support
Alan Cox [Thu, 4 Oct 2018 22:05:50 +0000 (23:05 +0100)]
ue: fix Makefile.z80 clean
Alan Cox [Thu, 4 Oct 2018 22:04:44 +0000 (23:04 +0100)]
fcc: default to relocatable + other updates
- default to relocatable binaries
- clean up temporary files
- note some fixes to make
- fix complete hash made of files with dots in the name (eg ue.fuzix)
Alan Cox [Thu, 4 Oct 2018 22:04:27 +0000 (23:04 +0100)]
relocbin: fixes and update the relocation format a bit
Alan Cox [Thu, 4 Oct 2018 22:04:01 +0000 (23:04 +0100)]
crt0,z80: Debug and slightly change the relocation setup
EtchedPixels [Thu, 4 Oct 2018 08:59:13 +0000 (09:59 +0100)]
Merge pull request #666 from beretta42/cocco3
coco3: tty_setup, and dummy copyright
Brett Gordon [Wed, 3 Oct 2018 13:43:13 +0000 (09:43 -0400)]
coco3: implement platform_copyright()
Alan Cox [Wed, 3 Oct 2018 13:36:10 +0000 (14:36 +0100)]
vdp1: do proper interrupt blocking
This fixes the odd very weird happening because the TMS9918A data pointer is
messed up by register accesses (eg interrupts mid scroll). Also fix the
timing for MSX1. We can't quite otir/inir a TMS9918A on MSX but must use
outi ; jp nz in order to run at the required access rate.
Alan Cox [Wed, 3 Oct 2018 13:35:53 +0000 (14:35 +0100)]
trs80m1: update for tty termios masks
Alan Cox [Wed, 3 Oct 2018 13:35:29 +0000 (14:35 +0100)]
z80: Fix in() and make it fastcall while we are at it
Alan Cox [Wed, 3 Oct 2018 13:34:39 +0000 (14:34 +0100)]
msx1: put a JP at the start of the ROM
We need this for our null checker
Alan Cox [Wed, 3 Oct 2018 12:27:02 +0000 (13:27 +0100)]
tty: fix the masking logic
With this we appear to run ok
Alan Cox [Wed, 3 Oct 2018 12:11:01 +0000 (13:11 +0100)]
socz80: add tty masking
Needs updating to handling the improved bitstream with serial config
Alan Cox [Wed, 3 Oct 2018 12:10:28 +0000 (13:10 +0100)]
n8v4em/p112: Minimal changes for tty termios
Proper support for these platforms still needs adding
Alan Cox [Tue, 2 Oct 2018 23:05:07 +0000 (00:05 +0100)]
v65c816: tune buffers
Brett Gordon [Tue, 2 Oct 2018 13:54:26 +0000 (09:54 -0400)]
coco3: tty_setup, and dummy copyright
Alan Cox [Tue, 2 Oct 2018 13:02:29 +0000 (14:02 +0100)]
68000: update to new tty masking
Alan Cox [Tue, 2 Oct 2018 13:02:08 +0000 (14:02 +0100)]
nascom: update to new tty masking
Alan Cox [Tue, 2 Oct 2018 13:01:40 +0000 (14:01 +0100)]
6502/65c816: update to new termios masking
Alan Cox [Tue, 2 Oct 2018 13:01:09 +0000 (14:01 +0100)]
genie-e64: update termios masking
Alan Cox [Tue, 2 Oct 2018 13:00:54 +0000 (14:00 +0100)]
dragon-nx-32: update to termios masking
Alan Cox [Tue, 2 Oct 2018 13:00:39 +0000 (14:00 +0100)]
multicomp: update to termios masking
Alan Cox [Tue, 2 Oct 2018 13:00:22 +0000 (14:00 +0100)]
cocos: update to termios masks
Alan Cox [Tue, 2 Oct 2018 12:07:00 +0000 (13:07 +0100)]
msx2: update for termios masking
Alan Cox [Tue, 2 Oct 2018 12:06:35 +0000 (13:06 +0100)]
start: avoid generating GSINIT code for the kernel
Alan Cox [Tue, 2 Oct 2018 11:55:49 +0000 (12:55 +0100)]
rc2014-tiny: sort out the address map
Alan Cox [Tue, 2 Oct 2018 11:46:28 +0000 (12:46 +0100)]
zeta-v2: update for termios masks
Alan Cox [Tue, 2 Oct 2018 11:46:17 +0000 (12:46 +0100)]
ubee: update for termios masks
Alan Cox [Tue, 2 Oct 2018 11:46:02 +0000 (12:46 +0100)]
sc108: update for termios masks
Alan Cox [Tue, 2 Oct 2018 11:45:44 +0000 (12:45 +0100)]
trs80: update for termios masks
Alan Cox [Tue, 2 Oct 2018 11:45:31 +0000 (12:45 +0100)]
sam: update for termios masks