FUZIX.git
9 years agomsx2: initial bootstrap debugging
Alan Cox [Wed, 5 Nov 2014 00:08:32 +0000 (00:08 +0000)]
msx2: initial bootstrap debugging

We get as far as enabling interrupts then curl up and die. The VDP
programming also doesn't set text80 but does produce some interesting
flashing blobs

9 years agoMakefile/link: Update all the other link files to match the previous change
Alan Cox [Tue, 4 Nov 2014 20:36:49 +0000 (20:36 +0000)]
Makefile/link: Update all the other link files to match the previous change

9 years agoMerge pull request #4 from gmacd/master
EtchedPixels [Tue, 4 Nov 2014 20:32:35 +0000 (20:32 +0000)]
Merge pull request #4 from gmacd/master

Add condition to build z80pack on Mac

9 years agoAdd condition to build z80pack on Mac
Graham MacDonald [Tue, 4 Nov 2014 08:42:35 +0000 (08:42 +0000)]
Add condition to build z80pack on Mac

9 years agomsx2: Further random guesswork as we go - memory sizing
Alan Cox [Tue, 4 Nov 2014 00:07:11 +0000 (00:07 +0000)]
msx2: Further random guesswork as we go - memory sizing

9 years agomsx2: RAM fixup
Alan Cox [Mon, 3 Nov 2014 21:55:00 +0000 (21:55 +0000)]
msx2: RAM fixup

Apparently RAM is added in the reverse order to tht expected - 3 is at 0x000
2 is at 0x4000 etc. Add them properly then add 0 so that init picks up the
initial 0xC000 bank for common and udata

9 years agomsx2: Add an initial wild guess at what MSX2 will need
Alan Cox [Mon, 3 Nov 2014 21:45:13 +0000 (21:45 +0000)]
msx2: Add an initial wild guess at what MSX2 will need

Hopefully that'll be a basis for someone who knows something about MSX2
to fill in the blanks. In particular my VDP code is a wild untested guess

9 years agoMakefile: call the final result fuzix.bin not uzi.bin
Alan Cox [Mon, 3 Nov 2014 19:26:53 +0000 (19:26 +0000)]
Makefile: call the final result fuzix.bin not uzi.bin

Still need to rename all the temporaries

9 years agoREADME: first take at instructions for building
Alan Cox [Mon, 3 Nov 2014 19:26:00 +0000 (19:26 +0000)]
README: first take at instructions for building

No these are not sufficient yet

9 years agoMerge pull request #3 from erkinalp/master
EtchedPixels [Mon, 3 Nov 2014 19:24:23 +0000 (19:24 +0000)]
Merge pull request #3 from erkinalp/master

Converted all function definitions into prototype style in mkfs.c

9 years agoConverted all function definitions into prototype style in mkfs.c
erkinalp [Mon, 3 Nov 2014 16:38:15 +0000 (18:38 +0200)]
Converted all function definitions into prototype style in mkfs.c

9 years agopcw8256,fdc765: not the architectural question around banking and swap
Alan Cox [Mon, 3 Nov 2014 00:11:06 +0000 (00:11 +0000)]
pcw8256,fdc765: not the architectural question around banking and swap

Basically the problem is this:

On a 16K banked machine we have 0x0000-0xBFFF holding user code and we can
switch between processes low 48K with gay abandon. However the top 16K holds
process memory, common, *and* our stacks.

What probably needs to happen is that either we bounce such buffers (slow) or
teach the swap device driver in the platform to do bank flipping.

The problem with this last one is that
- it has to be done per platform
- some machines have brain damaged banking where a given address in a bank
  cannot be remapped to a different virtual address

Unfortunately it's not obvious how to create a generic solution that doesn't
punish sensibly designed machines.

9 years agopcw8256,fdc765.s: Use outi not ini for writes, comment the code fully
Alan Cox [Mon, 3 Nov 2014 00:06:33 +0000 (00:06 +0000)]
pcw8256,fdc765.s: Use outi not ini for writes, comment the code fully

This still doesn't explain why we misparse the status errors.

9 years agoemulator: Add code for lseek() rather than the UZI v6 seek
Alan Cox [Sun, 2 Nov 2014 23:52:37 +0000 (23:52 +0000)]
emulator: Add code for lseek() rather than the UZI v6 seek

Not yet tested, but this should be the basis to bootstrap CP/M emulation
code in the OS environment. At that point we can retarget the UZIX native
compiler setup for FUZIX and have a native compiler for userspace (yay!)

9 years agopx4plus: update comments, remember to swap the uarea
Alan Cox [Sun, 2 Nov 2014 18:37:32 +0000 (18:37 +0000)]
px4plus: update comments, remember to swap the uarea

9 years agoswap: Fix silly bug
Alan Cox [Sun, 2 Nov 2014 18:37:12 +0000 (18:37 +0000)]
swap: Fix silly bug

9 years agonc100/200: update notes, start adding NC200 support
Alan Cox [Sat, 1 Nov 2014 17:07:35 +0000 (17:07 +0000)]
nc100/200: update notes, start adding NC200 support

9 years agopx4 init: Remember to set the video base !
Alan Cox [Sat, 1 Nov 2014 15:45:18 +0000 (15:45 +0000)]
px4 init: Remember to set the video base !

9 years agoMakefile: introduce the _VIDEO segment, rebalance CODE and CODE2
Alan Cox [Sat, 1 Nov 2014 15:40:33 +0000 (15:40 +0000)]
Makefile: introduce the _VIDEO segment, rebalance CODE and CODE2

Not that the linker can bank the things yet...

9 years agocrt0.s: Prepare for _VIDEO
Alan Cox [Sat, 1 Nov 2014 15:40:13 +0000 (15:40 +0000)]
crt0.s: Prepare for _VIDEO

9 years agocrt0: Prepare for _VIDEO area
Alan Cox [Sat, 1 Nov 2014 15:39:36 +0000 (15:39 +0000)]
crt0: Prepare for _VIDEO area

9 years agopx4plus: Add initial (untested) video, and adjust memory maps etc
Alan Cox [Sat, 1 Nov 2014 15:38:06 +0000 (15:38 +0000)]
px4plus: Add initial (untested) video, and adjust memory maps etc

Add an init.c for code we can discard.

9 years agovt: We are going to make this more bankable, add warnings
Alan Cox [Sat, 1 Nov 2014 15:37:24 +0000 (15:37 +0000)]
vt: We are going to make this more bankable, add warnings

9 years agobinman: Teach binman some new tricks
Alan Cox [Sat, 1 Nov 2014 15:35:44 +0000 (15:35 +0000)]
binman: Teach binman some new tricks

Allow for discard being low
Allow for initializer being low (indicating we are not doing common packing
and the classic 'copy up' image)
Spot data/const overlapping for cases we force data start (PX4Plus)
Smart end/start identification for complex images rather than the classic
image.

Hopefully classic images still work

9 years agostart: move more discardables into _DISCARD
Alan Cox [Sat, 1 Nov 2014 15:34:45 +0000 (15:34 +0000)]
start: move more discardables into _DISCARD

9 years agopx4plus: note the state of play
Alan Cox [Sat, 1 Nov 2014 15:34:04 +0000 (15:34 +0000)]
px4plus: note the state of play

9 years agofont8x8: allow 1K font
Alan Cox [Sat, 1 Nov 2014 15:33:01 +0000 (15:33 +0000)]
font8x8: allow 1K font

We don't always want to blow 2K on fonts, so allow a 1K font option

9 years agoplatform-px4: Add the PX4Plus
Alan Cox [Sat, 1 Nov 2014 12:34:52 +0000 (12:34 +0000)]
platform-px4: Add the PX4Plus

The question was asked and its an interesting one as the PX4Plus is probably
right on the limit of what we can handle if we use the ROM pods.

This is untested but builds and also not very useful as it doesn't yet have
the vt driver, keyboard, font or floppy. It does seem to prove that if you
breathe in then you can fit the Z80 core into 32K of ROM with 8K for the
common/udata and put the video/floppy/fonts banked into the top of the RAM
area. That would still allow something like 48K binaries to run, and as the
PX4Plus has at best 128K of RAMdisc for swapping 32K is probably a saner
limit anyway.

And no.. I do not think swapping to a 38400 baud serial floppy would rock.

9 years agonc200: Initial pass at NC200 support as well as the NC100
Alan Cox [Fri, 31 Oct 2014 22:59:37 +0000 (22:59 +0000)]
nc200: Initial pass at NC200 support as well as the NC100

Giving the floppy drive a miss as it seems to be completely undocumented
and will need research. May be easier to port CP/M 3 to it first for
investigation.

9 years agoREADME.md: mutter mutter formatting crap, whats wrong with ASCII
Alan Cox [Fri, 31 Oct 2014 22:56:54 +0000 (22:56 +0000)]
README.md: mutter mutter formatting crap, whats wrong with ASCII

9 years agopcw8256,devtty: Commit some of the shift keys that were missing
Alan Cox [Fri, 31 Oct 2014 20:25:33 +0000 (20:25 +0000)]
pcw8256,devtty: Commit some of the shift keys that were missing

9 years agoPORTING: Clarify map_save/restore
Alan Cox [Fri, 31 Oct 2014 19:15:45 +0000 (19:15 +0000)]
PORTING: Clarify map_save/restore

9 years agopcw8256: resync with the core updates
Alan Cox [Fri, 31 Oct 2014 17:07:28 +0000 (17:07 +0000)]
pcw8256: resync with the core updates

9 years agoMakefile: remove some more bits of legacy uzi.com building
Alan Cox [Fri, 31 Oct 2014 16:46:14 +0000 (16:46 +0000)]
Makefile: remove some more bits of legacy uzi.com building

9 years agoMakefile: remove reference to removed loader code
Alan Cox [Fri, 31 Oct 2014 16:32:50 +0000 (16:32 +0000)]
Makefile: remove reference to removed loader code

9 years agosocz80: Add the SocZ80 platform README
Alan Cox [Fri, 31 Oct 2014 16:32:24 +0000 (16:32 +0000)]
socz80: Add the SocZ80 platform README

9 years agosocz80: Add the target
Alan Cox [Fri, 31 Oct 2014 16:26:42 +0000 (16:26 +0000)]
socz80: Add the target

This code isn't yet complete. It's had a first pass conversion to the revised
kernel interfaces but the MMU logic has not yet been wired up to bank16 or
converted to the new format API.

9 years agoexecve: Correct cpm emulator loading
Alan Cox [Fri, 31 Oct 2014 16:24:54 +0000 (16:24 +0000)]
execve: Correct cpm emulator loading

We moved to a real off_t and lseek behaviour but that didn't get propogated
into the CP/M emulator loading logic.

9 years agopcw8256: don't define un-needed UAREA bits
Alan Cox [Fri, 31 Oct 2014 16:24:26 +0000 (16:24 +0000)]
pcw8256: don't define un-needed UAREA bits

This avoids dragging in extra code we won't be using

9 years agoStandalone: Add the standalone utilities
Alan Cox [Fri, 31 Oct 2014 14:37:20 +0000 (14:37 +0000)]
Standalone: Add the standalone utilities

These are based off the UZI-WRS versions from Will Sowerbutts except for
chmem which is new code.

9 years agoREADME.md: put the main notes here
Alan Cox [Fri, 31 Oct 2014 12:17:21 +0000 (12:17 +0000)]
README.md: put the main notes here

9 years agoREADME: remove notes leaving historical bits here
Alan Cox [Fri, 31 Oct 2014 12:14:41 +0000 (12:14 +0000)]
README: remove notes leaving historical bits here

9 years agofuzix: Halloween Release
Alan Cox [Fri, 31 Oct 2014 12:13:21 +0000 (12:13 +0000)]
fuzix: Halloween Release

First cut of the development tree. Not terribly useful but hey its hackable
and boots.

9 years agoCreate README.md
EtchedPixels [Fri, 31 Oct 2014 11:46:47 +0000 (11:46 +0000)]
Create README.md

9 years agoInitial commit
EtchedPixels [Fri, 31 Oct 2014 11:44:15 +0000 (11:44 +0000)]
Initial commit