Alan Cox [Thu, 23 Nov 2017 21:45:08 +0000 (21:45 +0000)]
filesys: Fix corruption and buffer leak on bad input address
Alan Cox [Thu, 23 Nov 2017 02:27:32 +0000 (02:27 +0000)]
65c816: further work on things like return paths and fork() corrections
We still have a weird failure on stat() but a lot more stuff seems to
want to behave now
Alan Cox [Thu, 23 Nov 2017 02:27:01 +0000 (02:27 +0000)]
v65c816: ensure the failing trap handler sets a8/i8
Alan Cox [Thu, 23 Nov 2017 02:26:34 +0000 (02:26 +0000)]
v65c816: Fix hd driver to return correct value
Alan Cox [Thu, 23 Nov 2017 02:26:23 +0000 (02:26 +0000)]
v65c816: remove some debug
Alan Cox [Thu, 23 Nov 2017 02:25:56 +0000 (02:25 +0000)]
devio: correctly mark failed read block as unusable
Alan Cox [Thu, 23 Nov 2017 02:25:41 +0000 (02:25 +0000)]
filesys: handle 8bit bools
Alan Cox [Wed, 22 Nov 2017 17:55:32 +0000 (17:55 +0000)]
6502: Add more build Makefiles
"make" now builds a fairly substantial set of tools
Alan Cox [Wed, 22 Nov 2017 17:55:02 +0000 (17:55 +0000)]
as09: build on 6502
Alan Cox [Wed, 22 Nov 2017 17:54:28 +0000 (17:54 +0000)]
6502: Fix quiz.c
Alan Cox [Wed, 22 Nov 2017 17:54:08 +0000 (17:54 +0000)]
6502: Add V7 makefiles
Alan Cox [Wed, 22 Nov 2017 17:53:38 +0000 (17:53 +0000)]
6502: Make clear build on cc65
Alan Cox [Wed, 22 Nov 2017 17:53:07 +0000 (17:53 +0000)]
6502; Build smallC on 6502
Alan Cox [Wed, 22 Nov 2017 17:52:29 +0000 (17:52 +0000)]
6502: more const adjustment for cc65
Alan Cox [Wed, 22 Nov 2017 17:51:52 +0000 (17:51 +0000)]
6502: cc65 doesn't understand 0 sized struct terminal arrays
Work around it the 'traditional' way
Alan Cox [Wed, 22 Nov 2017 17:51:12 +0000 (17:51 +0000)]
6502: more app tweaks for 6502 - keep large arrays off stack
Alan Cox [Wed, 22 Nov 2017 17:50:17 +0000 (17:50 +0000)]
6502: cc65 is very fussy at tines - fix up the moans
Alan Cox [Wed, 22 Nov 2017 15:29:38 +0000 (15:29 +0000)]
games: build on 6502
Alan Cox [Wed, 22 Nov 2017 15:29:15 +0000 (15:29 +0000)]
qrun: turn off graphics as we aren't yet doing it
Alan Cox [Wed, 22 Nov 2017 15:11:42 +0000 (15:11 +0000)]
V7/cmd: build on 6502
Alan Cox [Wed, 22 Nov 2017 15:11:21 +0000 (15:11 +0000)]
library: copy userstructs.h for non Z80 case
Alan Cox [Wed, 22 Nov 2017 15:11:04 +0000 (15:11 +0000)]
6502: build curses/termcap
Alan Cox [Wed, 22 Nov 2017 15:10:40 +0000 (15:10 +0000)]
utils: Fix 6502 termcap build
Alan Cox [Wed, 22 Nov 2017 15:10:25 +0000 (15:10 +0000)]
ed: Make it build on 6502
Alan Cox [Wed, 22 Nov 2017 00:47:46 +0000 (00:47 +0000)]
fcc: report signals as errors when sdcc crashes
Alan Cox [Tue, 21 Nov 2017 21:24:10 +0000 (21:24 +0000)]
setdate: Forgot to commit the final fix
Alan Cox [Thu, 16 Nov 2017 23:55:49 +0000 (23:55 +0000)]
function: allow struct * but not struct arguments
Alan Cox [Thu, 16 Nov 2017 23:54:23 +0000 (23:54 +0000)]
lex: allow for struct/union in types in args etc
Alan Cox [Thu, 16 Nov 2017 23:54:02 +0000 (23:54 +0000)]
preproc: fix silly bug
Alan Cox [Thu, 16 Nov 2017 23:53:43 +0000 (23:53 +0000)]
sym: Fix hang with overlong symbol
Alan Cox [Thu, 16 Nov 2017 23:22:10 +0000 (23:22 +0000)]
sym: allow auto variables to be assigned expressions
Nice trivial change. Fixing statics is a different ball game alas.
Alan Cox [Thu, 16 Nov 2017 23:01:38 +0000 (23:01 +0000)]
z80: more bits
Alan Cox [Thu, 16 Nov 2017 19:03:27 +0000 (19:03 +0000)]
z80: basic string/char functions yet to do
Alan Cox [Thu, 16 Nov 2017 19:03:03 +0000 (19:03 +0000)]
z80: initial build fixes
Alan Cox [Thu, 16 Nov 2017 18:55:10 +0000 (18:55 +0000)]
cc: z80 helpers
First drafts
Alan Cox [Thu, 16 Nov 2017 17:14:49 +0000 (17:14 +0000)]
cc: add initial runtime pieces
Need a decent signed divide implementation adding to crun
Alan Cox [Thu, 16 Nov 2017 17:14:36 +0000 (17:14 +0000)]
cc: temporaries in current directory
Alan Cox [Thu, 16 Nov 2017 15:02:09 +0000 (15:02 +0000)]
frontend: fix some glitches in temporary removal
Alan Cox [Thu, 16 Nov 2017 15:01:57 +0000 (15:01 +0000)]
codez80: inline 16bit subtraction
Alan Cox [Thu, 16 Nov 2017 15:00:51 +0000 (15:00 +0000)]
z80: fix short relative branches to unknown symbols
We now error them with a rather more useful message
Alan Cox [Wed, 15 Nov 2017 23:10:19 +0000 (23:10 +0000)]
cc: lots of small fixes to make it functional
There is plenty left to do (search paths for libraries, automatic libc
inclusion and the like), but it is now minimally useable for Z80 at least
Alan Cox [Wed, 15 Nov 2017 23:08:47 +0000 (23:08 +0000)]
smallc: fix warning
Alan Cox [Wed, 15 Nov 2017 23:08:05 +0000 (23:08 +0000)]
small c: Send errors to stderr so we seen them under cc
Alan Cox [Wed, 15 Nov 2017 23:07:31 +0000 (23:07 +0000)]
Makefile.linux: Set a CROSS define so we can build a test harness mode
Alan Cox [Wed, 15 Nov 2017 23:06:48 +0000 (23:06 +0000)]
as: Fix RST handling
The old code expected the Intel 8080 syntax for RST not the Z80 one.
Alan Cox [Wed, 15 Nov 2017 23:06:14 +0000 (23:06 +0000)]
as: We use 16 char symbols in ld so we must match in as
Alan Cox [Wed, 15 Nov 2017 23:05:08 +0000 (23:05 +0000)]
ld: Fix library handling, set binary executable
When we rescan a library we don't want to import the same module again and
decide we have duplicate symbols.
Alan Cox [Wed, 15 Nov 2017 21:12:04 +0000 (21:12 +0000)]
as: Allow #constant in Z80.
Yes it's an abomination but some assemblers in common use want this.
Alan Cox [Wed, 15 Nov 2017 21:11:02 +0000 (21:11 +0000)]
cc: add front end to build
Alan Cox [Wed, 15 Nov 2017 21:10:03 +0000 (21:10 +0000)]
Merge branch 'master' of https://github.com/EtchedPixels/FUZIX
Alan Cox [Wed, 15 Nov 2017 21:09:50 +0000 (21:09 +0000)]
rtc: Headers for RTC in kernel and user
Alan Cox [Wed, 15 Nov 2017 21:08:11 +0000 (21:08 +0000)]
as: Fix the register+offset 8bit absolute case
The simple case is (ix + const) but in theory at least we might have an
absolute symbol.
Alan Cox [Wed, 15 Nov 2017 21:07:54 +0000 (21:07 +0000)]
ld: trap more obvious symbol errors
Alan Cox [Wed, 15 Nov 2017 21:07:11 +0000 (21:07 +0000)]
obj: Fix object file format 32bit alignment
Otherwise it'll be a pain in the butt for cross tools and testing
(This breaks every existing object file... at least natively)
EtchedPixels [Wed, 15 Nov 2017 12:47:00 +0000 (12:47 +0000)]
Merge pull request #558 from beretta42/irc2
irc: 6809 compile, add to fs
Brett Gordon [Tue, 14 Nov 2017 03:15:54 +0000 (22:15 -0500)]
irc: 6809 compile, add to fs
Alan Cox [Wed, 15 Nov 2017 00:17:31 +0000 (00:17 +0000)]
cc: minor front end tweaks
It almost works .. yay!
Alan Cox [Tue, 14 Nov 2017 23:21:39 +0000 (23:21 +0000)]
cc: add a frontend
Not yet tested!
Alan Cox [Tue, 14 Nov 2017 00:50:03 +0000 (00:50 +0000)]
fsck: note the problem to fix
Alan Cox [Tue, 14 Nov 2017 00:49:38 +0000 (00:49 +0000)]
z80pack: turn on rtc
Alan Cox [Tue, 14 Nov 2017 00:49:15 +0000 (00:49 +0000)]
libs/TODO: status update
Alan Cox [Tue, 14 Nov 2017 00:48:55 +0000 (00:48 +0000)]
init: set a sane default umask
Alan Cox [Tue, 14 Nov 2017 00:48:41 +0000 (00:48 +0000)]
setdate: support RTC if present
Alan Cox [Tue, 14 Nov 2017 00:47:07 +0000 (00:47 +0000)]
z80pack: rtc support
Alan Cox [Tue, 14 Nov 2017 00:46:33 +0000 (00:46 +0000)]
kernel: add hooks for rtc
Alan Cox [Tue, 14 Nov 2017 00:46:01 +0000 (00:46 +0000)]
net: and the net_native part..
Forgot it
Alan Cox [Tue, 14 Nov 2017 00:44:40 +0000 (00:44 +0000)]
net_native.h: make this match the kernel changes
Remember to recompile your netd to match the new kernel or it'll do really
weird stuff
Alan Cox [Tue, 14 Nov 2017 00:43:30 +0000 (00:43 +0000)]
networking: Fixes and updates
Provide a 'connection has been reset rudely' callback
Fix the confusion between sd.err and s->s_error
Hopefully get the error handling on read/write correct now
At this point it seems to be behaving sanely.
Alan Cox [Tue, 14 Nov 2017 00:41:35 +0000 (00:41 +0000)]
netd: rework logic for closedown
Implement a poll function in uip for a user requested callback. That allows
us to rework all the polling close stuff rather more nicely and the end
result now seems to avoid getting stuck.
Also when we are asked for SS_CONNECTING move to it as we were forgetting
to ack the state change.
Alan Cox [Mon, 13 Nov 2017 14:15:02 +0000 (14:15 +0000)]
ld: add more useful symbols, allow for bigendian testing
Alan Cox [Mon, 13 Nov 2017 14:14:54 +0000 (14:14 +0000)]
TODO: update
Alan Cox [Mon, 13 Nov 2017 14:14:37 +0000 (14:14 +0000)]
as: trap unresolved subtractions as we can't currently represent them
Alan Cox [Mon, 13 Nov 2017 11:46:51 +0000 (11:46 +0000)]
utils: add "line"
Not a very useful command in the normal run of the mill but it's part of the
base command list expected so provide it anyway.
Alan Cox [Mon, 13 Nov 2017 01:40:48 +0000 (01:40 +0000)]
libs: add some missing post 5.2 functions we encountered
These look worth adding to libc
Alan Cox [Mon, 13 Nov 2017 01:34:58 +0000 (01:34 +0000)]
Merge branch 'master' of https://github.com/EtchedPixels/FUZIX
Alan Cox [Mon, 13 Nov 2017 01:34:50 +0000 (01:34 +0000)]
netd: TODO
Alan Cox [Mon, 13 Nov 2017 01:33:07 +0000 (01:33 +0000)]
process; multiple fixes
- put the process into ready state if it tries to sleep on a signal
(we need to address this better in chksigs instead see issues)
- remember to wake init if we reparent it something
- fix various nready corner cases that causes weird hangs and behavuour
Alan Cox [Mon, 13 Nov 2017 01:32:47 +0000 (01:32 +0000)]
tty: allow signals to break out of a tty write to a tty that is flow controlled
Alan Cox [Mon, 13 Nov 2017 01:19:08 +0000 (01:19 +0000)]
init: fix run level switching, tidy up stuff we don't need to do
There's no pint trying to create a new utmp - the root fs will be r/o at
that point
The extra fd manipulation is guaranteed not required
No point doing work to change from run level to the same one !
The main change however is to set the runlevel before we task switch
EtchedPixels [Sun, 12 Nov 2017 23:07:56 +0000 (23:07 +0000)]
Merge pull request #548 from beretta42/htget
htget: quick fixes
Alan Cox [Sun, 12 Nov 2017 21:33:45 +0000 (21:33 +0000)]
remount, umount: updates for mtab
Fix parsing in remount
Add umount -a support to the umount tool
Alan Cox [Sun, 12 Nov 2017 21:31:55 +0000 (21:31 +0000)]
devio: change meaning of return from bfree
We need this to keep inode.c sane. As nobody else uses the return code
this *should* be fine.
Alan Cox [Sun, 12 Nov 2017 21:08:25 +0000 (21:08 +0000)]
kernel: propogate I/O errors properly
Alan Cox [Sun, 12 Nov 2017 21:07:37 +0000 (21:07 +0000)]
who: fix use as users when a path is given
Alan Cox [Sun, 12 Nov 2017 21:07:04 +0000 (21:07 +0000)]
fsck: correct a comment
Alan Cox [Sun, 12 Nov 2017 21:06:56 +0000 (21:06 +0000)]
mkfs: use O_SYNC
Alan Cox [Sun, 12 Nov 2017 21:05:33 +0000 (21:05 +0000)]
remount: parse the fstab allowing for tab as well as space
Alan Cox [Sun, 12 Nov 2017 18:59:06 +0000 (18:59 +0000)]
fsck: support fsck by mountpoint and a general fsck -a
Alan Cox [Sun, 12 Nov 2017 18:58:55 +0000 (18:58 +0000)]
init: don't reveal if user exists
Alan Cox [Sun, 12 Nov 2017 18:58:28 +0000 (18:58 +0000)]
who: reformat and add the ability to run it as 'users' as well
Alan Cox [Sun, 12 Nov 2017 18:57:51 +0000 (18:57 +0000)]
stty: better default
Alan Cox [Sat, 11 Nov 2017 23:24:16 +0000 (23:24 +0000)]
setdate: add a date setting tool to run in /etc/rc
Shades of MS-DOS but it does the job until we have some clock reading
tools for various machines
Alan Cox [Sat, 11 Nov 2017 22:43:18 +0000 (22:43 +0000)]
swap.c: facepalm
The free stats look rather saner now
Alan Cox [Sat, 11 Nov 2017 22:40:52 +0000 (22:40 +0000)]
Makefile.z80: build ld
Alan Cox [Sat, 11 Nov 2017 22:40:43 +0000 (22:40 +0000)]
ld: add commentary
Alan Cox [Sat, 11 Nov 2017 22:16:00 +0000 (22:16 +0000)]
Applications: add more to the build and clean ups
Alan Cox [Sat, 11 Nov 2017 21:49:02 +0000 (21:49 +0000)]
utils add 'clear'
Not having this was driving me slowly nuts 8)
Alan Cox [Sat, 11 Nov 2017 21:35:25 +0000 (21:35 +0000)]
levee: move the makefile
Alan Cox [Sat, 11 Nov 2017 21:35:04 +0000 (21:35 +0000)]
ue: move the Makefile
Alan Cox [Sat, 11 Nov 2017 21:17:55 +0000 (21:17 +0000)]
htget: Fix various bugs in data processing
With this I can now htget a file and actually get what appear to be all the
right bits the other end.