Alan Cox [Mon, 3 Sep 2018 20:16:26 +0000 (21:16 +0100)]
cpuinfo: Fix scf check logic
Alan Cox [Mon, 3 Sep 2018 17:34:41 +0000 (18:34 +0100)]
rc2014: RTC, tickless and swap work
Swap isn't yet completed but the RTC and tickless should now work
Alan Cox [Mon, 3 Sep 2018 17:33:12 +0000 (18:33 +0100)]
rc2014: link in ds1302 support
Alan Cox [Mon, 3 Sep 2018 17:32:58 +0000 (18:32 +0100)]
rc2014: ds1302 variant
Alan Cox [Mon, 3 Sep 2018 00:17:35 +0000 (01:17 +0100)]
rc2014: Get us to the point we are up and running
Currently SIO only while I debug the hardware probing logic.
This is running without timer interrupts or rtc sync so the whole thing is
a bit wobbly and won't keep time etc yet.
Alan Cox [Sun, 2 Sep 2018 23:17:35 +0000 (00:17 +0100)]
rc2014: correct SIO probe
This gets us to the point of bootdev: but then life goes downhill.
Alan Cox [Sun, 2 Sep 2018 21:04:17 +0000 (22:04 +0100)]
libs: add the big 65c816 config
Alan Cox [Sun, 2 Sep 2018 21:02:18 +0000 (22:02 +0100)]
hc11: commit wip bits
Alan Cox [Sun, 2 Sep 2018 20:59:41 +0000 (21:59 +0100)]
px4plus: push WIP stuff ready for 0.2
Alan Cox [Sun, 2 Sep 2018 20:58:21 +0000 (21:58 +0100)]
nascom: commit the vt work in progress ready for 0.2
Alan Cox [Sun, 2 Sep 2018 20:55:00 +0000 (21:55 +0100)]
genie-eg64: push work in progress ready for 0.2
Alan Cox [Sun, 2 Sep 2018 20:53:08 +0000 (21:53 +0100)]
cromemco: commit initial pieces on the udata side
We need to revisit all this due to the lack of a true common
Alan Cox [Sun, 2 Sep 2018 20:51:29 +0000 (21:51 +0100)]
r2000/r3000/r3000a: initial guess at tricks
Alan Cox [Sun, 2 Sep 2018 20:51:01 +0000 (21:51 +0100)]
r2000/r3000/r3000a: add initial guess at low level code
Alan Cox [Sun, 2 Sep 2018 20:50:00 +0000 (21:50 +0100)]
r2000: add initial usermem
Alan Cox [Sun, 2 Sep 2018 20:48:30 +0000 (21:48 +0100)]
Standalone: update to use the new $ROOT
(Thanks Tormod for reminding me to push the commit...)
Alan Cox [Sun, 2 Sep 2018 20:47:36 +0000 (21:47 +0100)]
Kernel: commit the rest of propio and ds1302 support for RBC
SBCv2 should now build from git.
Alan Cox [Sun, 2 Sep 2018 20:46:33 +0000 (21:46 +0100)]
z80: Fix build for systems using the generic support
Alan Cox [Sun, 2 Sep 2018 17:37:56 +0000 (18:37 +0100)]
z280: set the MMU pages as valid and cacheable
Alan Cox [Sun, 2 Sep 2018 13:49:20 +0000 (14:49 +0100)]
invaders: build rule fix
Alan Cox [Sun, 2 Sep 2018 13:27:35 +0000 (14:27 +0100)]
games: package the fortune data file
Alan Cox [Sun, 2 Sep 2018 13:24:47 +0000 (14:24 +0100)]
init: reprompt login: if blank user name
Alan Cox [Sun, 2 Sep 2018 00:20:17 +0000 (01:20 +0100)]
fsck-fuzix: blow 90 bytes on a progress indicator
Alan Cox [Sun, 2 Sep 2018 00:09:03 +0000 (01:09 +0100)]
fsck: not exec optimization work to do
Alan Cox [Sun, 2 Sep 2018 00:07:35 +0000 (01:07 +0100)]
rc: simplify using mount changes
Alan Cox [Sun, 2 Sep 2018 00:05:34 +0000 (01:05 +0100)]
utils: teach fsck mount and remount about the root name
This allows us to stop all the substroot stuff as with fsck split we now have
enough space. This actually turns the whole thing into a win. We trade the
extra exec's of substroot for a fork/exec of fsck.
Not only that but with a bit of thought we can later optimise the single
case fsck to kill the fork off
Alan Cox [Sun, 2 Sep 2018 00:04:55 +0000 (01:04 +0100)]
libc: add some extensions for logical names in fstab
For now just $ROOT. We'll save stuff like UUID's for the far future if ever
Alan Cox [Sat, 1 Sep 2018 23:33:22 +0000 (00:33 +0100)]
fsck: Ok I give up split fsck into a generic fsck and per fs helper
If need be we can actually split the fsck.fuzix helper into two pieces one
which exec's the other without that much extra disk I/O (one extra scan of
the inodes)
Alan Cox [Sat, 1 Sep 2018 22:09:24 +0000 (23:09 +0100)]
fsck: now fits 32K again
Breathe in everyone
Alan Cox [Sat, 1 Sep 2018 21:48:34 +0000 (22:48 +0100)]
fsck: add restart logic
We are now however 20 bytes too large 8(
Alan Cox [Sat, 1 Sep 2018 21:16:31 +0000 (22:16 +0100)]
Standalone: update the configuration for building file systems
Alan Cox [Sat, 1 Sep 2018 21:16:03 +0000 (22:16 +0100)]
fsck: fix oddments found in the great fsck squish
Alan Cox [Sat, 1 Sep 2018 21:15:38 +0000 (22:15 +0100)]
sbc2: add example of fask bank copy and better user copiers
Alan Cox [Sat, 1 Sep 2018 21:15:15 +0000 (22:15 +0100)]
reboot; add a polite (when possible) shutdown command
Alan Cox [Sat, 1 Sep 2018 21:10:05 +0000 (22:10 +0100)]
propio2: and lo .. there was I/O
Alan Cox [Sat, 1 Sep 2018 21:09:22 +0000 (22:09 +0100)]
z80fixedbank: Split into two
This allows someone to opt out of the default fork bank copier if they have
say a DMA engine or want to write their own fast platform specific code.
Alan Cox [Sat, 1 Sep 2018 20:56:21 +0000 (21:56 +0100)]
fsck: jump up and down on it to save memory
A 32K machine can now reasonable fsck a 16MB file system.
Alan Cox [Sat, 1 Sep 2018 00:06:15 +0000 (01:06 +0100)]
inittab: remove the early boot shell
Alan Cox [Fri, 31 Aug 2018 23:15:23 +0000 (00:15 +0100)]
setdate: polish and add a manual page
Alan Cox [Fri, 31 Aug 2018 22:25:01 +0000 (23:25 +0100)]
localtime: apply correct fix instead
Alan Cox [Fri, 31 Aug 2018 22:22:33 +0000 (23:22 +0100)]
tzset: fix parser bugs
Alan Cox [Fri, 31 Aug 2018 22:22:06 +0000 (23:22 +0100)]
locatime: we can shift day if we are close enough to midnight
Alan Cox [Fri, 31 Aug 2018 20:21:50 +0000 (21:21 +0100)]
cpuinfo: first cut at 6502 series info
Alan Cox [Thu, 30 Aug 2018 22:11:01 +0000 (23:11 +0100)]
Makefile: updates
Alan Cox [Thu, 30 Aug 2018 22:01:59 +0000 (23:01 +0100)]
libs/time: shuffle localtime/gmtime and the _r versions around
This makes the code rather nicer
Alan Cox [Thu, 30 Aug 2018 22:01:32 +0000 (23:01 +0100)]
Library: remove bogus difftime and add a proper one
Alan Cox [Thu, 30 Aug 2018 22:00:57 +0000 (23:00 +0100)]
levee: needs a make clean for 6502 even if nothing else yet
Alan Cox [Thu, 30 Aug 2018 21:51:43 +0000 (22:51 +0100)]
time: put together the test local time support
We now have the support all present. Whether it's present and correct will
require some testing.
Alan Cox [Thu, 30 Aug 2018 21:49:45 +0000 (22:49 +0100)]
hdflba: tool I forgot to add
Makes an HDF emulated hard disk acquire LBA support
Alan Cox [Thu, 30 Aug 2018 21:47:59 +0000 (22:47 +0100)]
tools: decb tool
Alan Cox [Thu, 30 Aug 2018 21:44:35 +0000 (22:44 +0100)]
kernel.h: add Z280 CPU type
Alan Cox [Thu, 30 Aug 2018 21:44:24 +0000 (22:44 +0100)]
version: -rc2
Alan Cox [Wed, 29 Aug 2018 21:27:25 +0000 (22:27 +0100)]
kernel: very initial Z280 sketch of a port
Doesn't really use Z280 features properly yet. Basically a Z80 port running
entirely supervisor mode and faking banking with the MMU.
Alan Cox [Wed, 29 Aug 2018 21:27:11 +0000 (22:27 +0100)]
sbcv2: tiny changes for clarity
Alan Cox [Tue, 28 Aug 2018 16:02:39 +0000 (17:02 +0100)]
timer: Fix broke preprocessor rule
Alan Cox [Tue, 28 Aug 2018 16:02:24 +0000 (17:02 +0100)]
zetav2: fix a comment
Alan Cox [Tue, 28 Aug 2018 16:01:59 +0000 (17:01 +0100)]
sbcv2: more documentation
Alan Cox [Tue, 28 Aug 2018 16:01:43 +0000 (17:01 +0100)]
sbcv2: Update link file after changes
Alan Cox [Tue, 28 Aug 2018 16:01:12 +0000 (17:01 +0100)]
sbcv2: update Makefile
Alan Cox [Tue, 28 Aug 2018 12:50:11 +0000 (13:50 +0100)]
propiov2: note a limitation
Alan Cox [Tue, 28 Aug 2018 12:49:54 +0000 (13:49 +0100)]
sbc2: comment platform_ide.h for completeness
Alan Cox [Tue, 28 Aug 2018 12:47:24 +0000 (13:47 +0100)]
sbcv2: comment extensively and move driver stuff that should be shared out
We now have something approaching a clean reference port, and a long list of
cleanups to do the other trees !
Alan Cox [Tue, 28 Aug 2018 12:45:39 +0000 (13:45 +0100)]
ppide: Make the N8VEM/Retrobrew file shareable and also fix some bugs
Alan Cox [Mon, 27 Aug 2018 23:22:06 +0000 (00:22 +0100)]
sbcv2: add lots of comments as this is meant to be a porting reference
Alan Cox [Sun, 26 Aug 2018 15:10:19 +0000 (16:10 +0100)]
sbcv2: clarify why we have turned off HD FD
Alan Cox [Sun, 26 Aug 2018 15:08:43 +0000 (16:08 +0100)]
sbcv2: Use the sketched out 9266 FDC driver
Alan Cox [Sun, 26 Aug 2018 15:07:25 +0000 (16:07 +0100)]
9266 fdc driver for RBC style systems
Could do with the data loops optimizing a bit more. They should be good for
high density at 6MHz but we ought to be able to do HD at 4Mhz with some loop
unrolling and repeat check tricks.
Alan Cox [Sun, 26 Aug 2018 13:06:07 +0000 (14:06 +0100)]
sbcv2: First cut at Zeta floppy support
Alan Cox [Sun, 26 Aug 2018 13:04:17 +0000 (14:04 +0100)]
devfd: Allow for hardware without CCR or HD.
Minimal changes. This can all get properly addressed when we tackle unifying the
floppy driver support
Alan Cox [Sun, 26 Aug 2018 11:21:46 +0000 (12:21 +0100)]
sbcv2: Change default nomenclature, add explanation of file system building
Alan Cox [Sat, 25 Aug 2018 20:57:07 +0000 (21:57 +0100)]
sbcv2: Add support for timer hack mode (DSR wired to a 10Hz clock)
Specify timermsr on the command line for this and the kernel will instead of
polling the timers look for DSR signal events on the UART, effectively using
the UART as an interrupt controller.
Still need to support routing ECB interrupts this way.
Alan Cox [Sat, 25 Aug 2018 20:56:38 +0000 (21:56 +0100)]
sbcv2: adjust the UDATA size and stash in the asm side
Alan Cox [Sat, 25 Aug 2018 20:56:09 +0000 (21:56 +0100)]
devtty: Various uart fixes for baud etc
Alan Cox [Sat, 25 Aug 2018 20:55:41 +0000 (21:55 +0100)]
sbcv2: move the udata stash up 256 bytes
We don't need to keep a copy of the istack
Alan Cox [Sat, 25 Aug 2018 18:37:14 +0000 (19:37 +0100)]
n8vem4/p112: Add in the full RTC support
Again now it's in common code it's just a define.
Alan Cox [Sat, 25 Aug 2018 18:26:59 +0000 (19:26 +0100)]
zetav2: Turn on full rtc support
Now it's in the common driver code it's a matter of a define
Alan Cox [Sat, 25 Aug 2018 18:21:39 +0000 (19:21 +0100)]
Makefile: add N8VEM v2 to the list
Alan Cox [Sat, 25 Aug 2018 18:19:42 +0000 (19:19 +0100)]
ds1302: Move the rtc_read/write helpers to the common code
Alan Cox [Sat, 25 Aug 2018 18:16:08 +0000 (19:16 +0100)]
setdate: Fix bugs in BCD mode
With these fixed it now works correctly against the DS1302
Alan Cox [Sat, 25 Aug 2018 18:15:38 +0000 (19:15 +0100)]
sbcv2: default to 115200 baud
Even better would be to see what ROMWBW set and use it perhaps.
Alan Cox [Sat, 25 Aug 2018 18:15:18 +0000 (19:15 +0100)]
sbcv2: remove boot time debug
Alan Cox [Sat, 25 Aug 2018 18:14:28 +0000 (19:14 +0100)]
sbcv2: More UART features
In particular set up the port properly rather than relying on ROMWBW. Also
turn on the interrupts.
Alan Cox [Sat, 25 Aug 2018 18:13:59 +0000 (19:13 +0100)]
sbcv2: initial basic PropIO probe
Use the uart console if we have no PropIO, otherwise default to the PropIO
Alan Cox [Sat, 25 Aug 2018 18:08:07 +0000 (19:08 +0100)]
kernel: don't make the console block on carrier
It's really annoying if you've not got it wired and you can't work out why
it hangs on boot!
Alan Cox [Sat, 25 Aug 2018 14:21:53 +0000 (15:21 +0100)]
platform-sbcv2: N8VEM Mark 2
A nice simple tickless platform to use as a reference.
Supports the PPIDE and PropIOv2. Currently only works with PropIOv2 present
until I fix a bit of probing logic.
Alan Cox [Sat, 25 Aug 2018 14:20:56 +0000 (15:20 +0100)]
ds1302: update header
Export more bits people need outside of the driver
Alan Cox [Sat, 25 Aug 2018 14:19:13 +0000 (15:19 +0100)]
kernel: Document the new tickless kernel
No it's not like the Linux one - this is for hardware with no timer tick!
Alan Cox [Sat, 25 Aug 2018 14:16:30 +0000 (15:16 +0100)]
sam: Further fixing and cleanups
We now start running init but blow up weirdly when opening the inittab
Alan Cox [Sat, 25 Aug 2018 14:16:04 +0000 (15:16 +0100)]
timer: last bits needed for a platform without a timer interrupt
Alan Cox [Sat, 25 Aug 2018 14:15:43 +0000 (15:15 +0100)]
ubee: remove duplicate include
Alan Cox [Sat, 25 Aug 2018 14:14:59 +0000 (15:14 +0100)]
ds1302: note some code should be shared better
Alan Cox [Sat, 25 Aug 2018 14:14:37 +0000 (15:14 +0100)]
ubee: fix bogus copied comment
Alan Cox [Sat, 25 Aug 2018 14:13:57 +0000 (15:13 +0100)]
z80-thunked: More assorted fixes
We are now at the point some syscalls sort of work
Alan Cox [Sat, 25 Aug 2018 14:13:07 +0000 (15:13 +0100)]
trs80/genie: Fix rtc handling
It's not active yet but fix the bug I noticed
Alan Cox [Sat, 25 Aug 2018 13:07:19 +0000 (14:07 +0100)]
Merge branch 'master' of https://github.com/EtchedPixels/FUZIX
EtchedPixels [Sat, 25 Aug 2018 13:05:32 +0000 (14:05 +0100)]
Merge pull request #655 from beretta42/cave
cave: install database to where advent expects it
Brett Gordon [Fri, 24 Aug 2018 04:22:53 +0000 (00:22 -0400)]
cave: install database to where advent expects it
Alan Cox [Wed, 22 Aug 2018 10:24:51 +0000 (11:24 +0100)]
kernel Introduce tickless kernel support
This isn't the same as a Linux tickless kernel. Rather it's support (such as
there can be) for systems that have interrupts for serial but no actual
timer tick.
Alan Cox [Wed, 22 Aug 2018 10:24:07 +0000 (11:24 +0100)]
syscall_exec16: Rework close_on_exec a bit to fix SDCC crap code generation
Alan Cox [Wed, 22 Aug 2018 10:23:50 +0000 (11:23 +0100)]
usermem-std-thunked: add a comment