FUZIX.git
6 years agodevscsi: don't compile in unused data structures when not needed
Alan Cox [Sat, 21 Jul 2018 12:01:59 +0000 (13:01 +0100)]
devscsi: don't compile in unused data structures when not needed

6 years agoMerge pull request #646 from DBOTW/trslabel
EtchedPixels [Wed, 18 Jul 2018 17:37:05 +0000 (18:37 +0100)]
Merge pull request #646 from DBOTW/trslabel

tools: build trslabel

6 years agotools: build trslabel
Jenz Guenther [Wed, 18 Jul 2018 16:49:45 +0000 (18:49 +0200)]
tools: build trslabel

6 years agoMerge pull request #645 from beretta42/typo
EtchedPixels [Mon, 16 Jul 2018 22:56:08 +0000 (23:56 +0100)]
Merge pull request #645 from beretta42/typo

coco3: fix link script typo

6 years agococo3: fix link script typo
Brett Gordon [Mon, 16 Jul 2018 14:20:11 +0000 (10:20 -0400)]
coco3: fix link script typo

6 years agoapps: Additional 68K makefile entries
Alan Cox [Sun, 15 Jul 2018 22:11:34 +0000 (23:11 +0100)]
apps: Additional 68K makefile entries

6 years agotrs80: fix dumb bug when I added the input patch
Alan Cox [Sun, 15 Jul 2018 22:02:37 +0000 (23:02 +0100)]
trs80: fix dumb bug when I added the input patch

Reported by Jenz Guenther

6 years agols: Add a cleaned up slightly extended V7 ls for comparison
Alan Cox [Sun, 15 Jul 2018 00:16:21 +0000 (01:16 +0100)]
ls: Add a cleaned up slightly extended V7 ls for comparison

I don't think I like it or our current ls that much.

6 years agocp: use bigger buffers
Alan Cox [Sun, 15 Jul 2018 00:16:13 +0000 (01:16 +0100)]
cp: use bigger buffers

6 years agoprocess: small optimzations
Alan Cox [Sat, 14 Jul 2018 23:40:27 +0000 (00:40 +0100)]
process: small optimzations

6 years agokernel: dead code fix
Alan Cox [Sat, 14 Jul 2018 23:37:11 +0000 (00:37 +0100)]
kernel: dead code fix

6 years agocp: fix silence when given insufficient arguments
Alan Cox [Sat, 14 Jul 2018 20:59:28 +0000 (21:59 +0100)]
cp: fix silence when given insufficient arguments

6 years agoamstradnc: fix silly graphics bug
Alan Cox [Sat, 14 Jul 2018 20:56:22 +0000 (21:56 +0100)]
amstradnc: fix silly graphics bug

6 years agokernel: update version to 0.2rc1
Alan Cox [Sat, 14 Jul 2018 20:51:17 +0000 (21:51 +0100)]
kernel: update version to 0.2rc1

We are now feature complete for my 0.2 target list on the kernel side

6 years agotrs80m1: rearrange memory a bit and turn on networking
Alan Cox [Sat, 14 Jul 2018 20:50:03 +0000 (21:50 +0100)]
trs80m1: rearrange memory a bit and turn on networking

It all fits so why not.

6 years agotrs80m1: add input meta handler
Alan Cox [Sat, 14 Jul 2018 20:49:48 +0000 (21:49 +0100)]
trs80m1: add input meta handler

6 years agotrs80: make the model 4 use the new handler
Alan Cox [Sat, 14 Jul 2018 20:49:29 +0000 (21:49 +0100)]
trs80: make the model 4 use the new handler

6 years agokernel: add the input meta handlers
Alan Cox [Sat, 14 Jul 2018 20:49:04 +0000 (21:49 +0100)]
kernel: add the input meta handlers

6 years agotty: turn on the data_consumed event
Alan Cox [Sat, 14 Jul 2018 15:43:38 +0000 (16:43 +0100)]
tty: turn on the data_consumed event

6 years agotrs80m1: further tty debug
Alan Cox [Sat, 14 Jul 2018 15:43:30 +0000 (16:43 +0100)]
trs80m1: further tty debug

6 years agotty: prototypes for the new helper
Alan Cox [Sat, 14 Jul 2018 15:43:00 +0000 (16:43 +0100)]
tty: prototypes for the new helper

6 years agotty: expose re-enabled fullq() helper as the tty layer will need this
Alan Cox [Sat, 14 Jul 2018 15:42:33 +0000 (16:42 +0100)]
tty: expose re-enabled fullq() helper as the tty layer will need this

6 years agotty: add the new tty_data_consumed method
Alan Cox [Sat, 14 Jul 2018 15:42:04 +0000 (16:42 +0100)]
tty: add the new tty_data_consumed method

This is needed for flow control but does mean we need to add a null helper
everywhere.

6 years agotrs80m1: add flow control and fix some other bugs
Alan Cox [Sat, 14 Jul 2018 15:19:42 +0000 (16:19 +0100)]
trs80m1: add flow control and fix some other bugs

This relies on a pending core change that will get pushed soon but needs to
be propogated everywhere else first.

6 years agotrs80m1: clean up devtty.c with indent etc
Alan Cox [Sat, 14 Jul 2018 14:48:17 +0000 (15:48 +0100)]
trs80m1: clean up devtty.c with indent etc

No code changes

6 years agotrs80m1: video genie serial ports .. continued
Alan Cox [Sat, 14 Jul 2018 14:46:49 +0000 (15:46 +0100)]
trs80m1: video genie serial ports .. continued

6 years agolibc: Tidy up use of __NaN
Alan Cox [Sat, 14 Jul 2018 14:29:30 +0000 (15:29 +0100)]
libc: Tidy up use of __NaN

Now that SDCC only warns on divison by 0 we can put these back as they should
be so they also force any appropriate exception handling.

6 years agops: add manual page
Alan Cox [Sat, 14 Jul 2018 14:13:58 +0000 (15:13 +0100)]
ps: add manual page

6 years agosubstroot: enable and use
Alan Cox [Sat, 14 Jul 2018 13:44:27 +0000 (14:44 +0100)]
substroot: enable and use

6 years agoMerge branch 'master' of https://github.com/EtchedPixels/FUZIX
Alan Cox [Sat, 14 Jul 2018 00:33:35 +0000 (01:33 +0100)]
Merge branch 'master' of https://github.com/EtchedPixels/FUZIX

6 years agops: fix up option message
Alan Cox [Sat, 14 Jul 2018 00:33:09 +0000 (01:33 +0100)]
ps: fix up option message

6 years agogfxtest: Lowe LE18 support
Alan Cox [Sat, 14 Jul 2018 00:32:49 +0000 (01:32 +0100)]
gfxtest: Lowe LE18 support

6 years agoinittab: remove blank line
Alan Cox [Sat, 14 Jul 2018 00:32:30 +0000 (01:32 +0100)]
inittab: remove blank line

6 years agosubstroot: add a handy tool we'll use for boot scripts
Alan Cox [Sat, 14 Jul 2018 00:31:58 +0000 (01:31 +0100)]
substroot: add a handy tool we'll use for boot scripts

6 years agotrs80m1: remove double buffering from buffers, speed up user copies
Alan Cox [Sat, 14 Jul 2018 00:30:37 +0000 (01:30 +0100)]
trs80m1: remove double buffering from buffers, speed up user copies

6 years agotrs80m1: make buffers.c a bit more readable
Alan Cox [Fri, 13 Jul 2018 23:09:00 +0000 (00:09 +0100)]
trs80m1: make buffers.c a bit more readable

Depends on the tool chain fix

6 years agotools: record and process source/dest banks to fix data reloc bug
Alan Cox [Fri, 13 Jul 2018 23:07:51 +0000 (00:07 +0100)]
tools: record and process source/dest banks to fix data reloc bug

Before if we had something like

extern char foo[];
char *x = foo;

and foo was banked the fixup code would try and write a code stub mashing
x in the process. Now it treats data to data references as intentional.

6 years agotools: more banked section types
Alan Cox [Fri, 13 Jul 2018 22:51:13 +0000 (23:51 +0100)]
tools: more banked section types

6 years agotrs80m1: big set of somewhat intertwined updates
Alan Cox [Fri, 13 Jul 2018 22:49:23 +0000 (23:49 +0100)]
trs80m1: big set of somewhat intertwined updates

- Move the video genie serial to tty4 - you can after all have either type
  on a VG system
- Add RTC support
- Dynamically sized external buffers

The buffer bouncing logic is still crap and as a result it sucks performance
wise but that's a follow up item.

6 years agotrs80m1: remove dead debugging
Alan Cox [Fri, 13 Jul 2018 22:48:40 +0000 (23:48 +0100)]
trs80m1: remove dead debugging

6 years agokernel: don't declare array size of disk buffers in headers
Alan Cox [Fri, 13 Jul 2018 14:23:11 +0000 (15:23 +0100)]
kernel: don't declare array size of disk buffers in headers

Some platforms resize it later so it's misleading and we don't want someone
using sizeof() where they shouldn't

6 years agoMerge pull request #641 from piso77/fixes
EtchedPixels [Fri, 13 Jul 2018 00:28:36 +0000 (01:28 +0100)]
Merge pull request #641 from piso77/fixes

Misc fixes

6 years agotrs80m1: switch to separately banked buffers
Alan Cox [Fri, 13 Jul 2018 00:26:35 +0000 (01:26 +0100)]
trs80m1: switch to separately banked buffers

This is a first cut. The buffers.c code needs rewriting.

6 years agotrs80m1: update README
Alan Cox [Fri, 13 Jul 2018 00:26:08 +0000 (01:26 +0100)]
trs80m1: update README

6 years agocpuinfo: first cut at a cpuinfo command
Alan Cox [Fri, 13 Jul 2018 00:24:53 +0000 (01:24 +0100)]
cpuinfo: first cut at a cpuinfo command

This one only does Z80 and needs some deubgging and testing before it's at
all reliable.

6502 NMOS/CMOS 65C816 and 6809/6309 are left as an exercise to the reader 8)

6 years agotravis: hook multicomp09
Paolo Pisati [Thu, 12 Jul 2018 17:42:45 +0000 (17:42 +0000)]
travis: hook multicomp09

Signed-off-by: Paolo Pisati <p.pisati@gmail.com>
6 years agoApplications/netd: Makefile.68000: fix typo
Paolo Pisati [Thu, 12 Jul 2018 17:03:53 +0000 (17:03 +0000)]
Applications/netd: Makefile.68000: fix typo

Signed-off-by: Paolo Pisati <p.pisati@gmail.com>
6 years agoLibrary/libs: fuzix-scc6809: rm autogenerated Makefile
Paolo Pisati [Thu, 12 Jul 2018 17:03:11 +0000 (17:03 +0000)]
Library/libs: fuzix-scc6809: rm autogenerated Makefile

Signed-off-by: Paolo Pisati <p.pisati@gmail.com>
6 years agoLibrary/libs: fuzixpdp11: rm autogenerated Makefile
Paolo Pisati [Thu, 12 Jul 2018 17:02:52 +0000 (17:02 +0000)]
Library/libs: fuzixpdp11: rm autogenerated Makefile

Signed-off-by: Paolo Pisati <p.pisati@gmail.com>
6 years agoLibrary/libs: fuzix68000: rm autogenerated Makefile
Paolo Pisati [Thu, 12 Jul 2018 17:01:43 +0000 (17:01 +0000)]
Library/libs: fuzix68000: rm autogenerated Makefile

Signed-off-by: Paolo Pisati <p.pisati@gmail.com>
6 years agotrs80m1: switch to external buffers
Alan Cox [Thu, 12 Jul 2018 14:09:58 +0000 (15:09 +0100)]
trs80m1: switch to external buffers

This is a minimal 'make it work' job.

6 years agotrs80m1: Naïve initial implementation of external buffer support
Alan Cox [Thu, 12 Jul 2018 14:08:54 +0000 (15:08 +0100)]
trs80m1: Naïve initial implementation of external buffer support

This is just to make it work. We need custom buffer to user copiers (fast ones)
to make this work usefully.

6 years agokernel: final pieces needed (I think...) for external buffer support
Alan Cox [Thu, 12 Jul 2018 14:07:45 +0000 (15:07 +0100)]
kernel: final pieces needed (I think...) for external buffer support

6 years agosyscall_exec16: note a cunning (but probably not very good) plan
Alan Cox [Wed, 11 Jul 2018 23:30:27 +0000 (00:30 +0100)]
syscall_exec16: note a cunning (but probably not very good) plan

6 years agotrs80: update README
Alan Cox [Wed, 11 Jul 2018 23:29:47 +0000 (00:29 +0100)]
trs80: update README

6 years agofilesys: Fix build with external buffers
Alan Cox [Wed, 11 Jul 2018 23:29:25 +0000 (00:29 +0100)]
filesys: Fix build with external buffers

6 years agosetdate: fix year in BCD mode
Alan Cox [Wed, 11 Jul 2018 22:22:12 +0000 (23:22 +0100)]
setdate: fix year in BCD mode

6 years agotrs80m1: add clock code but ifdef it back out due to an SDCC bug
Alan Cox [Wed, 11 Jul 2018 22:21:40 +0000 (23:21 +0100)]
trs80m1: add clock code but ifdef it back out due to an SDCC bug

Filed as #2770 in SDCC bug tracker

6 years agoMerge pull request #640 from beretta42/ed
EtchedPixels [Wed, 11 Jul 2018 16:34:01 +0000 (17:34 +0100)]
Merge pull request #640 from beretta42/ed

6809: compile ed in V7

6 years agotrs80m1: devgfx, update comments
Alan Cox [Wed, 11 Jul 2018 12:54:33 +0000 (13:54 +0100)]
trs80m1: devgfx, update comments

6 years agotrs80m1: update README
Alan Cox [Wed, 11 Jul 2018 12:53:59 +0000 (13:53 +0100)]
trs80m1: update README

6 years agonetd: first cut at 68K build
Alan Cox [Wed, 11 Jul 2018 12:53:34 +0000 (13:53 +0100)]
netd: first cut at 68K build

6 years agoMerge remote-tracking branch 'refs/remotes/origin/master'
Alan Cox [Wed, 11 Jul 2018 12:52:44 +0000 (13:52 +0100)]
Merge remote-tracking branch 'refs/remotes/origin/master'

6 years agotrs80: Booting and banking work
Alan Cox [Wed, 11 Jul 2018 12:47:59 +0000 (13:47 +0100)]
trs80: Booting and banking work

1. Get rid of BANK94, make the new bank code the default as it works fine
without a 3rd party bank card
2. Generate "proper" TRS80 disk images. Our boot disk was 40 track DSSD
with sectors numbered from 0. A normal TRS80 disk numbers from 1.
3. Turn on disk skewing so the media layout is a bit more optimal

6 years ago6809: compile ed in V7
Brett Gordon [Wed, 11 Jul 2018 01:36:20 +0000 (21:36 -0400)]
6809: compile ed in V7

6 years agoMerge pull request #639 from piso77/v68_fixes
EtchedPixels [Tue, 10 Jul 2018 20:34:15 +0000 (21:34 +0100)]
Merge pull request #639 from piso77/v68_fixes

Resurrect the v68-banked target

6 years agotravis: hook v68-banked
Paolo Pisati [Tue, 10 Jul 2018 17:37:53 +0000 (19:37 +0200)]
travis: hook v68-banked

Signed-off-by: Paolo Pisati <p.pisati@gmail.com>
6 years agov68-banked: config.h: devices.c invoke devide_init(), add CONFIG_IDE to fix build
Paolo Pisati [Tue, 10 Jul 2018 17:36:54 +0000 (19:36 +0200)]
v68-banked: config.h: devices.c invoke devide_init(), add CONFIG_IDE to fix build

Signed-off-by: Paolo Pisati <p.pisati@gmail.com>
6 years agov68-banked: import missing fuzix.ld from v68
Paolo Pisati [Tue, 10 Jul 2018 17:29:37 +0000 (17:29 +0000)]
v68-banked: import missing fuzix.ld from v68

Signed-off-by: Paolo Pisati <p.pisati@gmail.com>
6 years agoMerge pull request #638 from piso77/v68_fixes
EtchedPixels [Tue, 10 Jul 2018 10:23:04 +0000 (11:23 +0100)]
Merge pull request #638 from piso77/v68_fixes

Resurrect the m68k arch, and hook v68 to Travis

6 years agotravis: hook v68 to the build
Paolo Pisati [Tue, 10 Jul 2018 06:15:00 +0000 (08:15 +0200)]
travis: hook v68 to the build

Signed-off-by: Paolo Pisati <p.pisati@gmail.com>
6 years agoue: 68000: fix compilation
Paolo Pisati [Tue, 10 Jul 2018 07:18:32 +0000 (07:18 +0000)]
ue: 68000: fix compilation

Signed-off-by: Paolo Pisati <p.pisati@gmail.com>
6 years agoue: 68000: try to workaround a weird dependecy/invokation problem...
Paolo Pisati [Tue, 10 Jul 2018 07:17:12 +0000 (07:17 +0000)]
ue: 68000: try to workaround a weird dependecy/invokation problem...

Signed-off-by: Paolo Pisati <p.pisati@gmail.com>
6 years agonetd: 68000: dummy Makefile
Paolo Pisati [Tue, 10 Jul 2018 06:58:50 +0000 (06:58 +0000)]
netd: 68000: dummy Makefile

Signed-off-by: Paolo Pisati <p.pisati@gmail.com>
6 years agocursesgames: 68000: fix compilation
Paolo Pisati [Tue, 10 Jul 2018 06:41:41 +0000 (06:41 +0000)]
cursesgames: 68000: fix compilation

Signed-off-by: Paolo Pisati <p.pisati@gmail.com>
6 years agocrt0: 68000: fix compilation
Paolo Pisati [Sat, 7 Jul 2018 23:02:45 +0000 (23:02 +0000)]
crt0: 68000: fix compilation

Signed-off-by: Paolo Pisati <p.pisati@gmail.com>
6 years agotravis: setup v68 toolchain
Paolo Pisati [Tue, 10 Jul 2018 06:13:51 +0000 (08:13 +0200)]
travis: setup v68 toolchain

Signed-off-by: Paolo Pisati <p.pisati@gmail.com>
6 years agotravis: don't pollute targets with foreign tool/chain
Paolo Pisati [Tue, 10 Jul 2018 05:46:35 +0000 (07:46 +0200)]
travis: don't pollute targets with foreign tool/chain

Signed-off-by: Paolo Pisati <p.pisati@gmail.com>
6 years agotrs80: remove flags for gfx ops we deleted
Alan Cox [Sun, 8 Jul 2018 23:10:32 +0000 (00:10 +0100)]
trs80: remove flags for gfx ops we deleted

6 years agotrs80m1: correct some graphics reporting
Alan Cox [Sun, 8 Jul 2018 23:08:35 +0000 (00:08 +0100)]
trs80m1: correct some graphics reporting

6 years agotrs80m1: Update the documentation
Alan Cox [Sun, 8 Jul 2018 16:56:58 +0000 (17:56 +0100)]
trs80m1: Update the documentation

It's getting complicated

6 years agotrs80m1: new prototype for genie serial
Alan Cox [Sun, 8 Jul 2018 15:39:19 +0000 (16:39 +0100)]
trs80m1: new prototype for genie serial

6 years agotrs80.h: update Genie comment
Alan Cox [Sun, 8 Jul 2018 15:39:05 +0000 (16:39 +0100)]
trs80.h: update Genie comment

6 years agotrs80: comment/typo fix boot code
Alan Cox [Sun, 8 Jul 2018 15:38:38 +0000 (16:38 +0100)]
trs80: comment/typo fix boot code

6 years agotrs80m1: Fix up the Video Genie handling for serial use halt on Model III
Alan Cox [Sun, 8 Jul 2018 15:36:41 +0000 (16:36 +0100)]
trs80m1: Fix up the Video Genie handling for serial use halt on Model III

The model III has a real interrupt driven serial port, so we can just halt
on it.

6 years agotrs80m1: report proper resolution for the Lowe LE-18
Alan Cox [Sun, 8 Jul 2018 15:36:20 +0000 (16:36 +0100)]
trs80m1: report proper resolution for the Lowe LE-18

6 years agotrs80m1: add initial bits for the Lowe Electronics LE18
Alan Cox [Sun, 8 Jul 2018 15:01:27 +0000 (16:01 +0100)]
trs80m1: add initial bits for the Lowe Electronics LE18

6 years agographics.h: add LOWE_LE18
Alan Cox [Sun, 8 Jul 2018 15:01:13 +0000 (16:01 +0100)]
graphics.h: add LOWE_LE18

6 years agotrs80m1: turn on keyboard bit map access
Alan Cox [Sun, 8 Jul 2018 14:04:38 +0000 (15:04 +0100)]
trs80m1: turn on keyboard bit map access

I forgot this earlier, but we also need it so you can set the keyboard map
for things like German TRS80 Model III

6 years agotrs80m1: update VG
Alan Cox [Sun, 8 Jul 2018 00:57:17 +0000 (01:57 +0100)]
trs80m1: update VG

6 years agotrs80m1: update status
Alan Cox [Sun, 8 Jul 2018 00:12:50 +0000 (01:12 +0100)]
trs80m1: update status

6 years agotrs80m1: note we need to make outchar for debugging other trs80 types
Alan Cox [Sun, 8 Jul 2018 00:11:50 +0000 (01:11 +0100)]
trs80m1: note we need to make outchar for debugging other trs80 types

6 years agotrs80m1: notes on serial port
Alan Cox [Sun, 8 Jul 2018 00:11:35 +0000 (01:11 +0100)]
trs80m1: notes on serial port

6 years agotimer: permit runtime decisions that we have no rtc to lock onto
Alan Cox [Sun, 8 Jul 2018 00:10:47 +0000 (01:10 +0100)]
timer: permit runtime decisions that we have no rtc to lock onto

6 years agotrs80m1: boot loader now also handles selector
Alan Cox [Sat, 7 Jul 2018 21:45:24 +0000 (22:45 +0100)]
trs80m1: boot loader now also handles selector

It's a bit tight but it fits. The code really wants a clean up and a squash

6 years agotrs80m1: update status
Alan Cox [Sat, 7 Jul 2018 19:30:03 +0000 (20:30 +0100)]
trs80m1: update status

6 years agotrs80m1: initial ChromaTRS bits
Alan Cox [Sat, 7 Jul 2018 19:27:24 +0000 (20:27 +0100)]
trs80m1: initial ChromaTRS bits

We don't put a console on it (we could) we just advertise it as a graphics
device and support the joystick ports.

The code needed to support it in console mode already exists in the MSX1 and
MTX512 ports, but really needs a VDP simulation adding to xtrs to debug sanely

6 years agomode: there is a difference between the 9918 and 9918A - we mean A
Alan Cox [Sat, 7 Jul 2018 19:26:42 +0000 (20:26 +0100)]
mode: there is a difference between the 9918 and 9918A - we mean A

6 years agotrs80: Fix backspace/delete
Alan Cox [Sat, 7 Jul 2018 18:51:41 +0000 (19:51 +0100)]
trs80: Fix backspace/delete

6 years agorc: use fsck -a
Alan Cox [Sat, 7 Jul 2018 18:50:50 +0000 (19:50 +0100)]
rc: use fsck -a