FUZIX.git
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 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 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

6 years agoide: allow overriding number of drives cleanly
Alan Cox [Sun, 6 May 2018 22:27:15 +0000 (23:27 +0100)]
ide: allow overriding number of drives cleanly

6 years agombr: add hook for dynamic swap location
Alan Cox [Sun, 6 May 2018 18:09:22 +0000 (19:09 +0100)]
mbr: add hook for dynamic swap location

6 years agoubee: commit all the pending stuff
Alan Cox [Sun, 6 May 2018 16:21:58 +0000 (17:21 +0100)]
ubee: commit all the pending stuff

This should now build out of git and boot

6 years agodevide: allow for private reset amd transfer methods (ubee)
Alan Cox [Sun, 6 May 2018 16:19:17 +0000 (17:19 +0100)]
devide: allow for private reset amd transfer methods (ubee)

6 years agoubee: hard disk and WD1010 floppy support
Alan Cox [Sun, 6 May 2018 14:34:07 +0000 (15:34 +0100)]
ubee: hard disk and WD1010 floppy support

It probably makes sense to use the block helper layer for this (and we'll want
it for IDE as well). For now though it should work with a .hd3 image.

There is no way (as with the real machine) of easily identifying the physical
disk geometry. We could try requesting sectors in cylinder/head 0 and seeing
where it goes pop.

6 years agoubee: documentation update
Alan Cox [Sat, 5 May 2018 21:47:32 +0000 (22:47 +0100)]
ubee: documentation update

6 years agoubee: block off reboot/monitor until we figure if we can get boot back
Alan Cox [Sat, 5 May 2018 19:49:52 +0000 (20:49 +0100)]
ubee: block off reboot/monitor until we figure if we can get boot back

6 years agoubee: Turn keyboard speed tweak back on
Alan Cox [Sat, 5 May 2018 19:47:13 +0000 (20:47 +0100)]
ubee: Turn keyboard speed tweak back on

6 years agoubee: Fix scanning logic
Alan Cox [Sat, 5 May 2018 19:44:45 +0000 (20:44 +0100)]
ubee: Fix scanning logic

With this fixed we now get sensible keyboard results.

Also disable the attempt to get back to monitor - it's not as simple as I hoped!

6 years agoubee: fix silly bug in lpen tty
Alan Cox [Sat, 5 May 2018 19:44:09 +0000 (20:44 +0100)]
ubee: fix silly bug in lpen tty

Not enough to make it work

6 years ago6809: fix formatting
Alan Cox [Fri, 4 May 2018 09:15:34 +0000 (10:15 +0100)]
6809: fix formatting

Whitespace changes only

6 years ago6809: remove dead macros
Alan Cox [Fri, 4 May 2018 09:03:26 +0000 (10:03 +0100)]
6809: remove dead macros

6 years ago6809: remove the old SAM hacks
Alan Cox [Fri, 4 May 2018 09:02:19 +0000 (10:02 +0100)]
6809: remove the old SAM hacks

It's a crazy way to run a system and it messes up stuff for everything else.
We don't use it since removing the original dragon hack kernel.

6 years agoMerge pull request #612 from beretta42/rtnano
EtchedPixels [Mon, 30 Apr 2018 17:33:15 +0000 (18:33 +0100)]
Merge pull request #612 from beretta42/rtnano

coco3: first stab at sd driver for Roger Taylor's coco on a nano

6 years agobogomips: Fix for Rabbit 2K
Alan Cox [Mon, 30 Apr 2018 17:29:52 +0000 (18:29 +0100)]
bogomips: Fix for Rabbit 2K

We need this in part because SDCC's rabbit assembler fails to recognize
or c only or a,c

6 years agoue: Fix z80 v rabbit
Alan Cox [Mon, 30 Apr 2018 17:29:32 +0000 (18:29 +0100)]
ue: Fix z80 v rabbit

6 years agoutils: Fix make clean
Alan Cox [Mon, 30 Apr 2018 17:29:14 +0000 (18:29 +0100)]
utils: Fix make clean

6 years agoubee: remove a debug
Alan Cox [Mon, 30 Apr 2018 17:28:37 +0000 (18:28 +0100)]
ubee: remove a debug

6 years agococo3: first stab at sd driver for Roger Taylor's coco on a nano
Brett Gordon [Mon, 30 Apr 2018 14:20:51 +0000 (10:20 -0400)]
coco3: first stab at sd driver for Roger Taylor's coco on a nano

6 years agobankedz80: fix doc non obviousness
Alan Cox [Mon, 30 Apr 2018 14:08:37 +0000 (15:08 +0100)]
bankedz80: fix doc non obviousness

6 years agodoc: add basic Banked Z80 documentation
Alan Cox [Mon, 30 Apr 2018 14:05:54 +0000 (15:05 +0100)]
doc: add basic Banked Z80 documentation

6 years agolevee: add r2k Makefile bits
Alan Cox [Mon, 30 Apr 2018 10:02:46 +0000 (11:02 +0100)]
levee: add r2k Makefile bits

6 years agoasz80: fix Makefile bug introduced in r2k changes
Alan Cox [Mon, 30 Apr 2018 09:34:58 +0000 (10:34 +0100)]
asz80: fix Makefile bug introduced in r2k changes

6 years agoMakefile: Add ubee and fix a typo
Alan Cox [Sun, 29 Apr 2018 22:16:01 +0000 (23:16 +0100)]
Makefile: Add ubee and fix a typo

Need to update Amstrad ??

6 years agoubee: devhd silly bug
Alan Cox [Sun, 29 Apr 2018 22:14:53 +0000 (23:14 +0100)]
ubee: devhd silly bug