FUZIX.git
8 years agoadd copyright, some commenting, lil bugs fixes
Brett Gordon [Wed, 6 Jul 2016 04:50:34 +0000 (00:50 -0400)]
add copyright, some commenting, lil bugs fixes

8 years agoadd package file and man page
Brett Gordon [Wed, 6 Jul 2016 04:48:55 +0000 (00:48 -0400)]
add package file and man page

8 years agonow should work on different width screens. ?
Brett Gordon [Wed, 6 Jul 2016 03:22:38 +0000 (23:22 -0400)]
now should work on different width screens. ?

8 years agoproper (slow) 1bpp mode + boarders + horrible buffer alloc.
Brett Gordon [Tue, 5 Jul 2016 15:15:00 +0000 (11:15 -0400)]
proper (slow) 1bpp mode + boarders + horrible buffer alloc.

8 years agoseems ok to add optimization
Brett Gordon [Tue, 5 Jul 2016 15:11:25 +0000 (11:11 -0400)]
seems ok to add optimization

8 years agofix some more colors/ 16 bpp / dither optional
Brett Gordon [Sun, 3 Jul 2016 23:15:23 +0000 (19:15 -0400)]
fix some more colors/ 16 bpp / dither optional

8 years agoplaying with palettes
Brett Gordon [Sun, 3 Jul 2016 19:41:20 +0000 (15:41 -0400)]
playing with palettes

8 years agoInit commit, in working state.
Brett Gordon [Sun, 3 Jul 2016 16:50:19 +0000 (12:50 -0400)]
Init commit, in working state.

8 years ago6809: Build levee, sh and kernel with -fno-cprop-registers
Tormod Volden [Sun, 14 Aug 2016 11:47:23 +0000 (13:47 +0200)]
6809: Build levee, sh and kernel with -fno-cprop-registers

Something goes wrong in gcc6809's cprop_hardreg pass if there are
exg,add,exg patterns around.

The kernel seemed fine up to now, but add the flag just to avoid
any undiscovered or future issues.

Remove the gratuitous() workaround from sh/blok.c

Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
8 years agoMerge pull request #395 from nealcrook/more-dw
EtchedPixels [Sun, 7 Aug 2016 23:52:37 +0000 (00:52 +0100)]
Merge pull request #395 from nealcrook/more-dw

More dw

8 years agoRevise todo list and emulator start-up line.
Neal Andrew Crook [Sun, 7 Aug 2016 21:09:02 +0000 (22:09 +0100)]
Revise todo list and emulator start-up line.

8 years agochange register assignment so that checksum is calculated properly.
Neal Andrew Crook [Sun, 7 Aug 2016 21:05:46 +0000 (22:05 +0100)]
change register assignment so that checksum is calculated properly.
This bug caused more weird behaviour than I can currently account
for. With the fix, it seems rock-solid.

8 years agowhiespace consistency changes. No functional change.
Neal Andrew Crook [Sun, 7 Aug 2016 21:05:14 +0000 (22:05 +0100)]
whiespace consistency changes. No functional change.

8 years agosync up with version in coco and dragon areas (just a fix to a comment typo)
Neal Andrew Crook [Sun, 7 Aug 2016 21:04:09 +0000 (22:04 +0100)]
sync up with version in coco and dragon areas (just a fix to a comment typo)

8 years agoMerge pull request #393 from atsidaev/zx_128_betadisk
EtchedPixels [Sun, 7 Aug 2016 11:23:13 +0000 (12:23 +0100)]
Merge pull request #393 from atsidaev/zx_128_betadisk

zx128: Betadisk-128 driver and filesystem building definition

8 years agozx128: filesystem build config
Alexander Tsidaev [Sun, 7 Aug 2016 10:45:16 +0000 (15:45 +0500)]
zx128: filesystem build config

8 years agozx128: Betadisk-128 driver
Alexander Tsidaev [Sun, 7 Aug 2016 09:28:59 +0000 (14:28 +0500)]
zx128: Betadisk-128 driver

8 years agoMerge pull request #392 from atsidaev/touch_c_fix
EtchedPixels [Tue, 2 Aug 2016 23:44:53 +0000 (00:44 +0100)]
Merge pull request #392 from atsidaev/touch_c_fix

touch.c: strerror(...) needs string.h

8 years agoMerge pull request #391 from nealcrook/multicomp-dw
EtchedPixels [Tue, 2 Aug 2016 23:44:14 +0000 (00:44 +0100)]
Merge pull request #391 from nealcrook/multicomp-dw

Multicomp dw

8 years agotouch.c: strerror(...) needs string.h
Alexander Tsidaev [Tue, 2 Aug 2016 23:29:54 +0000 (04:29 +0500)]
touch.c: strerror(...) needs string.h

8 years agoremove dead code and bad comments.
Neal Andrew Crook [Tue, 2 Aug 2016 20:51:18 +0000 (21:51 +0100)]
remove dead code and bad comments.

8 years agoMerge pull request #390 from atsidaev/zx128_fix_20160731
EtchedPixels [Sun, 31 Jul 2016 19:21:11 +0000 (20:21 +0100)]
Merge pull request #390 from atsidaev/zx128_fix_20160731

Making zx128 port compilable

8 years agozx128: include compilation of binmunge and bin2sna/bin2z80 tools in the build process
Alexander Tsidaev [Sun, 31 Jul 2016 18:35:43 +0000 (23:35 +0500)]
zx128: include compilation of binmunge and bin2sna/bin2z80 tools in the build process

8 years agozx128: disabling microdrive swapping as it is broken for now
Alexander Tsidaev [Sun, 31 Jul 2016 18:14:34 +0000 (23:14 +0500)]
zx128: disabling microdrive swapping as it is broken for now

8 years agozx128: adding Disciple lowlevel functions prototypes and libz80 reference
Alexander Tsidaev [Sun, 31 Jul 2016 18:11:12 +0000 (23:11 +0500)]
zx128: adding Disciple lowlevel functions prototypes and libz80 reference

8 years ago.gitignore updated
Alexander Tsidaev [Sun, 31 Jul 2016 17:22:43 +0000 (22:22 +0500)]
.gitignore updated

8 years agonet_z80pack: direct pointer conversion
Alexander Tsidaev [Sun, 31 Jul 2016 17:13:56 +0000 (22:13 +0500)]
net_z80pack: direct pointer conversion

8 years agoFirst sighting of life from drivewire.
Neal Andrew Crook [Fri, 29 Jul 2016 22:31:09 +0000 (23:31 +0100)]
First sighting of life from drivewire.

8 years agoOops. Left all three UARTs at the same address. Fixed.
Neal Andrew Crook [Fri, 29 Jul 2016 22:30:14 +0000 (23:30 +0100)]
Oops. Left all three UARTs at the same address. Fixed.

8 years agoAdd defines for all 3 UARTs.
Neal Andrew Crook [Thu, 28 Jul 2016 19:43:59 +0000 (20:43 +0100)]
Add defines for all 3 UARTs.

8 years agoRemove unused variables.
Neal Andrew Crook [Thu, 28 Jul 2016 19:43:26 +0000 (20:43 +0100)]
Remove unused variables.

8 years agoMerge pull request #388 from vandys/group
EtchedPixels [Thu, 28 Jul 2016 16:27:48 +0000 (17:27 +0100)]
Merge pull request #388 from vandys/group

Root filesystem should have /etc/group

8 years agoMerge pull request #389 from vandys/touch
EtchedPixels [Thu, 28 Jul 2016 16:27:29 +0000 (17:27 +0100)]
Merge pull request #389 from vandys/touch

Have touch emit error message

8 years agoMerge pull request #387 from nealcrook/math-header
EtchedPixels [Wed, 27 Jul 2016 18:46:33 +0000 (19:46 +0100)]
Merge pull request #387 from nealcrook/math-header

Fix apparent typos that caused gcc-6809 to barf.

8 years agoMerge pull request #386 from nealcrook/multicomp-exec
EtchedPixels [Wed, 27 Jul 2016 18:45:52 +0000 (19:45 +0100)]
Merge pull request #386 from nealcrook/multicomp-exec

Switch multicomp09 away from legacy exec model

8 years agoFix apparent typos that caused gcc-6809 to barf.
Neal Andrew Crook [Wed, 27 Jul 2016 18:26:57 +0000 (19:26 +0100)]
Fix apparent typos that caused gcc-6809 to barf.
Delete trailing whitespace, for fun.

8 years agoMerge branch 'master' into touch
Andy Valencia [Wed, 27 Jul 2016 04:05:50 +0000 (21:05 -0700)]
Merge branch 'master' into touch

8 years agoMerge branch 'group' of github.com:vandys/FUZIX into group
Andy Valencia [Wed, 27 Jul 2016 04:02:54 +0000 (21:02 -0700)]
Merge branch 'group' of github.com:vandys/FUZIX into group

8 years agoMerge branch 'master' into group
Andy Valencia [Wed, 27 Jul 2016 04:00:10 +0000 (21:00 -0700)]
Merge branch 'master' into group

8 years agoMerge branch 'multicomp-exec' of https://github.com/nealcrook/FUZIX into multicomp...
Neal Andrew Crook [Tue, 26 Jul 2016 22:18:09 +0000 (23:18 +0100)]
Merge branch 'multicomp-exec' of https://github.com/nealcrook/FUZIX into multicomp-exec

8 years agoSwitch away from legacy exec model (for SDC driver). Not yet
Neal Andrew Crook [Sat, 16 Jul 2016 14:31:28 +0000 (15:31 +0100)]
Switch away from legacy exec model (for SDC driver). Not yet
working.

8 years agoMerge pull request #385 from beretta42/ashr
EtchedPixels [Tue, 26 Jul 2016 17:50:25 +0000 (18:50 +0100)]
Merge pull request #385 from beretta42/ashr

6809: ashrsi3: 8 bit shift optimization

8 years agosmallc: Updates
Alan Cox [Tue, 26 Jul 2016 17:47:20 +0000 (18:47 +0100)]
smallc: Updates

- basics for register variables
- assorted other improvements to move towards better code generation

8 years ago6809: restore memory state in case of int while in kernel.
Brett Gordon [Tue, 26 Jul 2016 14:30:40 +0000 (10:30 -0400)]
6809: restore memory state in case of int while in kernel.

8 years ago6809: ashrsi3: 8 bit shift optimization
Brett Gordon [Tue, 26 Jul 2016 14:19:58 +0000 (10:19 -0400)]
6809: ashrsi3: 8 bit shift optimization

8 years agotrs80: first cut at dw_transaction
Alan Cox [Tue, 26 Jul 2016 10:18:41 +0000 (11:18 +0100)]
trs80: first cut at dw_transaction

8 years agoMerge pull request #384 from beretta42/ashr
EtchedPixels [Tue, 26 Jul 2016 09:43:03 +0000 (10:43 +0100)]
Merge pull request #384 from beretta42/ashr

Add a schlocky ashrsi3 to 6809, fix devdw.

8 years agodevdw: forgot to increment the loop var
Brett Gordon [Tue, 26 Jul 2016 04:02:42 +0000 (00:02 -0400)]
devdw: forgot to increment the loop var

8 years ago6809: add ___ashrsi3
Brett Gordon [Tue, 26 Jul 2016 03:32:19 +0000 (23:32 -0400)]
6809: add ___ashrsi3

8 years agoREADME: update mtx entry
Alan Cox [Mon, 25 Jul 2016 20:03:08 +0000 (21:03 +0100)]
README: update mtx entry

8 years agomtx: update docs
Alan Cox [Mon, 25 Jul 2016 20:02:46 +0000 (21:02 +0100)]
mtx: update docs

8 years agomtx: make it easier to config with or without swap
Alan Cox [Mon, 25 Jul 2016 19:57:00 +0000 (20:57 +0100)]
mtx: make it easier to config with or without swap

8 years agodevdw: hopefully update correctly for new block APIs
Alan Cox [Mon, 25 Jul 2016 16:38:21 +0000 (17:38 +0100)]
devdw: hopefully update correctly for new block APIs

8 years agodragon-nx32: update floppy driver for block API changes
Alan Cox [Mon, 25 Jul 2016 16:37:50 +0000 (17:37 +0100)]
dragon-nx32: update floppy driver for block API changes

8 years agopcw8256: update floppy driver to new API
Alan Cox [Mon, 25 Jul 2016 16:37:21 +0000 (17:37 +0100)]
pcw8256: update floppy driver to new API

8 years agococo2: update to new block API
Alan Cox [Mon, 25 Jul 2016 16:36:55 +0000 (17:36 +0100)]
coco2: update to new block API

8 years agonc100: udpate to new block I/O
Alan Cox [Mon, 25 Jul 2016 16:36:42 +0000 (17:36 +0100)]
nc100: udpate to new block I/O

8 years agotrs80: update to match block changes
Alan Cox [Mon, 25 Jul 2016 16:36:14 +0000 (17:36 +0100)]
trs80: update to match block changes

8 years agomtx: adapt to new block ops
Alan Cox [Mon, 25 Jul 2016 16:35:53 +0000 (17:35 +0100)]
mtx: adapt to new block ops

8 years agoz80pack: adapter to block changes
Alan Cox [Mon, 25 Jul 2016 16:35:28 +0000 (17:35 +0100)]
z80pack: adapter to block changes

8 years agoblock io: rationalise blkdev and swap
Alan Cox [Mon, 25 Jul 2016 16:34:38 +0000 (17:34 +0100)]
block io: rationalise blkdev and swap

blk_op variables want thinning out but that can be done later

8 years agodevio: add helpers to start rationalising the I/O paths
Alan Cox [Mon, 25 Jul 2016 16:34:00 +0000 (17:34 +0100)]
devio: add helpers to start rationalising the I/O paths

8 years agold: more tidying
Alan Cox [Sun, 24 Jul 2016 20:51:36 +0000 (21:51 +0100)]
ld: more tidying

8 years agoas: more tidying up
Alan Cox [Sun, 24 Jul 2016 20:51:23 +0000 (21:51 +0100)]
as: more tidying up

8 years agocpm: cache syscall vector for apps that reuse the RST vector
Alan Cox [Sun, 24 Jul 2016 17:06:46 +0000 (18:06 +0100)]
cpm: cache syscall vector for apps that reuse the RST vector

8 years agoSmallC: remove some unused code
Alan Cox [Sun, 24 Jul 2016 14:49:04 +0000 (15:49 +0100)]
SmallC: remove some unused code

8 years agofcc: work around ./ problem in SDCC linker and fix bug in fcc extension handler
Alan Cox [Sun, 24 Jul 2016 11:47:46 +0000 (12:47 +0100)]
fcc: work around ./ problem in SDCC linker and fix bug in fcc extension handler

With both of these fixed we now properly handle doing things with a -o ./foo
target

8 years agoucp: fix mkdir on wrong-endian file systems
Alan Cox [Sun, 24 Jul 2016 11:25:50 +0000 (12:25 +0100)]
ucp: fix mkdir on wrong-endian file systems

8 years agoioctl: do the job right this time I hope
Alan Cox [Sun, 24 Jul 2016 11:11:36 +0000 (12:11 +0100)]
ioctl: do the job right this time I hope

We now have four ioctl classes but don't yet use the write only class

8 years agoRevert "ioctl: move the write check into the drivers"
Alan Cox [Sun, 24 Jul 2016 10:50:08 +0000 (11:50 +0100)]
Revert "ioctl: move the write check into the drivers"

This reverts commit c2c9fa5c6bb4ae5a7cbb5fb51b42ca5ce4d4d832.

Can't do it this way because we need to care about file handle permissions
at driver level and we deliberately don't pass all the handles down

8 years agoucp: fix mkfs and extended blocks
Alan Cox [Sat, 23 Jul 2016 21:58:37 +0000 (22:58 +0100)]
ucp: fix mkfs and extended blocks

** Not yet properly tested use with care!

8 years agoDisplay actual errno message on failure; use error message
Andy Valencia [Sat, 23 Jul 2016 19:43:30 +0000 (12:43 -0700)]
Display actual errno message on failure; use error message
 style of Linux's "touch".

8 years agoWe have commands libraries for groups, add in the actual /etc/group
Andy Valencia [Mon, 18 Jul 2016 22:00:32 +0000 (15:00 -0700)]
We have commands libraries for groups, add in the actual /etc/group
 file so they have something to work with!

8 years agoMerge pull request #382 from vandys/fserr
EtchedPixels [Sat, 23 Jul 2016 21:36:58 +0000 (22:36 +0100)]
Merge pull request #382 from vandys/fserr

Address FIXME of _open(); a catch-all ENFILE was returned for any

8 years agoioctl: move the write check into the drivers
Alan Cox [Sat, 23 Jul 2016 21:24:21 +0000 (22:24 +0100)]
ioctl: move the write check into the drivers

8 years agoWe have commands libraries for groups, add in the actual /etc/group
Andy Valencia [Mon, 18 Jul 2016 22:00:32 +0000 (15:00 -0700)]
We have commands libraries for groups, add in the actual /etc/group
 file so they have something to work with!

8 years agoAddress FIXME of _open(); a catch-all ENFILE was returned for any
Andy Valencia [Mon, 18 Jul 2016 21:41:34 +0000 (14:41 -0700)]
Address FIXME of _open(); a catch-all ENFILE was returned for any
 failure leading into newfile() (parent == NULL), or within newfile()
 (and its supporting routines, such as i_open() and ch_link()).
Instead, newfile() uniformly detects and sets errors (or lets errors
 from supporting routines propagate upward).  _open() is restructured
 to leave udata.u_error as set by newfile(), and thus permit the
 actual error code to reach the user.
"touch /x" when you don't have write access to "/" will thus now get
 EPERM, not ENFILE.

8 years agoMerge pull request #380 from vandys/smallc
EtchedPixels [Mon, 18 Jul 2016 09:43:33 +0000 (10:43 +0100)]
Merge pull request #380 from vandys/smallc

Issue 377: broken calling of function in expressions

8 years agoIssue 377: broken calling of function in expressions
Andy Valencia [Mon, 18 Jul 2016 01:03:14 +0000 (18:03 -0700)]
Issue 377: broken calling of function in expressions

8 years agoMerge pull request #378 from vandys/master
EtchedPixels [Sun, 17 Jul 2016 16:22:57 +0000 (17:22 +0100)]
Merge pull request #378 from vandys/master

6809 now uses its own stdint.h, not 6502's.

8 years agoSwitch away from legacy exec model (for SDC driver). Not yet
Neal Andrew Crook [Sat, 16 Jul 2016 14:31:28 +0000 (15:31 +0100)]
Switch away from legacy exec model (for SDC driver). Not yet
working.

8 years ago6809 now uses its own stdint.h, not 6502's.
Andy Valencia [Fri, 15 Jul 2016 20:10:39 +0000 (13:10 -0700)]
6809 now uses its own stdint.h, not 6502's.
Add a few build bits to be gitignore'ed.

8 years agoMerge pull request #376 from vandys/master
EtchedPixels [Fri, 15 Jul 2016 17:55:56 +0000 (18:55 +0100)]
Merge pull request #376 from vandys/master

Addition docs for Coco3 target build/boot on MAME

8 years agoMerge pull request #372 from nealcrook/multicomp09_pass2
EtchedPixels [Fri, 15 Jul 2016 17:55:16 +0000 (18:55 +0100)]
Merge pull request #372 from nealcrook/multicomp09_pass2

Multicomp09 pass2

8 years agoMerge pull request #373 from beretta42/devtty
EtchedPixels [Fri, 15 Jul 2016 17:55:06 +0000 (18:55 +0100)]
Merge pull request #373 from beretta42/devtty

Fix dragon, coco3 graphics bounds checking

8 years agoMerge pull request #375 from beretta42/lib
EtchedPixels [Fri, 15 Jul 2016 17:54:55 +0000 (18:54 +0100)]
Merge pull request #375 from beretta42/lib

6809: compile libs separately

8 years agoAdd some notes as discovered while this newcomer first tried
Andy Valencia [Wed, 13 Jul 2016 17:52:07 +0000 (10:52 -0700)]
Add some notes as discovered while this newcomer first tried
to build the Coco3 FUZIX target and boott it on (Linux) MAME.

8 years agoutils 6809: link tget to termcap (rather than libm)
Brett Gordon [Tue, 12 Jul 2016 21:01:35 +0000 (17:01 -0400)]
utils 6809: link tget to termcap (rather than libm)

8 years ago6809: create links to new libraries
Brett Gordon [Tue, 12 Jul 2016 20:52:21 +0000 (16:52 -0400)]
6809: create links to new libraries

8 years agoutil: make tget with libm
Brett Gordon [Tue, 12 Jul 2016 19:41:08 +0000 (15:41 -0400)]
util: make tget with libm

8 years ago6809: separate libs for math and curses (match z80 makefile)
Brett Gordon [Tue, 12 Jul 2016 19:40:16 +0000 (15:40 -0400)]
6809: separate libs for math and curses (match z80 makefile)

8 years agomake stdlib.h match labs.c's declaration
Brett Gordon [Tue, 12 Jul 2016 16:49:04 +0000 (12:49 -0400)]
make stdlib.h match labs.c's declaration

8 years ago6809: build curses separate from libc
Brett Gordon [Tue, 12 Jul 2016 16:48:08 +0000 (12:48 -0400)]
6809: build curses separate from libc

8 years agorework setup so that delay loop can be removed. Good riddance.
Neal Andrew Crook [Sun, 10 Jul 2016 17:21:22 +0000 (18:21 +0100)]
rework setup so that delay loop can be removed. Good riddance.

8 years agocommit updates from .gitignore audit I did a while back; this was
Neal Andrew Crook [Sun, 10 Jul 2016 16:46:17 +0000 (17:46 +0100)]
commit updates from .gitignore audit I did a while back; this was
lingering in a git stash.

8 years agodragon-nx32: fix box bounds checking for gfx calls
Brett Gordon [Fri, 8 Jul 2016 14:55:04 +0000 (10:55 -0400)]
dragon-nx32: fix box bounds checking for gfx calls

8 years agofix kernel video driver
Brett Gordon [Sun, 3 Jul 2016 16:51:11 +0000 (12:51 -0400)]
fix kernel video driver

8 years agoTidy up MMU code and comments.
Neal Andrew Crook [Thu, 7 Jul 2016 22:08:57 +0000 (23:08 +0100)]
Tidy up MMU code and comments.

8 years agogcc would not let this past
Neal Andrew Crook [Thu, 7 Jul 2016 21:58:29 +0000 (22:58 +0100)]
gcc would not let this past

8 years agojanitorial/white-space/dos-line-end cleanup
Neal Andrew Crook [Thu, 7 Jul 2016 21:57:24 +0000 (22:57 +0100)]
janitorial/white-space/dos-line-end cleanup