FUZIX.git
7 years agofsck: cc65 is pedantic and warns about this
Alan Cox [Sun, 13 Nov 2016 00:09:01 +0000 (00:09 +0000)]
fsck: cc65 is pedantic and warns about this

7 years agoutils: minor fixes and changes
Alan Cox [Sun, 13 Nov 2016 00:08:17 +0000 (00:08 +0000)]
utils: minor fixes and changes

chmod we switch to opendir because we can't handle big stack objects on a
6502, and our newer malloc is way smaller so it's not a big hit any more

7 years ago6502: add Makefile and cfg files
Alan Cox [Sun, 13 Nov 2016 00:07:33 +0000 (00:07 +0000)]
6502: add Makefile and cfg files

7 years ago68000: add setjmp
Alan Cox [Sun, 13 Nov 2016 00:07:15 +0000 (00:07 +0000)]
68000: add setjmp

7 years ago6502: add crt0nostdio
Alan Cox [Sun, 13 Nov 2016 00:06:53 +0000 (00:06 +0000)]
6502: add crt0nostdio

7 years agosyscalls: make the addr structure sized
Alan Cox [Sun, 13 Nov 2016 00:05:53 +0000 (00:05 +0000)]
syscalls: make the addr structure sized

We don't need to worry about the size but cc65 can't hack 0 sized terminal
data objects. (cc65 bug)

7 years agov65: initial platform code
Alan Cox [Sun, 13 Nov 2016 00:04:33 +0000 (00:04 +0000)]
v65: initial platform code

This is sufficient to enter user space on the emulator. We don't yet
implement pre-emption on the timer interrupt exit path but the rest is
basically there.

7 years agodevio: Fix broken pointer printing on 16bit
Alan Cox [Sun, 13 Nov 2016 00:03:45 +0000 (00:03 +0000)]
devio: Fix broken pointer printing on 16bit

7 years ago6502test: retire obsolete test code
Alan Cox [Sat, 12 Nov 2016 12:11:28 +0000 (12:11 +0000)]
6502test: retire obsolete test code

7 years ago6502: quick fixes to bring the code somewhere aligned with current
Alan Cox [Fri, 11 Nov 2016 15:39:55 +0000 (15:39 +0000)]
6502: quick fixes to bring the code somewhere aligned with current

7 years agoMakefile: remove .o files
Alan Cox [Fri, 11 Nov 2016 15:26:23 +0000 (15:26 +0000)]
Makefile: remove .o files

7 years agoMakefile: remove .o files
Alan Cox [Fri, 11 Nov 2016 15:26:13 +0000 (15:26 +0000)]
Makefile: remove .o files

7 years agoMerge pull request #455 from dfffffff/master
EtchedPixels [Fri, 11 Nov 2016 15:25:28 +0000 (15:25 +0000)]
Merge pull request #455 from dfffffff/master

6809: improve compatibility with other assembler

7 years ago6809: improve compatibility with other assembler
dfffffff [Tue, 8 Nov 2016 13:37:40 +0000 (08:37 -0500)]
6809: improve compatibility with other assembler

7 years agoMerge branch 'master' of https://github.com/EtchedPixels/FUZIX
Alan Cox [Mon, 7 Nov 2016 20:34:04 +0000 (20:34 +0000)]
Merge branch 'master' of https://github.com/EtchedPixels/FUZIX

7 years agomini-ide: small fixes
Alan Cox [Mon, 7 Nov 2016 20:33:40 +0000 (20:33 +0000)]
mini-ide: small fixes

7 years agococo2cart: fix ugets
Alan Cox [Mon, 7 Nov 2016 20:32:15 +0000 (20:32 +0000)]
coco2cart: fix ugets

7 years agococo2cart: startup paranoia
Alan Cox [Mon, 7 Nov 2016 20:31:46 +0000 (20:31 +0000)]
coco2cart: startup paranoia

7 years agococo2cart: fix paging
Alan Cox [Mon, 7 Nov 2016 20:31:34 +0000 (20:31 +0000)]
coco2cart: fix paging

7 years agobootstrap: fix stupid error
Alan Cox [Mon, 7 Nov 2016 20:31:22 +0000 (20:31 +0000)]
bootstrap: fix stupid error

7 years agococo2cart: Update for linker changes
Alan Cox [Mon, 7 Nov 2016 20:31:03 +0000 (20:31 +0000)]
coco2cart: Update for linker changes

7 years agoMerge pull request #453 from nealcrook/multicomp-fix
EtchedPixels [Mon, 7 Nov 2016 13:33:47 +0000 (13:33 +0000)]
Merge pull request #453 from nealcrook/multicomp-fix

make multicomp09 compile again

7 years agomake multicomp09 compile again
nealcrook [Mon, 7 Nov 2016 12:55:06 +0000 (12:55 +0000)]
make multicomp09 compile again

7 years agoMerge branch 'master' of https://github.com/EtchedPixels/FUZIX
Alan Cox [Mon, 7 Nov 2016 00:04:21 +0000 (00:04 +0000)]
Merge branch 'master' of https://github.com/EtchedPixels/FUZIX

7 years agoMerge pull request #452 from dfffffff/master
EtchedPixels [Mon, 7 Nov 2016 00:04:04 +0000 (00:04 +0000)]
Merge pull request #452 from dfffffff/master

uses the proper include path for the platform

7 years agococo2: memory mapping race fix
Alan Cox [Sun, 6 Nov 2016 23:50:37 +0000 (23:50 +0000)]
coco2: memory mapping race fix

7 years agococo2: ide fixes
Alan Cox [Sun, 6 Nov 2016 23:50:24 +0000 (23:50 +0000)]
coco2: ide fixes

7 years agobootstrap: fix dumb errors
Alan Cox [Sun, 6 Nov 2016 23:50:02 +0000 (23:50 +0000)]
bootstrap: fix dumb errors

7 years agouses the proper include path for the platform
dfffffff [Sun, 6 Nov 2016 23:21:34 +0000 (18:21 -0500)]
uses the proper include path for the platform

7 years agococo2cart: fix IDE bug
Alan Cox [Sun, 6 Nov 2016 22:23:27 +0000 (22:23 +0000)]
coco2cart: fix IDE bug

With this fixed (and the bug in the IDE emulator fixed) we can mount the
root file system, but not start init as we've yet to do the direct I/O to
user space.

7 years agodragon-nx32: Also use internal upper 32K if available
Tormod Volden [Sat, 5 Nov 2016 23:32:15 +0000 (00:32 +0100)]
dragon-nx32: Also use internal upper 32K if available

This comes with a small size and speed penalty, maybe we should
make it a compile option.

Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
7 years agoAdd groups and telinit to fuzix-util.pkg
Tormod Volden [Sun, 6 Nov 2016 00:24:14 +0000 (01:24 +0100)]
Add groups and telinit to fuzix-util.pkg

Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
7 years agoMerge pull request #434 from dfffffff/toolchain
EtchedPixels [Sun, 6 Nov 2016 21:53:47 +0000 (21:53 +0000)]
Merge pull request #434 from dfffffff/toolchain

toolchain cleanup: uses ld wrapper script, uses proper options for ld

7 years agoadd "(prepend)" to readme
dfffffff [Sun, 6 Nov 2016 15:22:48 +0000 (10:22 -0500)]
add "(prepend)" to readme

7 years agoupdated Kernel/README.md
dfffffff [Sun, 6 Nov 2016 15:00:49 +0000 (10:00 -0500)]
updated Kernel/README.md

7 years agoupdated ue for toolchain
dfffffff [Sun, 6 Nov 2016 14:06:48 +0000 (09:06 -0500)]
updated ue for toolchain

7 years agoMerge branch 'master' of https://github.com/EtchedPixels/FUZIX into toolchain
dfffffff [Sun, 6 Nov 2016 13:37:23 +0000 (08:37 -0500)]
Merge branch 'master' of https://github.com/EtchedPixels/FUZIX into toolchain

7 years agococo2cart: fix keyboard map for coco2
Alan Cox [Sat, 5 Nov 2016 23:54:47 +0000 (23:54 +0000)]
coco2cart: fix keyboard map for coco2

7 years agococo2cart: small fixes
Alan Cox [Sat, 5 Nov 2016 23:45:40 +0000 (23:45 +0000)]
coco2cart: small fixes

This gets us to the point we fail to mount a rootfs. I need to double check
the IDE mapping logic and work out why that fails.

7 years agoREADME: correct address
Alan Cox [Sat, 5 Nov 2016 22:50:45 +0000 (22:50 +0000)]
README: correct address

7 years agococo2cart: updates and add missed file
Alan Cox [Sat, 5 Nov 2016 22:43:54 +0000 (22:43 +0000)]
coco2cart: updates and add missed file

7 years agococo2: update for the rest of the EC00 changes needed
Alan Cox [Sat, 5 Nov 2016 22:43:15 +0000 (22:43 +0000)]
coco2: update for the rest of the EC00 changes needed

7 years agococo2cart: COCO2 with cartridge
Alan Cox [Sat, 5 Nov 2016 12:23:40 +0000 (12:23 +0000)]
coco2cart: COCO2 with cartridge

While fiddling with COCO2 might as well clone it and add the cartridge version
I made the notes for ages ago.

Untested and will need some work.

7 years agococo2: update boot loader logic
Alan Cox [Sat, 5 Nov 2016 12:23:20 +0000 (12:23 +0000)]
coco2: update boot loader logic

Still need to sit down and test all of these

7 years agoue: missing header
Alan Cox [Sat, 5 Nov 2016 10:37:11 +0000 (10:37 +0000)]
ue: missing header

7 years agoApplications/util: Ensure all commands return exit code
Tormod Volden [Fri, 4 Nov 2016 22:11:43 +0000 (23:11 +0100)]
Applications/util: Ensure all commands return exit code

Also remove parentheses from return statements while
we're at it.

Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
7 years agokernel: add soft interrupt support
Alan Cox [Sat, 5 Nov 2016 10:13:59 +0000 (10:13 +0000)]
kernel: add soft interrupt support

Put the pieces in place so a platform can treat the kernel di/ei/irqrestore
as a software construct and implement its own hardware IRQ management eg
to allow for things like software uart fifos.

7 years ago68000: fast memory clear/copy helpers
Alan Cox [Sat, 5 Nov 2016 10:13:30 +0000 (10:13 +0000)]
68000: fast memory clear/copy helpers

Not yet used

7 years agov68-banked: more test scribbling
Alan Cox [Sat, 5 Nov 2016 10:13:10 +0000 (10:13 +0000)]
v68-banked: more test scribbling

7 years agoMakefile: remove 8086test
Alan Cox [Sat, 5 Nov 2016 10:12:52 +0000 (10:12 +0000)]
Makefile: remove 8086test

7 years agoMakefile: update platforms
Alan Cox [Sat, 5 Nov 2016 10:12:42 +0000 (10:12 +0000)]
Makefile: update platforms

7 years ago8086test: discard obsolete test code
Alan Cox [Sat, 5 Nov 2016 10:08:36 +0000 (10:08 +0000)]
8086test: discard obsolete test code

7 years agovt.c: VT_WIDTH (framebuffer stride) and VT_HEIGHT (obsolete) cleanup
Tormod Volden [Thu, 3 Nov 2016 23:19:47 +0000 (00:19 +0100)]
vt.c: VT_WIDTH (framebuffer stride) and VT_HEIGHT (obsolete) cleanup

VT_WIDTH is the framebuffer stride / pitch for the CONFIG_VT_SIMPLE
case and not the screen width. VT_HEIGHT is not needed since it is
always VT_BOTTOM + 1.

Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
7 years agodragon-nx32: Tidy up devtty.c
Tormod Volden [Thu, 3 Nov 2016 22:59:17 +0000 (23:59 +0100)]
dragon-nx32: Tidy up devtty.c

Introduce macros to make it easier to read and to add
and rearrange devices.

Remove the CoCo keyboard table that was made obsolete
by autodetection and transposing of the common table.

Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
7 years agodevscsi: fix typo
Alan Cox [Fri, 4 Nov 2016 18:29:28 +0000 (18:29 +0000)]
devscsi: fix typo

7 years ago68000: switch syscall API to register based
Alan Cox [Fri, 4 Nov 2016 18:29:14 +0000 (18:29 +0000)]
68000: switch syscall API to register based

7 years ago68000: Switch syscall API to pass in registers
Alan Cox [Fri, 4 Nov 2016 18:28:17 +0000 (18:28 +0000)]
68000: Switch syscall API to pass in registers

We don't want to do user/kernel translations and verification of the user
stack on syscall entry as we can avoid it.

7 years agov68-banked: a few more bits of work
Alan Cox [Thu, 3 Nov 2016 23:06:57 +0000 (23:06 +0000)]
v68-banked: a few more bits of work

Nothing yet bootable and testable, but slowly filling in the bits

7 years agococo2: do a bit more work on this
Alan Cox [Thu, 3 Nov 2016 22:51:19 +0000 (22:51 +0000)]
coco2: do a bit more work on this

Mostly realign it and add dw_transaction.

7 years agotgl6502: more tidying
Alan Cox [Thu, 3 Nov 2016 22:37:38 +0000 (22:37 +0000)]
tgl6502: more tidying

7 years agotgl6502: bitrot work
Alan Cox [Thu, 3 Nov 2016 18:14:54 +0000 (18:14 +0000)]
tgl6502: bitrot work

7 years ago6502: begin fixing bitrot
Alan Cox [Thu, 3 Nov 2016 18:14:24 +0000 (18:14 +0000)]
6502: begin fixing bitrot

7 years agosyscall_net: brackets to work around cc65 parsing bug
Alan Cox [Thu, 3 Nov 2016 17:48:31 +0000 (17:48 +0000)]
syscall_net: brackets to work around cc65 parsing bug

7 years agov68: initial pieces for a banked memory version of v68
Alan Cox [Thu, 3 Nov 2016 17:45:46 +0000 (17:45 +0000)]
v68: initial pieces for a banked memory version of v68

This is a stepping stone to MMU supporting versions, but also relevant to
systems like the N8VEM 68000 board where you have 4MB in 1MB windows, which
with the low 64K memory protection is almost ideal for running a Unixlike OS
single user.

7 years agoAdd CRT9128 video terminal driver
Tormod Volden [Sat, 29 Oct 2016 19:47:02 +0000 (21:47 +0200)]
Add CRT9128 video terminal driver

CRT9028/CRT9128 from Standard Microsystems Corporation.

Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
7 years agoMerge branch 'master' of https://github.com/EtchedPixels/FUZIX
Alan Cox [Mon, 31 Oct 2016 13:53:57 +0000 (13:53 +0000)]
Merge branch 'master' of https://github.com/EtchedPixels/FUZIX

7 years agopicol: Add pico tcl
Alan Cox [Mon, 31 Oct 2016 13:53:05 +0000 (13:53 +0000)]
picol: Add pico tcl

Whether it's useful for anything I don't know but it took a moment to tweak to
use 32bit values on 16bits, and it could be interesting.

7 years agoMerge pull request #450 from dud3/patch-1
EtchedPixels [Sun, 30 Oct 2016 18:43:07 +0000 (18:43 +0000)]
Merge pull request #450 from dud3/patch-1

refactor: code style

7 years agoterm: add missing file
Alan Cox [Sun, 30 Oct 2016 18:41:22 +0000 (18:41 +0000)]
term: add missing file

7 years agorefactor: code style
Dren Kajmakci [Sun, 30 Oct 2016 13:19:19 +0000 (14:19 +0100)]
refactor: code style

7 years agoue: add termcap verson using tchelp to keep it tiny
Alan Cox [Sun, 30 Oct 2016 12:28:51 +0000 (12:28 +0000)]
ue: add termcap verson using tchelp to keep it tiny

7 years agoue: Build with SDCC
Alan Cox [Sun, 30 Oct 2016 11:22:31 +0000 (11:22 +0000)]
ue: Build with SDCC

7 years agoMerge pull request #447 from tormodvolden/ue-editor
EtchedPixels [Sun, 30 Oct 2016 10:51:43 +0000 (10:51 +0000)]
Merge pull request #447 from tormodvolden/ue-editor

Ue editor

7 years agoprocess: signals on exit cases
Alan Cox [Sun, 30 Oct 2016 10:48:09 +0000 (10:48 +0000)]
process: signals on exit cases

Also catch the pending signal when we exit for another reason and then
block.

7 years agosignals: Fix signal during exit block bug
Alan Cox [Sun, 30 Oct 2016 10:46:09 +0000 (10:46 +0000)]
signals: Fix signal during exit block bug

Issue #449 from Bret. Slightly extended from Bret's fix to ensure no further
signals also try and get themselves delivered.

7 years agoue: Add fuzix package declaration
Tormod Volden [Sun, 14 Aug 2016 20:22:31 +0000 (22:22 +0200)]
ue: Add fuzix package declaration

7 years agopdp11: initial low level bits (incomplete)
Alan Cox [Tue, 25 Oct 2016 20:47:09 +0000 (21:47 +0100)]
pdp11: initial low level bits (incomplete)

7 years agoMerge branch 'master' of https://github.com/EtchedPixels/FUZIX
Alan Cox [Tue, 25 Oct 2016 20:45:57 +0000 (21:45 +0100)]
Merge branch 'master' of https://github.com/EtchedPixels/FUZIX

7 years agoREADME.md: update
Alan Cox [Tue, 25 Oct 2016 20:45:03 +0000 (21:45 +0100)]
README.md: update

7 years agoplatform-pdp11: minimal PDP11 compile test bed
Alan Cox [Tue, 25 Oct 2016 20:43:13 +0000 (21:43 +0100)]
platform-pdp11: minimal PDP11 compile test bed

7 years agopdp11: introduce base PDP11 code
Alan Cox [Tue, 25 Oct 2016 20:42:13 +0000 (21:42 +0100)]
pdp11: introduce base PDP11 code

Far from complete

7 years agov68: more work on bugs and signals
Alan Cox [Tue, 25 Oct 2016 20:41:15 +0000 (21:41 +0100)]
v68: more work on bugs and signals

7 years agov68: more fixing
Alan Cox [Tue, 25 Oct 2016 20:40:26 +0000 (21:40 +0100)]
v68: more fixing

7 years ago68000: further fixes
Alan Cox [Tue, 25 Oct 2016 20:39:59 +0000 (21:39 +0100)]
68000: further fixes

7 years agofix Build/platforms/dragon-nx32.mk
dfffffff [Sun, 23 Oct 2016 15:11:48 +0000 (11:11 -0400)]
fix Build/platforms/dragon-nx32.mk

7 years agoadd m6809-unknown-as/m6809-unknown-ar to Build/tools
dfffffff [Sun, 23 Oct 2016 13:09:18 +0000 (09:09 -0400)]
add m6809-unknown-as/m6809-unknown-ar to Build/tools

7 years agoMerge pull request #446 from dfffffff/master
EtchedPixels [Sat, 22 Oct 2016 20:18:47 +0000 (21:18 +0100)]
Merge pull request #446 from dfffffff/master

Kernel: fix some compiler warning

7 years agoKernel: fix some compiler warning
dfffffff [Fri, 21 Oct 2016 23:32:51 +0000 (19:32 -0400)]
Kernel: fix some compiler warning

7 years agoinit: don't read NULL pointers
Alan Cox [Fri, 21 Oct 2016 16:51:53 +0000 (17:51 +0100)]
init: don't read NULL pointers

Needed for the 68K port as it causes a trap

7 years ago68000: Switch to gcc 6.2.0
Alan Cox [Thu, 20 Oct 2016 22:13:14 +0000 (23:13 +0100)]
68000: Switch to gcc 6.2.0

7 years ago68000: switch to gcc 6.2.0
Alan Cox [Thu, 20 Oct 2016 22:13:00 +0000 (23:13 +0100)]
68000: switch to gcc 6.2.0

7 years ago68000: switch to gcc 6.2.0
Alan Cox [Thu, 20 Oct 2016 22:12:45 +0000 (23:12 +0100)]
68000: switch to gcc 6.2.0

7 years agov68: update instructions
Alan Cox [Thu, 20 Oct 2016 22:12:37 +0000 (23:12 +0100)]
v68: update instructions

7 years agosyscall_exec32: remove some debug
Alan Cox [Thu, 20 Oct 2016 22:12:26 +0000 (23:12 +0100)]
syscall_exec32: remove some debug

7 years ago68000: synchronous signal traps
Alan Cox [Thu, 20 Oct 2016 22:04:16 +0000 (23:04 +0100)]
68000: synchronous signal traps

7 years agolowlevel-68000: fixes for signals
Alan Cox [Thu, 20 Oct 2016 18:04:21 +0000 (19:04 +0100)]
lowlevel-68000: fixes for signals

Synchronous signal traps don't yet work but this takes us one step closer

7 years agop68000: fix vdso copy
Alan Cox [Thu, 20 Oct 2016 18:04:09 +0000 (19:04 +0100)]
p68000: fix vdso copy

7 years agoREADME.md: update for 68K
Alan Cox [Thu, 20 Oct 2016 17:00:50 +0000 (18:00 +0100)]
README.md: update for 68K

7 years agoprocess: note a problem to revisit
Alan Cox [Thu, 20 Oct 2016 16:50:59 +0000 (17:50 +0100)]
process: note a problem to revisit

7 years agoexec32: fixes
Alan Cox [Thu, 20 Oct 2016 16:49:29 +0000 (17:49 +0100)]
exec32: fixes

Firstly botch the stack value because elf2flt defaults to 4K which is usually
insufficient as in our case it includes brk() space. Just add 32K for now.

Also fix the argument aligmnet.