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>
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>
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>
Alan Cox [Mon, 25 Jun 2018 21:10:37 +0000 (22:10 +0100)]
binman: discard may be above commonmem and that's just fine
Alan Cox [Mon, 25 Jun 2018 21:10:23 +0000 (22:10 +0100)]
trs80: NMI masking fix
Alan Cox [Mon, 25 Jun 2018 21:09:52 +0000 (22:09 +0100)]
z80: use visualize in the build
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.
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...
Alan Cox [Sun, 10 Jun 2018 20:11:35 +0000 (21:11 +0100)]
trs80m1: wire up all the model 3 floppy support (untested)
Alan Cox [Sun, 10 Jun 2018 20:10:36 +0000 (21:10 +0100)]
trs80m1: add TRS80 model 3 low level floppy code (first attempt)
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
Alan Cox [Sun, 10 Jun 2018 20:08:49 +0000 (21:08 +0100)]
trs80m1: Add model 3 floppy driver initial attempt
Alan Cox [Sat, 9 Jun 2018 15:57:11 +0000 (16:57 +0100)]
trs80m1: first bits to deal with model III interrupt differences
Alan Cox [Sat, 9 Jun 2018 15:56:47 +0000 (16:56 +0100)]
trs80m1: detect Model III
Alan Cox [Sat, 9 Jun 2018 15:56:32 +0000 (16:56 +0100)]
trs80m1: build Model III boot image
Alan Cox [Sat, 9 Jun 2018 15:56:14 +0000 (16:56 +0100)]
makejv3: sort out skewing support
Alan Cox [Sat, 9 Jun 2018 15:55:47 +0000 (16:55 +0100)]
trs80m1: Model III loader
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
Alan Cox [Wed, 6 Jun 2018 11:53:28 +0000 (12:53 +0100)]
trs80m1: update comments
Alan Cox [Sat, 2 Jun 2018 22:19:30 +0000 (23:19 +0100)]
trs80m1: tricks clean up
Alan Cox [Sat, 2 Jun 2018 22:10:36 +0000 (23:10 +0100)]
tricks: tidy up comments
Alan Cox [Sat, 2 Jun 2018 22:07:03 +0000 (23:07 +0100)]
tricks: note comments
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
Alan Cox [Sat, 2 Jun 2018 21:58:44 +0000 (22:58 +0100)]
binman: generate valid binaries for high memory
Alan Cox [Sat, 2 Jun 2018 21:58:19 +0000 (22:58 +0100)]
vt: guide the compiler into optimizing the fast path
Alan Cox [Sat, 2 Jun 2018 21:58:08 +0000 (22:58 +0100)]
process: correct SIGCHLD check
Alan Cox [Sat, 2 Jun 2018 21:57:48 +0000 (22:57 +0100)]
trs80: don't halt in the loop - it has weird effects
Alan Cox [Sat, 2 Jun 2018 21:57:12 +0000 (22:57 +0100)]
trs80m1: speed up the vt processing
Alan Cox [Sat, 2 Jun 2018 21:56:34 +0000 (22:56 +0100)]
trs80: add bank helper for fast bank to bank copies
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.