FUZIX.git
6 years agoz80-fixedbank-bank: Fixups
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

6 years agotrs80m1: debugging tty problems - seems to help
Alan Cox [Fri, 25 May 2018 22:25:48 +0000 (23:25 +0100)]
trs80m1: debugging tty problems - seems to help

6 years agotrs80m1: set up the banks correctly
Alan Cox [Fri, 25 May 2018 21:49:11 +0000 (22:49 +0100)]
trs80m1: set up the banks correctly

6 years agotrs80m1: add the banked fixedbank code
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.

6 years agotrs80m1: fix memory sizing add banking hooks
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

6 years agotrs80m1: install irq vectors properly
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

6 years agotrs80m1: fix interrupt handling
Alan Cox [Fri, 25 May 2018 21:30:16 +0000 (22:30 +0100)]
trs80m1: fix interrupt handling

6 years agotrs801: remove surplus code
Alan Cox [Fri, 25 May 2018 21:29:56 +0000 (22:29 +0100)]
trs801: remove surplus code

6 years agogames: add cowsay to other makefiles
Alan Cox [Thu, 24 May 2018 23:29:03 +0000 (00:29 +0100)]
games: add cowsay to other makefiles

6 years agoMerge pull request #618 from beretta42/cowsay
EtchedPixels [Thu, 24 May 2018 23:27:53 +0000 (00:27 +0100)]
Merge pull request #618 from beretta42/cowsay

Cowsay

6 years agoMerge pull request #617 from beretta42/colors
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

6 years agotrs80m1: constants can't go in DISCARD2
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!

6 years agotrs80m1: banking - measure size available
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

6 years agotrs80load: Model 1 loader now seems to put everything in the right place
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

6 years agotrs80m1: correct model detection logic
Alan Cox [Thu, 24 May 2018 23:24:05 +0000 (00:24 +0100)]
trs80m1: correct model detection logic

6 years agotrs80m1: correct udata base as we moved it
Alan Cox [Thu, 24 May 2018 23:23:47 +0000 (00:23 +0100)]
trs80m1: correct udata base as we moved it

6 years agotrs80m1: clear screen on boot
Alan Cox [Thu, 24 May 2018 23:23:25 +0000 (00:23 +0100)]
trs80m1: clear screen on boot

6 years agotrs80m1: fix vt build
Alan Cox [Thu, 24 May 2018 23:23:06 +0000 (00:23 +0100)]
trs80m1: fix vt build

6 years agotrs80load: Work on the M1 loader
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!

6 years agotrs80m1: sort out the memory mappings
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

6 years agotrs80m1: build the image correctly
Alan Cox [Thu, 24 May 2018 22:19:55 +0000 (23:19 +0100)]
trs80m1: build the image correctly

6 years agotrs80: update documentation
Alan Cox [Thu, 24 May 2018 21:10:13 +0000 (22:10 +0100)]
trs80: update documentation

6 years agotrs80m1: use new format jv3 arguments
Alan Cox [Thu, 24 May 2018 21:08:04 +0000 (22:08 +0100)]
trs80m1: use new format jv3 arguments

6 years agomakejv3: rework somewhat
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)

6 years agocowsay: add attribution
Brett Gordon [Thu, 24 May 2018 15:13:59 +0000 (11:13 -0400)]
cowsay: add attribution

6 years agococo3: dont keep vt color state, kernel does it now.
Brett Gordon [Thu, 24 May 2018 14:49:14 +0000 (10:49 -0400)]
coco3: dont keep vt color state, kernel does it now.

6 years agovt: save/load ink and paper colors for multiple vt
Brett Gordon [Thu, 24 May 2018 14:47:14 +0000 (10:47 -0400)]
vt: save/load ink and paper colors for multiple vt

6 years agomakejv3: update and rework
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)

6 years agotrs80m1: boot loader
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

6 years agotrs80: detect model 1 / video genie / etc
Alan Cox [Thu, 24 May 2018 14:31:05 +0000 (15:31 +0100)]
trs80: detect model 1 / video genie / etc

6 years agotrs80-bank: model 1 bank size testing initial sketch
Alan Cox [Thu, 24 May 2018 14:30:34 +0000 (15:30 +0100)]
trs80-bank: model 1 bank size testing initial sketch

6 years agotrs80: update model 1 floppy comments
Alan Cox [Thu, 24 May 2018 14:30:14 +0000 (15:30 +0100)]
trs80: update model 1 floppy comments

6 years agotrs80m1: start building a bootable floppy
Alan Cox [Thu, 24 May 2018 14:29:52 +0000 (15:29 +0100)]
trs80m1: start building a bootable floppy

6 years agotrs80: Make model 1 printer driver also support clones
Alan Cox [Thu, 24 May 2018 14:29:00 +0000 (15:29 +0100)]
trs80: Make model 1 printer driver also support clones

6 years agotrs80: introduce a model type
Alan Cox [Thu, 24 May 2018 14:28:42 +0000 (15:28 +0100)]
trs80: introduce a model type

6 years agotrs80: introduce a model type
Alan Cox [Thu, 24 May 2018 14:28:15 +0000 (15:28 +0100)]
trs80: introduce a model type

6 years agoz80: fix incorrect call to chksigs
Alan Cox [Thu, 24 May 2018 14:27:31 +0000 (15:27 +0100)]
z80: fix incorrect call to chksigs

6 years agoMakefile: make sure makejv3 is built
Alan Cox [Thu, 24 May 2018 14:27:12 +0000 (15:27 +0100)]
Makefile: make sure makejv3 is built

6 years agogames: add 'cowsay'
Brett Gordon [Wed, 23 May 2018 04:35:04 +0000 (00:35 -0400)]
games: add 'cowsay'

6 years agotrs80 model 1: initial commit tree
Alan Cox [Tue, 22 May 2018 00:21:03 +0000 (01:21 +0100)]
trs80 model 1: initial commit tree

Work in progress.

6 years agotrs80: update model 4 README
Alan Cox [Tue, 22 May 2018 00:17:27 +0000 (01:17 +0100)]
trs80: update model 4 README

6 years agotools: allow discard1/2 to place discard in a given segment
Alan Cox [Thu, 17 May 2018 23:57:02 +0000 (00:57 +0100)]
tools: allow discard1/2 to place discard in a given segment

6 years agozx128: note bugs
Alan Cox [Thu, 17 May 2018 23:56:39 +0000 (00:56 +0100)]
zx128: note bugs

6 years agotrs80: fix build error
Alan Cox [Thu, 17 May 2018 17:59:05 +0000 (18:59 +0100)]
trs80: fix build error

6 years agotrs80: switch over to using the bank94 code
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.

6 years agotrs80: make config.h and the other code agree on the config name
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

6 years agotrs80: fix handling of standard 128K systems
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.

6 years agotrs80: fix bank94 code
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

6 years ago8086: while I remember document the early 8086 test in case we need it
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

6 years agotrs80: bank94 will need a lot more bank entries!
Alan Cox [Wed, 16 May 2018 21:48:05 +0000 (22:48 +0100)]
trs80: bank94 will need a lot more bank entries!

6 years agotrs80: adjust crt0 so we reclaim all memory between buffers and common
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

6 years agobank94: fix some obvious bugs before we try it
Alan Cox [Wed, 16 May 2018 21:47:10 +0000 (22:47 +0100)]
bank94: fix some obvious bugs before we try it

6 years agotrs80: update README
Alan Cox [Wed, 16 May 2018 21:23:36 +0000 (22:23 +0100)]
trs80: update README

6 years agotrs80: Add reboot support, remove now surplus timer ack, init irq mask properly
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

6 years agotrs80: fix IRQ handling logic
Alan Cox [Wed, 16 May 2018 21:22:18 +0000 (22:22 +0100)]
trs80: fix IRQ handling logic

6 years agotrs80: minimal changes for banker modded TRS80
Alan Cox [Wed, 16 May 2018 21:21:19 +0000 (22:21 +0100)]
trs80: minimal changes for banker modded TRS80

For the Dave Huffman style mod we need to set the extra port up. We don't yet
use the extra memory but at least we now don't crash. Other variants of this
should just work either way as they don't boot up in a weird state.

6 years agotrs80: work around a bug in xtrs
Alan Cox [Wed, 16 May 2018 21:20:33 +0000 (22:20 +0100)]
trs80: work around a bug in xtrs

The emulator delays intializing the port until the code touches it. We however
don't necessarily touch it until someone types something and rely on the IRQ.

6 years agotrs80: build the boot loader by default
Alan Cox [Wed, 16 May 2018 21:20:20 +0000 (22:20 +0100)]
trs80: build the boot loader by default

6 years agotrs80: fix a tiny race in the floppy code
Alan Cox [Wed, 16 May 2018 21:18:14 +0000 (22:18 +0100)]
trs80: fix a tiny race in the floppy code

We could otherwise take an NMI in a IRQ held over until the EI. When that
happens we mangle the wrong stack and .... splat!

6 years agotrs80: fix baud rate setting on serial
Alan Cox [Wed, 16 May 2018 21:17:34 +0000 (22:17 +0100)]
trs80: fix baud rate setting on serial

6 years agoMerge pull request #615 from beretta42/games
EtchedPixels [Wed, 16 May 2018 10:57:10 +0000 (11:57 +0100)]
Merge pull request #615 from beretta42/games

6809: compile and add advsys interpreter to games package

6 years ago6809: compile and add advsys interpreter to games package
Brett Gordon [Wed, 16 May 2018 02:15:14 +0000 (22:15 -0400)]
6809: compile and add advsys interpreter to games package

6 years agoadvint: interpreter for Advsys games
Alan Cox [Tue, 15 May 2018 22:44:21 +0000 (23:44 +0100)]
advint: interpreter for Advsys games

Chopped down a little from https://github.com/dbetz/advsys

A lot more cleanup is possible, especially on the tty side

6 years agoubee: plug in video change
Alan Cox [Sun, 13 May 2018 17:43:56 +0000 (18:43 +0100)]
ubee: plug in video change

6 years agovile: start on : command
Alan Cox [Sun, 13 May 2018 17:42:51 +0000 (18:42 +0100)]
vile: start on : command

6 years agoubee: floppy support for direct to user copies
Alan Cox [Sun, 13 May 2018 17:34:56 +0000 (18:34 +0100)]
ubee: floppy support for direct to user copies

6 years agoubee: more preparation for mode setting
Alan Cox [Sun, 13 May 2018 17:33:58 +0000 (18:33 +0100)]
ubee: more preparation for mode setting

Also clean up reboot

6 years agoMerge branch 'master' of https://github.com/EtchedPixels/FUZIX
Alan Cox [Sun, 13 May 2018 12:07:41 +0000 (13:07 +0100)]
Merge branch 'master' of https://github.com/EtchedPixels/FUZIX

6 years agodocs: Fixes for BankedZ80 andd an IRQ doc
Alan Cox [Sun, 13 May 2018 12:07:15 +0000 (13:07 +0100)]
docs: Fixes for BankedZ80 andd an IRQ doc

6 years agoMerge pull request #613 from beretta42/ham
EtchedPixels [Sun, 13 May 2018 12:01:39 +0000 (13:01 +0100)]
Merge pull request #613 from beretta42/ham

hamurabi

6 years agoMerge pull request #614 from beretta42/cursesgames
EtchedPixels [Sun, 13 May 2018 12:00:34 +0000 (13:00 +0100)]
Merge pull request #614 from beretta42/cursesgames

cursesgames: libtermcap needed

6 years agovile: add '%' and 't', fix some delete related bugs
Alan Cox [Sun, 13 May 2018 11:39:07 +0000 (12:39 +0100)]
vile: add '%' and 't', fix some delete related bugs

6 years agocursesgames: libtermcap needed
Brett Gordon [Sun, 13 May 2018 03:10:10 +0000 (23:10 -0400)]
cursesgames: libtermcap needed

6 years agohamurabi: input in base 10.
Brett Gordon [Sun, 13 May 2018 03:56:45 +0000 (23:56 -0400)]
hamurabi: input in base 10.

6 years agohamurabi: add to games package
Brett Gordon [Sun, 13 May 2018 03:06:12 +0000 (23:06 -0400)]
hamurabi: add to games package

6 years agohamurabi: defloat
Brett Gordon [Sun, 13 May 2018 03:04:16 +0000 (23:04 -0400)]
hamurabi: defloat

6 years agovile: Add H / M / L and fix A
Alan Cox [Sat, 12 May 2018 23:29:58 +0000 (00:29 +0100)]
vile: Add H / M / L and fix A

Also fix zz to endwin properly

6 years agofweep: turn more bits u16
Alan Cox [Fri, 11 May 2018 22:52:03 +0000 (23:52 +0100)]
fweep: turn more bits u16

Slowly getting closer to sanity

6 years agoubee: more updates
Alan Cox [Fri, 11 May 2018 22:42:22 +0000 (23:42 +0100)]
ubee: more updates

- non premium colour not works
- font setting *should* now work
- laid foundations for mode switching

6 years agoubee: make IDE work as an option
Alan Cox [Fri, 11 May 2018 22:41:59 +0000 (23:41 +0100)]
ubee: make IDE work as an option

6 years agoamstradnc: fix bug where you could issue gfx ioctls from any tty!
Alan Cox [Fri, 11 May 2018 22:39:55 +0000 (23:39 +0100)]
amstradnc: fix bug where you could issue gfx ioctls from any tty!

6 years agodragon-nx-32: font setting (untested)
Alan Cox [Fri, 11 May 2018 22:39:31 +0000 (23:39 +0100)]
dragon-nx-32: font setting (untested)

6 years agotty: add pieces ready for UDG setting
Alan Cox [Fri, 11 May 2018 22:39:00 +0000 (23:39 +0100)]
tty: add pieces ready for UDG setting

6 years agonet_native: ifdef for convenience
Alan Cox [Fri, 11 May 2018 22:38:44 +0000 (23:38 +0100)]
net_native: ifdef for convenience

6 years agofont8x8: make non const as we may overwrite chunks of it now
Alan Cox [Fri, 11 May 2018 22:38:26 +0000 (23:38 +0100)]
font8x8: make non const as we may overwrite chunks of it now

6 years agovt: change the new cursor on/off codes
Alan Cox [Fri, 11 May 2018 14:47:24 +0000 (15:47 +0100)]
vt: change the new cursor on/off codes

We use e and f, as like many other other extended codes we use we try and follow
the extended vt52 convention of the Atari ST.

6 years agovt: add cursor hiding support
Alan Cox [Fri, 11 May 2018 14:44:28 +0000 (15:44 +0100)]
vt: add cursor hiding support

6 years agocursesgames: Add a directory for curses based games - and space invaders
Alan Cox [Thu, 10 May 2018 22:56:41 +0000 (23:56 +0100)]
cursesgames: Add a directory for curses based games - and space invaders

6 years agogames: build hamurabi
Alan Cox [Thu, 10 May 2018 20:41:01 +0000 (21:41 +0100)]
games: build hamurabi

6 years agohamurabi: history in more than one sense
Alan Cox [Thu, 10 May 2018 20:40:22 +0000 (21:40 +0100)]
hamurabi: history in more than one sense

6 years agofweep: more tidying
Alan Cox [Wed, 9 May 2018 23:26:18 +0000 (00:26 +0100)]
fweep: more tidying

6 years agofweep: squash down to about 18K
Alan Cox [Wed, 9 May 2018 23:13:12 +0000 (00:13 +0100)]
fweep: squash down to about 18K

There is still a fair bit of fat in the dictionary and tokenization code that
wants sorting out. Also some of the other logic wants tweaking to use pointers
more I suspect.

Once that is done we are nearly ready to add the dynamic buffers so we can page
in and out the game database and try and really run in 8bit micro space

6 years agofweep: continue dieting
Alan Cox [Wed, 9 May 2018 22:06:11 +0000 (23:06 +0100)]
fweep: continue dieting

6 years agofweep: make some more progress towards sane size
Alan Cox [Wed, 9 May 2018 20:15:47 +0000 (21:15 +0100)]
fweep: make some more progress towards sane size

6 years agoubee: Fix detection of colour non premium machines
Alan Cox [Sun, 6 May 2018 23:17:08 +0000 (00:17 +0100)]
ubee: Fix detection of colour non premium machines

We now get the attributes right but something is up with the text

6 years agoubee: further updates
Alan Cox [Sun, 6 May 2018 22:42:41 +0000 (23:42 +0100)]
ubee: further updates

At this point 256TC seems to be reasonably solid. The 128K boots to the point
it runs out of memory (not swap tested yet). The 256/512 hang somewhere after
doing a bit of forking.

6 years agodevide: remove debug that escaped into tree
Alan Cox [Sun, 6 May 2018 22:40:11 +0000 (23:40 +0100)]
devide: remove debug that escaped into tree

6 years agoubee: fix _HOME location
Alan Cox [Sun, 6 May 2018 22:30:17 +0000 (23:30 +0100)]
ubee: fix _HOME location

6 years agombr: wire up dymamic swap detection (partition type 0x7F)
Alan Cox [Sun, 6 May 2018 22:29:36 +0000 (23:29 +0100)]
mbr: wire up dymamic swap detection (partition type 0x7F)

6 years agoubee: turn on swap stuff
Alan Cox [Sun, 6 May 2018 22:29:18 +0000 (23:29 +0100)]
ubee: turn on swap stuff