FUZIX.git
6 years agotrs80m1: preserve A from the boot loader to use as mapper info
Alan Cox [Thu, 5 Jul 2018 11:58:27 +0000 (12:58 +0100)]
trs80m1: preserve A from the boot loader to use as mapper info

We need different boot blocks for different mappers so make them pass in a
mapper code.

Our current boot blocks all enter with A = 0 s this is compatible.

6 years agotrs80m1: fix comment
Alan Cox [Wed, 4 Jul 2018 23:45:05 +0000 (00:45 +0100)]
trs80m1: fix comment

6 years agotrs80m1: keyboard updates
Alan Cox [Wed, 4 Jul 2018 23:34:47 +0000 (00:34 +0100)]
trs80m1: keyboard updates

6 years agovtsupport: make the TRS80 model 1 lower case optional
Alan Cox [Wed, 4 Jul 2018 23:17:23 +0000 (00:17 +0100)]
vtsupport: make the TRS80 model 1 lower case optional

Add support for both unmodified and lowercase machines (with or without all
the extra Tandy logic)

6 years agostringy: more debug work
Alan Cox [Wed, 4 Jul 2018 23:17:15 +0000 (00:17 +0100)]
stringy: more debug work

6 years agokernel: fix a crash with failing to open char devices
Alan Cox [Wed, 4 Jul 2018 00:50:00 +0000 (01:50 +0100)]
kernel: fix a crash with failing to open char devices

6 years agokernel: default to ro mount
Alan Cox [Wed, 4 Jul 2018 00:49:51 +0000 (01:49 +0100)]
kernel: default to ro mount

6 years agotrs80m1: initial (not yet working right) stringy support
Alan Cox [Wed, 4 Jul 2018 00:49:23 +0000 (01:49 +0100)]
trs80m1: initial (not yet working right) stringy support

6 years agotrs80m1: update README
Alan Cox [Wed, 4 Jul 2018 00:49:15 +0000 (01:49 +0100)]
trs80m1: update README

6 years agotrs80m1: support Model III speedup board
Alan Cox [Wed, 4 Jul 2018 00:48:51 +0000 (01:48 +0100)]
trs80m1: support Model III speedup board

6 years agokernel: add initial tape ioctls
Alan Cox [Wed, 4 Jul 2018 00:47:48 +0000 (01:47 +0100)]
kernel: add initial tape ioctls

6 years agotrs80m1: not differing tty on VG
Alan Cox [Wed, 4 Jul 2018 00:47:13 +0000 (01:47 +0100)]
trs80m1: not differing tty on VG

6 years agokernel: new graphics types
Alan Cox [Wed, 4 Jul 2018 00:46:01 +0000 (01:46 +0100)]
kernel: new graphics types

6 years agotrs80m1: ensure panic message isn't buffered and unseen
Alan Cox [Tue, 3 Jul 2018 16:45:54 +0000 (17:45 +0100)]
trs80m1: ensure panic message isn't buffered and unseen

6 years agotrs80m1: add initial exatron support
Alan Cox [Tue, 3 Jul 2018 15:48:04 +0000 (16:48 +0100)]
trs80m1: add initial exatron support

We need something to develop tape code against and the stringy floppy is nice
and easy on the Model I because it's a ROM full of nice helpers..

6 years agotape: initial tape ioctls
Alan Cox [Tue, 3 Jul 2018 15:47:53 +0000 (16:47 +0100)]
tape: initial tape ioctls

6 years agotrs80m1: fill in the graphics basics
Alan Cox [Mon, 2 Jul 2018 23:51:18 +0000 (00:51 +0100)]
trs80m1: fill in the graphics basics

Not yet tested

6 years agotrs80m1: update README
Alan Cox [Mon, 2 Jul 2018 21:47:49 +0000 (22:47 +0100)]
trs80m1: update README

6 years agotrs80: adopt new description
Alan Cox [Mon, 2 Jul 2018 21:47:25 +0000 (22:47 +0100)]
trs80: adopt new description

6 years agokernel: add trs80 graphics mode
Alan Cox [Mon, 2 Jul 2018 21:45:44 +0000 (22:45 +0100)]
kernel: add trs80 graphics mode

6 years agotrs80m1: finish up minimal graphics reporting
Alan Cox [Mon, 2 Jul 2018 21:44:13 +0000 (22:44 +0100)]
trs80m1: finish up minimal graphics reporting

This doesn't address the model III hi-res graphics board

6 years agotrs80: don't allow serial port terminals to do graphics !
Alan Cox [Mon, 2 Jul 2018 21:43:44 +0000 (22:43 +0100)]
trs80: don't allow serial port terminals to do graphics !

6 years agomode: teach new mode types
Alan Cox [Mon, 2 Jul 2018 21:43:26 +0000 (22:43 +0100)]
mode: teach new mode types

6 years agographics.h: propogate kernel changes
Alan Cox [Mon, 2 Jul 2018 21:43:12 +0000 (22:43 +0100)]
graphics.h: propogate kernel changes

6 years agosignal.h: should define signal() according to the standards
Alan Cox [Mon, 2 Jul 2018 21:20:32 +0000 (22:20 +0100)]
signal.h: should define signal() according to the standards

6 years agotrs80: trivial formatting
Alan Cox [Mon, 2 Jul 2018 21:20:05 +0000 (22:20 +0100)]
trs80: trivial formatting

6 years agotrs80m1: sort out all the multi-console fun
Alan Cox [Mon, 2 Jul 2018 21:19:07 +0000 (22:19 +0100)]
trs80m1: sort out all the multi-console fun

Shift left arrow and shift right arrow switch consoles (2 for now but we could
easily do 4 as the exchange buffers are banked)

6 years agotrs80m1: fix comment
Alan Cox [Mon, 2 Jul 2018 21:18:49 +0000 (22:18 +0100)]
trs80m1: fix comment

6 years agotrs80m1: use the printer port to dump diagnostics
Alan Cox [Mon, 2 Jul 2018 21:18:18 +0000 (22:18 +0100)]
trs80m1: use the printer port to dump diagnostics

6 years agobankld: support banked linking of non common area data
Alan Cox [Mon, 2 Jul 2018 21:17:31 +0000 (22:17 +0100)]
bankld: support banked linking of non common area data

We need this to put things like the vt buffer into a specific bank rather
than common space on TRS80 model 1

6 years agotrs80m1: sort out the keyboard
Alan Cox [Sun, 1 Jul 2018 23:58:12 +0000 (00:58 +0100)]
trs80m1: sort out the keyboard

We now correctly implement the Model I and III keyboards including allowing
the use of downarrow for control and various extra control/control-shift combos
for characters that are otherwise missing.

While we are at it put back the framework for console flipping although this
depends at the moment on a key you can't press !

6 years agotrs80m1: Only poll the serial port
Alan Cox [Sun, 1 Jul 2018 23:56:32 +0000 (00:56 +0100)]
trs80m1: Only poll the serial port

Otherwise we try and ack no existant interrupts, our timers go off and our
keyboard repeat breaks.

With this fixed xtrs works even without delays (ie simulating a 200MHz+ Z80)

6 years agococo2: memory usage
Alan Cox [Sun, 1 Jul 2018 20:15:10 +0000 (21:15 +0100)]
coco2: memory usage
Rearrange memory
Remove drivewire
Pack things into some of the spaces
Use the LEVEL_0 option

At this point we have 28.5K user space

Still really a demo of how small we can go, and for shrinking work.

6 years agococo2: fix build issues, on platform_ and adding memmove
Alan Cox [Sun, 1 Jul 2018 19:52:00 +0000 (20:52 +0100)]
coco2: fix build issues, on platform_ and adding memmove

6 years agococo2cart: tidy up ready for next releases
Alan Cox [Sun, 1 Jul 2018 19:40:05 +0000 (20:40 +0100)]
coco2cart: tidy up ready for next releases

- Fix conversion error in the ide driver
- Shrink by one buffer now we don't use one for paths
- Add graphics support

Which just about fits... we only have a few hundred bytes left at this point

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)