FUZIX.git
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

5 years agoll: check pointer correctly
Alan Cox [Mon, 4 Feb 2019 23:13:59 +0000 (23:13 +0000)]
ll: check pointer correctly

Entertainingly ACK is the first compiler that threw a total fit at this

5 years agosyscall_8080: fix initial glitches
Alan Cox [Mon, 4 Feb 2019 22:58:18 +0000 (22:58 +0000)]
syscall_8080: fix initial glitches

With those fixed we now generate a libc

5 years ago8080:syscall stub
Alan Cox [Mon, 4 Feb 2019 22:58:03 +0000 (22:58 +0000)]
8080:syscall stub

5 years ago8080: headers for the compiler
Alan Cox [Mon, 4 Feb 2019 22:46:46 +0000 (22:46 +0000)]
8080: headers for the compiler

5 years ago8080: initial build Makefile for the libs
Alan Cox [Mon, 4 Feb 2019 22:45:59 +0000 (22:45 +0000)]
8080: initial build Makefile for the libs

Skip the floating point because ACK can't understand 0x1p.. FP syntax
unfortunately

5 years agosyscall_8080: generate call stubs for 8080/8085
Alan Cox [Mon, 4 Feb 2019 22:44:54 +0000 (22:44 +0000)]
syscall_8080: generate call stubs for 8080/8085

5 years agotiny68k: clean up and add cache hooks
Alan Cox [Mon, 4 Feb 2019 18:54:59 +0000 (18:54 +0000)]
tiny68k: clean up and add cache hooks

Nobody has put a 68020 in one but it's a handy emulator test!

5 years agotiny68k: Report correct RAM on tiny68k and on t68krc
Alan Cox [Mon, 4 Feb 2019 18:54:26 +0000 (18:54 +0000)]
tiny68k: Report correct RAM on tiny68k and on t68krc

5 years ago68000: exception handling fix for 68010
Alan Cox [Mon, 4 Feb 2019 18:53:05 +0000 (18:53 +0000)]
68000: exception handling fix for 68010

This needs cleaning up now it works

5 years agoflat: use the accelerated copy and exchange
Alan Cox [Mon, 4 Feb 2019 18:52:44 +0000 (18:52 +0000)]
flat: use the accelerated copy and exchange

5 years ago68000: accelerated copy and exchange functions plus 68020 cache
Alan Cox [Mon, 4 Feb 2019 18:51:41 +0000 (18:51 +0000)]
68000: accelerated copy and exchange functions plus 68020 cache

5 years agoyaz180: initial bits
Alan Cox [Mon, 4 Feb 2019 18:37:49 +0000 (18:37 +0000)]
yaz180: initial bits

5 years ago68000: remove some dead debug
Alan Cox [Mon, 4 Feb 2019 01:26:59 +0000 (01:26 +0000)]
68000: remove some dead debug

5 years ago68000: fix page size reporting
Alan Cox [Mon, 4 Feb 2019 00:38:35 +0000 (00:38 +0000)]
68000: fix page size reporting

5 years agotiny68k: 68010 hooks
Alan Cox [Mon, 4 Feb 2019 00:38:17 +0000 (00:38 +0000)]
tiny68k: 68010 hooks

5 years ago68000: Basic 68010 support
Alan Cox [Mon, 4 Feb 2019 00:37:59 +0000 (00:37 +0000)]
68000: Basic 68010 support

5 years agotiny68k: fix pagesize
Alan Cox [Mon, 4 Feb 2019 00:36:33 +0000 (00:36 +0000)]
tiny68k: fix pagesize

5 years agomakeversion: redefine as banks per 64K, which means 8bit is unchanged
Alan Cox [Sun, 3 Feb 2019 21:24:34 +0000 (21:24 +0000)]
makeversion: redefine as banks per 64K, which means 8bit is unchanged

5 years ago68000flat: don't push unneeded pid return word onto switch stacks
Alan Cox [Sun, 3 Feb 2019 21:21:58 +0000 (21:21 +0000)]
68000flat: don't push unneeded pid return word onto switch stacks

5 years agoMerge branch 'master' of https://github.com/EtchedPixels/FUZIX
Alan Cox [Fri, 1 Feb 2019 14:27:48 +0000 (14:27 +0000)]
Merge branch 'master' of https://github.com/EtchedPixels/FUZIX

5 years agotravis: switch from building z80pack to n8vem-mark4 as a test
Alan Cox [Fri, 1 Feb 2019 14:26:56 +0000 (14:26 +0000)]
travis: switch from building z80pack to n8vem-mark4 as a test

That we we cover Z180.

5 years agoMerge pull request #688 from dbotw/setdate
EtchedPixels [Fri, 1 Feb 2019 12:12:53 +0000 (12:12 +0000)]
Merge pull request #688 from dbotw/setdate

setdate: fix range check of hours and minutes

5 years agoz80pack: move common up to F400 ; more buffers
Alan Cox [Fri, 1 Feb 2019 12:12:03 +0000 (12:12 +0000)]
z80pack: move common up to F400 ; more buffers

5 years agosetdate: fix range check of hours and minutes
Jens Guenther [Thu, 31 Jan 2019 18:23:36 +0000 (18:23 +0000)]
setdate: fix range check of hours and minutes

5 years agobuddy: Throw out the current stuff in favour of a small tight model
Alan Cox [Tue, 29 Jan 2019 23:03:50 +0000 (23:03 +0000)]
buddy: Throw out the current stuff in favour of a small tight model

Not yet tested

5 years agomalloc: lay basis for new buddy allocator that can also pair with flat.c
Alan Cox [Tue, 29 Jan 2019 23:02:55 +0000 (23:02 +0000)]
malloc: lay basis for new buddy allocator that can also pair with flat.c

5 years agotty: fix a silly braces bug
Alan Cox [Tue, 29 Jan 2019 23:02:01 +0000 (23:02 +0000)]
tty: fix a silly braces bug

5 years agov68: tidy up
Alan Cox [Tue, 29 Jan 2019 23:01:46 +0000 (23:01 +0000)]
v68: tidy up

5 years agotiny68k: clean up minor things
Alan Cox [Tue, 29 Jan 2019 23:01:05 +0000 (23:01 +0000)]
tiny68k: clean up minor things

5 years agolevel2: remove dead variable
Alan Cox [Tue, 29 Jan 2019 22:59:49 +0000 (22:59 +0000)]
level2: remove dead variable

5 years agom68000: document Minix trap usage
Alan Cox [Tue, 29 Jan 2019 22:58:51 +0000 (22:58 +0000)]
m68000: document Minix trap usage

5 years agosc108: fix signal handling bug
Alan Cox [Mon, 28 Jan 2019 00:54:10 +0000 (00:54 +0000)]
sc108: fix signal handling bug

5 years agoMakefile: update tiny68k status
Alan Cox [Mon, 28 Jan 2019 00:09:24 +0000 (00:09 +0000)]
Makefile: update tiny68k status

5 years agoreboot: add suspend mode
Alan Cox [Mon, 28 Jan 2019 00:08:50 +0000 (00:08 +0000)]
reboot: add suspend mode

5 years agosc114: fix bug reported by herrw@pluspora
Alan Cox [Sun, 27 Jan 2019 22:13:16 +0000 (22:13 +0000)]
sc114: fix bug reported by herrw@pluspora

5 years agoz80pack32: now obsolete
Alan Cox [Sun, 27 Jan 2019 22:00:39 +0000 (22:00 +0000)]
z80pack32: now obsolete

5 years agorc2014tiny: use ds1302 rtc detect
Alan Cox [Sun, 27 Jan 2019 21:59:55 +0000 (21:59 +0000)]
rc2014tiny: use ds1302 rtc detect

5 years agorc2014: use and report rtc presence
Alan Cox [Sun, 27 Jan 2019 21:59:35 +0000 (21:59 +0000)]
rc2014: use and report rtc presence

5 years agoudata: Fix the remaining legacy udata sizes
Alan Cox [Sun, 27 Jan 2019 21:58:36 +0000 (21:58 +0000)]
udata: Fix the remaining legacy udata sizes

In some cases this should also fix a few bugs

5 years agoubee: fix the udata size bug
Alan Cox [Sun, 27 Jan 2019 21:46:41 +0000 (21:46 +0000)]
ubee: fix the udata size bug

5 years agosc108: use the probing ds1302 support
Alan Cox [Sun, 27 Jan 2019 21:30:26 +0000 (21:30 +0000)]
sc108: use the probing ds1302 support

5 years agovarious: Sort out more U_DATA_TOTALSIZE cases
Alan Cox [Sun, 27 Jan 2019 21:28:01 +0000 (21:28 +0000)]
various: Sort out more U_DATA_TOTALSIZE cases

This changed historically and there is some usage confusion to clean up

5 years agosc108: we have a proper bootloader now (yay)
Alan Cox [Sun, 27 Jan 2019 21:27:03 +0000 (21:27 +0000)]
sc108: we have a proper bootloader now (yay)

5 years agorc2014: fix dead comment
Alan Cox [Sun, 27 Jan 2019 21:26:52 +0000 (21:26 +0000)]
rc2014: fix dead comment

5 years agods1302: add detection logic
Alan Cox [Sun, 27 Jan 2019 21:26:32 +0000 (21:26 +0000)]
ds1302: add detection logic

5 years agosc108: documentation update
Alan Cox [Sun, 27 Jan 2019 21:26:11 +0000 (21:26 +0000)]
sc108: documentation update

5 years agosc108: 512 bytes for the udata save
Alan Cox [Sun, 27 Jan 2019 21:25:30 +0000 (21:25 +0000)]
sc108: 512 bytes for the udata save

Nasty because the wrong size scribbles over a buffer beyond tmpbuf if it
is wrong.

5 years agosc108: fix boot loader update other code
Alan Cox [Sun, 27 Jan 2019 19:32:33 +0000 (19:32 +0000)]
sc108: fix boot loader update other code

Still has a weird crash to dig into

5 years agosc108: sync with CTC and tty work for RC2014
Alan Cox [Sun, 27 Jan 2019 18:27:28 +0000 (18:27 +0000)]
sc108: sync with CTC and tty work for RC2014

5 years agorc2014-tiny: resync the tty and CTC work
Alan Cox [Sun, 27 Jan 2019 18:11:59 +0000 (18:11 +0000)]
rc2014-tiny: resync the tty and CTC work

5 years agorc2014: Support for CTC, fix a load of serial related bugs
Alan Cox [Sun, 27 Jan 2019 17:55:31 +0000 (17:55 +0000)]
rc2014: Support for CTC, fix a load of serial related bugs

Also add support for a second SIO2 card

5 years agorc2014-sbc64: tidy
Alan Cox [Sun, 27 Jan 2019 17:54:01 +0000 (17:54 +0000)]
rc2014-sbc64: tidy

5 years agorc2014-sbc64: Final fixes for SIO cards
Alan Cox [Sun, 27 Jan 2019 17:08:07 +0000 (17:08 +0000)]
rc2014-sbc64: Final fixes for SIO cards

5 years agorc2014-sbc64: Further serial work
Alan Cox [Sun, 27 Jan 2019 16:23:46 +0000 (16:23 +0000)]
rc2014-sbc64: Further serial work

- Fix SIO probing
- Support second SIO card at 0x84
- Tidy up SIO code in general

SIO isn't yet working

5 years agotiny68k: so I remember to tackle the 2MB board
Alan Cox [Sun, 27 Jan 2019 15:40:35 +0000 (15:40 +0000)]
tiny68k: so I remember to tackle the 2MB board

5 years agorc2014-sbc64: Further work
Alan Cox [Sun, 27 Jan 2019 15:34:55 +0000 (15:34 +0000)]
rc2014-sbc64: Further work

- Disable interrupts during a bitbang serial then it works rather better
- Tie SIO to a presence check (not yet probed for)
- Autodetect CTC
- CTC programming and default to CTC if possible
- Fix interrupt vector setup
- Assorted cleanups
- First cut at suspend/resume properly

5 years agoMakefile: add the new platform
Alan Cox [Sat, 26 Jan 2019 23:33:47 +0000 (23:33 +0000)]
Makefile: add the new platform

5 years agoz80sbc64: another day another platform
Alan Cox [Sat, 26 Jan 2019 23:32:03 +0000 (23:32 +0000)]
z80sbc64: another day another platform