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.....
Alan Cox [Sat, 2 Jun 2018 21:55:48 +0000 (22:55 +0100)]
trs80m1: turn on direct I/O
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)
Alan Cox [Sat, 2 Jun 2018 19:16:56 +0000 (20:16 +0100)]
vt: avoid pointless signed maths
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
Alan Cox [Sat, 2 Jun 2018 18:00:28 +0000 (19:00 +0100)]
netd: build tinyirc as 'tinyirc' to match other platforms
Alan Cox [Sat, 2 Jun 2018 17:59:54 +0000 (18:59 +0100)]
init: we debugged telinit
Alan Cox [Sat, 2 Jun 2018 17:59:37 +0000 (18:59 +0100)]
Applications: build MWC du
Alan Cox [Sat, 2 Jun 2018 16:17:24 +0000 (17:17 +0100)]
6502: first cut at sorting the pre-emption fun out
Alan [Sat, 2 Jun 2018 11:54:17 +0000 (12:54 +0100)]
Merge branch 'master' of https://github.com/EtchedPixels/FUZIX
Alan [Sat, 2 Jun 2018 11:54:03 +0000 (12:54 +0100)]
trs80m1: Update documentation
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.
Alan [Sat, 2 Jun 2018 11:52:34 +0000 (12:52 +0100)]
fcc: TRS80 model 1 support
Alan [Sat, 2 Jun 2018 11:51:57 +0000 (12:51 +0100)]
trs80m1: Set up to build user space high
Alan [Sat, 2 Jun 2018 11:51:33 +0000 (12:51 +0100)]
trs80m1: fast/slow floppy handling
For turbo cards
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
Brett Gordon [Fri, 1 Jun 2018 05:42:41 +0000 (01:42 -0400)]
init(getty): set/reset owner of tty on login
Alan Cox [Thu, 31 May 2018 23:50:39 +0000 (00:50 +0100)]
trs80m1: update README
Alan Cox [Thu, 31 May 2018 23:48:31 +0000 (00:48 +0100)]
dc: fix handling of error case for div/mod
NULL is not the right return
EtchedPixels [Thu, 31 May 2018 22:18:57 +0000 (23:18 +0100)]
Merge pull request #623 from piso77/master-piso
Makefile: z80: fix the 'clean' target and make it work again
Paolo Pisati [Thu, 31 May 2018 07:17:31 +0000 (09:17 +0200)]
Makefile: z80: fix the 'clean' target and make it work again
Signed-off-by: Paolo Pisati <p.pisati@gmail.com>
Alan Cox [Wed, 30 May 2018 21:49:01 +0000 (22:49 +0100)]
README: we have a proper platform list elsewhere remove the bitrotted one
EtchedPixels [Wed, 30 May 2018 21:45:37 +0000 (22:45 +0100)]
Merge pull request #622 from piso77/master-ftbfs-games
games: fix compilation
Paolo Pisati [Wed, 30 May 2018 14:03:25 +0000 (16:03 +0200)]
games: fix compilation
...
fortune: 2789 bytes from 256
ls -l adv01 adv02 adv03 adv04 adv05 adv06 adv07 adv08 adv09 adv10 adv11 adv12
adv13 adv14a adv14b myst01 myst02 myst03 myst04 myst05 myst06 myst07 myst0
8 myst09 myst10 myst11 fortune-gen startrek hamurabi cowsay advint fortune
qrun.cb >size.report
ls: cannot access 'qrun.cb': No such file or directory
Makefile.z80:37: recipe for target 'sizes' failed
make[2]: *** [sizes] Error 2
make[2]: Leaving directory '/home/flag/FUZIX/Applications/games'
Makefile:28: recipe for target 'games' failed
make[1]: *** [games] Error 2
make[1]: Leaving directory '/home/flag/FUZIX/Applications'
Makefile:61: recipe for target 'apps' failed
make: *** [apps] Error 2
Signed-off-by: Paolo Pisati <p.pisati@gmail.com>
EtchedPixels [Wed, 30 May 2018 11:30:41 +0000 (12:30 +0100)]
Merge pull request #620 from beretta42/colors
coco3: give all terminals some reasonable default ink/paper colors
Alan [Wed, 30 May 2018 11:01:31 +0000 (12:01 +0100)]
SmallC: Fix make clean warnings
Alan [Wed, 30 May 2018 10:52:19 +0000 (11:52 +0100)]
su: use strlcy and also use bigger buffers
Alan [Wed, 30 May 2018 10:46:29 +0000 (11:46 +0100)]
su: security fixes
Alan [Wed, 30 May 2018 10:41:28 +0000 (11:41 +0100)]
cal: fix clashing definition
Alan [Mon, 28 May 2018 16:09:07 +0000 (17:09 +0100)]
binman: Fix crash with oversized binaries
Alan [Mon, 28 May 2018 16:07:42 +0000 (17:07 +0100)]
cowsay: Make it build with sdcc
Alan [Mon, 28 May 2018 16:07:22 +0000 (17:07 +0100)]
dw: Move makefile to Makefile.z80 and tidy/prepare
Alan [Mon, 28 May 2018 16:06:58 +0000 (17:06 +0100)]
tcl: tidy Makefile move to Makefile.z80
Alan [Mon, 28 May 2018 16:06:02 +0000 (17:06 +0100)]
Makefile: tidy and prepare for 0x8000 build
Alan [Mon, 28 May 2018 16:05:01 +0000 (17:05 +0100)]
Makefile: remove the .c for the yacc files not the .y!
Alan [Mon, 28 May 2018 16:03:20 +0000 (17:03 +0100)]
Makefiles: tidy and fix up ready for 0x8000 build option
Alan [Mon, 28 May 2018 16:02:24 +0000 (17:02 +0100)]
BCPL: move Makefile to Makefile.z80 as per pattern, tidy
Alan [Mon, 28 May 2018 16:00:49 +0000 (17:00 +0100)]
games; tidy makefile - add Z80_PLATFORM and remove fweep
We don't want to try fweep on 8bt - yet...
Brett Gordon [Sat, 26 May 2018 15:52:39 +0000 (11:52 -0400)]
coco3: give all terminals some reasonable default ink/paper colors
Alan Cox [Sat, 26 May 2018 10:16:02 +0000 (11:16 +0100)]
execve: check for binaries too low to load
This got broken when the changes were added to allow high address binaries
to be loaded into big memory windows.
The real fix is to go to relocatable binaries of course
Alan Cox [Sat, 26 May 2018 10:14:51 +0000 (11:14 +0100)]
trs80: fix platform_monitor - NMI can stop halt...
Alan Cox [Fri, 25 May 2018 22:53:09 +0000 (23:53 +0100)]
trs80m1: for a banked kernel we can't shortcut on restores
With this fixed we get up to 'Starting /init' before the world ends
Alan Cox [Fri, 25 May 2018 22:29:32 +0000 (23:29 +0100)]
trs80: fix the same confusing comment
Alan Cox [Fri, 25 May 2018 22:29:14 +0000 (23:29 +0100)]
trs80m1: fix confusing comment
Alan Cox [Fri, 25 May 2018 22:28:34 +0000 (23:28 +0100)]
trs80m1: modify the hard disk helpers so they expected 4 byte calls
Alan Cox [Fri, 25 May 2018 22:26:15 +0000 (23:26 +0100)]
z80-fixedbank-bank: Fixups
With this it all seems to work - although I do need to investigate why
it did a switchout/switchin in the first place. It should have been optimized
out by the switchout() smarts I think
Alan Cox [Fri, 25 May 2018 22:25:48 +0000 (23:25 +0100)]
trs80m1: debugging tty problems - seems to help
Alan Cox [Fri, 25 May 2018 21:49:11 +0000 (22:49 +0100)]
trs80m1: set up the banks correctly
Alan Cox [Fri, 25 May 2018 21:32:23 +0000 (22:32 +0100)]
trs80m1: add the banked fixedbank code
This doesn't seem to work yet - explode on the first switchout/switchin
sequence.
Alan Cox [Fri, 25 May 2018 21:31:25 +0000 (22:31 +0100)]
trs80m1: fix memory sizing add banking hooks
The simple banked memory banking logic will need some improvements for
banked kernels. Add the hooks I think we need
Alan Cox [Fri, 25 May 2018 21:30:49 +0000 (22:30 +0100)]
trs80m1: install irq vectors properly
With this change we now service interrupts and get to the boot prompt albeit
with the wrong memory size
Alan Cox [Fri, 25 May 2018 21:30:16 +0000 (22:30 +0100)]
trs80m1: fix interrupt handling
Alan Cox [Fri, 25 May 2018 21:29:56 +0000 (22:29 +0100)]
trs801: remove surplus code
Alan Cox [Thu, 24 May 2018 23:29:03 +0000 (00:29 +0100)]
games: add cowsay to other makefiles
EtchedPixels [Thu, 24 May 2018 23:27:53 +0000 (00:27 +0100)]
Merge pull request #618 from beretta42/cowsay
Cowsay
EtchedPixels [Thu, 24 May 2018 23:26:37 +0000 (00:26 +0100)]
Merge pull request #617 from beretta42/colors
Fix vt color handling with multiple vts
Alan Cox [Thu, 24 May 2018 23:26:00 +0000 (00:26 +0100)]
trs80m1: constants can't go in DISCARD2
Otherwise they can't be accessed by kprintf!
Alan Cox [Thu, 24 May 2018 23:24:49 +0000 (00:24 +0100)]
trs80m1: banking - measure size available
Needs more work: for some reason we are getting the RAM sizes wrong still
Alan Cox [Thu, 24 May 2018 23:24:26 +0000 (00:24 +0100)]
trs80load: Model 1 loader now seems to put everything in the right place
Alan Cox [Thu, 24 May 2018 23:24:05 +0000 (00:24 +0100)]
trs80m1: correct model detection logic
Alan Cox [Thu, 24 May 2018 23:23:47 +0000 (00:23 +0100)]
trs80m1: correct udata base as we moved it
Alan Cox [Thu, 24 May 2018 23:23:25 +0000 (00:23 +0100)]
trs80m1: clear screen on boot
Alan Cox [Thu, 24 May 2018 23:23:06 +0000 (00:23 +0100)]
trs80m1: fix vt build
Alan Cox [Thu, 24 May 2018 22:21:18 +0000 (23:21 +0100)]
trs80load: Work on the M1 loader
With these changes we actually get to execute Fuzix code... not a lot of it
admittedly at this point!
Alan Cox [Thu, 24 May 2018 22:20:56 +0000 (23:20 +0100)]
trs80m1: sort out the memory mappings
We should have 0 bytes in _CODE
Alan Cox [Thu, 24 May 2018 22:19:55 +0000 (23:19 +0100)]
trs80m1: build the image correctly
Alan Cox [Thu, 24 May 2018 21:10:13 +0000 (22:10 +0100)]
trs80: update documentation
Alan Cox [Thu, 24 May 2018 21:08:04 +0000 (22:08 +0100)]
trs80m1: use new format jv3 arguments
Alan Cox [Thu, 24 May 2018 21:06:03 +0000 (22:06 +0100)]
makejv3: rework somewhat
- Add skewing option
- Add DOS formatting (ie 512 byte/sector) option
(and yes I plan to switch the trs80 ports to 512 byte/sector PC format
floppies for double density at least so we are compatible with other Fuzix
platforms)
Brett Gordon [Thu, 24 May 2018 15:13:59 +0000 (11:13 -0400)]
cowsay: add attribution
Brett Gordon [Thu, 24 May 2018 14:49:14 +0000 (10:49 -0400)]
coco3: dont keep vt color state, kernel does it now.
Brett Gordon [Thu, 24 May 2018 14:47:14 +0000 (10:47 -0400)]
vt: save/load ink and paper colors for multiple vt
Alan Cox [Thu, 24 May 2018 14:32:33 +0000 (15:32 +0100)]
makejv3: update and rework
Fix crash on unknown format
Parse formats properly
Should now support 35 track single sided and the like
Won't work if you pass 2901 sectors (ie it works for 80 track DSDD but not
strange things like 83 track, not 128 byte sector media)
Alan Cox [Thu, 24 May 2018 14:31:37 +0000 (15:31 +0100)]
trs80m1: boot loader
It gets loaded, it starts up and it hangs 8)
Not there yet WIP
Alan Cox [Thu, 24 May 2018 14:31:05 +0000 (15:31 +0100)]
trs80: detect model 1 / video genie / etc
Alan Cox [Thu, 24 May 2018 14:30:34 +0000 (15:30 +0100)]
trs80-bank: model 1 bank size testing initial sketch
Alan Cox [Thu, 24 May 2018 14:30:14 +0000 (15:30 +0100)]
trs80: update model 1 floppy comments
Alan Cox [Thu, 24 May 2018 14:29:52 +0000 (15:29 +0100)]
trs80m1: start building a bootable floppy
Alan Cox [Thu, 24 May 2018 14:29:00 +0000 (15:29 +0100)]
trs80: Make model 1 printer driver also support clones
Alan Cox [Thu, 24 May 2018 14:28:42 +0000 (15:28 +0100)]
trs80: introduce a model type
Alan Cox [Thu, 24 May 2018 14:28:15 +0000 (15:28 +0100)]
trs80: introduce a model type
Alan Cox [Thu, 24 May 2018 14:27:31 +0000 (15:27 +0100)]
z80: fix incorrect call to chksigs
Alan Cox [Thu, 24 May 2018 14:27:12 +0000 (15:27 +0100)]
Makefile: make sure makejv3 is built
Brett Gordon [Wed, 23 May 2018 04:35:04 +0000 (00:35 -0400)]
games: add 'cowsay'
Alan Cox [Tue, 22 May 2018 00:21:03 +0000 (01:21 +0100)]
trs80 model 1: initial commit tree
Work in progress.
Alan Cox [Tue, 22 May 2018 00:17:27 +0000 (01:17 +0100)]
trs80: update model 4 README
Alan Cox [Thu, 17 May 2018 23:57:02 +0000 (00:57 +0100)]
tools: allow discard1/2 to place discard in a given segment
Alan Cox [Thu, 17 May 2018 23:56:39 +0000 (00:56 +0100)]
zx128: note bugs
Alan Cox [Thu, 17 May 2018 17:59:05 +0000 (18:59 +0100)]
trs80: fix build error
Alan Cox [Thu, 17 May 2018 12:38:46 +0000 (13:38 +0100)]
trs80: switch over to using the bank94 code
Keep the old bank.s around just in case we find something incompatible or
problematic.
Alan Cox [Thu, 17 May 2018 12:38:12 +0000 (13:38 +0100)]
trs80: make config.h and the other code agree on the config name
Alan Cox [Thu, 17 May 2018 12:37:35 +0000 (13:37 +0100)]
trs80: fix handling of standard 128K systems
128K systems have *two* banks not one.
Alan Cox [Thu, 17 May 2018 12:37:05 +0000 (13:37 +0100)]
trs80: fix bank94 code
With these fixes this code now correctly sizes and manages extended banking
Alan Cox [Thu, 17 May 2018 12:03:30 +0000 (13:03 +0100)]
8086: while I remember document the early 8086 test in case we need it
Alan Cox [Wed, 16 May 2018 21:48:05 +0000 (22:48 +0100)]
trs80: bank94 will need a lot more bank entries!
Alan Cox [Wed, 16 May 2018 21:47:31 +0000 (22:47 +0100)]
trs80: adjust crt0 so we reclaim all memory between buffers and common
Previously we just clawed back discard, now we use all the space left over
Alan Cox [Wed, 16 May 2018 21:47:10 +0000 (22:47 +0100)]
bank94: fix some obvious bugs before we try it
Alan Cox [Wed, 16 May 2018 21:23:36 +0000 (22:23 +0100)]
trs80: update README
Alan Cox [Wed, 16 May 2018 21:22:40 +0000 (22:22 +0100)]
trs80: Add reboot support, remove now surplus timer ack, init irq mask properly
Alan Cox [Wed, 16 May 2018 21:22:18 +0000 (22:22 +0100)]
trs80: fix IRQ handling logic