Dear all, as i understand the "Project Oberon 2013" Book and Sources are maintained / updated by NW itself. But i ask myself, if it makes more sense to put the full Project on GitHub and hope that some volunteers help cleaning things up, offering patches, etc ... I would help ... The nice "Oberon RISC Emulator" is a good example here ... BW, Volkert
volkert@nivoba.de wrote:
Dear all,
as i understand the "Project Oberon 2013" Book and Sources are maintained / updated by NW itself. But i ask myself, if it makes more sense to put the full Project on GitHub and hope that some volunteers help cleaning things up, offering patches, etc ... I would help ...
Count me in as well. Just put some new Oberon stuff here http://fruttenboel.verhoeven272.nl/Oberon/index.html in the Ceres section. I hope I have it all understood well enough
The nice "Oberon RISC Emulator" is a good example here ...
BW, Volkert
-- Oberon@lists.inf.ethz.ch mailing list for ETH Oberon and related systems https://lists.inf.ethz.ch/mailman/listinfo/oberon
-- Groetjes Jan Verhoeven
Let's not lose sight of the fact that this project BELONGS to NW/ETHZ! If it's captured by the popularist vultures, it may turn to crap. I don't want to see jewels diluted by garbage. OTOH, as soon as I get the keybrd & mouse running on V5/rPi, I want to announce it on the Pi:Newsgroup; and I want to mention some figures: how many instructions has risc got? I'll check the mail which listed file sizes. For decades NW has been advocating simplicity, and he has ACHIEVED it, as proven by the <size>. People ignored him; and now they'll want to gobble-up his project. ======== Previously: my first test run of V5/rPi was on X11 AFAIR. It seemed to have lost keybrd, but Ctrl/Alt/Del did reboot. Then I ran it under <non X>, which is what I prefer [LNO is more impressive, under FrameBuffer], and now Ctrl/Alt/Del is also <disabled>. == Chris Glur. PS. these new-fads like: <various developmenthubs:git..etc>, M$, gmail are like the tobacco vendors. In the 90's I could conveniently get email. Then for socio/political reasons local ISPs collapsed. Now I'm shackled with lame gmail. On 4/10/14, Jan Verhoeven <jan@verhoeven272.nl> wrote:
volkert@nivoba.de wrote:
Dear all,
as i understand the "Project Oberon 2013" Book and Sources are maintained / updated by NW itself. But i ask myself, if it makes more sense to put the full Project on GitHub and hope that some volunteers help cleaning things up, offering patches, etc ... I would help ...
Count me in as well.
Just put some new Oberon stuff here http://fruttenboel.verhoeven272.nl/Oberon/index.html in the Ceres section. I hope I have it all understood well enough
The nice "Oberon RISC Emulator" is a good example here ...
BW, Volkert
-- Oberon@lists.inf.ethz.ch mailing list for ETH Oberon and related systems https://lists.inf.ethz.ch/mailman/listinfo/oberon
-- Groetjes
Jan Verhoeven
-- Oberon@lists.inf.ethz.ch mailing list for ETH Oberon and related systems https://lists.inf.ethz.ch/mailman/listinfo/oberon
-----Original Message----- From: eas lab [mailto:lab.eas@gmail.com] Sent: Thursday, 10 April 2014 5:33 PM To: ETH Oberon and related systems Subject: Re: [Oberon] Project Oberon 2013 on GitHub?
Let's not lose sight of the fact that this project BELONGS to NW/ETHZ!
If it's captured by the popularist vultures, it may turn to crap. I don't want to see jewels diluted by garbage.
I agree with your sentiment - though I might have said it a little differently ;-) Remember Paul Reed's share of the ownership as well. No reorganisation of this sort should be considered without first requesting their approval. Personally, I don't believe the implied need for haste is necessary - I'd prefer to wait a few weeks for a well-considered solution to any problem that might arise. The Pascal experience was an interesting one. For a good while every man and his dog were pointing out deficiencies and coming up with half-baked solutions. Then, (seemingly out of the blue), Wirth announced Modula-2 - with virtually all of the problems neatly solved in a very elegant and systematic way. Regards, Chris -- Chris Burrows CFB Software http://www.cfbsoftware.com/modula2
eas lab wrote:
Let's not lose sight of the fact that this project BELONGS to NW/ETHZ!
Nobody argues about that.
If it's captured by the popularist vultures, it may turn to crap. I don't want to see jewels diluted by garbage.
On the other hand: remember Minix. AST wanted to keep it pure, so Torvalds created his own version. And then there were two.
OTOH, as soon as I get the keybrd & mouse running on V5/rPi, I want to announce it on the Pi:Newsgroup; and I want to mention some figures: how many instructions has risc got?
In the order of 30. -- Groetjes Jan Verhoeven
=> /home/pi/Tst.gcc/OPrisc/RunAdjustLog 2014 Aprl ==> oberon-risc-emu-master/README.md == ... Current emulation status ------------------------ * CPU * No known bugs. * Keyboard and mouse * OK. Note that Oberon assumes you have a US keyboard layout and a three button mouse. * The left alt key can now be used to emulate a middle click. * Display * OK. You can adjust the colors by editing `sdl-main.c`. * Use F11 to toggle full screen display. ==> #include "sdl-ps2.h" ... // Search for a 1024x768 display in multi-monitor configurations =?=> where is ps2 called ? -> cat sdl-main.c | grep ps2 == #include "sdl-ps2.h" int len = ps2_encode(k.scancode, down, scancode); =?=> is there any mention of USB -> grep -nr USB ./* == grep: ./fp-test: Is a directory Binary file ./risc matches ./sdl-ps2.c:204: [SDL_SCANCODE_NONUSBACKSLASH] = { 0x61, K_NORMAL }, -> grep -nr USB ../* grep: memory exhausted <-- another reason why pdf is bad -> cat ./risc | strings| grep USB == SDL_SCANCODE_NONUSBACKSLASH => if there's a file: sdl-ps2.h, is there a file: *usb* -> find ../* -name "*ps2*" == and sdl-ps2.c -> find ../* -name "*usb*" == nill -> find ../* -name "*USB*" == nill ==> Since rPi has no ps2 facilities, I don't think anyone has actually run rPi:<POemu> ? == Chris Glur.
eas lab wrote:
==> Since rPi has no ps2 facilities, I don't think anyone has actually run rPi:<POemu> ?
I guess you need something similar to this: http://www.alternate.nl/USB-naar-PS-2-adapter/html/product/865702 -- Groetjes Jan Verhoeven
From jan at verhoeven272.nl Thu Apr 10 15:10:44 2014 Date: Thu, 10 Apr 2014 15:10:44 +0200 I guess you need something similar to this: http://www.alternate.nl/USB-naar-PS-2-adapter/html/product/865702
That adapter has a female PS/2 connector and a male USB A. I tested a similar adapter with a Logitech Model M-S48 mouse. The result was to burn out the Y axis photodiode. It was hot enough to melt two spokes on the encoder wheel. I haven't cut the adapter apart but will guess that it contains nothing but conductors. Whereas http://en.wikipedia.org/wiki/PS/2_port#Conversion_between_PS.2F2_and_USB suggests that something more is needed, for the M-S48 at least. The adapter in alternate.nl might limit the current it passes and work for all PS/2 mice. Another possibility is an inexpensive USB mouse. Regards, ... Peter E. -- 123456789 123456789 123456789 123456789 123456789 123456789 123456789 12 Tel +1 360 639 0202 http://carnot.yi.org/ New address Bcc: peter at easthope. ca
peter@easthope.ca wrote:
That adapter has a female PS/2 connector and a male USB A. I tested a similar adapter with a Logitech Model M-S48 mouse. The result was to burn out the Y axis photodiode. It was hot enough to melt two spokes on the encoder wheel. I haven't cut the adapter apart but will guess that it contains nothing but conductors. Whereas http://en.wikipedia.org/wiki/PS/2_port#Conversion_between_PS.2F2_and_USB suggests that something more is needed, for the M-S48 at least.
The adapter in alternate.nl might limit the current it passes and work for all PS/2 mice. Another possibility is an inexpensive USB mouse.
I have used them some times but never fried a mouse... Perhaps this one is better: http://www.delock.de/produkte/G_61244/merkmale.html I'm not sure Chris lives in a place where inexpensive USB mice exist.... Contrary to inexpensive coconuts. -- Groetjes Jan Verhoeven
On Thu, Apr 10, 2014 at 1:49 AM, eas lab <lab.eas@gmail.com> wrote:
==> Since rPi has no ps2 facilities, I don't think anyone has actually run rPi:<POemu>
I think those are hooks for SDL for the emulator. I run the emulator on Mac, and there's certainly no PS/2 involved. -Jack
That is not the point. Control of "Oberon" can & should stay to NW/ETHZ, as long as possible. Of course NW should decide, f.e. what patches or extensions should go into the main branch. But, something like GitHub makes it easier to track issues, sending patches, .... adding tutorials, adding application, ... For me, it is more about keeping all the stuff alive, to give others the chance to learn the simplicity and power of Oberon. And it is obvious that ETHZ lost its interest in Oberon. BW, Volkert Am 10.04.2014 10:02, schrieb eas lab:
Let's not lose sight of the fact that this project BELONGS to NW/ETHZ!
If it's captured by the popularist vultures, it may turn to crap. I don't want to see jewels diluted by garbage.
volkert@nivoba.de wrote:
Of course NW should decide, f.e. what patches or extensions should go into the main branch.
NW will become the Linus Torvalds of Oberon.
But, something like GitHub makes it easier to track issues, sending patches, .... adding tutorials, adding application, ...
Nothing prevents us from doing this ourselves in private webspace. I have backed up the sources of the emulator in my Oberon section http://fruttenboel.verhoeven272.nl/Oberon/index.html in the Ceres section We could also open a track on sourceforge.
For me, it is more about keeping all the stuff alive, to give others the chance to learn the simplicity and power of Oberon.
Too true
And it is obvious that ETHZ lost its interest in Oberon.
And Pascal, and Modula-2. All of those seem to have been research projects that have all served their causes. -- Groetjes Jan Verhoeven
Since rPi has no ps2 facilities, I don't think anyone has actually run rPi:<POemu> ?
]I guess you need something similar to this: ]http://www.alternate.nl/USB-naar-PS-2-adapter/html/product/865702 Then the project has failed & I can just join-the-herd and buy a WinTel. =======
Of course NW should decide, f.e. what patches or extensions should go into the main branch. But, something like GitHub makes it easier to track issues, sending patches, .... adding tutorials, adding application, ...
For me, it is more about keeping all the stuff alive, to give others the chance to learn the simplicity and power of Oberon. And it is obvious that ETHZ lost its interest in Oberon.
OK, I agree. The http*S* if 'git' & 'sourceforge' really annoyed me; like those who tell me that I need a *deCRYPTED* eth0 to communicate between the PC & the rPi *NEXT TO* it!! It's like getting a visa & using the national-railway-system to fetch a glass of water from the kitchen-next-door. Since NW gets the big/top policies right, I wonder if ps2 will survive. I've never looked at it's docos, but USB's show that that's a monster.
And it is obvious that ETHZ lost its interest in Oberon. I didn't realise that, but have noticed that the FB/twitter wave has killed much.
] And Pascal, and Modula-2. All of those seem to have been research projects ]that have all served their causes. Well yes, Pascal, and Modula live inside Oberon. It's the perpetuation of the 'top' universally-applicable-ideas that matter. The PO2013 hardware/software seems an ideal educational project, and far superior to even the rPi - for education; but I should persist to get <ETHO> running on rPi. LEO [EHO for Linux], is proof of the cost effectiveness of riding-on-top of existing/proven system, as PO2013/SDL2/rPi almost did? But that applies less for education. There you need to work from the ground up. What-all can PO2013 use for display? rPi displays nicely with an old B/W RCA-input-connectored, which came from the TRS80, with the cassette and A4-pamphlet, of M$-Pascal0, of the 70s. And less so via PAL TV. HDMI of course is superb. ==Chris Glur.
Since rPi has no ps2 facilities, I don't think anyone has actually run rPi:<POemu> ?
]I guess you need something similar to this: ]http://www.alternate.nl/USB-naar-PS-2-adapter/html/product/865702 Then the project has failed & I can just join-the-herd and buy a WinTel. ======= I think I made a mistake - AGAIN. Vaguely, I remember having had a USB to ps2 adaptor; [now need ps2 to USB] although I couldn't understand how USB could be adapted to ps2, without complex software. Your actions depend on your current environment; so that the marginal cost of taking an extra passenger, is low, once the bus-journey exits. I was impressed by the bloke who wrote that 'he could take the rPi when he went down-to-Mexico, and plug it into the hotel's TV'. I too have been experimenting using rPi without a keybrd. And PO2013 could fit nicely into that concept -- I think. So a small ps2-to-USB adaptor would be good. Thanks, == Chis Glur.
Chris It seems that "USB yes or no" seems to be your biggest worry. Remember Peter de Wachters piece of code is an EMULATOR. So, the SW running on top of it (in our case Project Oberon) doesn't be aware of the real HW underneath, as the HW is emulated. SDL runs on top of Raspbian (a Linux variant) and Raspbian has the USB drivers you're looking for. So neither SDL nor Project Oberon needs to be aware of "USB yes or no" as the host OS of the emulator takes care of it. Short: just plug in your USB mouse and the Project Oberon works with it as it were a PS2 mouse. No HW adapter "PS2-to-USB" needed as the PS2 interface is emulated in SW. br, Jörg Am 11.04.2014 um 06:50 schrieb eas lab <lab.eas@gmail.com>:
Since rPi has no ps2 facilities, I don't think anyone has actually run rPi:<POemu> ?
]I guess you need something similar to this: ]http://www.alternate.nl/USB-naar-PS-2-adapter/html/product/865702
Then the project has failed & I can just join-the-herd and buy a WinTel. ======= I think I made a mistake - AGAIN. Vaguely, I remember having had a USB to ps2 adaptor; [now need ps2 to USB] although I couldn't understand how USB could be adapted to ps2, without complex software.
Your actions depend on your current environment; so that the marginal cost of taking an extra passenger, is low, once the bus-journey exits. I was impressed by the bloke who wrote that 'he could take the rPi when he went down-to-Mexico, and plug it into the hotel's TV'.
I too have been experimenting using rPi without a keybrd. And PO2013 could fit nicely into that concept -- I think. So a small ps2-to-USB adaptor would be good.
Thanks,
== Chis Glur.
-- Oberon@lists.inf.ethz.ch mailing list for ETH Oberon and related systems https://lists.inf.ethz.ch/mailman/listinfo/oberon
eas lab wrote:
[now need ps2 to USB] although I couldn't understand how USB could be adapted to ps2, without complex software.
PS/2 is a special case of I2C and USB is based on I2C. So the principles share on similar ancestors. USB = power + balanced clock/data PS/2 = power + unbalanced clock/data See http://en.wikipedia.org/wiki/PS/2_port and http://en.wikipedia.org/wiki/Usb The last USB specification I saw took up 500 double sided A4 pages to describe the hardware and the protocols. At that moment I gave up.
I was impressed by the bloke who wrote that 'he could take the rPi when he went down-to-Mexico, and plug it into the hotel's TV'.
That is impressive. But only when you stay in motels and live in a place that does *not* look like one giant electronics commercial (like Europe or the US).
I too have been experimenting using rPi without a keybrd. And PO2013 could fit nicely into that concept -- I think. So a small ps2-to-USB adaptor would be good.
I may have one in a desk drawer. Or I get one around the corner. If you cannor find yours I will mail one to a friend. If I have an address. You seem to be living 'rather remote' (i.e. not surrounded by 20 stores in the same 1 sqm grid). -- Groetjes Jan Verhoeven
On 11-04-14 04:58, eas lab wrote:
What-all can PO2013 use for display? rPi displays nicely with an old B/W RCA-input-connectored, which came from the TRS80, with the cassette and A4-pamphlet, of M$-Pascal0, of the 70s. And less so via PAL TV. HDMI of course is superb.
PO2013 wants a 1024x768 screen. You won't get readable text on a television unless you have a modern Full HD model.
Nothing prevents us from doing this ourselves in private webspace. I have backed up the sources of the emulator in my Oberon section http://fruttenboel.verhoeven272.nl/Oberon/index.html in the Ceres section
Thanks for the link. Nice collection.
We could also open a track on sourceforge. yes, of course. But i would prefer a concensus about ideas and goals doing this step and after that we can discuss about the tracker and repository options. no hasty decisions.
I am curious what are NW's, Paul Reed's and ETHZ's plans for "Project Oberon 2013". Any ideas? And i think Peter De Wachter's RISC Emulator should be part of the game. This Emulator is really important for Oberon. BW, Volkert
volkert@nivoba.de wrote:
We could also open a track on sourceforge. yes, of course. But i would prefer a concensus about ideas and goals doing this step and after that we can discuss about the tracker and repository options. no hasty decisions
No worries, Volkert. There will not be a fork in the road. In my idea it would be two parallel lanes. One stable branch that gets full documentation, bug tracker and fixes, well organized source code. And a development branch for all the new thingies. It would never be a Minix/Linux case.
I am curious what are NW's, Paul Reed's and ETHZ's plans for "Project Oberon 2013". Any ideas?
I guess ETHZ lost interest in second generation languages like Pascal, Modula, Oberon.
And i think Peter De Wachter's RISC Emulator should be part of the game. This Emulator is really important for Oberon.
PdW's emulator plays a key role. It converts a single platform compiled language into a multi platform interpreted language. A kind of Java. -- Groetjes Jan Verhoeven
-----Original Message----- From: volkert@nivoba.de [mailto:volkert@nivoba.de] Sent: Saturday, 12 April 2014 6:51 PM To: ETH Oberon and related systems Subject: Re: [Oberon] Project Oberon 2013 on GitHub?
We could also open a track on sourceforge. yes, of course. But i would prefer a concensus about ideas and goals doing this step and after that we can discuss about the tracker and repository options. no hasty decisions.
A similar discussion has been going on for the last six months regarding the maintenance of the BlackBox Component Builder (Component Pascal a.k.a. Oberon/F) source code base: http://forum.blackboxframework.org/viewtopic.php?f=33&t=43 However, in this case there was good reason to start a new repository. Oberon microsystems released 1.6 of BlackBox on the 15th Oct 2013 and, at the same time, made the announcement: "Oberon microsystems does not plan to work on BlackBox beyond version 1.6. All future corrections, improvements and the release management will have to be driven by the community." I see no such reason to start considering a third source for the maintenance of the implementation of Project Oberon on Wirth's RISC processor until both Niklaus Wirth's website and Paul Reed's Project Oberon website cease to be maintained. Regards, Chris Burrows CFB Software http://www.astrobe.com
Am 13.04.2014 02:16, schrieb Chris Burrows:
I see no such reason to start considering a third source for the maintenance of the implementation of Project Oberon on Wirth's RISC processor until both Niklaus Wirth's website and Paul Reed's Project Oberon website cease to be maintained. Not a third source. One Source. One Shop ...
And NW and Paul Reed are part of it, controlling the main branch "Project Oberon". Others can maintain projects, tutorials, ... what ever. But with issue tracking, release control, release history, ... Volkert
Isn't an emulator, just a facility to test-the-design without having the designer's intended hardware? == Chris Glur. On 4/12/14, volkert@nivoba.de <volkert@nivoba.de> wrote:
Nothing prevents us from doing this ourselves in private webspace. I have backed up the sources of the emulator in my Oberon section http://fruttenboel.verhoeven272.nl/Oberon/index.html in the Ceres section
Thanks for the link. Nice collection.
We could also open a track on sourceforge. yes, of course. But i would prefer a concensus about ideas and goals doing this step and after that we can discuss about the tracker and repository options. no hasty decisions.
I am curious what are NW's, Paul Reed's and ETHZ's plans for "Project Oberon 2013". Any ideas?
And i think Peter De Wachter's RISC Emulator should be part of the game. This Emulator is really important for Oberon.
BW, Volkert
-- Oberon@lists.inf.ethz.ch mailing list for ETH Oberon and related systems https://lists.inf.ethz.ch/mailman/listinfo/oberon
Read here https://en.wikipedia.org/wiki/Emulator Volkert Am 13.04.2014 04:06, schrieb eas lab:
Isn't an emulator, just a facility to test-the-design without having the designer's intended hardware?
== Chris Glur.
On 4/12/14, volkert@nivoba.de <volkert@nivoba.de> wrote:
Nothing prevents us from doing this ourselves in private webspace. I have backed up the sources of the emulator in my Oberon section http://fruttenboel.verhoeven272.nl/Oberon/index.html in the Ceres section Thanks for the link. Nice collection.
We could also open a track on sourceforge. yes, of course. But i would prefer a concensus about ideas and goals doing this step and after that we can discuss about the tracker and repository options. no hasty decisions.
I am curious what are NW's, Paul Reed's and ETHZ's plans for "Project Oberon 2013". Any ideas?
And i think Peter De Wachter's RISC Emulator should be part of the game. This Emulator is really important for Oberon.
BW, Volkert
-- Oberon@lists.inf.ethz.ch mailing list for ETH Oberon and related systems https://lists.inf.ethz.ch/mailman/listinfo/oberon
-- Oberon@lists.inf.ethz.ch mailing list for ETH Oberon and related systems https://lists.inf.ethz.ch/mailman/listinfo/oberon
By definition, Project Oberon works on the imaginary RISCv5. NW emulated his RISCv5 on an FPGA HW PdW emulated the RISCv5 in C and SDL on arbiträry HW Short: Project Oberon is ALWAYS emulated as there is no real RISCv5 HW. Br, Jörg
Am 13.04.2014 um 04:06 schrieb eas lab <lab.eas@gmail.com>:
Isn't an emulator, just a facility to test-the-design without having the designer's intended hardware?
== Chris Glur.
On 4/12/14, volkert@nivoba.de <volkert@nivoba.de> wrote:
Nothing prevents us from doing this ourselves in private webspace. I have backed up the sources of the emulator in my Oberon section http://fruttenboel.verhoeven272.nl/Oberon/index.html in the Ceres section
Thanks for the link. Nice collection.
We could also open a track on sourceforge. yes, of course. But i would prefer a concensus about ideas and goals doing this step and after that we can discuss about the tracker and repository options. no hasty decisions.
I am curious what are NW's, Paul Reed's and ETHZ's plans for "Project Oberon 2013". Any ideas?
And i think Peter De Wachter's RISC Emulator should be part of the game. This Emulator is really important for Oberon.
BW, Volkert
-- Oberon@lists.inf.ethz.ch mailing list for ETH Oberon and related systems https://lists.inf.ethz.ch/mailman/listinfo/oberon
-- Oberon@lists.inf.ethz.ch mailing list for ETH Oberon and related systems https://lists.inf.ethz.ch/mailman/listinfo/oberon
Dear Joerg,
By definition, Project Oberon works on the imaginary RISCv5. NW emulated his RISCv5 on an FPGA HW PdW emulated the RISCv5 in C and SDL on arbiträry HW
Short: Project Oberon is ALWAYS emulated as there is no real RISCv5 HW.
That's rubbish. The RISC5 is implemented in hardware. Thanks, Paul
Hi Paul Depends on the definition of "emulated" vs "implemented" :-) Couldn't you do the following analogy? Verliog code = PdWs emulator code Verilog tools = C compiler Spartan 3 = host environment br Jörg -----Original Message----- From: Paul Reed [mailto:paulreed@paddedcell.com] Sent: Dienstag, 15. April 2014 15:10 To: ETH Oberon and related systems Subject: Re: [Oberon] RISC5 Dear Joerg,
By definition, Project Oberon works on the imaginary RISCv5. NW emulated his RISCv5 on an FPGA HW PdW emulated the RISCv5 in C and SDL on arbiträry HW
Short: Project Oberon is ALWAYS emulated as there is no real RISCv5 HW.
That's rubbish. The RISC5 is implemented in hardware. Thanks, Paul -- Oberon@lists.inf.ethz.ch mailing list for ETH Oberon and related systems https://lists.inf.ethz.ch/mailman/listinfo/oberon
Am 15.04.2014 15:10, schrieb Paul Reed:
Dear Joerg,
By definition, Project Oberon works on the imaginary RISCv5. NW emulated his RISCv5 on an FPGA HW PdW emulated the RISCv5 in C and SDL on arbiträry HW
Short: Project Oberon is ALWAYS emulated as there is no real RISCv5 HW. That's rubbish. The RISC5 is implemented in hardware.
Thanks, Paul To Joerg: If "real RISC5 HW means" an ASIC, then yes.
To Paul: I would also say the FPGA emulates the RISC5 behaviour. But the behaviour is implemented in HW (= FPGA). The RISC5 Model is described in verilog, it is compiled/synthesized to a FPGA configuration. One RISC5 Model is described in C, compiled to some target processor (x86, ARM). That is Peter´s Emulator. But both are "emulations" of the RISC5 .... rubbish? i hope not. BW, Volkert
-----Original Message----- From: volkert@nivoba.de [mailto:volkert@nivoba.de] Sent: Wednesday, 16 April 2014 3:09 AM To: paulreed@paddedcell.com; ETH Oberon and related systems Subject: Re: [Oberon] RISC5
But both are "emulations" of the RISC5 .... rubbish? i hope not.
What exactly is the point of this ludicrous discussion?
Am 15.04.2014 23:48, schrieb Chris Burrows:
-----Original Message----- From: volkert@nivoba.de [mailto:volkert@nivoba.de] Sent: Wednesday, 16 April 2014 3:09 AM To: paulreed@paddedcell.com; ETH Oberon and related systems Subject: Re: [Oberon] RISC5
But both are "emulations" of the RISC5 .... rubbish? i hope not.
What exactly is the point of this ludicrous discussion? For me: That Jörg's is thoughts are not completely wrong.
Let me admit, that I have lost understanding of the overall structure of how the V5 project is developing. So here's my attempted framework, which can be corrected, so that we all understand the structure. [CB once agreed with me that the manual should never be written by the developer, but rather by an ignorant outsider]. A minimalist, custom CPU was designed, to implement 'Oberon'. Apart from the ALU, it would also need I/O & memory. Such hardware can be built in FPGA, ASICs, ...etc. Call it V5. It seems that the intended hardware became unavailable? But since substantial new software was designed, eg. the code-generation specifically for V5, part of the compiler; there must have been some 'real-live' V5 hardware, to test the code? Or was the hardware simulated at that stage already? No; because a new/different emulator would not have been needed/built. === Going back to the P-code interpreters [which substantial experience of, 'biases' my outlook] It's easy the parse, code-generate & run eg. Out.Int(MinimalOf(Aglobal, BlocalVar)+Aglobal,4) But how do you manufacture the TextFrame and Out.Int into it? ==== Recursive descent compiling and making FrameBuffers hardly fit into the same 'book'. Apparently the FrameBuffer creation, for the rPi project, is handled by SDL? == Is this project getting out of control and potentially destroyed, eg. by spurious complexity: floating point technology ....? Who's going to write a clear/Wirthian explanation of how all the stages fit together? Or is that suitable for a wiki? == Chris Glur.
On Wed, 16 Apr 2014 09:30:12 +0200 eas lab <lab.eas@gmail.com> wrote:
Is this project getting out of control and potentially destroyed, eg. by spurious complexity: floating point technology ....?
I won't be friendly here. Are you for real? I'm not sure if you're just misguided or trolling, but your posts universally end up with rants about complexity for sake of just it. What is the point here? I'm not by any means free of starting offtopics, but you're taking it to another level. Community have spend at least dozen of posts explaining you what emulator written by Peter is and how it works, how to get it working under RPi... yet it still doesn't work for you. Even more it isn't something you're looking for - stating that at the beginning would save a lot of time. Then you ask question if it works under ARM... I feel like engaging in another discussion started by you, would have the same end results.
Let me admit, that I have lost understanding
I got lost (again) after reading your email. I should resort to ignoring you, since I can see how it can escalate. If I did insult you, that was the point. Maybe this will lead to more focused, meaningful writing - at least I hope so. -- Paul Onyschuk
-----Original Message----- From: eas lab [mailto:lab.eas@gmail.com] Sent: Wednesday, 16 April 2014 5:00 PM To: ETH Oberon and related systems Subject: Re: [Oberon] RISC5
Let me admit, that I have lost understanding of the overall structure of how the V5 project is developing.
So here's my attempted framework, which can be corrected, so that we all understand the structure.
... ...
A minimalist, custom CPU was designed, to implement 'Oberon'. Apart from the ALU, it would also need I/O & memory.
Such hardware can be built in FPGA, ASICs, ...etc. Call it V5.
Correct. It was designed for, and has been fully implemented on, an FPGA processor.
It seems that the intended hardware became unavailable?
As far as I know it has only been implemented on one development board so far - the 'Spartan 3' from a company called Digilent. Since then the manufacturer of that board has stated they are not going to produce any more. However, they are still currently listed in stock from retailers so it might be some time before they disappear forever.
But since substantial new software was designed, e.g. the code-generation specifically for V5, part of the compiler; there must have been some 'real- live' V5 hardware, to test the code?
Absolutely - Wirth isn't just a theoretician. I was not involved in the development of the system but I now also have it running on the real FPGA hardware and have seen reports of others doing the same. Anybody else can do the same just by following the instructions on the www.projectoberon.com website.
Is this project getting out of control and potentially destroyed, eg. by spurious complexity: floating point technology ....?
The FPGA implementation of the project is well under control. The floating point technology used is based on the IEEE standard and well-proven. The subtleties of floating point arithmetic has always been one of the more difficult computing science topics, but it is too important to be ignored by the target audience of this project. Without proper floating point facilities it would have been difficult to have taken the project seriously.
Who's going to write a clear/Wirthian explanation of how all the stages fit together?
It has been done. The entire project is already extensively documented in the clear Wirthian style: http://www.inf.ethz.ch/personal/wirth/ All that remains to be done is for people to read those documents. To get the whole picture and a complete understanding of how the system works, the documents in the other areas of Wirth's website should be read, not just those in the Project Oberon section. Regards, Chris Burrows CFB Software Astrobe: Oberon development system for ARM and Cortex-M3 http://www.astrobe.com
volkert@nivoba.de wrote:-
None of the "old" ETHO Versions is running out of the box on my current Systems (OSX x86, Linux x86, Linux ARM).
What! Not: ETH Oberon (2.4.3) for Linux x86 ? Jörg Straube wrote:- ]By definition, Project Oberon works on the imaginary RISCv5. ]NW emulated his RISCv5 on an FPGA HW ]PdW emulated the RISCv5 in C and SDL on arbiträry HW ] ]Short: Project Oberon is ALWAYS emulated as there is no real RISCv5 HW. Oh! Haven't you 'made' the hardware yet? 2013...2014: delay. I can't keep up: I was listening to NW's ARM description, then I decided to listen re. <X86 real vs protected mode>, then I realised that I'd forgotten to NEVER again open the canOworms of x86 architecture. What started me in the wrong direction, was assuming that eReaders were like calculators: being ROM-based. So then how could they be 'rooted' to run other programs? But, apparently the new hardware economics and software complexity [need to be able to patch versions] makes them to be like rPi: the ROM-BIOS just boots the SD and it continues like a 'proper' computer. Are cell-phones ROM-based? I used to think of SD as having bad-bits and only good for music & fotos. I haven't had time yet to look deeply into RISCv5, and just wanted to move the project towards being a rPi utility. But it seems that rPi:V5 can't DO anything useful, other than education, which is very useful. For those who haven't USED the ETHO family, the value may not be obvious: it is having mutiple windows visible together on one screen, for eg. 1. the email describing what-to-do; 2. previous notes of what-was-done; 3. Notes and script/s to connect the 3G-dongle; 4. command-line to d/l URL... And then being able to color related sections of different text-frames. It's really punishment for me trying to do this on rPi, with only 2 USB-ports for keybrd, mouse and G3modem. the best tool so far is `wily` [the admitted copy of ETHO]. But they reversed the left/right mouse scrolling direction. == Chris Glur.
ptmelville wrote;-- ]Loader/bootstrap of ETH V4, which is written in C doesn't work when ]compiled with newer GCC/Binutils - it segfaults. I'm glad you mentioned that, since until V5, I considered it unrealistic to try porting <ETHOberon>. Although I don't really 'do' C, are these the files that segfault ? How would I proceed, if I got them to compile under rPi? == Chris Glur.
On Tue, Apr 22, 2014 at 11:27 AM, eas lab <lab.eas@gmail.com> wrote:
ptmelville wrote;-- ]Loader/bootstrap of ETH V4, which is written in C doesn't work when ]compiled with newer GCC/Binutils - it segfaults.
I'm glad you mentioned that, since until V5, I considered it unrealistic to try porting <ETHOberon>. Although I don't really 'do' C, are these the files that segfault ? How would I proceed, if I got them to compile under rPi?
It won't work under ARM. Oberon V4 works only on x86. You can view source of file in question here: http://sourceforge.net/p/oberon/oberonv4/ci/master/tree/Linux/linux.oberon.c I tried to compile it on x86, where it did segfault (older binaries are still working). I didn't bother to debug it, since it is old code: pointer arithmetic, using strcpy/strcat, storing pointer addresses as int and so on.
Re. V4 ]I tried to compile it on x86, where it did segfault (older binaries are still ]working). I didn't bother to debug it, since it is old code: pointer arithmetic, ]using strcpy/strcat, storing pointer addresses as int and so on. I've been using: V4 oberon-1.7.02 <-- X86:Linux It's fine. I modified <SavePerFat> to <SaveUnix>. LEO is better, especially since you can roam the dir-tree and launch from anywhere. But LEO doesn't autodetect when loading *nix/AosFS, which V4 does. And 2 klux is a lot more than 1. HCI/psychology trumps technology. == Chris Glur. On 4/22/14, Paul Thomas Melville <ptmelville@gmail.com> wrote:
On Tue, Apr 22, 2014 at 11:27 AM, eas lab <lab.eas@gmail.com> wrote:
ptmelville wrote;-- ]Loader/bootstrap of ETH V4, which is written in C doesn't work when ]compiled with newer GCC/Binutils - it segfaults.
I'm glad you mentioned that, since until V5, I considered it unrealistic to try porting <ETHOberon>. Although I don't really 'do' C, are these the files that segfault ? How would I proceed, if I got them to compile under rPi?
It won't work under ARM. Oberon V4 works only on x86. You can view source of file in question here:
http://sourceforge.net/p/oberon/oberonv4/ci/master/tree/Linux/linux.oberon.c
I tried to compile it on x86, where it did segfault (older binaries are still working). I didn't bother to debug it, since it is old code: pointer arithmetic, using strcpy/strcat, storing pointer addresses as int and so on.
-- Oberon@lists.inf.ethz.ch mailing list for ETH Oberon and related systems https://lists.inf.ethz.ch/mailman/listinfo/oberon
On Sat, 26 Apr 2014 05:45:59 +0200 eas lab <lab.eas@gmail.com> wrote:
I've been using: V4 oberon-1.7.02 <-- X86:Linux It's fine. I modified <SavePerFat> to <SaveUnix>. LEO is better, especially since you can roam the dir-tree and launch from anywhere. But LEO doesn't autodetect when loading *nix/AosFS, which V4 does. And 2 klux is a lot more than 1. HCI/psychology trumps technology.
Did you use binary provided by oberon-1.7.02 or recompiled it from source. I couldn't get working binary from fresh compilation. I don't think it is a problem with some code being optimized out, since compiling with -O0 gives the same results. Binary works, but it isn't much of use for me. -- Paul Onyschuk
]Did you use binary provided by oberon-1.7.02 or recompiled it from ]source. It was several years ago. I can't remember the details. I'd need to dig out my logs. There's too much happening. I can't cope, and it won't be helped by 10*speed RAM, saving me a few micro-seconds. Yesterday I looked at the <set args and launch> script, to understand how he sets [and later removes] symlinks, if you launch from another dir. That seems OK, but I'm confused at the line at/near the end re. $1 $2 $3 ... Since he's included the 2 *.c sources to <couple V4 to Linux>, I'm wondering why this couldn't be used to port to rPi. Here's another example of psychology trumps technology: while writing this, I thought of: chroot /mnt/FC1 locate V4 | grep z which gave: /mnt/p6/usr/local/V4tmp/oberon-1.7.02/oberon-1.7.02.tar.gz => # Make File for building the Linux Oberon Loader # Runs on Linux ELF CFLAGS = -O2 all: oberon wrapper oberon: linux.oberon.o gcc $(CFLAGS) -o oberon linux.oberon.o -ldl -lm strip oberon linux.oberon.o: gcc $(CFLAGS) -c linux.oberon.c ... By reading his "INSTALL" it seems that just expanding the: oberon-1~.tar.gz 3854078, allowed running V4. ]I couldn't get working binary from fresh compilation. I ]don't think it is a problem with some code being optimized out, since ]compiling with -O0 gives the same results. ] Apparently gcc is a moving-target nightmare. But that C for you. ]Binary works, but it isn't much of use for me. => File: INSTALL ==.. o A Linux - System running ELF. glibc2 or higher required. o XWindow, Release 11 == Chris Glur.
And i think Peter De Wachter's RISC Emulator should be part of the game. This Emulator is really important for Oberon.
]PdW's emulator plays a key role. It converts a single platform compiled ]language into a multi platform interpreted language. A kind of Java. I've been pleased with the lookNFeel-alike ETHO: Native, DOSbased, Linuxbased. AFAIK PO2013 in not a *new* language, but rather, new in combining hardware and software, in a minimalist educational project. Also ETHO has a Win version & perhaps Mac. So, there's hardly a lack of multi-platform ETHO facilities. Apparently there are now more ARM:*nix than WinTel computers in the world, so it would be interesting to hear from someone who *DID* run PO2013, or other version of ETHO, on ARM. == Chris Glur.
And i think Peter De Wachter's RISC Emulator should be part of the game. This Emulator is really important for Oberon. ]PdW's emulator plays a key role. It converts a single platform compiled ]language into a multi platform interpreted language. A kind of Java.
I've been pleased with the lookNFeel-alike ETHO: Native, DOSbased, Linuxbased.
AFAIK PO2013 in not a *new* language, but rather, new in combining hardware and software, in a minimalist educational project. It is, but what is your message here? Not worth to protect? The best
Am 14.04.2014 11:11, schrieb eas lab: protection for PO2013 is to give easy access to it, especially for an educational project. So the RISC Emulator is perfect here, because it runs on most platforms. Maybe the Emulator should be called PO2013-VM ;-) Writing an Emulator/VM is also a nice educational project. I hope PO2013 makes its way to a new FPGA Board, as we all know, Digilent Spartan 3 Board is dead now. What is left is the "PO2013-VM".
Also ETHO has a Win version & perhaps Mac. So, there's hardly a lack of multi-platform ETHO facilities. None of the "old" ETHO Versions is running out of the box on my current Systems (OSX x86, Linux x86, Linux ARM). The PO2013 with RISC Emulator does and it will because the "RISC Emulator" is: Open Source, small, easy to compile, uses SDL2 and Standard C Compilers. So moving to new HW is easy.
Apparently there are now more ARM:*nix than WinTel computers in the world, so it would be interesting to hear from someone who *DID* run PO2013, or other version of ETHO, on ARM. I have PO2013 (with PO2013-VM) running on my RaspPi. ;-) But yes, a Native RaspPi/Beaglebone/... Version would be cool.
BW, Volkert
== Chris Glur.
-- Oberon@lists.inf.ethz.ch mailing list for ETH Oberon and related systems https://lists.inf.ethz.ch/mailman/listinfo/oberon
On Mon, 14 Apr 2014 11:11:32 +0200 eas lab <lab.eas@gmail.com> wrote:
AFAIK PO2013 in not a *new* language, but rather, new in combining hardware and software, in a minimalist educational project.
Also ETHO has a Win version & perhaps Mac. So, there's hardly a lack of multi-platform ETHO facilities.
Big difference with PO2013 is that second part of book is meaningful: description of compiler applies and description of computer is also nice addition. You can also enjoy "Compiler Construction" to its fullest potential. It is hard to overlook that. Emulator is also significant, since it lowers the barrier for using new Oberon. You can get familiar with both system and programming language, before buying FPGA. It is nice thing to have from promotion perspective I guess. ETHO and ETH V4 is kinda portable. It works only under x86 (which is slowly suppressed by x86_64 and I expect that Linux distributions will slowly abandon multilib or/and x86 altogether in near future) and there are still problems with e.g. running it under newer Linux. Loader/bootstrap of ETH V4, which is written in C doesn't work when compiled with newer GCC/Binutils - it segfaults. The most portable version is probably Native ETHO, since it can be used under QEMU. Overall PO2013 and new emulator don't require so much hassle.
Apparently there are now more ARM:*nix than WinTel computers in the world, so it would be interesting to hear from someone who *DID* run PO2013, or other version of ETHO, on ARM.
At least two people reported that PO2013 runs just fine under RPi. I posted information about building it for Android, I tested it on tablet with Allwinner SoC - it runs, but changes are needed, since input handling is completely different on devices with touch screen. Previously you could get DOS Oberon running under DOSBox - that was the fastest method for running Oberon related systems under ARM. Other option was running full x86 hardware emulator like QEMU and under that Oberon - which is very slow on ARM. -- Paul Onyschuk
And it is obvious that ETHZ lost its interest in Oberon.
no that is not so obvious, but CS students have changed as much as the whole CS landscape changed and ETHZ does not get freshmen who are interested in Oberon ... the Oberon group gets smaller and smaller -- Bernhard
Treutwein Bernhard wrote:
And it is obvious that ETHZ lost its interest in Oberon. no that is not so obvious, but CS students have changed as much as the whole CS landscape changed and ETHZ does not get freshmen who are interested in Oberon ... the Oberon group gets smaller and smaller
You mean that ETHZ (who refused Albert Einstein because they considered him a nitwit, so that says something about ETHZ standards) is not able anymore to convince their student about the quality and superiority of their own developments? That's a bit of a disappointment. -- Groetjes Jan Verhoeven
eas lab wrote:
[now need ps2 to USB] although I couldn't understand how USB could be adapted to ps2, without complex software.
Jan Verhoeven wrote: ]PS/2 is a special case of I2C and USB is based on I2C. So the principles ]share on similar ancestors. ] ]USB = power + balanced clock/data ]PS/2 = power + unbalanced clock/data ] ]See http://en.wikipedia.org/wiki/PS/2_port and ]http://en.wikipedia.org/wiki/Usb ] ]The last USB specification I saw took up 500 double sided A4 pages to ]describe the hardware and the protocols. At that moment I gave up. Me too. Life is too short. Similarly, although I accept that SDL2 emulator must accept the mouse/kybrd event delivered by rPi, the documentation <try this try that> indicates that it's not yet mature/stable for rPi. Like *we* could spend much time getting LNO working on some hardware, and then need to repeat the effort, on other hardware. OTOH, LEO worked immediately, and I've been using it everyday since. IMO risc.img + SDL2 is a clever acrobat, but fails the simplicity requirement. Re. <a place for ETHO to live> if ETHZ can't guard our jewels: I looked at your http://fruttenboel.verhoeven272.nl/Oberon/index.html All pdf. I don't like pdf. I fetched <ARM compiler helicopter project> and 'cleaned' some parts, for my new format: lying-down like a baby, and having rPi read it to me via TestToSpeech. == Chris Glur.
Peter De Wachter wrote:- ]This is a bit complicated to diagnose, as we don't know which software ]you are using or how it's configured. ] ]Normally SDL uses X11 on Linux. The emulator by default will run in a ]window, and if something weird happens you should be able to simply ]close the window. ] I can't remember if I ran SDL2+V5 in PC:X86:linux, but that could be interesting; and I'll report back; but I'd have no USE for V5, since LEO does everything already. In rPi:X the Ctrl/Alt/backspace & Ctrl/Alt/Del are not <blocked> by SDL2, but in VT-mode they are, and power-down is needed. OTOH I was very impressed to see the V5 display, in non-X-mode. ]It seems that there also exists a special Raspberry Pi version of SDL ]that runs without X11. See this document: ]http://www.libsdl.org/tmp/SDL/README-raspberrypi.txt ] ]It offers to following cryptic advise: ... Yes cryptic; that's why I'm disciplining myself not to debug the SDL2 facility. Besides using the SDL2 monster to carry the-little-V5 is not Wirthian! == Chris Glur. The increasing rPi population needs a lightweight ETHO.
Am 11.04.2014 12:39, schrieb Treutwein Bernhard:
And it is obvious that ETHZ lost its interest in Oberon.
no that is not so obvious, but CS students have changed as much as the whole CS landscape changed and ETHZ does not get freshmen who are interested in Oberon ... the Oberon group gets smaller and smaller Yes this is a problem. But on the other side, who is using / teaching Oberon at CS Departement, except the Native Systems Group?
BW, Volkert
On 10-04-14 10:02, eas lab wrote:
Previously: my first test run of V5/rPi was on X11 AFAIR. It seemed to have lost keybrd, but Ctrl/Alt/Del did reboot. Then I ran it under <non X>, which is what I prefer [LNO is more impressive, under FrameBuffer], and now Ctrl/Alt/Del is also <disabled>.
This is a bit complicated to diagnose, as we don't know which software you are using or how it's configured. Normally SDL uses X11 on Linux. The emulator by default will run in a window, and if something weird happens you should be able to simply close the window. It seems that there also exists a special Raspberry Pi version of SDL that runs without X11. See this document: http://www.libsdl.org/tmp/SDL/README-raspberrypi.txt It offers to following cryptic advise:
================================================================================ No input ================================================================================
Make sure you belong to the "input" group.
sudo usermod -aG input `whoami`
That might help.
On 11 Apr 2014, at 22:05, "Peter De Wachter" <pdewacht@gmail.com> wrote:
It offers to following cryptic advise:
================================================================================ No input ================================================================================
Make sure you belong to the "input" group.
participants (14)
-
Bob Walkden -
Chris Burrows -
eas lab -
Jack Johnson -
Jan Verhoeven -
Jörg -
Jörg Straube -
Paul Onyschuk -
Paul Reed -
Paul Thomas Melville -
Peter De Wachter -
peter@easthope.ca -
Treutwein Bernhard -
volkert@nivoba.de