FUZIX.git
6 years agonet_wiznet: initial Wiznet 5100 support
Alan Cox [Fri, 7 Sep 2018 01:30:26 +0000 (02:30 +0100)]
net_wiznet: initial Wiznet 5100 support

Some elements of the code come under the category of 'sufficiently rigged demo'
but as a basis it seems to be workable now.

6 years agoinode: fix incorrect socket write return
Alan Cox [Fri, 7 Sep 2018 01:28:19 +0000 (02:28 +0100)]
inode: fix incorrect socket write return

Telnet now works again

6 years agosyscall_net: Fix throttle masking
Alan Cox [Fri, 7 Sep 2018 01:27:44 +0000 (02:27 +0100)]
syscall_net: Fix throttle masking

6 years agorc2014: move CTC
Alan Cox [Wed, 5 Sep 2018 21:17:28 +0000 (22:17 +0100)]
rc2014: move CTC

The CF card is partial decode so shadows 0x90 as well as 0x10. Use 0x88 instead

6 years agofsck-fuzix: fix consts
Alan Cox [Mon, 3 Sep 2018 23:18:10 +0000 (00:18 +0100)]
fsck-fuzix: fix consts

6 years agocrt0: remove long obsolete bss clears - the kernel does them
Alan Cox [Mon, 3 Sep 2018 22:08:08 +0000 (23:08 +0100)]
crt0: remove long obsolete bss clears - the kernel does them

6 years agosyscall_proc: make brk() error more useful, stop brk below base
Alan Cox [Mon, 3 Sep 2018 20:21:26 +0000 (21:21 +0100)]
syscall_proc: make brk() error more useful, stop brk below base

6 years agomntent.h: changes for the new APIs
Alan Cox [Mon, 3 Sep 2018 20:18:41 +0000 (21:18 +0100)]
mntent.h: changes for the new APIs

6 years agoz280rc: note zz80rc difference
Alan Cox [Mon, 3 Sep 2018 20:18:14 +0000 (21:18 +0100)]
z280rc: note zz80rc difference

6 years agorc2014: we are ready to do the swap logic but not yet there
Alan Cox [Mon, 3 Sep 2018 20:17:24 +0000 (21:17 +0100)]
rc2014: we are ready to do the swap logic but not yet there

6 years agosbcv2: init the ds1302 properly
Alan Cox [Mon, 3 Sep 2018 20:17:03 +0000 (21:17 +0100)]
sbcv2: init the ds1302 properly

6 years agocpuinfo: Fix scf check logic
Alan Cox [Mon, 3 Sep 2018 20:16:26 +0000 (21:16 +0100)]
cpuinfo: Fix scf check logic

6 years agorc2014: RTC, tickless and swap work
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

6 years agorc2014: link in ds1302 support
Alan Cox [Mon, 3 Sep 2018 17:33:12 +0000 (18:33 +0100)]
rc2014: link in ds1302 support

6 years agorc2014: ds1302 variant
Alan Cox [Mon, 3 Sep 2018 17:32:58 +0000 (18:32 +0100)]
rc2014: ds1302 variant

6 years agorc2014: Get us to the point we are up and running
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.

6 years agorc2014: correct SIO probe
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.

6 years agolibs: add the big 65c816 config
Alan Cox [Sun, 2 Sep 2018 21:04:17 +0000 (22:04 +0100)]
libs: add the big 65c816 config

6 years agohc11: commit wip bits
Alan Cox [Sun, 2 Sep 2018 21:02:18 +0000 (22:02 +0100)]
hc11: commit wip bits

6 years agopx4plus: push WIP stuff ready for 0.2
Alan Cox [Sun, 2 Sep 2018 20:59:41 +0000 (21:59 +0100)]
px4plus: push WIP stuff ready for 0.2

6 years agonascom: commit the vt work in progress 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

6 years agogenie-eg64: push 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

6 years agocromemco: commit initial pieces on the udata side
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

6 years agor2000/r3000/r3000a: initial guess at tricks
Alan Cox [Sun, 2 Sep 2018 20:51:29 +0000 (21:51 +0100)]
r2000/r3000/r3000a: initial guess at tricks

6 years agor2000/r3000/r3000a: add initial guess at low level code
Alan Cox [Sun, 2 Sep 2018 20:51:01 +0000 (21:51 +0100)]
r2000/r3000/r3000a: add initial guess at low level code

6 years agor2000: add initial usermem
Alan Cox [Sun, 2 Sep 2018 20:50:00 +0000 (21:50 +0100)]
r2000: add initial usermem

6 years agoStandalone: update to use the new $ROOT
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...)

6 years agoKernel: commit the rest of propio and ds1302 support for RBC
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.

6 years agoz80: Fix build for systems using the generic support
Alan Cox [Sun, 2 Sep 2018 20:46:33 +0000 (21:46 +0100)]
z80: Fix build for systems using the generic support

6 years agoz280: set the MMU pages as valid and cacheable
Alan Cox [Sun, 2 Sep 2018 17:37:56 +0000 (18:37 +0100)]
z280: set the MMU pages as valid and cacheable

6 years agoinvaders: build rule fix
Alan Cox [Sun, 2 Sep 2018 13:49:20 +0000 (14:49 +0100)]
invaders: build rule fix

6 years agogames: package the fortune data file
Alan Cox [Sun, 2 Sep 2018 13:27:35 +0000 (14:27 +0100)]
games: package the fortune data file

6 years agoinit: reprompt login: if blank user name
Alan Cox [Sun, 2 Sep 2018 13:24:47 +0000 (14:24 +0100)]
init: reprompt login: if blank user name

6 years agofsck-fuzix: blow 90 bytes on a progress indicator
Alan Cox [Sun, 2 Sep 2018 00:20:17 +0000 (01:20 +0100)]
fsck-fuzix: blow 90 bytes on a progress indicator

6 years agofsck: not exec optimization work to do
Alan Cox [Sun, 2 Sep 2018 00:09:03 +0000 (01:09 +0100)]
fsck: not exec optimization work to do

6 years agorc: simplify using mount changes
Alan Cox [Sun, 2 Sep 2018 00:07:35 +0000 (01:07 +0100)]
rc: simplify using mount changes

6 years agoutils: teach fsck mount and remount about the root name
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

6 years agolibc: add some extensions for logical names in fstab
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

6 years agofsck: Ok I give up split fsck into a generic fsck and per fs helper
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)

6 years agofsck: now fits 32K again
Alan Cox [Sat, 1 Sep 2018 22:09:24 +0000 (23:09 +0100)]
fsck: now fits 32K again

Breathe in everyone

6 years agofsck: add restart logic
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(

6 years agoStandalone: update the configuration for building file systems
Alan Cox [Sat, 1 Sep 2018 21:16:31 +0000 (22:16 +0100)]
Standalone: update the configuration for building file systems

6 years agofsck: fix oddments found in the great fsck squish
Alan Cox [Sat, 1 Sep 2018 21:16:03 +0000 (22:16 +0100)]
fsck: fix oddments found in the great fsck squish

6 years agosbc2: add example of fask bank copy and better user copiers
Alan Cox [Sat, 1 Sep 2018 21:15:38 +0000 (22:15 +0100)]
sbc2: add example of fask bank copy and better user copiers

6 years agoreboot; add a polite (when possible) shutdown command
Alan Cox [Sat, 1 Sep 2018 21:15:15 +0000 (22:15 +0100)]
reboot; add a polite (when possible) shutdown command

6 years agopropio2: and lo .. there was I/O
Alan Cox [Sat, 1 Sep 2018 21:10:05 +0000 (22:10 +0100)]
propio2: and lo .. there was I/O

6 years agoz80fixedbank: Split into two
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.

6 years agofsck: jump up and down on it to save memory
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.

6 years agoinittab: remove the early boot shell
Alan Cox [Sat, 1 Sep 2018 00:06:15 +0000 (01:06 +0100)]
inittab: remove the early boot shell

6 years agosetdate: polish and add a manual page
Alan Cox [Fri, 31 Aug 2018 23:15:23 +0000 (00:15 +0100)]
setdate: polish and add a manual page

6 years agolocaltime: apply correct fix instead
Alan Cox [Fri, 31 Aug 2018 22:25:01 +0000 (23:25 +0100)]
localtime: apply correct fix instead

6 years agotzset: fix parser bugs
Alan Cox [Fri, 31 Aug 2018 22:22:33 +0000 (23:22 +0100)]
tzset: fix parser bugs

6 years agolocatime: we can shift day if we are close enough to midnight
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

6 years agocpuinfo: first cut at 6502 series info
Alan Cox [Fri, 31 Aug 2018 20:21:50 +0000 (21:21 +0100)]
cpuinfo: first cut at 6502 series info

6 years agoMakefile: updates
Alan Cox [Thu, 30 Aug 2018 22:11:01 +0000 (23:11 +0100)]
Makefile: updates

6 years agolibs/time: shuffle localtime/gmtime and the _r versions around
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

6 years agoLibrary: remove bogus difftime and add a proper one
Alan Cox [Thu, 30 Aug 2018 22:01:32 +0000 (23:01 +0100)]
Library: remove bogus difftime and add a proper one

6 years agolevee: needs a make clean for 6502 even if nothing else yet
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

6 years agotime: put together the test local time support
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.

6 years agohdflba: tool I forgot to add
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

6 years agotools: decb tool
Alan Cox [Thu, 30 Aug 2018 21:47:59 +0000 (22:47 +0100)]
tools: decb tool

6 years agokernel.h: add Z280 CPU type
Alan Cox [Thu, 30 Aug 2018 21:44:35 +0000 (22:44 +0100)]
kernel.h: add Z280 CPU type

6 years agoversion: -rc2
Alan Cox [Thu, 30 Aug 2018 21:44:24 +0000 (22:44 +0100)]
version: -rc2

6 years agokernel: very initial Z280 sketch of a port
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.

6 years agosbcv2: tiny changes for clarity
Alan Cox [Wed, 29 Aug 2018 21:27:11 +0000 (22:27 +0100)]
sbcv2: tiny changes for clarity

6 years agotimer: Fix broke preprocessor rule
Alan Cox [Tue, 28 Aug 2018 16:02:39 +0000 (17:02 +0100)]
timer: Fix broke preprocessor rule

6 years agozetav2: fix a comment
Alan Cox [Tue, 28 Aug 2018 16:02:24 +0000 (17:02 +0100)]
zetav2: fix a comment

6 years agosbcv2: more documentation
Alan Cox [Tue, 28 Aug 2018 16:01:59 +0000 (17:01 +0100)]
sbcv2: more documentation

6 years agosbcv2: Update link file after changes
Alan Cox [Tue, 28 Aug 2018 16:01:43 +0000 (17:01 +0100)]
sbcv2: Update link file after changes

6 years agosbcv2: update Makefile
Alan Cox [Tue, 28 Aug 2018 16:01:12 +0000 (17:01 +0100)]
sbcv2: update Makefile

6 years agopropiov2: note a limitation
Alan Cox [Tue, 28 Aug 2018 12:50:11 +0000 (13:50 +0100)]
propiov2: note a limitation

6 years agosbc2: comment platform_ide.h for completeness
Alan Cox [Tue, 28 Aug 2018 12:49:54 +0000 (13:49 +0100)]
sbc2: comment platform_ide.h for completeness

6 years agosbcv2: comment extensively and move driver stuff that should be shared out
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 !

6 years agoppide: Make the N8VEM/Retrobrew file shareable and also fix some bugs
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

6 years agosbcv2: add lots of comments as this is meant to be a porting reference
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

6 years agosbcv2: clarify why we have turned off HD FD
Alan Cox [Sun, 26 Aug 2018 15:10:19 +0000 (16:10 +0100)]
sbcv2: clarify why we have turned off HD FD

6 years agosbcv2: Use the sketched out 9266 FDC driver
Alan Cox [Sun, 26 Aug 2018 15:08:43 +0000 (16:08 +0100)]
sbcv2: Use the sketched out 9266 FDC driver

6 years ago9266 fdc driver for RBC style systems
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.

6 years agosbcv2: First cut at Zeta floppy support
Alan Cox [Sun, 26 Aug 2018 13:06:07 +0000 (14:06 +0100)]
sbcv2: First cut at Zeta floppy support

6 years agodevfd: Allow for hardware without CCR or HD.
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

6 years agosbcv2: Change default nomenclature, add explanation of file system building
Alan Cox [Sun, 26 Aug 2018 11:21:46 +0000 (12:21 +0100)]
sbcv2: Change default nomenclature, add explanation of file system building

6 years agosbcv2: Add support for timer hack mode (DSR wired to a 10Hz clock)
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.

6 years agosbcv2: adjust the UDATA size and stash in the asm side
Alan Cox [Sat, 25 Aug 2018 20:56:38 +0000 (21:56 +0100)]
sbcv2: adjust the UDATA size and stash in the asm side

6 years agodevtty: Various uart fixes for baud etc
Alan Cox [Sat, 25 Aug 2018 20:56:09 +0000 (21:56 +0100)]
devtty: Various uart fixes for baud etc

6 years agosbcv2: move the udata stash up 256 bytes
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

6 years agon8vem4/p112: Add in the full RTC support
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.

6 years agozetav2: Turn on full rtc support
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

6 years agoMakefile: add N8VEM v2 to the list
Alan Cox [Sat, 25 Aug 2018 18:21:39 +0000 (19:21 +0100)]
Makefile: add N8VEM v2 to the list

6 years agods1302: Move the rtc_read/write helpers to the common code
Alan Cox [Sat, 25 Aug 2018 18:19:42 +0000 (19:19 +0100)]
ds1302: Move the rtc_read/write helpers to the common code

6 years agosetdate: Fix bugs in BCD mode
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

6 years agosbcv2: default to 115200 baud
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.

6 years agosbcv2: remove boot time debug
Alan Cox [Sat, 25 Aug 2018 18:15:18 +0000 (19:15 +0100)]
sbcv2: remove boot time debug

6 years agosbcv2: More UART features
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.

6 years agosbcv2: initial basic PropIO probe
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

6 years agokernel: don't make the console block on carrier
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!

6 years agoplatform-sbcv2: N8VEM Mark 2
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.

6 years agods1302: update header
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

6 years agokernel: Document the new tickless kernel
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!

6 years agosam: Further fixing and cleanups
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

6 years agotimer: last bits needed for a platform without a timer interrupt
Alan Cox [Sat, 25 Aug 2018 14:16:04 +0000 (15:16 +0100)]
timer: last bits needed for a platform without a timer interrupt