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)
Alan Cox [Thu, 4 Jun 2015 22:01:53 +0000 (23:01 +0100)]
dragon-nx32: turn on the SPI driver logic
We probe carefully for the 65SPI so hopefully that'll prove to be safe
enough in the real world too
Alan Cox [Thu, 4 Jun 2015 22:00:50 +0000 (23:00 +0100)]
dragon-nx32: add initial 65spi code
Alan Cox [Thu, 4 Jun 2015 21:59:54 +0000 (22:59 +0100)]
dragon-nx-32: add some minimal MPI helpers
Makes it much easier to do dev work if we can have several carts loaded!
David Given [Thu, 4 Jun 2015 21:40:09 +0000 (23:40 +0200)]
Tests are for running! Also rearrange a bunch of the build system files
to be more sensible, and give it a name: bake.
--HG--
rename : Build/_head.mk => Build/bake.mk
rename : Build/cc65.rules.mk => Build/rules/cc65.rules.mk
rename : Build/sdcc.rules.mk => Build/rules/sdcc.rules.mk
rename : Build/standard.rules.mk => Build/rules/standard.rules.mk
rename : Build/targetgcc.rules.mk => Build/rules/targetgcc.rules.mk
EtchedPixels [Thu, 4 Jun 2015 21:20:32 +0000 (22:20 +0100)]
Merge pull request #199 from davidgiven/cc65fixes2
Some more cc65 workarounds
David Given [Thu, 4 Jun 2015 20:47:21 +0000 (22:47 +0200)]
cc65 constness workaround.
David Given [Thu, 4 Jun 2015 20:30:37 +0000 (22:30 +0200)]
Merge from upstream.
Alan Cox [Thu, 4 Jun 2015 18:45:16 +0000 (19:45 +0100)]
dragon-nx-32: enable IDE probing
Alan Cox [Thu, 4 Jun 2015 18:44:35 +0000 (19:44 +0100)]
dragon-nx-32: Update the Makefile to pull in all the dev/ ide bits
Alan Cox [Thu, 4 Jun 2015 18:43:52 +0000 (19:43 +0100)]
dragon-nx-32: kernel.def for the IDE ports
Alan Cox [Thu, 4 Jun 2015 18:43:09 +0000 (19:43 +0100)]
dragon-nx-32: Glennside style latching IDE data transfer routines
Alan Cox [Thu, 4 Jun 2015 18:42:47 +0000 (19:42 +0100)]
dragon-nx-32: prepare to turn on IDE support
Alan Cox [Thu, 4 Jun 2015 18:25:01 +0000 (19:25 +0100)]
syscall_proc: correct types
Alan Cox [Thu, 4 Jun 2015 18:24:40 +0000 (19:24 +0100)]
mbr: correct typing
Alan Cox [Thu, 4 Jun 2015 18:23:34 +0000 (19:23 +0100)]
devide: support MMIO and non Z80
Alan Cox [Thu, 4 Jun 2015 18:23:07 +0000 (19:23 +0100)]
6809: define cpu_to_le32/reverse
Alan Cox [Thu, 4 Jun 2015 18:22:50 +0000 (19:22 +0100)]
blkdev: Make this compile cleanly with gcc
Alan Cox [Thu, 4 Jun 2015 17:18:13 +0000 (18:18 +0100)]
start: some quick type tidying
Alan Cox [Thu, 4 Jun 2015 17:17:39 +0000 (18:17 +0100)]
break: zero space on allocation rather than doing it all on exec
Allows the fast fork() handling to work correctly, and fixes the behaviour
of a negative sbrk, followed by a positive one failing to clear the space.
Tidy up the types involved.
Alan Cox [Thu, 4 Jun 2015 17:11:29 +0000 (18:11 +0100)]
readdir: don't loop on error
Tormod Volden [Thu, 4 Jun 2015 14:32:41 +0000 (16:32 +0200)]
Generate liberror.txt because it is endian specific
Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
Tormod Volden [Thu, 4 Jun 2015 14:24:29 +0000 (16:24 +0200)]
tools/Liberror: Use -X for cross-endian
Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
Tormod Volden [Thu, 4 Jun 2015 12:45:35 +0000 (14:45 +0200)]
ssh: Set PATH if unset
Another workaround for using ssh out of the box without inittab.
Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
Alan Cox [Thu, 4 Jun 2015 12:43:10 +0000 (13:43 +0100)]
inittab: sample inittab
Tormod Volden [Thu, 4 Jun 2015 11:08:15 +0000 (13:08 +0200)]
dragon-nx32: Update XRoar patch for 0.33.2 release
Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
Alan Cox [Thu, 4 Jun 2015 10:43:14 +0000 (11:43 +0100)]
readi: Fix sign handling problems
We are permitted to write from beyond EOF, but a read from beyond EOF must
return 0
Alan Cox [Thu, 4 Jun 2015 10:42:58 +0000 (11:42 +0100)]
Revert "readi: read EOF handling fix"
This reverts commit
d39c1632e9685bffd5d94699a0ff953f716ab8fc.
Duh
Alan Cox [Thu, 4 Jun 2015 10:36:37 +0000 (11:36 +0100)]
readi: read EOF handling fix
Sign problems...
We can read from beyond end of file but must EOF (unlike write)
Tormod Volden [Thu, 4 Jun 2015 07:40:46 +0000 (09:40 +0200)]
dragon-nx32: Don't copy istack on switch/fork
Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
Tormod Volden [Thu, 4 Jun 2015 07:40:45 +0000 (09:40 +0200)]
dragon-nx32: Only copy used memory on fork
Speed up forking by not copying the space between heap and stack.
Alan's suggestion.
Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
Tormod Volden [Thu, 4 Jun 2015 07:40:44 +0000 (09:40 +0200)]
Access udata "break" member from asm
Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
Alan Cox [Thu, 4 Jun 2015 09:13:09 +0000 (10:13 +0100)]
dragon-nx32: don't re-enter the scrolling routines while scrolling
If you do it ends badly
Alan Cox [Wed, 3 Jun 2015 22:15:17 +0000 (23:15 +0100)]
dragon-nx-32: tidy up machine identification
Confirmed COCO and COCO3 idents
Alan Cox [Wed, 3 Jun 2015 22:04:49 +0000 (23:04 +0100)]
dragon-nx-32: Note in README that the patch for xroar is not for 0.33
Alan Cox [Wed, 3 Jun 2015 22:03:34 +0000 (23:03 +0100)]
dragon: switch to autodetecting the dragon v coco
And do a quick swizzle on the lines to avoid having two keymaps.
The platform detect is a bit dubious - possibly some magic ROM location would
be safer.
50/60Hz also needs doing but that's a timing loop problem I think
Alan Cox [Wed, 3 Jun 2015 22:01:34 +0000 (23:01 +0100)]
dragon32: add a systemid define
Alan Cox [Wed, 3 Jun 2015 22:01:10 +0000 (23:01 +0100)]
dragon32: add header changes for floppy timeout
Tormod Volden [Wed, 3 Jun 2015 20:28:22 +0000 (22:28 +0200)]
dragon-nx32: Small bank copy optimization
Use direct page addressing for the bank switching. Speeds
up forking a tiny bit.
Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
Tormod Volden [Wed, 3 Jun 2015 19:56:18 +0000 (21:56 +0200)]
execve: Use ugets for copying argument 0 to udata
The argument list gets squeezed in at the process memory top,
and if it is short, copying all 8 bytes might read above top.
Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
Tormod Volden [Wed, 3 Jun 2015 19:46:23 +0000 (21:46 +0200)]
Add "env" to disk image and "reboot" to 6809 build
Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
Alan Cox [Wed, 3 Jun 2015 17:55:57 +0000 (18:55 +0100)]
dragondos: floppy timer
Alan Cox [Wed, 3 Jun 2015 17:43:15 +0000 (18:43 +0100)]
dragondos: with these changes we have working floppy
Tormod Volden [Wed, 3 Jun 2015 17:04:30 +0000 (19:04 +0200)]
utils: Add text.hot and text.unlikely to dragon* link scripts
gcc generated these sections for init, ssh and grep, and they
were silently ignored by lwlink.
Signed-off-by: Tormod Volden <debian.tormod@gmail.com>