Alan Cox [Thu, 23 Jun 2016 16:49:06 +0000 (17:49 +0100)]
libc: fix includes for abs/labs
Alan Cox [Thu, 23 Jun 2016 16:48:05 +0000 (17:48 +0100)]
ld09: update so it builds on pure ANSI compilers
Alan Cox [Thu, 23 Jun 2016 16:47:45 +0000 (17:47 +0100)]
scc: add draft 6809 and 6801 code gen, fix a bug in the Z80 case
Alan Cox [Thu, 23 Jun 2016 12:52:34 +0000 (13:52 +0100)]
copt: add
Alan Cox [Thu, 23 Jun 2016 12:12:35 +0000 (13:12 +0100)]
cc: initial Z80 support
Alan Cox [Wed, 22 Jun 2016 19:37:35 +0000 (20:37 +0100)]
Merge branch 'master' of https://github.com/EtchedPixels/FUZIX
Alan Cox [Wed, 22 Jun 2016 19:37:28 +0000 (20:37 +0100)]
ld09: Z80 cross build
Alan Cox [Wed, 22 Jun 2016 19:37:02 +0000 (20:37 +0100)]
as09: Makefile for Z80 cross
Alan Cox [Wed, 22 Jun 2016 19:34:02 +0000 (20:34 +0100)]
Small C 3.0 with some cleanups and ANSI processing
I've attached the 6809 code generator for the older compiler version as well.
We should be able to get a real C compiler in the space we have (CP/M manages it
for a passable ANSI C) but this will be fun for now and for debugging work.
EtchedPixels [Wed, 22 Jun 2016 19:02:19 +0000 (20:02 +0100)]
Merge pull request #363 from nealcrook/build-filesystem-ng
First exposure of tool for per-application control of root disk contents
Neal Andrew Crook [Wed, 22 Jun 2016 18:14:27 +0000 (19:14 +0100)]
Change separator from : to whitespace
Add "link" command to futures list.
Alan Cox [Wed, 22 Jun 2016 11:54:08 +0000 (12:54 +0100)]
bank16k: fix bug reported by Brett
Alan Cox [Wed, 22 Jun 2016 09:09:14 +0000 (10:09 +0100)]
runcpm: no stdio needed
Alan Cox [Tue, 21 Jun 2016 20:27:07 +0000 (21:27 +0100)]
libc: split libm nicely add a draft tinymalloc
Alan Cox [Tue, 21 Jun 2016 18:42:52 +0000 (19:42 +0100)]
libc: fixups
Neal Andrew Crook [Tue, 21 Jun 2016 18:28:35 +0000 (19:28 +0100)]
Add factor executable (was missing from ucp script)
EtchedPixels [Tue, 21 Jun 2016 17:48:22 +0000 (18:48 +0100)]
Merge pull request #364 from beretta42/master
Fix some typos in libc includes
Alan Cox [Tue, 21 Jun 2016 17:45:34 +0000 (18:45 +0100)]
libm: the backbone of the FP maths support
Only actually using the single precision paths in the current platforms as the
SDCC Z80 port only supports "float", so we define double as float and #define
over the methods.
Anyone coming to this with a bigger box (can we do real doubles on 6809?) will need
to do a fair chunk of further work.
Brett Gordon [Tue, 21 Jun 2016 17:11:16 +0000 (13:11 -0400)]
libs: typos in declarations
Brett Gordon [Tue, 21 Jun 2016 17:09:57 +0000 (13:09 -0400)]
levee: remove redeclaration of index, already declared in string.h
Alan Cox [Tue, 21 Jun 2016 13:52:15 +0000 (14:52 +0100)]
rand48: needs the header
Alan Cox [Mon, 20 Jun 2016 19:03:59 +0000 (20:03 +0100)]
Merge branch 'master' of https://github.com/EtchedPixels/FUZIX
Alan Cox [Mon, 20 Jun 2016 19:03:38 +0000 (20:03 +0100)]
libc: add some stragglers
Alan Cox [Mon, 20 Jun 2016 19:02:58 +0000 (20:02 +0100)]
include: fixes for new C funcs
Alan Cox [Mon, 20 Jun 2016 19:02:29 +0000 (20:02 +0100)]
drand48: the 48bit random functions
Untested at this point
Alan Cox [Mon, 20 Jun 2016 19:02:04 +0000 (20:02 +0100)]
libc: first batch of libm work
Alan Cox [Mon, 20 Jun 2016 18:58:17 +0000 (19:58 +0100)]
a64l: some of the crap in a libc is amazing
EtchedPixels [Sun, 19 Jun 2016 15:31:50 +0000 (16:31 +0100)]
Merge pull request #362 from nealcrook/lib-fix
Tweaks to allow library to build on 6809
Neal Andrew Crook [Sat, 18 Jun 2016 23:05:53 +0000 (00:05 +0100)]
Revise .gitignore for additional transient file copied from kernel tree
Neal Andrew Crook [Sat, 18 Jun 2016 23:03:03 +0000 (00:03 +0100)]
First exposure of tool for per-application control of root disk
contents. Refer to Documentation/build-filesystem-ng
Neal Andrew Crook [Sat, 18 Jun 2016 22:18:47 +0000 (23:18 +0100)]
Tweaks to allow library to build on 6809
Alan Cox [Sat, 18 Jun 2016 21:52:48 +0000 (22:52 +0100)]
malloc: commit new header file
Oops... 8(
Alan Cox [Sat, 18 Jun 2016 21:51:16 +0000 (22:51 +0100)]
asctime: Fix compile failure
Alan Cox [Sat, 18 Jun 2016 10:16:33 +0000 (11:16 +0100)]
README.md: CP/M emulator crossed off the list
Alan Cox [Fri, 17 Jun 2016 22:34:40 +0000 (23:34 +0100)]
libc: Generate multiple libraries
We now generate
libc
libm FP versions of standard routines that have smaller integer only ones
termcap
curses
as per proper Unix expectations and to avoid namespace problems with non termcap
or curses apps and libcurses
Alan Cox [Fri, 17 Jun 2016 22:34:20 +0000 (23:34 +0100)]
libc: remove \r\n markers from assert.c and tidy
Alan Cox [Fri, 17 Jun 2016 22:32:45 +0000 (23:32 +0100)]
libc: update the includes to be closer to standards
Fix some clashes FIXME a couple of problem cases
Alan Cox [Fri, 17 Jun 2016 22:32:06 +0000 (23:32 +0100)]
cut: fix warning
Alan Cox [Fri, 17 Jun 2016 22:32:00 +0000 (23:32 +0100)]
passwd: fix warnings
Alan Cox [Fri, 17 Jun 2016 22:31:48 +0000 (23:31 +0100)]
fgrep: fix warning
Alan Cox [Fri, 17 Jun 2016 22:31:34 +0000 (23:31 +0100)]
ed: use standard isfoo names
Alan Cox [Fri, 17 Jun 2016 22:30:50 +0000 (23:30 +0100)]
fsck: move to a cut of the same fsck used for Standalone
The goal being eventually to be able to use this fsck in both standalone and
application cases.
Alan Cox [Fri, 17 Jun 2016 18:30:01 +0000 (19:30 +0100)]
Merge branch 'master' of https://github.com/EtchedPixels/FUZIX
EtchedPixels [Fri, 17 Jun 2016 16:31:15 +0000 (17:31 +0100)]
Merge pull request #360 from beretta42/ioctl
Add dw_transaction ioctl for Drivewire
Brett Gordon [Fri, 17 Jun 2016 12:51:24 +0000 (08:51 -0400)]
drivewire: conform to kernel.h's ioctl number format
Alan Cox [Fri, 17 Jun 2016 12:03:47 +0000 (13:03 +0100)]
libc: move curses into its own library as it should be
Alan Cox [Fri, 17 Jun 2016 11:56:07 +0000 (12:56 +0100)]
libc: replace malloc() with a classic K&R style malloc algorithm
Shorter, simpler and neater. Hopefully correct (or it'll be fun debugging all the
app crashes ;-)). realloc would benefit from being smart about using the adjacent
buffers to grow rather than the dumb free/alloc approach.
Alan
Alan Cox [Fri, 17 Jun 2016 11:55:35 +0000 (12:55 +0100)]
sh: force char to be signed
Alan Cox [Fri, 17 Jun 2016 11:55:18 +0000 (12:55 +0100)]
runcpm: typo
Alan Cox [Fri, 17 Jun 2016 11:41:52 +0000 (12:41 +0100)]
libclean: another 3.6 fix
Alan Cox [Fri, 17 Jun 2016 11:32:13 +0000 (12:32 +0100)]
libc: some updates for SDCC 3.6
Alan Cox [Fri, 17 Jun 2016 10:31:06 +0000 (11:31 +0100)]
ioctl: add a drivewire range for Brett
Brett Gordon [Thu, 16 Jun 2016 13:32:19 +0000 (09:32 -0400)]
add drivewire.h to kernel includes
Brett Gordon [Thu, 16 Jun 2016 13:29:18 +0000 (09:29 -0400)]
add drivewire.h to kernel includes
Alan Cox [Wed, 15 Jun 2016 14:37:25 +0000 (15:37 +0100)]
runcpm: after last nights hacks it will now run ZORK
Alan Cox [Wed, 15 Jun 2016 14:35:47 +0000 (15:35 +0100)]
lowlevel-z80: fix null handler
Alan Cox [Tue, 14 Jun 2016 23:49:57 +0000 (00:49 +0100)]
fcc: add support for --valgrind
While I'm debugging sdcc 3.6.0 crashes
Alan Cox [Tue, 14 Jun 2016 23:49:24 +0000 (00:49 +0100)]
cpm: move the emulator out and begin work on fixing it all
Brett Gordon [Sun, 12 Jun 2016 17:30:30 +0000 (13:30 -0400)]
dragon-nx32: add ioctl for dw_transaction
Brett Gordon [Sun, 12 Jun 2016 17:30:05 +0000 (13:30 -0400)]
multicomp09: add ioctl for dw_transaction
Brett Gordon [Sun, 12 Jun 2016 17:27:25 +0000 (13:27 -0400)]
multicomp09: dw_tranaction to support direct to userspace xfers
Brett Gordon [Sun, 12 Jun 2016 17:25:45 +0000 (13:25 -0400)]
dragon-nx32: dw_transaction to support direct to userspace
Brett Gordon [Sun, 12 Jun 2016 17:17:19 +0000 (13:17 -0400)]
multicomp09: add direct to userspace dw_transaction
Brett Gordon [Sun, 12 Jun 2016 17:12:21 +0000 (13:12 -0400)]
dragon-nx32: direct to userspace dw_transaction
Brett Gordon [Fri, 3 Jun 2016 13:07:24 +0000 (09:07 -0400)]
coco3: add ioctl for dw_transaction.
Brett Gordon [Fri, 3 Jun 2016 12:39:14 +0000 (08:39 -0400)]
coco3: add flag to dw_transaction optionally do user mode xfer
Alan Cox [Mon, 6 Jun 2016 17:05:25 +0000 (18:05 +0100)]
micropack: build fix
Alan Cox [Mon, 6 Jun 2016 17:04:59 +0000 (18:04 +0100)]
cpp: ANSIfy so it passes fcc ok
EtchedPixels [Fri, 3 Jun 2016 11:20:41 +0000 (12:20 +0100)]
Merge pull request #357 from beretta42/master
coco3: 2M bug: don't scan(aka overwrite) kernel memory.
Brett Gordon [Fri, 3 Jun 2016 10:52:54 +0000 (06:52 -0400)]
coco3: 2M bug: don't scan(aka overwrite) kernel memory.
Alan Cox [Thu, 2 Jun 2016 22:59:27 +0000 (23:59 +0100)]
dw: add Makefiles for Z80
Alan Cox [Thu, 2 Jun 2016 22:59:12 +0000 (23:59 +0100)]
dw: Fix sdcc build
Alan Cox [Thu, 2 Jun 2016 22:58:30 +0000 (23:58 +0100)]
levee: Fix register i -> register int i as required by SDCC 3.6 rc 1
Alan Cox [Thu, 2 Jun 2016 22:56:23 +0000 (23:56 +0100)]
pilot: Add rpilot, an implementation of the pilot programming language
Taken from http://rpilot.sourceforge.net/pilot.html and cleaned up to fix
various non-ANSIisms, missing includes and other mess. Could still do with
more of a tidy up and space optimisations, but hey it fits, it's silly and
it's in keeping with the period.
Alan Cox [Thu, 2 Jun 2016 21:56:43 +0000 (22:56 +0100)]
man: fix the formatting with indent
Alan Cox [Thu, 2 Jun 2016 21:56:20 +0000 (22:56 +0100)]
man: Fix various build problems with sdcc
Alan Cox [Thu, 2 Jun 2016 21:52:20 +0000 (22:52 +0100)]
Makefile: add -f to avoid rm errors
Alan Cox [Thu, 2 Jun 2016 21:31:19 +0000 (22:31 +0100)]
adv14a/b: forgot these (wrong pattern when updating)
Alan Cox [Thu, 2 Jun 2016 21:21:02 +0000 (22:21 +0100)]
Makefile: lets have one!
EtchedPixels [Thu, 2 Jun 2016 17:58:50 +0000 (18:58 +0100)]
Merge pull request #355 from beretta42/master
coco3: autodetect and use up to 2M of RAM
Brett Gordon [Thu, 2 Jun 2016 17:53:21 +0000 (13:53 -0400)]
coco3: autodetect and use up to 2M of RAM
Tormod Volden [Wed, 1 Jun 2016 18:36:12 +0000 (20:36 +0200)]
Add MWC units.c to 6809 build
Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
Tormod Volden [Wed, 1 Jun 2016 18:25:48 +0000 (20:25 +0200)]
ucp: Allow comments and be more quiet when reading from file
The output is less confusing without all the prompts printed.
Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
Tormod Volden [Tue, 31 May 2016 19:06:24 +0000 (21:06 +0200)]
ucp/fuzix_fs.h: Convert // comments to please compiler
Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
Alan Cox [Wed, 1 Jun 2016 20:20:30 +0000 (21:20 +0100)]
Merge branch 'master' of https://github.com/EtchedPixels/FUZIX
Alan Cox [Wed, 1 Jun 2016 17:27:00 +0000 (18:27 +0100)]
adventures: Commit regenerated games with save/load and bug fixes
EtchedPixels [Wed, 1 Jun 2016 12:01:16 +0000 (13:01 +0100)]
Merge pull request #354 from nealcrook/apps3
Apps3 - a working man
Neal Andrew Crook [Tue, 31 May 2016 21:10:44 +0000 (22:10 +0100)]
Add qrun
Neal Andrew Crook [Tue, 31 May 2016 20:53:20 +0000 (21:53 +0100)]
Add all the built Application/V7/cmd and Application/util executables
to ucp-extras-script.txt
Some are duplicates - in which case they are commented out ("##") - which
causes an ignorable error because ucp doesn't have a comment command. Still,
it seems useful to list them as a segue to working out which version is
more useful and thereby making a conscious choice of one or t'other.
Neal Andrew Crook [Tue, 31 May 2016 20:04:05 +0000 (21:04 +0100)]
Make termcap.c build (fix type mismatches with prototypes)
Add to makefile and to ucp-extras-script.txt
Add tget and sed to ucp-extras-script.txt - already in the makefile.
Neal Andrew Crook [Tue, 31 May 2016 19:44:50 +0000 (20:44 +0100)]
Replace man.c (which required a separate external nroff program) with another
GPL'd version from the ELKS project that has a build-in nroff-alike formatter.
Tweaked it to build/run under (Linux and) FUZIX.
Add man.1 typo-fixed and revised for FUZIX.
Add manpage directory structure with ucp-extras-script.txt
Remove levee from ucp-extras-script.txt as it's already in ucp-script.txt.
Add .gitignore which I thought I'd already committed.
Tormod Volden [Tue, 31 May 2016 12:36:08 +0000 (14:36 +0200)]
Applications/games/Makefile.6809: Use non-stdio crt0 when possible
Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
Alan Cox [Tue, 31 May 2016 11:48:02 +0000 (12:48 +0100)]
syscalls.h: fix sockaddr warning
Alan Cox [Tue, 31 May 2016 11:46:50 +0000 (12:46 +0100)]
syscalls.h: pre-declare struct rlimit
Alan Cox [Tue, 31 May 2016 11:45:53 +0000 (12:45 +0100)]
syscall6502: fix silly warning
Tormod Volden [Sun, 29 May 2016 15:03:33 +0000 (17:03 +0200)]
Library/include/poll.h: Add missing semicolon
Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
Tormod Volden [Sun, 29 May 2016 11:41:31 +0000 (13:41 +0200)]
vt.c: Fix off-by-one in clear to end of line escape sequence
It wouldn't clear the last column on the screen.
Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
Tormod Volden [Sun, 29 May 2016 09:34:31 +0000 (11:34 +0200)]
Allow return value passing from ioctl
Fixes lost values from vt_ioctl().
Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
Tormod Volden [Sat, 28 May 2016 16:10:34 +0000 (18:10 +0200)]
Build: Add dragon-nx32 kernel build
This also add a common kernel target for gcc/LWTOOLS that builds a DECB
binary.
Note that this build system doesn't provide text2 (and discard) segments
so it cannot produce working kernels yet. Still useful for compile tests
on travis.
Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
Tormod Volden [Sat, 28 May 2016 16:10:33 +0000 (18:10 +0200)]
Build: Sync lwlink wrapper with upstream development version
This adds the --oformat and --script options and fixes up the -Map option.
Signed-off-by: Tormod Volden <debian.tormod@gmail.com>