David Given [Sat, 13 Jun 2015 11:34:32 +0000 (13:34 +0200)]
Fix i386 issues with lwtools.
David Given [Sat, 13 Jun 2015 11:29:09 +0000 (13:29 +0200)]
Fix spilling orrer.
David Given [Sat, 13 Jun 2015 10:36:13 +0000 (12:36 +0200)]
Merge from upstream.
David Given [Sat, 13 Jun 2015 10:33:42 +0000 (12:33 +0200)]
Slowly getting there...
David Given [Sat, 13 Jun 2015 10:28:39 +0000 (12:28 +0200)]
Change MSP430 install path ('Error changing permissions to 0755 in /usr/local/bin/search'?).
David Given [Sat, 13 Jun 2015 10:20:24 +0000 (12:20 +0200)]
Turns out the MSP430 compiler needs the 32-bit environment.
Tormod Volden [Sat, 13 Jun 2015 09:33:26 +0000 (11:33 +0200)]
Build: Add dragon-nx32 to travis CI script
Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
Alan Cox [Sat, 13 Jun 2015 09:47:01 +0000 (10:47 +0100)]
zx128: add vtattr_cap
Alan Cox [Sat, 13 Jun 2015 09:46:31 +0000 (10:46 +0100)]
px4plus: vtattr_cap addition
Alan Cox [Sat, 13 Jun 2015 09:46:07 +0000 (10:46 +0100)]
mtx: add vtattr_cap and note awkward special case to do
Alan Cox [Sat, 13 Jun 2015 09:45:53 +0000 (10:45 +0100)]
bihx: fix warning
Tormod Volden [Sat, 13 Jun 2015 09:06:56 +0000 (11:06 +0200)]
Build: Add reboot to dragon-nx32
Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
Tormod Volden [Sat, 13 Jun 2015 09:06:55 +0000 (11:06 +0200)]
Build: Add init to the root directory
Because of how the parsing is done, it needs a double slash.
Also add the missing inittab.
Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
Tormod Volden [Sat, 13 Jun 2015 09:06:54 +0000 (11:06 +0200)]
Build: Build disk not floppy image for dragon-nx32
Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
Tormod Volden [Sat, 13 Jun 2015 09:06:53 +0000 (11:06 +0200)]
Build: gcc: Don't compile into separate sections
Now that we link libraries correctly, we shouldn't
need the garbage collection of unused objects.
Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
Tormod Volden [Sat, 13 Jun 2015 09:06:52 +0000 (11:06 +0200)]
Build: Link 6809 libc and libgcc as libraries
Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
David Given [Fri, 12 Jun 2015 20:28:33 +0000 (22:28 +0200)]
Tweak msp430 compiler setup.
Tormod Volden [Fri, 12 Jun 2015 17:10:46 +0000 (19:10 +0200)]
Build: Use lwtools ld wrapper for 6809
This is a patched version. We use our own copy until
we get our changes upstream.
Also add a simple objcopy wrapper.
Add a catch-all text segment pattern to the linker script
because the build uses gcc -ffunction-sections.
Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
Tormod Volden [Fri, 12 Jun 2015 17:10:45 +0000 (19:10 +0200)]
Build: Support reversed byte order filesystems
Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
David Given [Fri, 12 Jun 2015 19:34:03 +0000 (21:34 +0200)]
Fix typo.
David Given [Fri, 12 Jun 2015 19:22:23 +0000 (21:22 +0200)]
Attempt to build MSP430 userland.
Alan Cox [Thu, 11 Jun 2015 21:14:18 +0000 (22:14 +0100)]
platforms: more vtattr fixups
None of these actually add an attr support yet
Alan Cox [Thu, 11 Jun 2015 19:51:59 +0000 (20:51 +0100)]
dragon: fix build
EtchedPixels [Wed, 10 Jun 2015 22:50:32 +0000 (23:50 +0100)]
Merge pull request #207 from davidgiven/travis
Use precompiled sdcc for Travis builds
Alan Cox [Wed, 10 Jun 2015 22:50:15 +0000 (23:50 +0100)]
trs80: add the needed blank attribute variable
David Given [Wed, 10 Jun 2015 22:33:18 +0000 (00:33 +0200)]
Fix typo.
Alan Cox [Wed, 10 Jun 2015 22:24:05 +0000 (23:24 +0100)]
dragon-nx32: add attribute support
Useful as an example hopefully. Everything supported except flash, which isn't
in the hardware in a practical manner.
Alan Cox [Wed, 10 Jun 2015 22:23:52 +0000 (23:23 +0100)]
decbdragon: fix warning
Alan Cox [Wed, 10 Jun 2015 22:22:35 +0000 (23:22 +0100)]
vt: add bits for attribute setting/reporting
Done with a single escape code to make the parsing tiny. It's then up to the
platform what if anything to offer, but if nothing is supported then the
platform needs the vtattr_cap byte defining.
David Given [Wed, 10 Jun 2015 22:08:22 +0000 (00:08 +0200)]
Use the precompiled sdcc rather than building it ourselves.
Alan Cox [Tue, 9 Jun 2015 21:51:15 +0000 (22:51 +0100)]
trs80: fix incorrect tty struct reference
EtchedPixels [Tue, 9 Jun 2015 21:50:58 +0000 (22:50 +0100)]
Merge pull request #206 from davidgiven/m6809
Some 6809 build system fixes
David Given [Tue, 9 Jun 2015 21:24:33 +0000 (23:24 +0200)]
Made a few minor fixes where the build system was assuming things about
targetgcc platforms that it shouldn't. Add some workaround scripts to
deal with the 6809 platform not actually using binutils as a backend to
gcc.
David Given [Tue, 9 Jun 2015 21:10:35 +0000 (23:10 +0200)]
Switch to using a precompiled cc65.
Alan Cox [Mon, 8 Jun 2015 21:40:43 +0000 (22:40 +0100)]
cpp: build with -Os
Tormod Volden [Mon, 8 Jun 2015 21:20:50 +0000 (23:20 +0200)]
dragon-nx32: Add new build system support
The m6809-unknown-ld wrapper must be patched.
libc-functions.localsrcs doesn't work yet though.
Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
Alan Cox [Mon, 8 Jun 2015 21:30:51 +0000 (22:30 +0100)]
cpp: CPP from bcc
48K rather than 32K target. Some thought might be needed for a 32K cpp
however!
Alan Cox [Mon, 8 Jun 2015 21:22:55 +0000 (22:22 +0100)]
ld09: first cut
Needs the output side replacing with a simple binary writer for FUZIX
format headers.
This one actually should fit nicely on a Dragon32 !
Alan Cox [Mon, 8 Jun 2015 21:03:48 +0000 (22:03 +0100)]
as09: 6809 assembler for native asm work
Right now this won't *quite* fit on the Dragon32, but I think it would with
a tiny bit of tidying up and if 6809 is fixed to not suck in stdio always
(or has a stdio free link option as Z80 has for now)
Alan Cox [Mon, 8 Jun 2015 19:33:23 +0000 (20:33 +0100)]
init: add telinit code
Alan Cox [Mon, 8 Jun 2015 19:32:56 +0000 (20:32 +0100)]
gets: correct behaviour of gets_s
Alan Cox [Mon, 8 Jun 2015 14:02:54 +0000 (15:02 +0100)]
From: Brett Gordon <beretta42@gmail.com>
reboot: Fix missing newline
Alan Cox [Sun, 7 Jun 2015 23:35:24 +0000 (00:35 +0100)]
trap_reboot: fix the first batch of platforms to export it
Alan Cox [Sun, 7 Jun 2015 22:45:18 +0000 (23:45 +0100)]
zx128: export trap_reboot
Alan Cox [Sun, 7 Jun 2015 22:45:05 +0000 (23:45 +0100)]
z80: first cut at lowlevel-z80-banked.S for new pre-empt
Alan Cox [Sun, 7 Jun 2015 22:30:13 +0000 (23:30 +0100)]
Merge branch 'master' of https://github.com/EtchedPixels/FUZIX
EtchedPixels [Sun, 7 Jun 2015 22:28:34 +0000 (23:28 +0100)]
Merge pull request #202 from davidgiven/travis
Add Travis continuous integration support
Tormod Volden [Sun, 7 Jun 2015 09:47:26 +0000 (11:47 +0200)]
dragon-nx32: Set BASIC cold start flag
Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
David Given [Sun, 7 Jun 2015 21:19:14 +0000 (23:19 +0200)]
Fixup after merge.
David Given [Sun, 7 Jun 2015 21:07:46 +0000 (23:07 +0200)]
Merge from master.
David Given [Sun, 7 Jun 2015 20:53:15 +0000 (22:53 +0200)]
Update to work with sdcc snapshot. opt-code-size is apparently broken, so use
opt-code-speed instead.
David Given [Sun, 7 Jun 2015 20:22:46 +0000 (22:22 +0200)]
Don't download sdcc directly from SourceForge; instead go via a curated github
repository.
Alan Cox [Sun, 7 Jun 2015 09:24:44 +0000 (10:24 +0100)]
filesystem: add /var/run for utmp
Tormod Volden [Sun, 7 Jun 2015 09:00:59 +0000 (11:00 +0200)]
Add sh to disk image
Also fix inittab file permissions.
Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
Alan Cox [Sun, 7 Jun 2015 09:23:15 +0000 (10:23 +0100)]
carts: add a lookup for slot/cartridge
Hopefully we can eventually sort of autodetect floppy type etc
Alan Cox [Sun, 7 Jun 2015 09:22:34 +0000 (10:22 +0100)]
dragon-nx-32: reboot method
Doesn't however seem to get us back into basic. More research needed
Alan Cox [Sat, 6 Jun 2015 23:01:43 +0000 (00:01 +0100)]
uadmin: make A_REBOOT call trap_reboot
David Given [Sat, 6 Jun 2015 22:54:48 +0000 (00:54 +0200)]
It's different from Debian, too.
David Given [Sat, 6 Jun 2015 22:50:59 +0000 (00:50 +0200)]
Apparently the Ubuntu sdcc has very different dependencies to the 3.4.0.
David Given [Sat, 6 Jun 2015 22:40:08 +0000 (00:40 +0200)]
SDCC has lots of dependencies.
David Given [Sat, 6 Jun 2015 22:33:00 +0000 (00:33 +0200)]
Grr patch.
David Given [Sat, 6 Jun 2015 22:19:37 +0000 (00:19 +0200)]
Try to enable sdcc builds.
Alan Cox [Sat, 6 Jun 2015 22:00:33 +0000 (23:00 +0100)]
sh: Ooh look it works on 6809
Remove remaining rcheat
Add some comments
Make a gratuitious cross file call to fix the gcc miscompile (eww...)
Add a pile of debug (leaving in for the moment until I'm sure)
Fix brk handling in the original code (I guess there is some magic V7 PDP11
quirk we don't have)
Alan Cox [Sat, 6 Jun 2015 21:56:14 +0000 (22:56 +0100)]
stak.h: remove // prototypes and warnings
Alan Cox [Sat, 6 Jun 2015 21:55:56 +0000 (22:55 +0100)]
sh: remove Rcheat from service.c
Alan Cox [Sat, 6 Jun 2015 21:55:34 +0000 (22:55 +0100)]
defs.h: tidy spacing
Alan Cox [Sat, 6 Jun 2015 21:55:12 +0000 (22:55 +0100)]
sh: remove Rcheat from args.c
Alan Cox [Sat, 6 Jun 2015 21:54:50 +0000 (22:54 +0100)]
sh: Generate a map file for debugging
David Given [Sat, 6 Jun 2015 21:54:44 +0000 (23:54 +0200)]
Warning fixes. Change the prototypes of the read() and write() syscalls
to match the standard.
David Given [Sat, 6 Jun 2015 21:38:18 +0000 (23:38 +0200)]
Oops! Forgot to commit these files.
David Given [Sat, 6 Jun 2015 21:33:53 +0000 (23:33 +0200)]
Urgh.
David Given [Sat, 6 Jun 2015 21:30:13 +0000 (23:30 +0200)]
Mutter mutter.
David Given [Sat, 6 Jun 2015 21:20:23 +0000 (23:20 +0200)]
Slowly getting there. Slowly.
David Given [Sat, 6 Jun 2015 21:09:11 +0000 (23:09 +0200)]
Hey, look, every build iteration requires a commit and push!
David Given [Sat, 6 Jun 2015 21:06:01 +0000 (23:06 +0200)]
Aha, figured out how directories work on Travis.
David Given [Sat, 6 Jun 2015 20:58:44 +0000 (22:58 +0200)]
Set the language.
David Given [Sat, 6 Jun 2015 20:48:54 +0000 (22:48 +0200)]
Try and make the build actually build. Also try to enable caching.
David Given [Sat, 6 Jun 2015 20:35:35 +0000 (22:35 +0200)]
Make cc65 build quieter.
David Given [Sat, 6 Jun 2015 20:35:03 +0000 (22:35 +0200)]
Merge from upstream.
David Given [Sat, 6 Jun 2015 20:30:53 +0000 (22:30 +0200)]
First-draft Travis setup file for cc65.
Alan Cox [Sat, 6 Jun 2015 19:47:47 +0000 (20:47 +0100)]
setjmp.h: unbreak m6809
Alan Cox [Sat, 6 Jun 2015 13:56:05 +0000 (14:56 +0100)]
Library: Add fixed ashlsi3 code to the C library
Alan Cox [Sat, 6 Jun 2015 13:55:24 +0000 (14:55 +0100)]
ssh: fix $VARIABLE basics and notification on blank return
Alan Cox [Sat, 6 Jun 2015 13:54:58 +0000 (14:54 +0100)]
init: fix a couple of potential problems with utmp and errors
EtchedPixels [Sat, 6 Jun 2015 12:00:40 +0000 (13:00 +0100)]
Merge pull request #200 from davidgiven/buildsystem2
New build system basics
Doesn't interfere with the existing stuff so time to live dangerously
David Given [Sat, 6 Jun 2015 10:45:47 +0000 (12:45 +0200)]
Fixup after merge from master: add strsignal.c, liberror.txt is now dynamically
generated, and I finally figured out why adding new files to a library wouldn't
rebuild the library (and fixed it).
David Given [Sat, 6 Jun 2015 09:36:32 +0000 (11:36 +0200)]
Merge from upstream.
Alan Cox [Sat, 6 Jun 2015 00:54:48 +0000 (01:54 +0100)]
waitpid: correct return for WNOHANG and note another spec compliance bug
Alan Cox [Fri, 5 Jun 2015 23:57:14 +0000 (00:57 +0100)]
ssh: add fg/bg experimental commands
We don't have real process groups in kernel so it's a bit limited
Alan Cox [Fri, 5 Jun 2015 23:44:47 +0000 (00:44 +0100)]
ssh: add wait notification logic
Useful have and right no needed to debug the waitpid() behaviour
Tormod Volden [Fri, 5 Jun 2015 12:07:23 +0000 (14:07 +0200)]
dragon-nx32: Optimize uzero for large counts
Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
Tormod Volden [Fri, 5 Jun 2015 12:48:33 +0000 (14:48 +0200)]
dragon-nx32: Use correct stack pointer for fork bank copy range
Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
Alan Cox [Fri, 5 Jun 2015 14:02:08 +0000 (15:02 +0100)]
syscall_exec16: fix dumb error in optimisation changes
Alan Cox [Thu, 4 Jun 2015 23:38:53 +0000 (00:38 +0100)]
dragon-nx32: experimenting with cartridge auto-ident
Alan Cox [Thu, 4 Jun 2015 23:20:30 +0000 (00:20 +0100)]
syscall_net: further fiddling around
David Given [Thu, 4 Jun 2015 22:14:35 +0000 (00:14 +0200)]
Merge from master.
Tormod Volden [Thu, 4 Jun 2015 21:58:20 +0000 (23:58 +0200)]
lowlevel-6809.s: Fix some ashlsi3 brokenness
This was broken in "upstream" gcc 6809. A shift by more
than 7 would give wrong results in most cases.
Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
Alan Cox [Thu, 4 Jun 2015 22:03:56 +0000 (23:03 +0100)]
Merge branch 'master' of https://github.com/EtchedPixels/FUZIX
Alan Cox [Thu, 4 Jun 2015 22:02:55 +0000 (23:02 +0100)]
dragon-nx32: report cartridge hashes and MPI (needs xroar fixes)
This is the start of an small experiment to see if we can autodetect some
cartridges by spotting their ROMs.
Alan Cox [Thu, 4 Jun 2015 22:02:30 +0000 (23:02 +0100)]
dragon-nx32: make up some initial spi addresses 8)