avatar_Sykobee (Briggsy)

FUZIX "Unix" for NC100 (and other Z80 systems soon)

Started by Sykobee (Briggsy), 23:39, 04 November 14

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Sykobee (Briggsy)


By Alan Cox of Linux Kernel fame.


"FUZIX is a fusion of various elements from the assorted UZI forks and branches beaten together into some kind of semi-coherent platform and then extended from V7 to somewhere in the SYS3 to SYS5.x world with bits of POSIX thrown in for good measure. Various learnings and tricks from ELKS and from OMU also got blended in"


The real hardware test platform is an Amstrad NC100!


EtchedPixels/FUZIX · GitHub
https://plus.google.com/+AlanCoxLinux/posts/a2jAP7Pz1gj




Jckf

I saw the guys on IRC discuss this the other day, and although it sounds cool I cannot help but think that perhaps it will be abandoned soon just like so many other OS projects. I'll be excited once I can run it on my own CPC without much hassle though ;)

CraigsBar

IRC:  #Retro4All on Freenode

Prodatron

The CPC is not a good candidate for it. Fuzix requires 32K memory mapping to run in a good way, otherwise you will have either no multitasking or only very small apps. With a Vortex memory expansion it would probably work, but these are not very common. So yes, a PCW port could be more realistic.

GRAPHICAL Z80 MULTITASKING OPERATING SYSTEM

robcfg

A NC100 with Unix... Sure it was worth waiting!  8)

Gryzor

Wow. But you got to think why not the NC200?

Sykobee (Briggsy)

I guess he had access to an NC100 and not an NC200...?

Prodatron

Probably the NC100 has a better availability, and the difference between the NC100 and NC200 is only the double display and the floppy disc. So nothing serious. Anyway currently he is working on the MSX version... :)

GRAPHICAL Z80 MULTITASKING OPERATING SYSTEM

Munchausen

NC200 and PCW code is there... looks as though PCW works in Joyce (but untested on really hardware?), and NC200 should also be sort of working

CraigsBar

Quote from: Munchausen on 02:17, 09 November 14
NC200 and PCW code is there... looks as though PCW works in Joyce (but untested on really hardware?), and NC200 should also be sort of working
Since I have not put my pcw away yet. I think I'll test this sometime soon.
IRC:  #Retro4All on Freenode

Trebmint

Are there any images or videos of this working? I don't even know if this is a graphical OS, or just some command line thing... the whole Unix / Linux thing floats over my head as I submitted to the evil mircosoft years ago.


Perhaps we should have a Harry Hill style fight-out between Fuzix, SymbOs and FutureOs :)

Poliander

...from Alan Cox's G+ account:

Q: Hmm, 40K, a bit big to fit in a Beeb B without using a bit of banking; how much of that needs to be in the address space at once?

A.C.: With userspace code executing not a lot (just some entry points and small bits of common code), in kernel space if your tools could do it then you could certainly bank the code but not so easily the constants and you'd need the data mapped always really. I do want to sort the sdcc linker out as mapping it into 16K banked ROMs is a must really for spectrum 128, Amstrad CPC etc too
Schneider CPC 664 • X-MEM • Vortex F1-X Drive • CTM 644 • DMP 2160
Schneider CPC 6128 • Z-MEM • M4 Board • MultiPlay + Amiga Mouse • OSSC

Munchausen

#12
Quote from: Trebmint on 10:02, 09 November 14
Are there any images or videos of this working? I don't even know if this is a graphical OS, or just some command line thing... the whole Unix / Linux thing floats over my head as I submitted to the evil mircosoft years ago.


I havent seen any screenshots.  Were there some MSX ones? It is a command line only OS, basically like a Linux/unix command prompt. There's nothing stopping graphical applications being written for it, but there is no kind of graphics abstraction like in symbos, just text mode abstraction AFAIK.


I'm trying to get a memory card to give this a go on my NC100. I also (by chance) got my PCWs out yesterday as I'm having a clear out, but I don't know if I'll get time to compile and test it today. When I do I'll take some pictures if none are about already.


EDIT: there are some MSX screenshots here: https://plus.google.com/+AlanCoxLinux/posts

Trebmint

Oh, an ugly command line OS... that's something from the 80's that IMHO should stay there. I must be missing something since everyone seems excited?

Poliander

#14
Quote from: Trebmint on 13:56, 09 November 14
Oh, an ugly command line OS... that's something from the 80's that IMHO should stay there. I must be missing something since everyone seems excited?

Running an unix-like OS with a somewhat familiar environment on a CPC is actually a dream coming true (for me). And even Mac OS has a "unixoid" fundament. It would be most interesting if additional hardware would get supported on OS-level, e.g. PlayCity, serial I/O adapters, (GFX cards? *ducks*) and so on, accessible through standardized libraries...
Schneider CPC 664 • X-MEM • Vortex F1-X Drive • CTM 644 • DMP 2160
Schneider CPC 6128 • Z-MEM • M4 Board • MultiPlay + Amiga Mouse • OSSC

steve

I do not understand the attraction of getting an operating system running on machines of widely differing capabilities, unix runs on powerful hardware, what software is there that will run on the CPC?
If you want a command line, use CP/M at least we know we can get a lot of software that is designed for 8-bit hardware.

Trebmint

Quote from: Poliander on 14:03, 09 November 14
Running an unix-like OS with a somewhat familiar environment on a CPC is actually a dream coming true (for me). And even Mac OS has a "unixoid" fundament. It would be most interesting if additional hardware would get supported on OS-level, e.g. PlayCity, serial I/O adapters, (GFX cards? *ducks*) and so on, accessible through standardized libraries...
I guess I'm biased as I've written a number of things for it, but doesn't symbos offer all this and a load more already? Plus it looks pretty, and is now usable on 4 different machines. Perhaps its just I recall the olden days when my head used to spin as I was expected to install linkers, compilers and modify bat files just so I could get an app to run. I like Graphical UI's :)

Munchausen

#17
Aside from being a curiosity I think a lot of the appeal is that you should be able to compile standard posix/unix software to it pretty easily, and having unix there does a lot of things for you if you are a coder. Familiarity is also key - it is a familiar, multi-tasking environment for development and use - and if you know unix reasonably well then the unix command line and shell utilities are a million miles beyond CP/M or AMSDOS, and you can also get up to speed coding very quickly. I'd certainly welcome a unix environment, a nice editor, and a good terminal emulator. It's also open source so anyone can add whatever they like to it.


However, for the average user this probably adds up to very little - you probably wont be able to launch pre-existing software for your machine from it, and IMHO symbos is a much greater achievement. I see this as something awesome especially for the NC100 - but it remains to be seen if any useful software can actually run on it.

Munchausen

It would be cool if symbos had some kind of posix compatibility and standard shell utilities btw. But I guess this is something a 3rd party could do at some point (like cygwin for symbos).

TFM

Quote from: Trebmint on 10:02, 09 November 14
Perhaps we should have a Harry Hill style fight-out between Fuzix, SymbOs and FutureOS :)

8)

How would this look like?


Quote from: Trebmint on 13:56, 09 November 14Oh, an ugly command line OS... that's something from the 80's that IMHO should stay there. I must be missing something since everyone seems excited?

No offense, but isn't that a pretty superficial look?
TFM of FutureSoft
Also visit the CPC and Plus users favorite OS: FutureOS - The Revolution on CPC6128 and 6128Plus

TFM

Quote from: steve on 14:13, 09 November 14
I do not understand the attraction of getting an operating system running on machines of widely differing capabilities, unix runs on powerful hardware, what software is there that will run on the CPC?

You got a point there. An OS which runs on different computers is always forced to loose power to stay compatible to everything.
The perfect OS for a computer has a monolithic architecture and uses the particular strength of the computer. So everything can implemented in perfection. CLU would like it.  ;)


Quote from: steve on 14:13, 09 November 14
If you want a command line, use CP/M at least we know we can get a lot of software that is designed for 8-bit hardware.

Right, and with Z3Plus the CPC's CP/M does provide a lot of unix stuff. People just don't know it, because they are no interested.


TFM of FutureSoft
Also visit the CPC and Plus users favorite OS: FutureOS - The Revolution on CPC6128 and 6128Plus

Trebmint

Quote from: TFM on 23:38, 09 November 14
No offense, but isn't that a pretty superficial look?
I dont really see how it can be classsed as superficial. GUI's aren't just asthetic, they are functional and improve use by ease of understanding and speed. You would have a point if the competition on the CPC like FutureOs and Symbos were just pretty interfaces and had less ability, but they dont. They do the same and more, and given they are written in z80 they do it faster too.
Im obviously biased as I code things for symbos, but I also think FutureOs is cool too... but I guess that's cos it has lots of sexy superficial icons and pointers which I'm sure you TFM only put in for us shallow users that hate ASCII and keyboards

Prodatron

Quote from: TFM on 23:47, 09 November 14
An OS which runs on different computers is always forced to loose power to stay compatible to everything.
The perfect OS for a computer has a monolithic architecture and uses the particular strength of the computer.
Erm, no. Why should it be like this? Funny statement, as most native systems are so terrible slow  :D
The secret is in the low level routines. If these are optimized to the maximum and the remaining "general" system is totally written in optimized Z80 assembler, there is no loose of power at all. Why should it?
Speaking about the "perfect" OS: The perfect "OS" is something where the app don't need to know anything special about the computer. If an app needs to know something about the computer, you don't need an OS at all, right? In this case it's better to use libraries ;)

GRAPHICAL Z80 MULTITASKING OPERATING SYSTEM

TFM

Funny point of view!  :)  IMO the perfect OS is exactly the opposite: The App is not dump, in contrast, it knows exactly in which environment it is running and it has full interface power / control over the hardware. Anything else makes it slower.

Well where is that slow native system? And then where is the faster not-native system? Windows? I guess no.  :P  Maybe Linux, but then we're back at unix.  ;)

Reality proves me right, compare multi platform OS (cpm, symbos) and native systems (disc'o'magic in this case):
Speedcheck - CPCWiki

Any monolithic system is always faster and more powerful, because it lacks the layer of abstraction. For example, I can load a screen as it is for Amsdos. For other OS is must be converted before it can be written in the screen RAM. What a terrible loss of resources. Sorry, but adding an abstraction layer will always lead to a significant slow-down. And all OS I know prove that right.


You are right about quick low level routines, but the gain of speed get's wasted for data conversion (see example of showing GFX, etc).


TFM of FutureSoft
Also visit the CPC and Plus users favorite OS: FutureOS - The Revolution on CPC6128 and 6128Plus

TFM

Quote from: Trebmint on 01:37, 10 November 14
I dont really see how it can be classsed as superficial. GUI's aren't just asthetic, they are functional and improve use by ease of understanding and speed. You would have a point if the competition on the CPC like FutureOs and Symbos were just pretty interfaces and had less ability, but they dont. They do the same and more, and given they are written in z80 they do it faster too.
Im obviously biased as I code things for symbos, but I also think FutureOs is cool too... but I guess that's cos it has lots of sexy superficial icons and pointers which I'm sure you TFM only put in for us shallow users that hate ASCII and keyboards


I don't refuse GUIs in general. But I think that a combination between GUI and text section is the best solution. Sadly people don't know it, and so it scares them off. Eventually... The command line may be the best and efficient way of UI anyway because people know it.
A WIMP looks nice, but that's about it. Efficient work with mousing around? No, the keyboard will be always more quick. What I don't like are windows, they either cut down the usable screen area or can not be displayed in full. Further the bring chaos to the surface, look at recent published GUI pictures with windows. That's for my poor eyesight just chaos, I don't see whats going on. Why not using a status line which allows to switch between different full screens, that would be nice.

TFM of FutureSoft
Also visit the CPC and Plus users favorite OS: FutureOS - The Revolution on CPC6128 and 6128Plus

Powered by SMFPacks Menu Editor Mod