FUZIX.git
7 years agoremove duplicated "#ifdef PAGEDMEM"
nealcrook [Wed, 23 Nov 2016 09:47:42 +0000 (09:47 +0000)]
remove duplicated "#ifdef PAGEDMEM"

7 years agoimplement least-recently-used page replacement scheme in place of the
nealcrook [Tue, 22 Nov 2016 22:25:29 +0000 (22:25 +0000)]
implement least-recently-used page replacement scheme in place of the
fixed scheme used during debug. Removed per-page access count which I
formerly considered using as part of the replacement algo.

7 years agoDo proper status checking on all the file operations.
nealcrook [Tue, 22 Nov 2016 22:09:38 +0000 (22:09 +0000)]
Do proper status checking on all the file operations.

7 years agobcpl is a script to automate the build process. The first FUZIX shell
nealcrook [Tue, 22 Nov 2016 21:42:19 +0000 (21:42 +0000)]
bcpl is a script to automate the build process. The first FUZIX shell
script!! Expand README to describe its use and caveats.

7 years agoBCPL package file.
nealcrook [Tue, 22 Nov 2016 17:15:33 +0000 (17:15 +0000)]
BCPL package file.

7 years agoDual-build. Working but need to add checks for return status after
nealcrook [Tue, 22 Nov 2016 17:13:59 +0000 (17:13 +0000)]
Dual-build. Working but need to add checks for return status after
file operation.

7 years agoBuild infrastructure
nealcrook [Tue, 22 Nov 2016 17:13:23 +0000 (17:13 +0000)]
Build infrastructure

7 years agoabstract read and write into macros. Code almost identical.. one place
nealcrook [Tue, 22 Nov 2016 15:30:53 +0000 (15:30 +0000)]
abstract read and write into macros. Code almost identical.. one place
that it differs is the byte write in blibc which used to use a pointer
and which is now a plainer access.

7 years agoseoarate physical from virtual address space. Set up defines for
nealcrook [Tue, 22 Nov 2016 14:33:03 +0000 (14:33 +0000)]
seoarate physical from virtual address space. Set up defines for
host and target systems.

7 years agoAdd files from BCPL kit and some simple example programs.
nealcrook [Mon, 21 Nov 2016 22:25:49 +0000 (22:25 +0000)]
Add files from BCPL kit and some simple example programs.

7 years agoRefernece cgtest.b
nealcrook [Mon, 21 Nov 2016 22:24:01 +0000 (22:24 +0000)]
Refernece cgtest.b

7 years agoexpand the instructions for using the original bcpl kit files. Add
nealcrook [Mon, 21 Nov 2016 15:55:03 +0000 (15:55 +0000)]
expand the instructions for using the original bcpl kit files. Add
description of icintv.

7 years agofuzix: netd
Brett Gordon [Tue, 15 Nov 2016 20:27:50 +0000 (15:27 -0500)]
fuzix: netd

enclosed is a patch for netd.  Have fun figuring out netd.c :)  This gives me
(active open only) native networking.  Me and Ron Klein have been testing
this with success.  Please advise,

brett

7 years agoselect test tool
Alan Cox [Sun, 20 Nov 2016 17:49:53 +0000 (17:49 +0000)]
select test tool

7 years agovfscanf/fprintf_m: push missing stubs
Alan Cox [Sat, 19 Nov 2016 12:39:30 +0000 (12:39 +0000)]
vfscanf/fprintf_m: push missing stubs

7 years ago6502: switch to current cc65 not mine with hacks
Alan Cox [Sat, 19 Nov 2016 12:02:23 +0000 (12:02 +0000)]
6502: switch to current cc65 not mine with hacks

7 years agoexecl: 6502 support
Alan Cox [Sat, 19 Nov 2016 11:42:53 +0000 (11:42 +0000)]
execl: 6502 support

7 years agoMerge pull request #454 from nealcrook/apps-tidy
EtchedPixels [Wed, 16 Nov 2016 12:48:07 +0000 (12:48 +0000)]
Merge pull request #454 from nealcrook/apps-tidy

levee cleanup, and various other app tweaks and tidies

7 years agoMerge pull request #458 from beretta42/dw
EtchedPixels [Wed, 16 Nov 2016 12:46:39 +0000 (12:46 +0000)]
Merge pull request #458 from beretta42/dw

coco3: drivewire: dynamic polling back-off.

7 years agococo3: drivewire: dynamic polling back-off.
Brett Gordon [Wed, 16 Nov 2016 01:53:54 +0000 (20:53 -0500)]
coco3: drivewire: dynamic polling back-off.

7 years agoplatforms: all. Revise .gitignore to add dwdate.
nealcrook [Tue, 15 Nov 2016 16:53:55 +0000 (16:53 +0000)]
platforms: all. Revise .gitignore to add dwdate.

7 years agoBring in line with master so that this will merge cleanly
nealcrook [Tue, 15 Nov 2016 10:25:15 +0000 (10:25 +0000)]
Bring in line with master so that this will merge cleanly

7 years agoRevert "change 6809 makefiles to point to Library/include/6809 rather than"
nealcrook [Tue, 15 Nov 2016 08:19:39 +0000 (08:19 +0000)]
Revert "change 6809 makefiles to point to Library/include/6809 rather than"

This reverts commit 78a3da526b98b974b305f97d03d606d3bd280548.

Reverting becasue this change had already been applied from elsewhere by the
time I tried to push this branch upstream.

7 years agov65: update todo list
Alan Cox [Sun, 13 Nov 2016 00:17:52 +0000 (00:17 +0000)]
v65: update todo list

7 years agoMakefile: add new targets coco2cart and v65
Alan Cox [Sun, 13 Nov 2016 00:13:47 +0000 (00:13 +0000)]
Makefile: add new targets coco2cart and v65

7 years agotermcap: move buffers off stack
Alan Cox [Sun, 13 Nov 2016 00:12:49 +0000 (00:12 +0000)]
termcap: move buffers off stack

7 years agouptime: fix sign of passed buffer
Alan Cox [Sun, 13 Nov 2016 00:12:39 +0000 (00:12 +0000)]
uptime: fix sign of passed buffer

7 years agoumount: move buffers off stack
Alan Cox [Sun, 13 Nov 2016 00:12:27 +0000 (00:12 +0000)]
umount: move buffers off stack

7 years agotar: unBrettify
Alan Cox [Sun, 13 Nov 2016 00:12:05 +0000 (00:12 +0000)]
tar: unBrettify

7 years agotar: fix ANSI prototypes, declarations mid flow etc
Alan Cox [Sun, 13 Nov 2016 00:11:34 +0000 (00:11 +0000)]
tar: fix ANSI prototypes, declarations mid flow etc

7 years agoman: move buffers to static for cc65
Alan Cox [Sun, 13 Nov 2016 00:11:21 +0000 (00:11 +0000)]
man: move buffers to static for cc65

7 years agoprtroot: move DIR to static for cc65
Alan Cox [Sun, 13 Nov 2016 00:11:07 +0000 (00:11 +0000)]
prtroot: move DIR to static for cc65

7 years agoll: move DIR to static for cc65
Alan Cox [Sun, 13 Nov 2016 00:10:53 +0000 (00:10 +0000)]
ll: move DIR to static for cc65

7 years agosocktest: move buffer to static
Alan Cox [Sun, 13 Nov 2016 00:10:37 +0000 (00:10 +0000)]
socktest: move buffer to static

7 years agosed: shrink pools and buffers to fit smaller boxes
Alan Cox [Sun, 13 Nov 2016 00:10:20 +0000 (00:10 +0000)]
sed: shrink pools and buffers to fit smaller boxes

7 years agops: move big structures off stack
Alan Cox [Sun, 13 Nov 2016 00:10:11 +0000 (00:10 +0000)]
ps: move big structures off stack

7 years agofsck: fix wrong check
Alan Cox [Sun, 13 Nov 2016 00:09:59 +0000 (00:09 +0000)]
fsck: fix wrong check

7 years agoed: fix return values
Alan Cox [Sun, 13 Nov 2016 00:09:48 +0000 (00:09 +0000)]
ed: fix return values

7 years agodf: move big buffers off stack
Alan Cox [Sun, 13 Nov 2016 00:09:40 +0000 (00:09 +0000)]
df: move big buffers off stack

7 years agoinit: remove declarations mid code flow
Alan Cox [Sun, 13 Nov 2016 00:09:23 +0000 (00:09 +0000)]
init: remove declarations mid code flow

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 agoReduced movemap, the keyboard lookup table, from 256 to 128 bytes.
nealcrook [Mon, 7 Nov 2016 18:00:56 +0000 (18:00 +0000)]
Reduced movemap, the keyboard lookup table, from 256 to 128 bytes.
The upper half was never used. To make sure, knocked off the top
bit of input characters. Reduces executable size by 128 bytes - but
still not enough for Tormod :-(

7 years agoDelete trailing whitespace.
nealcrook [Mon, 7 Nov 2016 17:52:10 +0000 (17:52 +0000)]
Delete trailing whitespace.
Comment VT52, ANSI defines out of levee.h so they can be done on the command line.
Remove dead code.
Disambiguate levee code from standard library functions (as the original author has
done in later versions than we are using):
  refresh -> lvrefresh
  scan -> lvscan
  getcontext -> lvgetcontext
  getline -> lvgetline

7 years agoUse -l -a -v suffixes on object files to allow 3 versions to co-exist; revise
nealcrook [Mon, 7 Nov 2016 17:42:19 +0000 (17:42 +0000)]
Use -l -a -v suffixes on object files to allow 3 versions to co-exist; revise
.gitignore appropriately.

7 years agoFor 6809 build, allow Linux, VT52 and ANSI versions to co-exist, and build them
nealcrook [Mon, 7 Nov 2016 17:39:07 +0000 (17:39 +0000)]
For 6809 build, allow Linux, VT52 and ANSI versions to co-exist, and build them
all.
May want to do the same for z80 if ANSI terminals are available there? The
Linux version is just for host testing purposes.
Expand package file to include both versions, if they exist, to add the man
page and to add appropriate links for ease-of-use.

7 years agoAdd man page (reformatted from lv.doc)
nealcrook [Mon, 7 Nov 2016 17:38:07 +0000 (17:38 +0000)]
Add man page (reformatted from lv.doc)

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 agonot used - identical to ../util/dragon-nx32.link and the Makefile.6809
nealcrook [Mon, 7 Nov 2016 13:23:19 +0000 (13:23 +0000)]
not used - identical to ../util/dragon-nx32.link and the Makefile.6809
references the file in ../util

7 years agopackage contents are relative to cwd of the package file, so removed
nealcrook [Mon, 7 Nov 2016 13:16:31 +0000 (13:16 +0000)]
package contents are relative to cwd of the package file, so removed
redundant path hierarchy

7 years agofor picol (tiny TCL) add package file and 6809 makefile.
nealcrook [Mon, 7 Nov 2016 13:14:56 +0000 (13:14 +0000)]
for picol (tiny TCL) add package file and 6809 makefile.

7 years agochange 6809 makefiles to point to Library/include/6809 rather than
nealcrook [Mon, 7 Nov 2016 13:13:10 +0000 (13:13 +0000)]
change 6809 makefiles to point to Library/include/6809 rather than
Library/include/6502 - no functional effect because the files are
identical in both places.

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