FUZIX.git
5 years agov8080: use the 8080 checker we added
Alan Cox [Fri, 15 Feb 2019 21:41:21 +0000 (21:41 +0000)]
v8080: use the 8080 checker we added

We don't want long signed divide/multiply or floats sneaking into the kernel

5 years agocheck8080: warn if we accidentally suck in stuff we don't save when switching
Alan Cox [Fri, 15 Feb 2019 21:40:59 +0000 (21:40 +0000)]
check8080: warn if we accidentally suck in stuff we don't save when switching

5 years ago8080: fix strerror/perror - 8080 is little endian
Alan Cox [Fri, 15 Feb 2019 21:40:28 +0000 (21:40 +0000)]
8080: fix strerror/perror - 8080 is little endian

5 years agosysconf: pagesize could be 64K
Alan Cox [Fri, 15 Feb 2019 21:40:13 +0000 (21:40 +0000)]
sysconf: pagesize could be 64K

5 years agolibc: correct for small change to mount struct
Alan Cox [Fri, 15 Feb 2019 21:39:45 +0000 (21:39 +0000)]
libc: correct for small change to mount struct

We need to revisit the syscall as well.

5 years agotail: use static buffer to keep cc65 happy
Alan Cox [Fri, 15 Feb 2019 21:39:11 +0000 (21:39 +0000)]
tail: use static buffer to keep cc65 happy

5 years agopagesize: use long types
Alan Cox [Fri, 15 Feb 2019 21:38:53 +0000 (21:38 +0000)]
pagesize: use long types

5 years agoman: keep stack usage down to keep cc65 happy
Alan Cox [Fri, 15 Feb 2019 21:38:36 +0000 (21:38 +0000)]
man: keep stack usage down to keep cc65 happy

5 years agosh: msg array is surplus now the shell uses the libc table
Alan Cox [Fri, 15 Feb 2019 21:37:47 +0000 (21:37 +0000)]
sh: msg array is surplus now the shell uses the libc table

5 years agosh: use proper signal names from the library
Alan Cox [Fri, 15 Feb 2019 13:08:48 +0000 (13:08 +0000)]
sh: use proper signal names from the library

5 years ago8080: fix uget return
Alan Cox [Fri, 15 Feb 2019 01:04:57 +0000 (01:04 +0000)]
8080: fix uget return

This fixes the lseek bug and possibly others too

5 years agov8080: update for the rst changes
Alan Cox [Fri, 15 Feb 2019 00:32:56 +0000 (00:32 +0000)]
v8080: update for the rst changes

- Save BC
- Only install the vectors for kernel
- Use the rst routines from todays kernel

5 years agov8080: update README
Alan Cox [Fri, 15 Feb 2019 00:32:42 +0000 (00:32 +0000)]
v8080: update README

5 years ago8080: sketch out the irq saves needed
Alan Cox [Fri, 15 Feb 2019 00:32:17 +0000 (00:32 +0000)]
8080: sketch out the irq saves needed

5 years ago8080fixedbank: note some areas to look at for switching
Alan Cox [Fri, 15 Feb 2019 00:32:03 +0000 (00:32 +0000)]
8080fixedbank: note some areas to look at for switching

5 years ago8080fixedbank: fix switching bugs
Alan Cox [Tue, 12 Feb 2019 21:02:11 +0000 (21:02 +0000)]
8080fixedbank: fix switching bugs

5 years agolibrary: add some build rules
Alan Cox [Mon, 11 Feb 2019 23:32:07 +0000 (23:32 +0000)]
library: add some build rules

5 years ago8080: 'fast' fork copier: 24 clocks/byte
Alan Cox [Mon, 11 Feb 2019 23:31:10 +0000 (23:31 +0000)]
8080: 'fast' fork copier: 24 clocks/byte

Don't read this code after a large lunch

5 years agov8080: update README
Alan Cox [Mon, 11 Feb 2019 23:30:51 +0000 (23:30 +0000)]
v8080: update README

5 years ago8080: cpu type detection
Alan Cox [Mon, 11 Feb 2019 23:30:27 +0000 (23:30 +0000)]
8080: cpu type detection

5 years ago8080fixedbank: remove some debug
Alan Cox [Mon, 11 Feb 2019 23:30:13 +0000 (23:30 +0000)]
8080fixedbank: remove some debug

5 years agotools: Update tools and add library tool so we can do FZL1 files
Alan Cox [Mon, 11 Feb 2019 18:53:07 +0000 (18:53 +0000)]
tools: Update tools and add library tool so we can do FZL1 files

5 years agoack2kernel: print the right numbers
Alan Cox [Mon, 11 Feb 2019 01:50:59 +0000 (01:50 +0000)]
ack2kernel: print the right numbers

5 years ago8080: further fixes for the banking code
Alan Cox [Mon, 11 Feb 2019 01:50:39 +0000 (01:50 +0000)]
8080: further fixes for the banking code

5 years agolibrary: build the new tools
Alan Cox [Mon, 11 Feb 2019 01:49:40 +0000 (01:49 +0000)]
library: build the new tools

5 years ago8080: fix syscalls and move to new abi
Alan Cox [Mon, 11 Feb 2019 01:49:28 +0000 (01:49 +0000)]
8080: fix syscalls and move to new abi

5 years agoack2fuzix: tool for building user binaries
Alan Cox [Mon, 11 Feb 2019 01:48:49 +0000 (01:48 +0000)]
ack2fuzix: tool for building user binaries

5 years agosetjmp: correct prototype for 8080
Alan Cox [Mon, 11 Feb 2019 01:48:26 +0000 (01:48 +0000)]
setjmp: correct prototype for 8080

5 years ago8080: more usermem fixes
Alan Cox [Mon, 11 Feb 2019 01:48:14 +0000 (01:48 +0000)]
8080: more usermem fixes

5 years ago8080: switch to new ABI
Alan Cox [Mon, 11 Feb 2019 01:47:51 +0000 (01:47 +0000)]
8080: switch to new ABI

5 years agov8080: remove some debug and add a dependency
Alan Cox [Mon, 11 Feb 2019 01:47:26 +0000 (01:47 +0000)]
v8080: remove some debug and add a dependency

5 years agov8080: fix up the fork copier
Alan Cox [Sun, 10 Feb 2019 16:02:28 +0000 (16:02 +0000)]
v8080: fix up the fork copier

Leave some debug in for now.

With this in place we get a shell prompt - then task switch and die

fork() is really slow. For 8080 we definitely need some smarter logic here
to only copy 0->brk and sp->top and clean up as needed in brk().

5 years ago8080: fix up bugs in the fork and copiers
Alan Cox [Sun, 10 Feb 2019 16:01:50 +0000 (16:01 +0000)]
8080: fix up bugs in the fork and copiers

Task switching is still busted somewhere

5 years agov8080: core changes to get to the point we can start init properly
Alan Cox [Sun, 10 Feb 2019 15:39:20 +0000 (15:39 +0000)]
v8080: core changes to get to the point we can start init properly

5 years agostart: it's 2019
Alan Cox [Sun, 10 Feb 2019 15:39:00 +0000 (15:39 +0000)]
start: it's 2019

5 years ago8080: more work on usermem
Alan Cox [Sun, 10 Feb 2019 02:04:24 +0000 (02:04 +0000)]
8080: more work on usermem

5 years agov8080: install interrupt handler
Alan Cox [Sun, 10 Feb 2019 01:44:03 +0000 (01:44 +0000)]
v8080: install interrupt handler

5 years agov8080: try and get bss end
Alan Cox [Sun, 10 Feb 2019 01:37:58 +0000 (01:37 +0000)]
v8080: try and get bss end

Doesn't work ??

5 years agov8080: sort out where we set stuff up
Alan Cox [Sun, 10 Feb 2019 01:37:37 +0000 (01:37 +0000)]
v8080: sort out where we set stuff up

5 years agov8080: simulator tty doesn't have output blocking
Alan Cox [Sun, 10 Feb 2019 01:36:04 +0000 (01:36 +0000)]
v8080: simulator tty doesn't have output blocking

5 years ago8080: Fix and workarounds to get crt0 up and working
Alan Cox [Sun, 10 Feb 2019 01:34:57 +0000 (01:34 +0000)]
8080: Fix and workarounds to get crt0 up and working

5 years agov8080: Fix bootblock and building of it
Alan Cox [Sun, 10 Feb 2019 01:34:40 +0000 (01:34 +0000)]
v8080: Fix bootblock and building of it

5 years agov8080: add the compiler helper restarts
Alan Cox [Sat, 9 Feb 2019 23:17:15 +0000 (23:17 +0000)]
v8080: add the compiler helper restarts

5 years ago8080: update README
Alan Cox [Sat, 9 Feb 2019 21:57:11 +0000 (21:57 +0000)]
8080: update README

5 years agov8080: Various pieces of work to bring us closer to testing
Alan Cox [Sat, 9 Feb 2019 21:55:02 +0000 (21:55 +0000)]
v8080: Various pieces of work to bring us closer to testing

We now have a disk driver and a serial driver.

5 years ago8080: fill out the rest of usermem
Alan Cox [Sat, 9 Feb 2019 21:53:45 +0000 (21:53 +0000)]
8080: fill out the rest of usermem

5 years ago8080: kernel.def
Alan Cox [Sat, 9 Feb 2019 21:52:32 +0000 (21:52 +0000)]
8080: kernel.def

The main thing here is the section stuff. The ACK toolchain just numbers sections
and if you name them differently or in a different order in a file it just doesn't
care. Nasty.... so define our order here at the start of each asm file hopefully

5 years ago8080: ABI fixes (DE return not HL)
Alan Cox [Sat, 9 Feb 2019 21:51:57 +0000 (21:51 +0000)]
8080: ABI fixes (DE return not HL)

5 years ago8080fixedbank: fast(er) copier
Alan Cox [Sat, 9 Feb 2019 21:51:19 +0000 (21:51 +0000)]
8080fixedbank: fast(er) copier

5 years ago8080: preserve BC on switches as required by the compiler ABI
Alan Cox [Sat, 9 Feb 2019 21:50:47 +0000 (21:50 +0000)]
8080: preserve BC on switches as required by the compiler ABI

5 years ago8080: build the new tools
Alan Cox [Sat, 9 Feb 2019 21:50:32 +0000 (21:50 +0000)]
8080: build the new tools

5 years agotools: ack 8080 helpers to write a usable map file and kernel image
Alan Cox [Sat, 9 Feb 2019 21:49:53 +0000 (21:49 +0000)]
tools: ack 8080 helpers to write a usable map file and kernel image

5 years agov8080: first cut at a boot block
Alan Cox [Sat, 9 Feb 2019 20:44:46 +0000 (20:44 +0000)]
v8080: first cut at a boot block

5 years agoApplications: unify 8080 build rules using $FUZIX_ROOT and force -mfuzix
Alan Cox [Sat, 9 Feb 2019 18:15:19 +0000 (18:15 +0000)]
Applications: unify 8080 build rules using $FUZIX_ROOT and force -mfuzix

5 years agotar: hack for 8080 ack compiler
Alan Cox [Sat, 9 Feb 2019 18:15:05 +0000 (18:15 +0000)]
tar: hack for 8080 ack compiler

5 years ago8080: Fix library 8080 build assumptions and bugs
Alan Cox [Sat, 9 Feb 2019 18:14:31 +0000 (18:14 +0000)]
8080: Fix library 8080 build assumptions and bugs

5 years agov8080: find the ACK tools automatically
Alan Cox [Sat, 9 Feb 2019 18:13:00 +0000 (18:13 +0000)]
v8080: find the ACK tools automatically

5 years agoMakefile: add a FUZIX_ROOT
Alan Cox [Sat, 9 Feb 2019 18:12:39 +0000 (18:12 +0000)]
Makefile: add a FUZIX_ROOT

5 years agopentagon: first draft at a port
Alan Cox [Fri, 8 Feb 2019 23:03:45 +0000 (23:03 +0000)]
pentagon: first draft at a port

There is lots to do here including writing some bootstrap code so we can
actually test it

5 years agor2k: initial usermem
Alan Cox [Fri, 8 Feb 2019 21:40:15 +0000 (21:40 +0000)]
r2k: initial usermem

This can be optimized a lot it's basically just a Z80 copy for now

5 years agorabbit: further work to get to a buildable state
Alan Cox [Fri, 8 Feb 2019 21:39:53 +0000 (21:39 +0000)]
rabbit: further work to get to a buildable state

5 years agor2k: fix up low level code and add in/out
Alan Cox [Fri, 8 Feb 2019 21:38:49 +0000 (21:38 +0000)]
r2k: fix up low level code and add in/out

5 years agobankfixed: kill dead stuff
Alan Cox [Fri, 8 Feb 2019 21:38:37 +0000 (21:38 +0000)]
bankfixed: kill dead stuff

5 years agor2k: fix build rules and compiler properties
Alan Cox [Fri, 8 Feb 2019 21:38:21 +0000 (21:38 +0000)]
r2k: fix build rules and compiler properties

5 years agobinmunge: 6 not 4 bytes per stub
Alan Cox [Fri, 8 Feb 2019 21:37:52 +0000 (21:37 +0000)]
binmunge: 6 not 4 bytes per stub

5 years agorabbit: initial work on the JackRabbit (BL18x0) boards
Alan Cox [Thu, 7 Feb 2019 23:39:59 +0000 (23:39 +0000)]
rabbit: initial work on the JackRabbit (BL18x0) boards

Not yet anything fully build and bootable

5 years agorabbit: add r2k cpu rules
Alan Cox [Thu, 7 Feb 2019 23:38:51 +0000 (23:38 +0000)]
rabbit: add r2k cpu rules

5 years agorabbit: offsets and register defines
Alan Cox [Thu, 7 Feb 2019 23:38:06 +0000 (23:38 +0000)]
rabbit: offsets and register defines

5 years agorabbit: remove original sketch lowlevel code
Alan Cox [Thu, 7 Feb 2019 23:37:15 +0000 (23:37 +0000)]
rabbit: remove original sketch lowlevel code

We actually need at least three different implementations. One for the 2000,
one for the 3000, and one for the 3000A

5 years agorabbit: Low level code for the r2k
Alan Cox [Thu, 7 Feb 2019 23:36:58 +0000 (23:36 +0000)]
rabbit: Low level code for the r2k

5 years agoLibrary: fix make clean for r2k/z80
Alan Cox [Thu, 7 Feb 2019 23:36:17 +0000 (23:36 +0000)]
Library: fix make clean for r2k/z80

5 years agorabbit: syscall stub
Alan Cox [Thu, 7 Feb 2019 23:35:20 +0000 (23:35 +0000)]
rabbit: syscall stub

5 years agocpmfs: fix make clean for r2k
Alan Cox [Thu, 7 Feb 2019 22:03:55 +0000 (22:03 +0000)]
cpmfs: fix make clean for r2k

5 years agotar: fixing this for ack unfixes it for cc65
Alan Cox [Wed, 6 Feb 2019 18:58:56 +0000 (18:58 +0000)]
tar: fixing this for ack unfixes it for cc65

So put it back until we can fix ack or hack something up

5 years ago8080: core enabling
Alan Cox [Wed, 6 Feb 2019 14:02:02 +0000 (14:02 +0000)]
8080: core enabling

(Incomplete)

5 years ago8080: initial cpu bits for 8080 support
Alan Cox [Wed, 6 Feb 2019 14:00:53 +0000 (14:00 +0000)]
8080: initial cpu bits for 8080 support

5 years agov8080: initial bits for 8080 support
Alan Cox [Wed, 6 Feb 2019 14:00:41 +0000 (14:00 +0000)]
v8080: initial bits for 8080 support

5 years agousermem: fix up missing newline to keep ack happy
Alan Cox [Wed, 6 Feb 2019 13:08:35 +0000 (13:08 +0000)]
usermem: fix up missing newline to keep ack happy

5 years agotiny68k: update README
Alan Cox [Wed, 6 Feb 2019 13:08:22 +0000 (13:08 +0000)]
tiny68k: update README

5 years agokernel: add 8080 cpu type
Alan Cox [Wed, 6 Feb 2019 13:06:40 +0000 (13:06 +0000)]
kernel: add 8080 cpu type

5 years agobank8086: fix missing newline so ack doesn't explode
Alan Cox [Wed, 6 Feb 2019 13:06:22 +0000 (13:06 +0000)]
bank8086: fix missing newline so ack doesn't explode

5 years agoz80: fix a condition check in the null handler
Alan Cox [Wed, 6 Feb 2019 13:06:08 +0000 (13:06 +0000)]
z80: fix a condition check in the null handler

5 years agoApplications: 8080 tidy and optimizer on
Alan Cox [Tue, 5 Feb 2019 12:18:11 +0000 (12:18 +0000)]
Applications: 8080 tidy and optimizer on

5 years ago8080: levee
Alan Cox [Tue, 5 Feb 2019 11:58:03 +0000 (11:58 +0000)]
8080: levee

In practice though the code density ack achieves with 8080 isn't sufficient
to fit

5 years ago8080: and build plato
Alan Cox [Tue, 5 Feb 2019 11:55:51 +0000 (11:55 +0000)]
8080: and build plato

5 years agocpmfs: 8080 support
Alan Cox [Tue, 5 Feb 2019 11:55:24 +0000 (11:55 +0000)]
cpmfs: 8080 support

5 years ago8080: more build Makefiles
Alan Cox [Tue, 5 Feb 2019 11:49:08 +0000 (11:49 +0000)]
8080: more build Makefiles

5 years agoMWC: Makefile for 8080
Alan Cox [Tue, 5 Feb 2019 11:42:17 +0000 (11:42 +0000)]
MWC: Makefile for 8080

5 years agotar: ack cc needs [0] not [] for 0 length arrays
Alan Cox [Tue, 5 Feb 2019 11:40:13 +0000 (11:40 +0000)]
tar: ack cc needs [0] not [] for 0 length arrays

5 years agosort: fix temporary file names
Alan Cox [Tue, 5 Feb 2019 11:39:38 +0000 (11:39 +0000)]
sort: fix temporary file names

5 years agoSmallC: Fix 6809 Makefile add 8080
Alan Cox [Tue, 5 Feb 2019 11:36:21 +0000 (11:36 +0000)]
SmallC: Fix 6809 Makefile add 8080

5 years agonetd: 8080 bits
Alan Cox [Tue, 5 Feb 2019 11:32:36 +0000 (11:32 +0000)]
netd: 8080 bits

We can't yet build netd because we need a different cpp so that we get the
... in preprocessing handled right

5 years agonetdev.h: not all our compilers do anonymous union
Alan Cox [Tue, 5 Feb 2019 11:32:11 +0000 (11:32 +0000)]
netdev.h: not all our compilers do anonymous union

We can fix this now before it gets used in anger

5 years agoqrun: we don't use the extra debug args so remove the vararg stuff
Alan Cox [Tue, 5 Feb 2019 11:08:31 +0000 (11:08 +0000)]
qrun: we don't use the extra debug args so remove the vararg stuff

5 years agotravis: fix travis config I hope
Alan Cox [Tue, 5 Feb 2019 00:28:03 +0000 (00:28 +0000)]
travis: fix travis config I hope

5 years agoack8080-filter: extract the support bits from the C library
Alan Cox [Tue, 5 Feb 2019 00:19:53 +0000 (00:19 +0000)]
ack8080-filter: extract the support bits from the C library

5 years ago8080: Build htons/htonl
Alan Cox [Tue, 5 Feb 2019 00:19:10 +0000 (00:19 +0000)]
8080: Build htons/htonl

5 years agosetjmp: 8080
Alan Cox [Tue, 5 Feb 2019 00:18:47 +0000 (00:18 +0000)]
setjmp: 8080

5 years agotimes.h: add missing newline
Alan Cox [Tue, 5 Feb 2019 00:18:30 +0000 (00:18 +0000)]
times.h: add missing newline

This blows up ack

5 years agoman: fix NULL check
Alan Cox [Mon, 4 Feb 2019 23:15:19 +0000 (23:15 +0000)]
man: fix NULL check