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

6 years agoMerge branch 'master' of https://github.com/EtchedPixels/FUZIX
Alan Cox [Sun, 29 Apr 2018 22:14:38 +0000 (23:14 +0100)]
Merge branch 'master' of https://github.com/EtchedPixels/FUZIX

6 years agor2k: Add hooks for the Rabbit 2000 to the apps build process
Alan Cox [Sun, 29 Apr 2018 22:14:15 +0000 (23:14 +0100)]
r2k: Add hooks for the Rabbit 2000 to the apps build process

6 years agoLibrary: add the bits needed to build a Rabbit 2000 C library
Alan Cox [Sun, 29 Apr 2018 22:09:21 +0000 (23:09 +0100)]
Library: add the bits needed to build a Rabbit 2000 C library

syscall.s is still a stub until we build the kernel and sort out the syscall
interface a bit more. It might be worth fixing the design flaw in the existing
one for the Rabbit over Z80, and then moving Z80 to it in when we have the
relocatable binary format flag day.

6 years agotools: Add bits we need for Rabbit R2K support
Alan Cox [Sun, 29 Apr 2018 22:07:13 +0000 (23:07 +0100)]
tools: Add bits we need for Rabbit R2K support

There's not a lot we have to do at this level but pass a few differing flags.

We should revisit fcc and the idea of z80/ z180/ r2k/ r3ka/ directories for
libraries and crt0 ?

6 years agoz80: Add support for Rabbit as well as Z80 processors
Alan Cox [Sun, 29 Apr 2018 22:06:47 +0000 (23:06 +0100)]
z80: Add support for Rabbit as well as Z80 processors

6 years agoMerge pull request #611 from n6il/yaccfix
EtchedPixels [Sun, 29 Apr 2018 18:42:56 +0000 (19:42 +0100)]
Merge pull request #611 from n6il/yaccfix

Fix expr.y and find.y to work with regular yacc

6 years agoFix expr.y and find.y to work with regular yacc
Michael Furman [Sun, 22 Apr 2018 16:19:38 +0000 (11:19 -0500)]
Fix expr.y and find.y to work with regular yacc

6 years agosched_yield: simplify
Alan Cox [Sun, 29 Apr 2018 00:41:50 +0000 (01:41 +0100)]
sched_yield: simplify

switchout now does the right thing for us

6 years agoprocess: fix typo
Alan Cox [Sun, 29 Apr 2018 00:41:42 +0000 (01:41 +0100)]
process: fix typo

6 years agoMerge pull request #610 from beretta42/lp
EtchedPixels [Sat, 28 Apr 2018 23:25:03 +0000 (00:25 +0100)]
Merge pull request #610 from beretta42/lp

coco3: fix lp driver to return no of bytes written, not just 0

6 years agococo3: fix lp driver to return no of bytes written, not just 0
Brett Gordon [Sat, 28 Apr 2018 14:31:09 +0000 (10:31 -0400)]
coco3: fix lp driver to return no of bytes written, not just 0

6 years ago65C816: update documentation and move to markdown
Alan Cox [Thu, 26 Apr 2018 12:13:50 +0000 (13:13 +0100)]
65C816: update documentation and move to markdown

6 years agographics: updates on notes and UBEE format
Alan Cox [Wed, 25 Apr 2018 13:04:39 +0000 (14:04 +0100)]
graphics: updates on notes and UBEE format

6 years agoMerge branch 'master' of https://github.com/EtchedPixels/FUZIX
Alan Cox [Wed, 25 Apr 2018 13:04:24 +0000 (14:04 +0100)]
Merge branch 'master' of https://github.com/EtchedPixels/FUZIX

6 years agoubee: fix memory probing for banked video
Alan Cox [Wed, 25 Apr 2018 13:03:47 +0000 (14:03 +0100)]
ubee: fix memory probing for banked video

With this change no TC ubees get to the point you can type keys at which point
the keyboard driver returns crap.

6 years agoubee: lay foundations for graphic mode support
Alan Cox [Wed, 25 Apr 2018 13:03:17 +0000 (14:03 +0100)]
ubee: lay foundations for graphic mode support

6 years agoubee: fix crt0 handling of non TC
Alan Cox [Wed, 25 Apr 2018 13:02:44 +0000 (14:02 +0100)]
ubee: fix crt0 handling of non TC

6 years agoMerge pull request #609 from davidgiven/nc200
EtchedPixels [Tue, 24 Apr 2018 22:13:48 +0000 (23:13 +0100)]
Merge pull request #609 from davidgiven/nc200

Amstrad NC boot fixes, raw disk I/O fixes

6 years agoubee: Fix TC shift/ctrl keys
Alan Cox [Tue, 24 Apr 2018 19:58:54 +0000 (20:58 +0100)]
ubee: Fix TC shift/ctrl keys

6 years agoRework the bootblock to avoid several how-did-this-ever-work style bugs where
David Given [Tue, 24 Apr 2018 19:54:29 +0000 (21:54 +0200)]
Rework the bootblock to avoid several how-did-this-ever-work style bugs where
pages of code weren't being mapped in the right place.

6 years agoActually read data into user memory, rather than scribbling randomly across the
David Given [Tue, 24 Apr 2018 19:01:27 +0000 (21:01 +0200)]
Actually read data into user memory, rather than scribbling randomly across the
address space (which never works).

6 years agoubee: update README
Alan Cox [Mon, 23 Apr 2018 22:43:26 +0000 (23:43 +0100)]
ubee: update README

6 years agoubee: sketch out the revised backscroll
Alan Cox [Mon, 23 Apr 2018 22:39:02 +0000 (23:39 +0100)]
ubee: sketch out the revised backscroll

6 years agoinode: fix silly bug in direct I/O fix attempt
Alan Cox [Mon, 23 Apr 2018 22:31:51 +0000 (23:31 +0100)]
inode: fix silly bug in direct I/O fix attempt

Maybe this time it'll actually work

6 years agoMerge pull request #608 from davidgiven/nc200
EtchedPixels [Mon, 23 Apr 2018 22:21:30 +0000 (23:21 +0100)]
Merge pull request #608 from davidgiven/nc200

NC200 screen and floppy support

6 years agoUpdate documentation.
David Given [Mon, 23 Apr 2018 20:42:41 +0000 (22:42 +0200)]
Update documentation.

6 years agoPost-merge fixing to make the floppy driver work.
David Given [Mon, 23 Apr 2018 20:27:03 +0000 (22:27 +0200)]
Post-merge fixing to make the floppy driver work.

6 years agoIn-progress (non-building) merge of the NC200 floppy driver.
David Given [Mon, 23 Apr 2018 19:00:12 +0000 (21:00 +0200)]
In-progress (non-building) merge of the NC200 floppy driver.

6 years agoCorrectly set the location and size of the video memory on the NC200.
David Given [Mon, 23 Apr 2018 18:52:26 +0000 (20:52 +0200)]
Correctly set the location and size of the video memory on the NC200.

6 years agoubee: update the vt code to make the 6545 hardware cursor work
Alan Cox [Mon, 23 Apr 2018 13:24:48 +0000 (14:24 +0100)]
ubee: update the vt code to make the 6545 hardware cursor work

6 years agostart: its 2018
Alan Cox [Mon, 23 Apr 2018 13:24:37 +0000 (14:24 +0100)]
start: its 2018

6 years agofilesys: note where locking changes will be needed
Alan Cox [Mon, 23 Apr 2018 13:24:19 +0000 (14:24 +0100)]
filesys: note where locking changes will be needed

6 years agoMerge pull request #607 from davidgiven/nc200
EtchedPixels [Sun, 22 Apr 2018 12:10:39 +0000 (13:10 +0100)]
Merge pull request #607 from davidgiven/nc200

Rearrange platform-nc100 and platform-nc200

6 years agoubee: more oddments on the display code etc
Alan Cox [Sun, 22 Apr 2018 12:09:12 +0000 (13:09 +0100)]
ubee: more oddments on the display code etc

6 years agoBodge the prototype NC200 port into at least building (although it doesn't
David Given [Sat, 21 Apr 2018 14:32:52 +0000 (16:32 +0200)]
Bodge the prototype NC200 port into at least building (although it doesn't
work).

6 years agoStage #1 of moving the NC200 stuff into the amstradnc directory.
David Given [Sat, 21 Apr 2018 13:57:47 +0000 (15:57 +0200)]
Stage #1 of moving the NC200 stuff into the amstradnc directory.

6 years agoMerge from master.
David Given [Sat, 21 Apr 2018 13:48:02 +0000 (15:48 +0200)]
Merge from master.

6 years agoRefactor the Amstrad NC directory so that the NC100 build stuff is in its own
David Given [Sat, 21 Apr 2018 11:02:38 +0000 (13:02 +0200)]
Refactor the Amstrad NC directory so that the NC100 build stuff is in its own
subdirectory --- this is to allow a hypothetical NC200 port to have different
build scripts but share as much code as possible.

This changes the platform name from nc100 to amstradnc/nc100.

6 years agoFirst draft conversion of the floppy driver away from the block device
David Given [Fri, 20 Apr 2018 22:22:50 +0000 (00:22 +0200)]
First draft conversion of the floppy driver away from the block device
framework --- smaller and hopefully faster; but it looks like this is revealing
some awful memory corrupt bug and the root filesystem doesn't reliably mount
any more.

6 years agoubee: fix up the display code bugs
Alan Cox [Fri, 20 Apr 2018 12:32:09 +0000 (13:32 +0100)]
ubee: fix up the display code bugs

We still don't do all the scrolling right but this will do for testing other
bits of the code

6 years agoubee: turn on clearing vt now the port bug is fixed
Alan Cox [Fri, 20 Apr 2018 12:31:22 +0000 (13:31 +0100)]
ubee: turn on clearing vt now the port bug is fixed

6 years agoubee: set display to 80x25
Alan Cox [Fri, 20 Apr 2018 12:31:02 +0000 (13:31 +0100)]
ubee: set display to 80x25

6 years agoubee: call map_kernel in start up to initialize shadow port copy
Alan Cox [Fri, 20 Apr 2018 12:30:34 +0000 (13:30 +0100)]
ubee: call map_kernel in start up to initialize shadow port copy

6 years agoubee: NMOS Z80 with bugs
Alan Cox [Fri, 20 Apr 2018 12:30:18 +0000 (13:30 +0100)]
ubee: NMOS Z80 with bugs

6 years agoubee: Next stages to get from prototype to usable
Alan Cox [Thu, 19 Apr 2018 22:50:37 +0000 (23:50 +0100)]
ubee: Next stages to get from prototype to usable

- Draft code for lpen keyboard
- Fix various platform detection bugs
- Rework video to bank it out when not used (in progress)
- Support attributes and colour
- Memory map re-arrange and buffer recovery
- Turn on networking and other stuff that is useful

Not yet working (still debugging the video changes)

6 years agovt: vtattr_notify missing cases
Alan Cox [Thu, 19 Apr 2018 22:45:00 +0000 (23:45 +0100)]
vt: vtattr_notify missing cases

Set sensible colours on startup and notify the platform code so it can set up
the correct properties.

Also do a notify on a vt switch as the attributes are per vt.

6 years agovt: should define vtattr in the headers
Alan Cox [Thu, 19 Apr 2018 22:44:40 +0000 (23:44 +0100)]
vt: should define vtattr in the headers

This didn't show up as everyone currently uses it in asm files only

6 years agoMerge from master.
David Given [Thu, 19 Apr 2018 21:11:17 +0000 (23:11 +0200)]
Merge from master.

6 years agokernel: hopefully fix the busy block panic
Alan Cox [Wed, 18 Apr 2018 22:44:45 +0000 (23:44 +0100)]
kernel: hopefully fix the busy block panic

Do make backups before you test this!

6 years agoAdd motor spindown and multisector transfer support (although we only ever seem
David Given [Wed, 18 Apr 2018 21:49:23 +0000 (23:49 +0200)]
Add motor spindown and multisector transfer support (although we only ever seem
to be asked for a single sector at a time). Fix so, so many bugs.

6 years agoinode: and a quick fixup for the fixup
Alan Cox [Tue, 17 Apr 2018 22:17:28 +0000 (23:17 +0100)]
inode: and a quick fixup for the fixup

This is too ugly to live long term but will do for the moment while I figure
out the proper way to deal with this and avoid things like the double search.

Possibly we need a unified 'bread' related operation that gets the contents
of a buffer into user space, by any means needed.

Something like

bp = bfind(...)
if (bp || !user) {
if (bp == NULL)
bread_no_lookup()
update fields
copy to user
unlock
return
}
issue raw copy to user page

6 years agoinode: Fix double locking
Alan Cox [Tue, 17 Apr 2018 22:13:51 +0000 (23:13 +0100)]
inode: Fix double locking

This was a long lurking buglet caught by the new inode locking code and
chased down by Tormod. I think this approach is correct. The old inefficiency
of doing a bfind to find the buffer does not exist and the a bread discovering
this again is still present.

6 years agoz80pack: update README
Alan Cox [Tue, 17 Apr 2018 22:13:27 +0000 (23:13 +0100)]
z80pack: update README

6 years agoubee: first sketch out of light pen keyboard support
Alan Cox [Tue, 17 Apr 2018 22:13:07 +0000 (23:13 +0100)]
ubee: first sketch out of light pen keyboard support