Alan Cox [Sat, 17 Nov 2018 16:05:46 +0000 (16:05 +0000)]
sam: update README again
Alan Cox [Sat, 17 Nov 2018 15:42:02 +0000 (15:42 +0000)]
sam: add graphics mode switching logic
Alan Cox [Sat, 17 Nov 2018 15:41:28 +0000 (15:41 +0000)]
sam: printer support
Alan Cox [Sat, 17 Nov 2018 15:41:17 +0000 (15:41 +0000)]
sam: update README
Alan Cox [Sat, 17 Nov 2018 15:40:57 +0000 (15:40 +0000)]
graphics: add support for SAM2 mode to userspace
Alan Cox [Sat, 17 Nov 2018 15:39:22 +0000 (15:39 +0000)]
graphics: add another weird mode
Alan Cox [Sat, 17 Nov 2018 13:21:19 +0000 (13:21 +0000)]
sam: rtc support now appears to be in working order
Alan Cox [Sat, 17 Nov 2018 12:49:07 +0000 (12:49 +0000)]
sam: first cut at rtc support
Alan Cox [Sat, 17 Nov 2018 12:48:29 +0000 (12:48 +0000)]
usermem-z80-thunked: Fix crash if we uzero exactly one byte
Alan Cox [Sat, 17 Nov 2018 10:55:14 +0000 (10:55 +0000)]
sam: turn on keyboard masks, repeat and keymap reloading
Keyboard is not quite usable. Only known problem is the control key seems to
be broken at this point
Alan Cox [Sat, 17 Nov 2018 10:54:33 +0000 (10:54 +0000)]
sam, atomlite: Fix disk auto probe with ROM enabled
The ROM seems to leave drive 1 selected which confused us. Go back to drive
0 before we do our magic probe tricks
Alan Cox [Fri, 16 Nov 2018 22:58:53 +0000 (22:58 +0000)]
sam: update README and TODO list
Alan Cox [Fri, 16 Nov 2018 22:50:05 +0000 (22:50 +0000)]
sam: add a cursor
Alan Cox [Fri, 16 Nov 2018 22:49:43 +0000 (22:49 +0000)]
z80: update documentation for 32k/32k split
Alan Cox [Fri, 16 Nov 2018 21:10:30 +0000 (21:10 +0000)]
sc108: update to new interrupt rules and fix signal vector bug
Alan Cox [Fri, 16 Nov 2018 20:56:49 +0000 (20:56 +0000)]
lowlevel-z80-thunked: Fix pre-emption crashes
This changes the way things work between the stubs and core code as they were
broken.
The stubs are now responsible for saving all the register state on the user
stack. The istack cannot be used for this as it was before because it may be
blown away by another interrupt. Instead the stubs carefully shuffle the two
bytes of return address onto the kstack of the process and return on that stack
in the pre-emption case.
It's not pretty but it's hard to do anything more elegant, and speedwise it's
a fast way to handle it.
A 'You are not expected to understand this code' moment, but it's buried in
support assembly code that nobody else has to understand.
Alan Cox [Fri, 16 Nov 2018 20:55:44 +0000 (20:55 +0000)]
sam: fix vt scrolling
The clear line function was busted
Alan Cox [Fri, 16 Nov 2018 19:39:40 +0000 (19:39 +0000)]
sok: fixes for undo
Alan Cox [Fri, 16 Nov 2018 19:39:30 +0000 (19:39 +0000)]
ps: use the right field
Alan Cox [Fri, 16 Nov 2018 19:38:27 +0000 (19:38 +0000)]
kernel: optimize the no signal chksigs() case
Alan Cox [Fri, 16 Nov 2018 14:46:50 +0000 (14:46 +0000)]
net_native: remove debug
Alan Cox [Thu, 15 Nov 2018 21:46:48 +0000 (21:46 +0000)]
rc2014: minor doc update
EtchedPixels [Wed, 14 Nov 2018 15:50:01 +0000 (16:50 +0100)]
Merge pull request #671 from beretta42/mkstemps
lib: mkstemps bugs fixes
Brett Gordon [Sat, 3 Nov 2018 04:05:23 +0000 (00:05 -0400)]
lib: mkstemps bug fixes
Alan Cox [Sat, 27 Oct 2018 20:43:47 +0000 (21:43 +0100)]
fweep: Multiple binary includes and fix to build with cc65
Alan Cox [Fri, 26 Oct 2018 11:05:35 +0000 (12:05 +0100)]
games: build fweep on 6502 and 6809
Alan Cox [Fri, 26 Oct 2018 11:03:35 +0000 (12:03 +0100)]
fweep: remove the old dictionary and encoder and replace them
Alan Cox [Fri, 26 Oct 2018 11:02:54 +0000 (12:02 +0100)]
CREDITS: add sokoban levels
Alan Cox [Thu, 25 Oct 2018 23:54:27 +0000 (00:54 +0100)]
Merge branch 'master' of https://github.com/EtchedPixels/FUZIX
Alan Cox [Thu, 25 Oct 2018 23:53:51 +0000 (00:53 +0100)]
trs80m1: Remove README note about user space
We have relocatable binaries, no longer a problem
Alan Cox [Thu, 25 Oct 2018 23:53:32 +0000 (00:53 +0100)]
z80: build sok
Alan Cox [Thu, 25 Oct 2018 23:52:37 +0000 (00:52 +0100)]
Lee J Haywood sokoban levels
These are freely redistributable and will do as a starter. You can compile
other maps easily enough although sokmap doesn't understand all the formats
yet.
Alan Cox [Thu, 25 Oct 2018 23:49:58 +0000 (00:49 +0100)]
sok: A sokoban clone for Fuzix in under 16K of memory
Basically works - take care your terminal width is set sensibly.
Currently the undo command is broken but restart does work
EtchedPixels [Sun, 21 Oct 2018 18:53:31 +0000 (19:53 +0100)]
Merge pull request #668 from dbotw/fweep
fweep: fix build with sdcc 3.7.1 for Travis
Jens Guenther [Sun, 21 Oct 2018 10:13:34 +0000 (12:13 +0200)]
fweep: fix build with sdcc 3.7.1 for Travis
Alan Cox [Sat, 20 Oct 2018 18:22:11 +0000 (19:22 +0100)]
fweep: comment parser ready to think about fixing it up
Alan Cox [Sat, 20 Oct 2018 18:03:55 +0000 (19:03 +0100)]
fweep: We don't need uint64_t for older games even before we fix stuff
So kill it off so that it's usable on 6502 and 6809
Alan Cox [Sat, 20 Oct 2018 17:52:18 +0000 (18:52 +0100)]
fweep: trim more 32bit stuff out
Big remaining problem sizewise is now the command parser stuff
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