FUZIX.git
8 years agops: add ppid support
Alan Cox [Mon, 29 Aug 2016 16:48:16 +0000 (17:48 +0100)]
ps: add ppid support

8 years agodevsys: check for over end copies for ps
Alan Cox [Mon, 29 Aug 2016 16:46:10 +0000 (17:46 +0100)]
devsys: check for over end copies for ps

Doesn't matter too much today but it will when we have MMU support

8 years agoproc.h: add p_event to match kernel changes
Alan Cox [Mon, 29 Aug 2016 16:13:42 +0000 (17:13 +0100)]
proc.h: add p_event to match kernel changes

8 years agoinit: add tty and geometry setting support
Alan Cox [Mon, 29 Aug 2016 15:50:32 +0000 (16:50 +0100)]
init: add tty and geometry setting support

8 years agosignal: default behaviour for SIGWINCH is ignore
Alan Cox [Mon, 29 Aug 2016 15:49:59 +0000 (16:49 +0100)]
signal: default behaviour for SIGWINCH is ignore

It's not defined by POSIX but this appears to be the convention

Alan

8 years agoincludes: add the extra tty ioctls
Alan Cox [Mon, 29 Aug 2016 15:49:43 +0000 (16:49 +0100)]
includes: add the extra tty ioctls

8 years agoEndian support for size tool
Andy Valencia [Mon, 18 Jul 2016 21:55:27 +0000 (14:55 -0700)]
Endian support for size tool

Add support for 6809 variant of executable header; key off
initial byte value to decode as 6809 or Z-80.

8 years agoMerge branch 'master' of https://github.com/EtchedPixels/FUZIX
Alan Cox [Mon, 29 Aug 2016 11:35:07 +0000 (12:35 +0100)]
Merge branch 'master' of https://github.com/EtchedPixels/FUZIX

8 years agoz80pack: fix bugs introduced with block param cleanups
Alan Cox [Mon, 29 Aug 2016 11:33:34 +0000 (12:33 +0100)]
z80pack: fix bugs introduced with block param cleanups

8 years agoinode: fix ref counts from recent ref change
Alan Cox [Mon, 29 Aug 2016 11:33:10 +0000 (12:33 +0100)]
inode: fix ref counts from recent ref change

8 years agodevio: in debug dump R/W counters
Alan Cox [Mon, 29 Aug 2016 11:32:58 +0000 (12:32 +0100)]
devio: in debug dump R/W counters

8 years agopipe: redo reader/writer counting
Alan Cox [Mon, 29 Aug 2016 10:54:01 +0000 (11:54 +0100)]
pipe: redo reader/writer counting

It's almost as cheap to keep counters as go scanning each time in terms of
memory usage and much much faster.

8 years agobinmunge: fix missing include
Alan Cox [Mon, 29 Aug 2016 10:53:31 +0000 (11:53 +0100)]
binmunge: fix missing include

8 years agoMerge pull request #404 from dfffffff/master
EtchedPixels [Mon, 29 Aug 2016 09:42:49 +0000 (10:42 +0100)]
Merge pull request #404 from dfffffff/master

added uname command

8 years agoadded uname command
dfffffff [Mon, 29 Aug 2016 00:29:10 +0000 (20:29 -0400)]
added uname command

Conflicts:
Build/platforms/dfboard.mk

8 years agoMerge branch 'master' of https://github.com/EtchedPixels/FUZIX
Alan Cox [Sun, 28 Aug 2016 22:51:12 +0000 (23:51 +0100)]
Merge branch 'master' of https://github.com/EtchedPixels/FUZIX

8 years agosignals: fix other return in chksigs
Alan Cox [Sun, 28 Aug 2016 22:50:54 +0000 (23:50 +0100)]
signals: fix other return in chksigs

8 years agoMerge pull request #403 from beretta42/dwtimec
EtchedPixels [Sun, 28 Aug 2016 22:48:08 +0000 (23:48 +0100)]
Merge pull request #403 from beretta42/dwtimec

dwdate: sets system time from drivewire via userspace

8 years agosignal: fix handling of pending signals whose default behaviour is ignore
Alan Cox [Sun, 28 Aug 2016 22:45:29 +0000 (23:45 +0100)]
signal: fix handling of pending signals whose default behaviour is ignore

Also noted by David Flamand.

We make chksigs() a generally callable helper so that anyone who needs to
check if a signal is pending can just ask it. This cleans up the (broken)
poking around we were doing as well.

This also cleans up some other freaky corner cases where signals delivered
at the wrong time could be lost.

8 years agopipe: first cut at fixing a pile of pipe breakages
Alan Cox [Sun, 28 Aug 2016 22:43:51 +0000 (23:43 +0100)]
pipe: first cut at fixing a pile of pipe breakages

There is still lots more to deal with

- introduce a helper to check if a file is open for read/write
- use this to correct the EOF checking

Original bugs noted by David Flamand

8 years agoMerge pull request #401 from dfffffff/master
EtchedPixels [Sun, 28 Aug 2016 21:53:52 +0000 (22:53 +0100)]
Merge pull request #401 from dfffffff/master

added missing operation letter

8 years agoadd man pager file.
Brett Gordon [Sun, 28 Aug 2016 21:00:43 +0000 (17:00 -0400)]
add man pager file.

8 years agodrivewire: init commit "dwdate" - set system time from userspace.
Brett Gordon [Sun, 28 Aug 2016 20:48:04 +0000 (16:48 -0400)]
drivewire: init commit "dwdate" - set system time from userspace.

8 years agosyscall: stime: return 0 on success.
Brett Gordon [Sun, 28 Aug 2016 19:29:47 +0000 (15:29 -0400)]
syscall: stime: return 0 on success.

8 years agostime syscall: ptr params reversed, also finish prototype comment
Brett Gordon [Sun, 28 Aug 2016 19:28:28 +0000 (15:28 -0400)]
stime syscall: ptr params reversed, also finish prototype comment

8 years agonet_native: space tidying
Alan Cox [Sun, 28 Aug 2016 16:15:51 +0000 (17:15 +0100)]
net_native: space tidying

8 years agonet_native: lots of fixes
Brett Gordon [Sun, 28 Aug 2016 16:10:38 +0000 (17:10 +0100)]
net_native: lots of fixes

Merge a load of fixes from Brett Gordon into the net_native code. With these
applied it might even be usable!

There are a couple of changes from Brett's original - we want to report EOF
not EPIPE on reads of a closed socket, and we want to assume that the shutdown
flags will be set by the daemon rather than add extra closed socket checks.

8 years agocpu-z80: peephole rules
Alan Cox [Sun, 28 Aug 2016 15:59:37 +0000 (16:59 +0100)]
cpu-z80: peephole rules

8 years agosyscall_net: add a FIXME
Alan Cox [Sun, 28 Aug 2016 15:59:23 +0000 (16:59 +0100)]
syscall_net: add a FIXME

8 years agosyscall_exec32: add some TODO notes
Alan Cox [Sun, 28 Aug 2016 15:59:10 +0000 (16:59 +0100)]
syscall_exec32: add some TODO notes

8 years agoMakefile: add buddy.c
Alan Cox [Sun, 28 Aug 2016 15:58:50 +0000 (16:58 +0100)]
Makefile: add buddy.c

We don't use it yet and it's not finished

8 years agoadded missing operation letter
dfffffff [Sun, 28 Aug 2016 14:22:04 +0000 (10:22 -0400)]
added missing operation letter

8 years agobuddy: A segment based MMU buddy allocator
Alan Cox [Fri, 26 Aug 2016 21:01:51 +0000 (22:01 +0100)]
buddy: A segment based MMU buddy allocator

Not yet buildable and certainly not yet debugged.

This is needed for platforms where we must keep our code/data/stack on power
of two boundaries for the MMU hardware in question.

8 years agov68: initial bits of 68000 development tree
Alan Cox [Fri, 26 Aug 2016 21:01:25 +0000 (22:01 +0100)]
v68: initial bits of 68000 development tree

Nothing to see here yet

8 years ago68000: Switch to gnu-linux from atari-mint compiler
Alan Cox [Fri, 26 Aug 2016 21:00:33 +0000 (22:00 +0100)]
68000: Switch to gnu-linux from atari-mint compiler

8 years agoSmallC: minor adjustments
Alan Cox [Fri, 26 Aug 2016 15:05:22 +0000 (16:05 +0100)]
SmallC: minor adjustments

8 years agoMerge branch 'master' of https://github.com/EtchedPixels/FUZIX
Alan Cox [Fri, 26 Aug 2016 15:04:36 +0000 (16:04 +0100)]
Merge branch 'master' of https://github.com/EtchedPixels/FUZIX

8 years agoMerge pull request #399 from dfffffff/master
EtchedPixels [Fri, 26 Aug 2016 14:57:44 +0000 (15:57 +0100)]
Merge pull request #399 from dfffffff/master

Kernel/lowlevel-6809.s: fixed outd outputting wrong byte, changed code to use less memory

8 years agoKernel/lowlevel-6809.s: fixed outd outputting wrong byte, changed code to use less...
dfffffff [Fri, 26 Aug 2016 14:23:18 +0000 (10:23 -0400)]
Kernel/lowlevel-6809.s: fixed outd outputting wrong byte, changed code to use less memory

8 years agoMerge pull request #398 from dfffffff/master
EtchedPixels [Fri, 26 Aug 2016 12:57:16 +0000 (13:57 +0100)]
Merge pull request #398 from dfffffff/master

 removed duplicate source file

8 years agoremoved duplicate source file
dfffffff [Sun, 21 Aug 2016 21:06:18 +0000 (17:06 -0400)]
removed duplicate source file

8 years agofview: Fix a () to (void) and fix a non-triggerable bug in err printing
Alan Cox [Fri, 19 Aug 2016 14:07:46 +0000 (15:07 +0100)]
fview: Fix a () to (void) and fix a non-triggerable bug in err printing

8 years agoMerge pull request #397 from dfffffff/master
EtchedPixels [Fri, 19 Aug 2016 10:29:29 +0000 (11:29 +0100)]
Merge pull request #397 from dfffffff/master

found this issue when trying to ranlib libm6809.a

8 years agofound this issue when trying to ranlib libm6809.a: 'error: multiple defined label...
dfffffff [Fri, 19 Aug 2016 01:20:24 +0000 (21:20 -0400)]
found this issue when trying to ranlib libm6809.a: 'error: multiple defined label _fp_scan'

8 years agoMerge pull request #396 from beretta42/fview2
EtchedPixels [Thu, 18 Aug 2016 20:02:47 +0000 (21:02 +0100)]
Merge pull request #396 from beretta42/fview2

fview - a simple 1bpp windows .bmp viewer for fuzix

8 years agoinstall test file, remove extra test files.
Brett Gordon [Thu, 18 Aug 2016 17:43:56 +0000 (13:43 -0400)]
install test file, remove extra test files.

8 years agomore comments, made endian checking run-time
Brett Gordon [Fri, 8 Jul 2016 14:38:59 +0000 (10:38 -0400)]
more comments, made endian checking run-time

8 years agoadd copyright, some commenting, lil bugs fixes
Brett Gordon [Wed, 6 Jul 2016 04:50:34 +0000 (00:50 -0400)]
add copyright, some commenting, lil bugs fixes

8 years agoadd package file and man page
Brett Gordon [Wed, 6 Jul 2016 04:48:55 +0000 (00:48 -0400)]
add package file and man page

8 years agonow should work on different width screens. ?
Brett Gordon [Wed, 6 Jul 2016 03:22:38 +0000 (23:22 -0400)]
now should work on different width screens. ?

8 years agoproper (slow) 1bpp mode + boarders + horrible buffer alloc.
Brett Gordon [Tue, 5 Jul 2016 15:15:00 +0000 (11:15 -0400)]
proper (slow) 1bpp mode + boarders + horrible buffer alloc.

8 years agoseems ok to add optimization
Brett Gordon [Tue, 5 Jul 2016 15:11:25 +0000 (11:11 -0400)]
seems ok to add optimization

8 years agofix some more colors/ 16 bpp / dither optional
Brett Gordon [Sun, 3 Jul 2016 23:15:23 +0000 (19:15 -0400)]
fix some more colors/ 16 bpp / dither optional

8 years agoplaying with palettes
Brett Gordon [Sun, 3 Jul 2016 19:41:20 +0000 (15:41 -0400)]
playing with palettes

8 years agoInit commit, in working state.
Brett Gordon [Sun, 3 Jul 2016 16:50:19 +0000 (12:50 -0400)]
Init commit, in working state.

8 years ago6809: Build levee, sh and kernel with -fno-cprop-registers
Tormod Volden [Sun, 14 Aug 2016 11:47:23 +0000 (13:47 +0200)]
6809: Build levee, sh and kernel with -fno-cprop-registers

Something goes wrong in gcc6809's cprop_hardreg pass if there are
exg,add,exg patterns around.

The kernel seemed fine up to now, but add the flag just to avoid
any undiscovered or future issues.

Remove the gratuitous() workaround from sh/blok.c

Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
8 years agoMerge pull request #395 from nealcrook/more-dw
EtchedPixels [Sun, 7 Aug 2016 23:52:37 +0000 (00:52 +0100)]
Merge pull request #395 from nealcrook/more-dw

More dw

8 years agoRevise todo list and emulator start-up line.
Neal Andrew Crook [Sun, 7 Aug 2016 21:09:02 +0000 (22:09 +0100)]
Revise todo list and emulator start-up line.

8 years agochange register assignment so that checksum is calculated properly.
Neal Andrew Crook [Sun, 7 Aug 2016 21:05:46 +0000 (22:05 +0100)]
change register assignment so that checksum is calculated properly.
This bug caused more weird behaviour than I can currently account
for. With the fix, it seems rock-solid.

8 years agowhiespace consistency changes. No functional change.
Neal Andrew Crook [Sun, 7 Aug 2016 21:05:14 +0000 (22:05 +0100)]
whiespace consistency changes. No functional change.

8 years agosync up with version in coco and dragon areas (just a fix to a comment typo)
Neal Andrew Crook [Sun, 7 Aug 2016 21:04:09 +0000 (22:04 +0100)]
sync up with version in coco and dragon areas (just a fix to a comment typo)

8 years agoMerge pull request #393 from atsidaev/zx_128_betadisk
EtchedPixels [Sun, 7 Aug 2016 11:23:13 +0000 (12:23 +0100)]
Merge pull request #393 from atsidaev/zx_128_betadisk

zx128: Betadisk-128 driver and filesystem building definition

8 years agozx128: filesystem build config
Alexander Tsidaev [Sun, 7 Aug 2016 10:45:16 +0000 (15:45 +0500)]
zx128: filesystem build config

8 years agozx128: Betadisk-128 driver
Alexander Tsidaev [Sun, 7 Aug 2016 09:28:59 +0000 (14:28 +0500)]
zx128: Betadisk-128 driver

8 years agoMerge pull request #392 from atsidaev/touch_c_fix
EtchedPixels [Tue, 2 Aug 2016 23:44:53 +0000 (00:44 +0100)]
Merge pull request #392 from atsidaev/touch_c_fix

touch.c: strerror(...) needs string.h

8 years agoMerge pull request #391 from nealcrook/multicomp-dw
EtchedPixels [Tue, 2 Aug 2016 23:44:14 +0000 (00:44 +0100)]
Merge pull request #391 from nealcrook/multicomp-dw

Multicomp dw

8 years agotouch.c: strerror(...) needs string.h
Alexander Tsidaev [Tue, 2 Aug 2016 23:29:54 +0000 (04:29 +0500)]
touch.c: strerror(...) needs string.h

8 years agoremove dead code and bad comments.
Neal Andrew Crook [Tue, 2 Aug 2016 20:51:18 +0000 (21:51 +0100)]
remove dead code and bad comments.

8 years agoMerge pull request #390 from atsidaev/zx128_fix_20160731
EtchedPixels [Sun, 31 Jul 2016 19:21:11 +0000 (20:21 +0100)]
Merge pull request #390 from atsidaev/zx128_fix_20160731

Making zx128 port compilable

8 years agozx128: include compilation of binmunge and bin2sna/bin2z80 tools in the build process
Alexander Tsidaev [Sun, 31 Jul 2016 18:35:43 +0000 (23:35 +0500)]
zx128: include compilation of binmunge and bin2sna/bin2z80 tools in the build process

8 years agozx128: disabling microdrive swapping as it is broken for now
Alexander Tsidaev [Sun, 31 Jul 2016 18:14:34 +0000 (23:14 +0500)]
zx128: disabling microdrive swapping as it is broken for now

8 years agozx128: adding Disciple lowlevel functions prototypes and libz80 reference
Alexander Tsidaev [Sun, 31 Jul 2016 18:11:12 +0000 (23:11 +0500)]
zx128: adding Disciple lowlevel functions prototypes and libz80 reference

8 years ago.gitignore updated
Alexander Tsidaev [Sun, 31 Jul 2016 17:22:43 +0000 (22:22 +0500)]
.gitignore updated

8 years agonet_z80pack: direct pointer conversion
Alexander Tsidaev [Sun, 31 Jul 2016 17:13:56 +0000 (22:13 +0500)]
net_z80pack: direct pointer conversion

8 years agoFirst sighting of life from drivewire.
Neal Andrew Crook [Fri, 29 Jul 2016 22:31:09 +0000 (23:31 +0100)]
First sighting of life from drivewire.

8 years agoOops. Left all three UARTs at the same address. Fixed.
Neal Andrew Crook [Fri, 29 Jul 2016 22:30:14 +0000 (23:30 +0100)]
Oops. Left all three UARTs at the same address. Fixed.

8 years agoAdd defines for all 3 UARTs.
Neal Andrew Crook [Thu, 28 Jul 2016 19:43:59 +0000 (20:43 +0100)]
Add defines for all 3 UARTs.

8 years agoRemove unused variables.
Neal Andrew Crook [Thu, 28 Jul 2016 19:43:26 +0000 (20:43 +0100)]
Remove unused variables.

8 years agoMerge pull request #388 from vandys/group
EtchedPixels [Thu, 28 Jul 2016 16:27:48 +0000 (17:27 +0100)]
Merge pull request #388 from vandys/group

Root filesystem should have /etc/group

8 years agoMerge pull request #389 from vandys/touch
EtchedPixels [Thu, 28 Jul 2016 16:27:29 +0000 (17:27 +0100)]
Merge pull request #389 from vandys/touch

Have touch emit error message

8 years agoMerge pull request #387 from nealcrook/math-header
EtchedPixels [Wed, 27 Jul 2016 18:46:33 +0000 (19:46 +0100)]
Merge pull request #387 from nealcrook/math-header

Fix apparent typos that caused gcc-6809 to barf.

8 years agoMerge pull request #386 from nealcrook/multicomp-exec
EtchedPixels [Wed, 27 Jul 2016 18:45:52 +0000 (19:45 +0100)]
Merge pull request #386 from nealcrook/multicomp-exec

Switch multicomp09 away from legacy exec model

8 years agoFix apparent typos that caused gcc-6809 to barf.
Neal Andrew Crook [Wed, 27 Jul 2016 18:26:57 +0000 (19:26 +0100)]
Fix apparent typos that caused gcc-6809 to barf.
Delete trailing whitespace, for fun.

8 years agoMerge branch 'master' into touch
Andy Valencia [Wed, 27 Jul 2016 04:05:50 +0000 (21:05 -0700)]
Merge branch 'master' into touch

8 years agoMerge branch 'group' of github.com:vandys/FUZIX into group
Andy Valencia [Wed, 27 Jul 2016 04:02:54 +0000 (21:02 -0700)]
Merge branch 'group' of github.com:vandys/FUZIX into group

8 years agoMerge branch 'master' into group
Andy Valencia [Wed, 27 Jul 2016 04:00:10 +0000 (21:00 -0700)]
Merge branch 'master' into group

8 years agoMerge branch 'multicomp-exec' of https://github.com/nealcrook/FUZIX into multicomp...
Neal Andrew Crook [Tue, 26 Jul 2016 22:18:09 +0000 (23:18 +0100)]
Merge branch 'multicomp-exec' of https://github.com/nealcrook/FUZIX into multicomp-exec

8 years agoSwitch away from legacy exec model (for SDC driver). Not yet
Neal Andrew Crook [Sat, 16 Jul 2016 14:31:28 +0000 (15:31 +0100)]
Switch away from legacy exec model (for SDC driver). Not yet
working.

8 years agoMerge pull request #385 from beretta42/ashr
EtchedPixels [Tue, 26 Jul 2016 17:50:25 +0000 (18:50 +0100)]
Merge pull request #385 from beretta42/ashr

6809: ashrsi3: 8 bit shift optimization

8 years agosmallc: Updates
Alan Cox [Tue, 26 Jul 2016 17:47:20 +0000 (18:47 +0100)]
smallc: Updates

- basics for register variables
- assorted other improvements to move towards better code generation

8 years ago6809: restore memory state in case of int while in kernel.
Brett Gordon [Tue, 26 Jul 2016 14:30:40 +0000 (10:30 -0400)]
6809: restore memory state in case of int while in kernel.

8 years ago6809: ashrsi3: 8 bit shift optimization
Brett Gordon [Tue, 26 Jul 2016 14:19:58 +0000 (10:19 -0400)]
6809: ashrsi3: 8 bit shift optimization

8 years agotrs80: first cut at dw_transaction
Alan Cox [Tue, 26 Jul 2016 10:18:41 +0000 (11:18 +0100)]
trs80: first cut at dw_transaction

8 years agoMerge pull request #384 from beretta42/ashr
EtchedPixels [Tue, 26 Jul 2016 09:43:03 +0000 (10:43 +0100)]
Merge pull request #384 from beretta42/ashr

Add a schlocky ashrsi3 to 6809, fix devdw.

8 years agodevdw: forgot to increment the loop var
Brett Gordon [Tue, 26 Jul 2016 04:02:42 +0000 (00:02 -0400)]
devdw: forgot to increment the loop var

8 years ago6809: add ___ashrsi3
Brett Gordon [Tue, 26 Jul 2016 03:32:19 +0000 (23:32 -0400)]
6809: add ___ashrsi3

8 years agoREADME: update mtx entry
Alan Cox [Mon, 25 Jul 2016 20:03:08 +0000 (21:03 +0100)]
README: update mtx entry

8 years agomtx: update docs
Alan Cox [Mon, 25 Jul 2016 20:02:46 +0000 (21:02 +0100)]
mtx: update docs

8 years agomtx: make it easier to config with or without swap
Alan Cox [Mon, 25 Jul 2016 19:57:00 +0000 (20:57 +0100)]
mtx: make it easier to config with or without swap

8 years agodevdw: hopefully update correctly for new block APIs
Alan Cox [Mon, 25 Jul 2016 16:38:21 +0000 (17:38 +0100)]
devdw: hopefully update correctly for new block APIs