FUZIX.git
6 years agorc2014: fix wrong comment
Alan Cox [Sun, 1 Jul 2018 19:39:54 +0000 (20:39 +0100)]
rc2014: fix wrong comment

6 years agococo2cart: tweak so that sdc and ide fit together
Alan Cox [Sun, 1 Jul 2018 19:07:24 +0000 (20:07 +0100)]
coco2cart: tweak so that sdc and ide fit together

6 years agocursesgames: add packaging rule
Alan Cox [Sun, 1 Jul 2018 18:50:44 +0000 (19:50 +0100)]
cursesgames: add packaging rule

6 years agoStandalone add /usr/games and /usr/games/lib
Alan Cox [Sun, 1 Jul 2018 18:49:03 +0000 (19:49 +0100)]
Standalone add /usr/games and /usr/games/lib

6 years agogames: relocate to /usr/games
Alan Cox [Sun, 1 Jul 2018 18:47:58 +0000 (19:47 +0100)]
games: relocate to /usr/games

6 years agocave: use full path to database and relocate into games
Alan Cox [Sun, 1 Jul 2018 18:47:43 +0000 (19:47 +0100)]
cave: use full path to database and relocate into games

6 years agomtx: remove obsolete comment
Alan Cox [Sun, 1 Jul 2018 13:33:34 +0000 (14:33 +0100)]
mtx: remove obsolete comment

6 years agotrs80m1: update docs a bit
Alan Cox [Sat, 30 Jun 2018 23:11:19 +0000 (00:11 +0100)]
trs80m1: update docs a bit

6 years agotrs80: update README
Alan Cox [Sat, 30 Jun 2018 23:08:06 +0000 (00:08 +0100)]
trs80: update README

6 years agoubee: update docs
Alan Cox [Sat, 30 Jun 2018 23:05:21 +0000 (00:05 +0100)]
ubee: update docs

6 years agodevfd_hw: Save IY as the C compiler requires, call _platform_idle when waiting
Alan Cox [Sat, 30 Jun 2018 22:21:16 +0000 (23:21 +0100)]
devfd_hw: Save IY as the C compiler requires, call _platform_idle when waiting

6 years agotimer.c: note an optional improvement
Alan Cox [Sat, 30 Jun 2018 22:11:38 +0000 (23:11 +0100)]
timer.c: note an optional improvement

6 years agorc2014: note something we need to attend to to do clockless
Alan Cox [Sat, 30 Jun 2018 22:11:23 +0000 (23:11 +0100)]
rc2014: note something we need to attend to to do clockless

6 years agop112: note apparent bug to review
Alan Cox [Sat, 30 Jun 2018 22:11:02 +0000 (23:11 +0100)]
p112: note apparent bug to review

6 years agolowlevel-z80: Fix a tiny hole in the reti handling
Alan Cox [Sat, 30 Jun 2018 22:10:12 +0000 (23:10 +0100)]
lowlevel-z80: Fix a tiny hole in the reti handling

What's not documented properly in the manual is that reti behaves like retn
in IFF1/2 handling not like ret.

6 years agoz80fixedbank: add missing include
Alan Cox [Sat, 30 Jun 2018 22:09:21 +0000 (23:09 +0100)]
z80fixedbank: add missing include

6 years agoz80fixedbank-banked: add missing include
Alan Cox [Sat, 30 Jun 2018 22:08:55 +0000 (23:08 +0100)]
z80fixedbank-banked: add missing include

6 years ago65c816: remove unused import
Alan Cox [Sat, 30 Jun 2018 22:08:42 +0000 (23:08 +0100)]
65c816: remove unused import

6 years agokernel: add a cpu type for the rabbit 2k
Alan Cox [Sat, 30 Jun 2018 22:08:17 +0000 (23:08 +0100)]
kernel: add a cpu type for the rabbit 2k

6 years agoz80: add memmove prototype
Alan Cox [Sat, 30 Jun 2018 22:07:58 +0000 (23:07 +0100)]
z80: add memmove prototype

6 years agocursegames: wipe .o files on make clean even with z80
Alan Cox [Sat, 30 Jun 2018 22:07:32 +0000 (23:07 +0100)]
cursegames: wipe .o files on make clean even with z80

6 years agovt: use memmove like we should
Alan Cox [Sat, 30 Jun 2018 21:55:12 +0000 (22:55 +0100)]
vt: use memmove like we should

This breaks a few builds but we need backward scrolling to work so diddums

6 years agococo2cart: fix breakage from vt change
Alan Cox [Sat, 30 Jun 2018 21:54:24 +0000 (22:54 +0100)]
coco2cart: fix breakage from vt change

6 years agoasz80: Well actually as-several-things
Alan Cox [Fri, 29 Jun 2018 21:29:53 +0000 (22:29 +0100)]
asz80: Well actually as-several-things

Some documentation for folks who want to work on finishing it up

6 years agoasz80: forgot the 6502 Makefile
Alan Cox [Fri, 29 Jun 2018 21:27:16 +0000 (22:27 +0100)]
asz80: forgot the 6502 Makefile

6 years agoMerge pull request #635 from piso77/travis
EtchedPixels [Fri, 29 Jun 2018 19:50:40 +0000 (20:50 +0100)]
Merge pull request #635 from piso77/travis

travis: add 65xx build deps to let the build start

6 years agotravis: add 65xx build deps to let the build start
Paolo Pisati [Fri, 29 Jun 2018 09:42:10 +0000 (11:42 +0200)]
travis: add 65xx build deps to let the build start

Signed-off-by: Paolo Pisati <p.pisati@gmail.com>
6 years agotravis: build v65c816 as well - hopefully
Alan Cox [Thu, 28 Jun 2018 16:40:09 +0000 (17:40 +0100)]
travis: build v65c816 as well - hopefully

    Servalan: Are you beginning to have doubts, Travis?
    Travis: No. It won't fail.

6 years agoinvaders: remove FP usage
Alan Cox [Thu, 28 Jun 2018 16:37:53 +0000 (17:37 +0100)]
invaders: remove FP usage

I *think* this is a correct conversion. Does want checking.

6 years ago6502: build cursesgames with curses
Alan Cox [Thu, 28 Jun 2018 16:37:36 +0000 (17:37 +0100)]
6502: build cursesgames with curses

6 years agocurses: build for 6502
Alan Cox [Thu, 28 Jun 2018 16:37:17 +0000 (17:37 +0100)]
curses: build for 6502

6 years agoMerge pull request #633 from piso77/travis_badge
EtchedPixels [Thu, 28 Jun 2018 14:59:01 +0000 (15:59 +0100)]
Merge pull request #633 from piso77/travis_badge

README: show build status and link to build results

6 years agoMerge pull request #634 from piso77/v65c816_fixes
EtchedPixels [Thu, 28 Jun 2018 14:58:40 +0000 (15:58 +0100)]
Merge pull request #634 from piso77/v65c816_fixes

games: fix hamurabi build by expliciting void types

6 years agogames: fix hamurabi build by expliciting void types
Paolo Pisati [Thu, 28 Jun 2018 13:32:48 +0000 (15:32 +0200)]
games: fix hamurabi build by expliciting void types

Signed-off-by: Paolo Pisati <p.pisati@gmail.com>
6 years agoREADME: show build status and link to build results
Paolo Pisati [Thu, 28 Jun 2018 07:28:30 +0000 (09:28 +0200)]
README: show build status and link to build results

Signed-off-by: Paolo Pisati <p.pisati@gmail.com>
6 years agoMerge branch 'master' of https://github.com/EtchedPixels/FUZIX
Alan Cox [Wed, 27 Jun 2018 21:36:46 +0000 (22:36 +0100)]
Merge branch 'master' of https://github.com/EtchedPixels/FUZIX

6 years agocpm: tools for working with CP/M media
Alan Cox [Wed, 27 Jun 2018 21:35:57 +0000 (22:35 +0100)]
cpm: tools for working with CP/M media

These need some work but the architecture is clean and they are small unlike
some of the modern tooling.

6 years agoMerge pull request #632 from piso77/travis
EtchedPixels [Wed, 27 Jun 2018 17:57:52 +0000 (18:57 +0100)]
Merge pull request #632 from piso77/travis

travis: re-enable Travis CI

6 years agotravis: re-enable Travis CI
Paolo Pisati [Mon, 11 Jun 2018 16:19:43 +0000 (18:19 +0200)]
travis: re-enable Travis CI

z80: rc2014 trs80 and z80pack
mc6809: dragon-nx32

my ppa contains the latest cc65 toolchain too, but unfortunately both the v65
and v65816 target fails to build.

Signed-off-by: Paolo Pisati <p.pisati@gmail.com>
6 years agogetopt: Add missing POSIX optopt
Alan Cox [Tue, 26 Jun 2018 20:25:10 +0000 (21:25 +0100)]
getopt: Add missing POSIX optopt

6 years agoMerge pull request #630 from piso77/z80_fuzix_ccopts
EtchedPixels [Tue, 26 Jun 2018 09:14:48 +0000 (10:14 +0100)]
Merge pull request #630 from piso77/z80_fuzix_ccopts

Z80 fuzix ccopts

6 years agoMerge pull request #629 from piso77/rc2014_fix
EtchedPixels [Tue, 26 Jun 2018 09:11:51 +0000 (10:11 +0100)]
Merge pull request #629 from piso77/rc2014_fix

rc2014: dont fail to build if ../rc2014_root_fs doesnt exist

6 years agoApplications/flashrom: Makefile.z80: use $(FUZIX_CCOPTS)
Paolo Pisati [Fri, 22 Jun 2018 17:33:29 +0000 (19:33 +0200)]
Applications/flashrom: Makefile.z80: use $(FUZIX_CCOPTS)

Signed-off-by: Paolo Pisati <p.pisati@gmail.com>
6 years agoApplications/cursesgames: Makefile.z80: use $(FUZIX_CCOPTS)
Paolo Pisati [Fri, 22 Jun 2018 16:40:21 +0000 (18:40 +0200)]
Applications/cursesgames: Makefile.z80: use $(FUZIX_CCOPTS)

Signed-off-by: Paolo Pisati <p.pisati@gmail.com>
6 years agoApplications/games: Makefile.z80: use $(FUZIX_CCOPTS)
Paolo Pisati [Fri, 22 Jun 2018 16:43:05 +0000 (18:43 +0200)]
Applications/games: Makefile.z80: use $(FUZIX_CCOPTS)

Signed-off-by: Paolo Pisati <p.pisati@gmail.com>
6 years agoApplications/MWC/cmd/asz80: Makefile.z80: use $(FUZIX_CCOPTS)
Paolo Pisati [Fri, 22 Jun 2018 16:45:51 +0000 (18:45 +0200)]
Applications/MWC/cmd/asz80: Makefile.z80: use $(FUZIX_CCOPTS)

Signed-off-by: Paolo Pisati <p.pisati@gmail.com>
6 years agoApplications/ue: Makefile.z80: use $(FUZIX_CCOPTS)
Paolo Pisati [Fri, 22 Jun 2018 16:51:16 +0000 (18:51 +0200)]
Applications/ue: Makefile.z80: use $(FUZIX_CCOPTS)

Signed-off-by: Paolo Pisati <p.pisati@gmail.com>
6 years agoApplications/MWC/cmd: Makefile.z80: use $(FUZIX_CCOPTS)
Paolo Pisati [Fri, 22 Jun 2018 16:52:31 +0000 (18:52 +0200)]
Applications/MWC/cmd: Makefile.z80: use $(FUZIX_CCOPTS)

Signed-off-by: Paolo Pisati <p.pisati@gmail.com>
6 years agoApplications/SmallC: Makefile.z80: use $(FUZIX_CCOPTS)
Paolo Pisati [Fri, 22 Jun 2018 16:53:35 +0000 (18:53 +0200)]
Applications/SmallC: Makefile.z80: use $(FUZIX_CCOPTS)

Signed-off-by: Paolo Pisati <p.pisati@gmail.com>
6 years agorc2014: dont fail to build if ../rc2014_root_fs doesnt exist
Paolo Pisati [Tue, 26 Jun 2018 07:17:13 +0000 (09:17 +0200)]
rc2014: dont fail to build if ../rc2014_root_fs doesnt exist

Signed-off-by: Paolo Pisati <p.pisati@gmail.com>
6 years agoApplications/as09: Makefile.z80: use $(FUZIX_CCOPTS)
Paolo Pisati [Fri, 22 Jun 2018 16:54:37 +0000 (18:54 +0200)]
Applications/as09: Makefile.z80: use $(FUZIX_CCOPTS)

Signed-off-by: Paolo Pisati <p.pisati@gmail.com>
6 years agoApplications/ld09: Makefile.z80: use $(FUZIX_CCOPTS)
Paolo Pisati [Fri, 22 Jun 2018 16:55:42 +0000 (18:55 +0200)]
Applications/ld09: Makefile.z80: use $(FUZIX_CCOPTS)

Signed-off-by: Paolo Pisati <p.pisati@gmail.com>
6 years agoApplications/util: Makefile.z80: use $(FUZIX_CCOPTS)
Paolo Pisati [Fri, 22 Jun 2018 16:56:28 +0000 (18:56 +0200)]
Applications/util: Makefile.z80: use $(FUZIX_CCOPTS)

Signed-off-by: Paolo Pisati <p.pisati@gmail.com>
6 years agoApplications/V7/games: Makefile.z80: use $(FUZIX_CCOPTS)
Paolo Pisati [Fri, 22 Jun 2018 16:57:30 +0000 (18:57 +0200)]
Applications/V7/games: Makefile.z80: use $(FUZIX_CCOPTS)

Signed-off-by: Paolo Pisati <p.pisati@gmail.com>
6 years agoApplications/V7/cmd/sh: Makefile.z80: use $(FUZIX_CCOPTS)
Paolo Pisati [Fri, 22 Jun 2018 16:47:31 +0000 (18:47 +0200)]
Applications/V7/cmd/sh: Makefile.z80: use $(FUZIX_CCOPTS)

Signed-off-by: Paolo Pisati <p.pisati@gmail.com>
6 years agoApplications/V7/cmd: Makefile.z80: use $(FUZIX_CCOPTS)
Paolo Pisati [Fri, 22 Jun 2018 16:58:29 +0000 (18:58 +0200)]
Applications/V7/cmd: Makefile.z80: use $(FUZIX_CCOPTS)

Signed-off-by: Paolo Pisati <p.pisati@gmail.com>
6 years agoLibrary/libs: Makefile.z80: use $(FUZIX_CCOPTS)
Paolo Pisati [Fri, 22 Jun 2018 16:59:22 +0000 (18:59 +0200)]
Library/libs: Makefile.z80: use $(FUZIX_CCOPTS)

Signed-off-by: Paolo Pisati <p.pisati@gmail.com>
6 years agoMakefile: introduce $FUZIX_CCOPTS as per global optimization level
Paolo Pisati [Fri, 22 Jun 2018 17:06:01 +0000 (19:06 +0200)]
Makefile: introduce $FUZIX_CCOPTS as per global optimization level

Signed-off-by: Paolo Pisati <p.pisati@gmail.com>
6 years agobinman: discard may be above commonmem and that's just fine
Alan Cox [Mon, 25 Jun 2018 21:10:37 +0000 (22:10 +0100)]
binman: discard may be above commonmem and that's just fine

6 years agotrs80: NMI masking fix
Alan Cox [Mon, 25 Jun 2018 21:10:23 +0000 (22:10 +0100)]
trs80: NMI masking fix

6 years agoz80: use visualize in the build
Alan Cox [Mon, 25 Jun 2018 21:09:52 +0000 (22:09 +0100)]
z80: use visualize in the build

6 years agovisualize: provide a visual map of the memory layout - on Z80 at least
Alan Cox [Mon, 25 Jun 2018 21:08:38 +0000 (22:08 +0100)]
visualize: provide a visual map of the memory layout - on Z80 at least

A 64 x 4 display showing 64K split into 256 byte chunks in 64 x 1K vertical
stripes showing free and used spaces.

Doesn't produce sensible output for banked binaries.

6 years agorc2014: import the RC2014 fork of Fuzix and realign it with current kernels
Alan Cox [Sat, 23 Jun 2018 00:18:01 +0000 (01:18 +0100)]
rc2014: import the RC2014 fork of Fuzix and realign it with current kernels

Not yet tested. In theory the changes done are small...

6 years agotrs80m1: wire up all the model 3 floppy support (untested)
Alan Cox [Sun, 10 Jun 2018 20:11:35 +0000 (21:11 +0100)]
trs80m1: wire up all the model 3 floppy support (untested)

6 years agotrs80m1: add TRS80 model 3 low level floppy code (first attempt)
Alan Cox [Sun, 10 Jun 2018 20:10:36 +0000 (21:10 +0100)]
trs80m1: add TRS80 model 3 low level floppy code (first attempt)

6 years agotrs80m1: update floppy FIXME list, grow cmd table a byte for size
Alan Cox [Sun, 10 Jun 2018 20:09:35 +0000 (21:09 +0100)]
trs80m1: update floppy FIXME list, grow cmd table a byte for size

We don't yet support different sizes but it will be needed

6 years agotrs80m1: Add model 3 floppy driver initial attempt
Alan Cox [Sun, 10 Jun 2018 20:08:49 +0000 (21:08 +0100)]
trs80m1: Add model 3 floppy driver initial attempt

6 years agotrs80m1: first bits to deal with model III interrupt differences
Alan Cox [Sat, 9 Jun 2018 15:57:11 +0000 (16:57 +0100)]
trs80m1: first bits to deal with model III interrupt differences

6 years agotrs80m1: detect Model III
Alan Cox [Sat, 9 Jun 2018 15:56:47 +0000 (16:56 +0100)]
trs80m1: detect Model III

6 years agotrs80m1: build Model III boot image
Alan Cox [Sat, 9 Jun 2018 15:56:32 +0000 (16:56 +0100)]
trs80m1: build Model III boot image

6 years agomakejv3: sort out skewing support
Alan Cox [Sat, 9 Jun 2018 15:56:14 +0000 (16:56 +0100)]
makejv3: sort out skewing support

6 years agotrs80m1: Model III loader
Alan Cox [Sat, 9 Jun 2018 15:55:47 +0000 (16:55 +0100)]
trs80m1: Model III loader

6 years agotrs80: fix silly comment
Alan Cox [Sat, 9 Jun 2018 15:55:17 +0000 (16:55 +0100)]
trs80: fix silly comment
trs80: fix silly comment
trs80: fix silly comment
trs80: fix silly comment
trs80: fix silly comment
trs80: fix silly comment
trs80: fix silly comment
trs80: fix silly comment
trs80: fix silly comment

6 years agotrs80m1: update comments
Alan Cox [Wed, 6 Jun 2018 11:53:28 +0000 (12:53 +0100)]
trs80m1: update comments

6 years agotrs80m1: tricks clean up
Alan Cox [Sat, 2 Jun 2018 22:19:30 +0000 (23:19 +0100)]
trs80m1: tricks clean up

6 years agotricks: tidy up comments
Alan Cox [Sat, 2 Jun 2018 22:10:36 +0000 (23:10 +0100)]
tricks: tidy up comments

6 years agotricks: note comments
Alan Cox [Sat, 2 Jun 2018 22:07:03 +0000 (23:07 +0100)]
tricks: note comments

6 years agofsck: diet slightly so you can fsck a reasonable sized fs on a 32K box
Alan Cox [Sat, 2 Jun 2018 21:59:13 +0000 (22:59 +0100)]
fsck: diet slightly so you can fsck a reasonable sized fs on a 32K box

Would be good to look at inlining the bit ops for speed as well I think

6 years agobinman: generate valid binaries for high memory
Alan Cox [Sat, 2 Jun 2018 21:58:44 +0000 (22:58 +0100)]
binman: generate valid binaries for high memory

6 years agovt: guide the compiler into optimizing the fast path
Alan Cox [Sat, 2 Jun 2018 21:58:19 +0000 (22:58 +0100)]
vt: guide the compiler into optimizing the fast path

6 years agoprocess: correct SIGCHLD check
Alan Cox [Sat, 2 Jun 2018 21:58:08 +0000 (22:58 +0100)]
process: correct SIGCHLD check

6 years agotrs80: don't halt in the loop - it has weird effects
Alan Cox [Sat, 2 Jun 2018 21:57:48 +0000 (22:57 +0100)]
trs80: don't halt in the loop - it has weird effects

6 years agotrs80m1: speed up the vt processing
Alan Cox [Sat, 2 Jun 2018 21:57:12 +0000 (22:57 +0100)]
trs80m1: speed up the vt processing

6 years agotrs80: add bank helper for fast bank to bank copies
Alan Cox [Sat, 2 Jun 2018 21:56:34 +0000 (22:56 +0100)]
trs80: add bank helper for fast bank to bank copies

6 years agotrs80m1: add a slightly mad fork copier
Alan Cox [Sat, 2 Jun 2018 21:56:03 +0000 (22:56 +0100)]
trs80m1: add a slightly mad fork copier

It may be crazy but it's fast.....

6 years agotrs80m1: turn on direct I/O
Alan Cox [Sat, 2 Jun 2018 21:55:48 +0000 (22:55 +0100)]
trs80m1: turn on direct I/O

6 years agoz80fixedbank: make the actual copier platform specific in this case
Alan Cox [Sat, 2 Jun 2018 21:54:50 +0000 (22:54 +0100)]
z80fixedbank: make the actual copier platform specific in this case

It really needs to be (and maybe in the others it would be worth revisiting
in the unbanked kerne case for those platforms that need crazy hacks)

6 years agovt: avoid pointless signed maths
Alan Cox [Sat, 2 Jun 2018 19:16:56 +0000 (20:16 +0100)]
vt: avoid pointless signed maths

6 years agoz80: correct banked banking dofork
Alan Cox [Sat, 2 Jun 2018 19:16:32 +0000 (20:16 +0100)]
z80: correct banked banking dofork

With this fixed we now fork correctly on TRS80 model 1

6 years agonetd: build tinyirc as 'tinyirc' to match other platforms
Alan Cox [Sat, 2 Jun 2018 18:00:28 +0000 (19:00 +0100)]
netd: build tinyirc as 'tinyirc' to match other platforms

6 years agoinit: we debugged telinit
Alan Cox [Sat, 2 Jun 2018 17:59:54 +0000 (18:59 +0100)]
init: we debugged telinit

6 years agoApplications: build MWC du
Alan Cox [Sat, 2 Jun 2018 17:59:37 +0000 (18:59 +0100)]
Applications: build MWC du

6 years ago6502: first cut at sorting the pre-emption fun out
Alan Cox [Sat, 2 Jun 2018 16:17:24 +0000 (17:17 +0100)]
6502: first cut at sorting the pre-emption fun out

6 years agoMerge branch 'master' of https://github.com/EtchedPixels/FUZIX
Alan [Sat, 2 Jun 2018 11:54:17 +0000 (12:54 +0100)]
Merge branch 'master' of https://github.com/EtchedPixels/FUZIX

6 years agotrs80m1: Update documentation
Alan [Sat, 2 Jun 2018 11:54:03 +0000 (12:54 +0100)]
trs80m1: Update documentation

6 years agotrs80m1: add go_slow/go_fast helpers
Alan [Sat, 2 Jun 2018 11:53:22 +0000 (12:53 +0100)]
trs80m1: add go_slow/go_fast helpers

Model 1 systems with some accelerators need these.

6 years agofcc: TRS80 model 1 support
Alan [Sat, 2 Jun 2018 11:52:34 +0000 (12:52 +0100)]
fcc: TRS80 model 1 support

6 years agotrs80m1: Set up to build user space high
Alan [Sat, 2 Jun 2018 11:51:57 +0000 (12:51 +0100)]
trs80m1: Set up to build user space high

6 years agotrs80m1: fast/slow floppy handling
Alan [Sat, 2 Jun 2018 11:51:33 +0000 (12:51 +0100)]
trs80m1: fast/slow floppy handling

For turbo cards

6 years agoMerge pull request #624 from beretta42/login
EtchedPixels [Fri, 1 Jun 2018 11:30:09 +0000 (12:30 +0100)]
Merge pull request #624 from beretta42/login

init(getty): set/reset owner of tty on login