FUZIX.git
8 years agococo3: bring platform up to level 2 w/ coredumps + networking
Brett Gordon [Thu, 22 Sep 2016 14:12:34 +0000 (10:12 -0400)]
coco3: bring platform up to level 2 w/ coredumps + networking

8 years agosyscall_net: various bug fixes.
Brett Gordon [Thu, 22 Sep 2016 14:10:53 +0000 (10:10 -0400)]
syscall_net: various bug fixes.

8 years agosyscall_exec: gcc doesn't like subtracting a ptr from a int
Brett Gordon [Thu, 22 Sep 2016 14:08:58 +0000 (10:08 -0400)]
syscall_exec: gcc doesn't like subtracting a ptr from a int

8 years agosocket: fix typpo
Brett Gordon [Thu, 22 Sep 2016 14:06:52 +0000 (10:06 -0400)]
socket: fix typpo

8 years agonetdev.h: make declaration match implementations (net_wiz, net_native, etc..)
Brett Gordon [Thu, 22 Sep 2016 14:06:12 +0000 (10:06 -0400)]
netdev.h: make declaration match implementations (net_wiz, net_native, etc..)

8 years agonet_native: make defs/decs match calls from Kernel/devsys.c
Brett Gordon [Thu, 22 Sep 2016 14:00:48 +0000 (10:00 -0400)]
net_native: make defs/decs match calls from Kernel/devsys.c

8 years agoselect: make _select match level2.h
Brett Gordon [Thu, 22 Sep 2016 13:54:20 +0000 (09:54 -0400)]
select: make _select match level2.h

8 years agoMerge branch 'master' of https://github.com/EtchedPixels/FUZIX
Alan Cox [Wed, 21 Sep 2016 23:05:12 +0000 (00:05 +0100)]
Merge branch 'master' of https://github.com/EtchedPixels/FUZIX

8 years agomarksman: first pass at a modern take on manual pages
Alan Cox [Wed, 21 Sep 2016 22:56:28 +0000 (23:56 +0100)]
marksman: first pass at a modern take on manual pages

Stuff nroff, it's slow complicated and produces wonderful typeset paper manual
pages when what we actually need are fast online ones.

manscan is a simple tool to hoik blocks of markdown out of code

marksman is a first pass at a tool for outputting markdown in a sort of man
page format.

It understands the line based mark ups

````

1. Foo
2. Foo

* Foo
* Bar

+ Foo
+ Bar

- Foo
- Bar

Along with double space indenting

[link][foo]
[link](foo)
[link]
[link]: foo

![text][picture]
![text](picture)

````

inline markup: * ** _ __ ~ ~~

| table |

but not a lot of the nicer formatting options, and it doesn't handle lengths
correctly yet either.

It's missing subtables, inline ````, inline HTML (as we don't use HTML) and
some other oddments

It also supports \* etc to quote meta symbols for inline formatting and it
has an extension for name/content (HTML DT/DD style) lists

8 years agoMerge pull request #429 from dfffffff/master
EtchedPixels [Wed, 21 Sep 2016 22:54:38 +0000 (23:54 +0100)]
Merge pull request #429 from dfffffff/master

fixed v7 ed not compiling on gcc6809, added v7 ed to build.mk

8 years agofixed v7 ed not compiling on gcc6809, added v7 ed to build.mk
dfffffff [Wed, 21 Sep 2016 18:33:51 +0000 (14:33 -0400)]
fixed v7 ed not compiling on gcc6809, added v7 ed to build.mk

8 years agoed: Add V7 ed - it's better than our existing one IMHO
Alan Cox [Wed, 21 Sep 2016 13:23:15 +0000 (14:23 +0100)]
ed: Add V7 ed - it's better than our existing one IMHO

8 years agoMerge branch 'master' of https://github.com/EtchedPixels/FUZIX
Alan Cox [Fri, 16 Sep 2016 11:53:52 +0000 (12:53 +0100)]
Merge branch 'master' of https://github.com/EtchedPixels/FUZIX

8 years agoMakefile: parallel build fixes take two
Alan Cox [Fri, 16 Sep 2016 11:52:25 +0000 (12:52 +0100)]
Makefile: parallel build fixes take two

From: David Flamand

Fix the parallel build

8 years agonc100: updates - basics of suspend/resume NMI path and some cleaning
Alan Cox [Thu, 15 Sep 2016 20:02:27 +0000 (21:02 +0100)]
nc100: updates - basics of suspend/resume NMI path and some cleaning

8 years agoMerge pull request #426 from beretta42/tchelp
EtchedPixels [Thu, 15 Sep 2016 14:48:57 +0000 (15:48 +0100)]
Merge pull request #426 from beretta42/tchelp

tchelp: fixes for 6809 platforms

8 years agotchelp: install to /usr/lib
Brett Gordon [Thu, 15 Sep 2016 14:39:18 +0000 (10:39 -0400)]
tchelp: install to /usr/lib

8 years agoMerge pull request #427 from beretta42/net_native
EtchedPixels [Thu, 15 Sep 2016 14:02:25 +0000 (15:02 +0100)]
Merge pull request #427 from beretta42/net_native

net_native: udata.u_count is mangled by ringbop()

8 years agotchelp: add to package intaller script
Brett Gordon [Thu, 15 Sep 2016 13:54:47 +0000 (09:54 -0400)]
tchelp: add to package intaller script

8 years agonet_native: udata.u_count will be mangled by ringbop()
Brett Gordon [Thu, 15 Sep 2016 13:50:53 +0000 (09:50 -0400)]
net_native: udata.u_count will be mangled by ringbop()

8 years ago6809: make tchelp compile w/ libtermcap
Brett Gordon [Thu, 15 Sep 2016 13:19:21 +0000 (09:19 -0400)]
6809: make tchelp compile w/ libtermcap

8 years agoMakefile: update
Alan Cox [Wed, 14 Sep 2016 12:39:36 +0000 (13:39 +0100)]
Makefile: update

8 years agopatchcpm: remove - our CP/M emulator doesn't need it
Alan Cox [Wed, 14 Sep 2016 12:39:16 +0000 (13:39 +0100)]
patchcpm: remove - our CP/M emulator doesn't need it

8 years agotchelp: add
Alan Cox [Wed, 14 Sep 2016 12:39:08 +0000 (13:39 +0100)]
tchelp: add

8 years agotiddles: remove dead file
Alan Cox [Wed, 14 Sep 2016 12:38:54 +0000 (13:38 +0100)]
tiddles: remove dead file

8 years ago6809: termcap split
Alan Cox [Wed, 14 Sep 2016 12:36:29 +0000 (13:36 +0100)]
6809: termcap split

8 years agotermcap: split tgetent off
Alan Cox [Wed, 14 Sep 2016 12:35:37 +0000 (13:35 +0100)]
termcap: split tgetent off

8 years agocpu: tidy up
Alan Cox [Wed, 14 Sep 2016 12:34:51 +0000 (13:34 +0100)]
cpu: tidy up

8 years agostart: fix silly bug
Alan Cox [Wed, 14 Sep 2016 12:31:16 +0000 (13:31 +0100)]
start: fix silly bug

8 years agocpu-68000: remove obsolete bits
Alan Cox [Wed, 14 Sep 2016 12:31:04 +0000 (13:31 +0100)]
cpu-68000: remove obsolete bits

8 years agoCPU: notes on CPU defines etc
Alan Cox [Wed, 14 Sep 2016 12:30:53 +0000 (13:30 +0100)]
CPU: notes on CPU defines etc

8 years agotypes: more type tidy up
Alan Cox [Wed, 14 Sep 2016 12:30:40 +0000 (13:30 +0100)]
types: more type tidy up

8 years ago68000: switch to 32bit integer type
Alan Cox [Tue, 13 Sep 2016 23:02:52 +0000 (00:02 +0100)]
68000: switch to 32bit integer type

8 years agomini_ide: fix a conversion bug
Alan Cox [Tue, 13 Sep 2016 22:46:46 +0000 (23:46 +0100)]
mini_ide: fix a conversion bug

8 years agoplatform: type fixes
Alan Cox [Tue, 13 Sep 2016 22:46:32 +0000 (23:46 +0100)]
platform: type fixes

8 years agodragon-nx32: updates for type changes etc
Alan Cox [Tue, 13 Sep 2016 22:42:01 +0000 (23:42 +0100)]
dragon-nx32: updates for type changes etc

8 years agosyscall_proc: note type punning we need to fix
Alan Cox [Tue, 13 Sep 2016 22:41:43 +0000 (23:41 +0100)]
syscall_proc: note type punning we need to fix

8 years agokernel: remaining bits of type fixing
Alan Cox [Tue, 13 Sep 2016 22:35:53 +0000 (23:35 +0100)]
kernel: remaining bits of type fixing

With these fixed we can mount the root fs on 68000

8 years agoz80pack: update ramtop to uaddr_t
Alan Cox [Tue, 13 Sep 2016 22:35:30 +0000 (23:35 +0100)]
z80pack: update ramtop to uaddr_t

8 years agov68: move to one process in RAM at a time to make debug easier, tidy stuff
Alan Cox [Tue, 13 Sep 2016 22:34:07 +0000 (23:34 +0100)]
v68: move to one process in RAM at a time to make debug easier, tidy stuff

We can now mount the root fs. We can't get any further until there's enough
bits to produce a test binary.

8 years agonc100: fix need_resched breakage
Alan Cox [Tue, 13 Sep 2016 22:33:31 +0000 (23:33 +0100)]
nc100: fix need_resched breakage

8 years agokernel32: uint8_t * for base, also remove bogus PROGTOP define
Alan Cox [Tue, 13 Sep 2016 21:09:48 +0000 (22:09 +0100)]
kernel32: uint8_t * for base, also remove bogus PROGTOP define

We are better seeing where it needs fixing and doing it right

8 years agoswap: type hygeine
Alan Cox [Tue, 13 Sep 2016 21:08:57 +0000 (22:08 +0100)]
swap: type hygeine

We can easily have 32bit ptr, 16bit int and swap over 64K

8 years agon8vem-mark4: note need to move things for monitor
Alan Cox [Tue, 13 Sep 2016 21:08:41 +0000 (22:08 +0100)]
n8vem-mark4: note need to move things for monitor

8 years agoflat/flat_mem: pagemap returns a uint8_t * now
Alan Cox [Tue, 13 Sep 2016 21:08:16 +0000 (22:08 +0100)]
flat/flat_mem: pagemap returns a uint8_t * now

8 years agosyscall_exec32: switch back to tmpbuf for now, and do some type work
Alan Cox [Tue, 13 Sep 2016 21:07:46 +0000 (22:07 +0100)]
syscall_exec32: switch back to tmpbuf for now, and do some type work

void * maths is a gccism

8 years agousermem: move the 32bit get/put here as it makes more sense
Alan Cox [Tue, 13 Sep 2016 21:07:04 +0000 (22:07 +0100)]
usermem: move the 32bit get/put here as it makes more sense

Also add support for the direct and BANK modes

8 years agotty: need to use ifdefs to stop sdcc whining
Alan Cox [Tue, 13 Sep 2016 21:06:16 +0000 (22:06 +0100)]
tty: need to use ifdefs to stop sdcc whining

8 years agomalloc: allow for 16bit int types
Alan Cox [Tue, 13 Sep 2016 21:03:37 +0000 (22:03 +0100)]
malloc: allow for 16bit int types

8 years agolowlevel-z80: save a few bytes (it matters)
Alan Cox [Tue, 13 Sep 2016 21:03:24 +0000 (22:03 +0100)]
lowlevel-z80: save a few bytes (it matters)

8 years agoblkdev: type hygeine
Alan Cox [Tue, 13 Sep 2016 21:02:59 +0000 (22:02 +0100)]
blkdev: type hygeine

8 years ago68000: prototype for the 32bit conversion
Alan Cox [Tue, 13 Sep 2016 21:02:37 +0000 (22:02 +0100)]
68000: prototype for the 32bit conversion

8 years ago68000: turn optimisation off for now until we find a better gcc
Alan Cox [Tue, 13 Sep 2016 11:03:41 +0000 (12:03 +0100)]
68000: turn optimisation off for now until we find a better gcc

8 years agombr: make alignment/padding safe
Alan Cox [Tue, 13 Sep 2016 10:59:20 +0000 (11:59 +0100)]
mbr: make alignment/padding safe

8 years agokernel.h: don't assume bool is byte sized for superblock header
Alan Cox [Tue, 13 Sep 2016 10:57:10 +0000 (11:57 +0100)]
kernel.h: don't assume bool is byte sized for superblock header

8 years ago68000: avoid __builtin_bswap32 for now
Alan Cox [Tue, 13 Sep 2016 10:53:26 +0000 (11:53 +0100)]
68000: avoid __builtin_bswap32 for now

8 years agobuddy: disable user copy
Alan Cox [Tue, 13 Sep 2016 10:48:47 +0000 (11:48 +0100)]
buddy: disable user copy

The versions are wrong but worse may scribble on stuff that it shouldn't so null out for now

8 years agoprocess: newproc needs to set the udata ptr for udata ptr using platforms
Alan Cox [Mon, 12 Sep 2016 23:19:11 +0000 (00:19 +0100)]
process: newproc needs to set the udata ptr for udata ptr using platforms

8 years agodevio: fix stupid bug in kprintf %p
Alan Cox [Mon, 12 Sep 2016 23:18:40 +0000 (00:18 +0100)]
devio: fix stupid bug in kprintf %p

8 years agokernel: allow stack size to be set by platform
Alan Cox [Mon, 12 Sep 2016 23:18:18 +0000 (00:18 +0100)]
kernel: allow stack size to be set by platform

8 years ago68000: add IDE copiers, tidy up
Alan Cox [Mon, 12 Sep 2016 23:17:09 +0000 (00:17 +0100)]
68000: add IDE copiers, tidy up

8 years agov68: fix tricks handling for 68000
Alan Cox [Mon, 12 Sep 2016 23:16:51 +0000 (00:16 +0100)]
v68: fix tricks handling for 68000

8 years ago68000: swab is now not needed as we use the inlines
Alan Cox [Mon, 12 Sep 2016 23:14:20 +0000 (00:14 +0100)]
68000: swab is now not needed as we use the inlines

8 years ago68000: prepare to use 1K stacks
Alan Cox [Mon, 12 Sep 2016 23:13:52 +0000 (00:13 +0100)]
68000: prepare to use 1K stacks

8 years agolowlevel-68000: fix hex dump
Alan Cox [Mon, 12 Sep 2016 23:13:33 +0000 (00:13 +0100)]
lowlevel-68000: fix hex dump

8 years ago68000: use builtin swap functions
Alan Cox [Mon, 12 Sep 2016 23:13:19 +0000 (00:13 +0100)]
68000: use builtin swap functions

8 years agoselect: first cut at select handling
Alan Cox [Mon, 12 Sep 2016 16:39:15 +0000 (17:39 +0100)]
select: first cut at select handling

Some bits probably want a redesign but the basics are now present
and we can start debugging the code meaningfully.

8 years agokernel: Fix Makefile rebuilding everything all the time
Alan Cox [Mon, 12 Sep 2016 16:38:49 +0000 (17:38 +0100)]
kernel: Fix Makefile rebuilding everything all the time

8 years agoMerge pull request #425 from dfffffff/master
EtchedPixels [Sat, 10 Sep 2016 12:43:36 +0000 (13:43 +0100)]
Merge pull request #425 from dfffffff/master

Applications/build.mk: added missing unix utilities, Library/build.mk added missing functions to build the missing utilities.

8 years agoApplications/build.mk: added missing unix utilities, Library/build.mk added missing...
dfffffff [Sat, 10 Sep 2016 00:22:37 +0000 (20:22 -0400)]
Applications/build.mk: added missing unix utilities, Library/build.mk added missing functions to build the missing utilities.

8 years agoMerge pull request #424 from dfffffff/master
EtchedPixels [Mon, 5 Sep 2016 12:15:21 +0000 (13:15 +0100)]
Merge pull request #424 from dfffffff/master

updated two .gitignore for automatically generated include/tool

8 years agoupdated two .gitignore for automatically generated include/tool
dfffffff [Sat, 3 Sep 2016 19:28:19 +0000 (15:28 -0400)]
updated two .gitignore for automatically generated include/tool

8 years agoMerge pull request #423 from dfffffff/master
EtchedPixels [Sat, 3 Sep 2016 16:54:17 +0000 (17:54 +0100)]
Merge pull request #423 from dfffffff/master

refactored which utility

8 years agorefactored which utility
dfffffff [Sat, 3 Sep 2016 12:43:55 +0000 (08:43 -0400)]
refactored which utility

8 years agore-indented/formated
dfffffff [Sat, 3 Sep 2016 12:42:50 +0000 (08:42 -0400)]
re-indented/formated

8 years agoMerge pull request #422 from dfffffff/master
EtchedPixels [Sat, 3 Sep 2016 12:02:38 +0000 (13:02 +0100)]
Merge pull request #422 from dfffffff/master

fix Kernel parallel build

8 years agofix Kernel parallel build
dfffffff [Sat, 3 Sep 2016 11:20:40 +0000 (07:20 -0400)]
fix Kernel parallel build

8 years agoMakefile: further fixups
Alan Cox [Fri, 2 Sep 2016 09:12:32 +0000 (10:12 +0100)]
Makefile: further fixups

Extra dependancies from Brett, and another from me
CLean up some of the other bits
Update the clean targets to clean up more mess

8 years agomakeversion: obsolete
Alan Cox [Thu, 1 Sep 2016 21:45:54 +0000 (22:45 +0100)]
makeversion: obsolete

8 years agotools/makeversion: build version headers
Alan Cox [Thu, 1 Sep 2016 21:45:42 +0000 (22:45 +0100)]
tools/makeversion: build version headers

8 years agoMakefile: force sysinfoblk.h to be built early
Alan Cox [Thu, 1 Sep 2016 21:43:00 +0000 (22:43 +0100)]
Makefile: force sysinfoblk.h to be built early

8 years agouname: fix the 6809 sysinfo problem
Alan Cox [Thu, 1 Sep 2016 21:16:00 +0000 (22:16 +0100)]
uname: fix the 6809 sysinfo problem

8 years agoMerge pull request #418 from dfffffff/master
EtchedPixels [Thu, 1 Sep 2016 15:46:32 +0000 (16:46 +0100)]
Merge pull request #418 from dfffffff/master

refactored ls utility: cleanup, added -R recursive, fixed -r reverse order

8 years agocleanup, added -R recursive, fixed -r reverse order
dfffffff [Thu, 1 Sep 2016 14:57:52 +0000 (10:57 -0400)]
cleanup, added -R recursive, fixed -r reverse order

8 years agoinit: add terminal setting
Alan Cox [Wed, 31 Aug 2016 21:02:39 +0000 (22:02 +0100)]
init: add terminal setting

We don't support setting parity yet - do we need to ?

8 years agoMerge branch 'master' of https://github.com/EtchedPixels/FUZIX
Alan Cox [Wed, 31 Aug 2016 19:11:26 +0000 (20:11 +0100)]
Merge branch 'master' of https://github.com/EtchedPixels/FUZIX

8 years agotty: level 2 and other improvements
Alan Cox [Wed, 31 Aug 2016 19:10:01 +0000 (20:10 +0100)]
tty: level 2 and other improvements

Add what should match the rules for BSD job control. Make sure all
the crap that gets inflicted upon us for this ends up in level2.c
so we don't bloat the smaller platforms.

Do some more preparatory work on the pty support.

8 years agoprocess: fix a race in SIGSTOP handling and slightly optimize newproc
Alan Cox [Wed, 31 Aug 2016 19:09:36 +0000 (20:09 +0100)]
process: fix a race in SIGSTOP handling and slightly optimize newproc

8 years agoMerge pull request #414 from dfffffff/master
EtchedPixels [Wed, 31 Aug 2016 13:45:44 +0000 (14:45 +0100)]
Merge pull request #414 from dfffffff/master

usage now outputs to stderr

8 years agoMerge branch 'master' of https://github.com/EtchedPixels/FUZIX
Alan Cox [Wed, 31 Aug 2016 13:40:30 +0000 (14:40 +0100)]
Merge branch 'master' of https://github.com/EtchedPixels/FUZIX

8 years agoprocess.c: make SIGSTOP/CONT work properly
Alan Cox [Wed, 31 Aug 2016 13:39:49 +0000 (14:39 +0100)]
process.c: make SIGSTOP/CONT work properly

I hope anyway 8)

8 years agousage now outputs to stderr
dfffffff [Wed, 31 Aug 2016 12:11:16 +0000 (08:11 -0400)]
usage now outputs to stderr

8 years agoMerge pull request #412 from dfffffff/master
EtchedPixels [Wed, 31 Aug 2016 10:53:41 +0000 (11:53 +0100)]
Merge pull request #412 from dfffffff/master

cosmetic

8 years agoMerge pull request #413 from vandys/kernel
EtchedPixels [Wed, 31 Aug 2016 10:53:17 +0000 (11:53 +0100)]
Merge pull request #413 from vandys/kernel

Minor edit on indentation to make it less misleading

8 years agoMinor edit on indentation to make it less misleading
Andy Valencia [Wed, 31 Aug 2016 02:28:55 +0000 (19:28 -0700)]
Minor edit on indentation to make it less misleading

8 years agocosmetic
dfffffff [Wed, 31 Aug 2016 02:01:36 +0000 (22:01 -0400)]
cosmetic

8 years agostty: struct winsz is needed
Alan Cox [Wed, 31 Aug 2016 00:23:23 +0000 (01:23 +0100)]
stty: struct winsz is needed

8 years agobuddy: add header
Alan Cox [Tue, 30 Aug 2016 23:59:13 +0000 (00:59 +0100)]
buddy: add header

8 years agoopen: fix bug introduced in handling of invalid directory paths during an open
Alan Cox [Tue, 30 Aug 2016 22:10:59 +0000 (23:10 +0100)]
open: fix bug introduced in handling of invalid directory paths during an open

8 years agoMerge pull request #408 from beretta42/net_native
EtchedPixels [Tue, 30 Aug 2016 21:48:00 +0000 (22:48 +0100)]
Merge pull request #408 from beretta42/net_native

net_native: add async event for remote shutdown.