Re (2): Copy or reinstall A2?
From: Liam Proven <lproven@gmail.com> Date: Mon, 19 Jul 2021 09:54:12 +0200
Doesn't anyone run A2 directly on x86?
I Have but LinuxA2 is convenient & flexible. A Linux machine and an A2 machine can be networked. Otherwise have the two systems on one machine. Linux with LinuxA2, Windows with WinA2, etc. Did you see my 2nd reply? http://lists.inf.ethz.ch/pipermail/oberon/2021/015968.html Incidentally, the Fox compiler in A2 is a cross compiler. A relatively small investment of making a back end for the RISC machine would allow Fox to produce RISC object code. Regards, ... P.L. -- 48.7693 N, 123.3053 W tel: +1 604 670 0140
On Tue, 20 Jul 2021 at 14:32, <peter@easthope.ca> wrote:
From: Liam Proven <lproven@gmail.com> Date: Mon, 19 Jul 2021 09:54:12 +0200
Doesn't anyone run A2 directly on x86?
I Have but LinuxA2 is convenient & flexible.
A Linux machine and an A2 machine can be networked. Otherwise have the two systems on one machine. Linux with LinuxA2, Windows with WinA2, etc.
Did you see my 2nd reply? http://lists.inf.ethz.ch/pipermail/oberon/2021/015968.html
I did see it, yes. I did not respond because I was not really sure how to respond; I am sure what you are saying is true, but it was not really an answer to my question. :-) I think building a new installation from source is not really an option for me at the moment -- I am still learning A2 and Oberon itself and to be honest I have not got very far at all yet. Getting it working on a physical computer was an exercise in this process. What I have learned since I did it is a more specific instance of something I already knew from working with classic Macintosh computers, decades ago: [1] Just because something is called $filename.ISO does not mean that the contents are necessarily an ISO-format file. There are multiple non-PC OSes out there that can handle CD drives and which can store information on CDs, and be installed from CD, but using their native filesystem on CD media. Classic MacOS wrote HFS and HDS+ CDs and they can be read and booted from on a classic Mac, but they are not ISO9660 media nor any other variant of High Sierra, El Torito or any other optical-medium filesystem. [2] Tools which can write an ISO file to a USB flash drive may completely fail when presented with an ISO file that does not contain an ISO 9660 filesystem. They will write it to the USB medium, but the result will not be bootable or readable. The ISO file may boot a virtual machine successfully, but it will not boot if written to USB. (Examples: AROS, the FOSS Amiga OS.) I also recently upgraded the BIOS on my Thinkpad W500 and although the file was called something.ISO, it wasn't an ISO file and it wouldn't work either written to a USB key, nor copied onto a multi-boot tool on USB. (I use Ventoy: https://www.ventoy.net/en/index.html It's very useful and a huge timesaver.) But when I burned the IBM bootable updater to an actual CD -- something I haven't done in many years -- it worked perfectly, booted a modified copy of IBM PC DOS, and updated my firmware correctly. Looks like an ISO; is not an ISO. It's just _called_ ISO. Well, looking back, the A2 ISO images may be the same. I think they're called ISO but they contain A2 filesystems. I could not get it to boot from USB, but I never tried writing it to floppy. I will do that next time and I may have more luck.
Incidentally, the Fox compiler in A2 is a cross compiler. A relatively small investment of making a back end for the RISC machine would allow Fox to produce RISC object code.
Which particular RISC machine do you have in mind? I was aware of this, yes, and I was considering trying to produce an experimental ARM executable and seeing if I could run it on a Raspberry Pi. I know it will not have any I/O without drivers for USB etc., but maybe if I could get as far as writing something to the screen, that would be progress. I have also found another interesting very low-end RISC board recently that might be of interest as a possible target for Oberon. It is called a TTGO VGA32 from LilyGo. http://www.lilygo.cn/prod_view.aspx?TypeId=50033&Id=1083&FId=t3:50033:3 The product page is very unhelpful and uninformative, but a helpful poster on Facebook explained what one is to me: « The TTGO VGA32 is an ESP32 with interfaces for PS/2 mouse and keyboard, and 8 or 16 color VGA, on specific lines. The software is a base system called FabGL that acts as a base on the ESP32. It provides numerous facilities for emulation of terminals, emulation of several vintage processors, and for being directly programmable as a stand-alone system. [...] A VGA32 can be built up using an ESP32 on a breadboard, following the wiring on the FabGL github pages, or bought as a complete system from LilyGO through one of their various distribution channels. The LilyGO TTGO VGA32 v1.4 sells for less than the price of the connectors and the ESP32 at retail, so it's an easy way to go, but if you have spare VGA and PS/2 connectors around, making your own isn't difficult. [...] Here's the link to the FabGL github page: https://github.com/fdivitto/FabGL » The ESP32 is a widely-used 32-bit RISC chip. This is a dual-core model. It costs about $3 in bulk and it's normally used for running a Wifi+TCP/IP stack. There are versions with both Xtensa and RISC-V cores. https://en.wikipedia.org/wiki/ESP32 I know it from a learners' home computer, the BASIC*Engine: https://basicengine.org/ This is a 32-bit RISC computer, with VGA out, PS/2 keyboard and mouse, about ½MB of RAM and 4MB of Flash, for $10 per unit -- less than the cost of the connectors if bought in isolation. It may be underpowered for A2 but I think it could be a good target for Oberon. -- Liam Proven – Profile: https://about.me/liamproven Email: lproven@cix.co.uk – gMail/gTalk/gHangouts: lproven@gmail.com Twitter/Facebook/LinkedIn/Flickr: lproven – Skype: liamproven UK: +44 7939-087884 – ČR (+ WhatsApp/Telegram/Signal): +420 702 829 053
Liam I fully agree that the word "ISO image" may be confusing. Generally an "image" is more or less a 1:1 copy of the source medium. Originally, the source medium was a CD/DVD. Hence the filesystem was fixed to ISO9600. Later the source medium could also be hard disk, and it was "just" a 1:1 copy of a HD. The filesystem is "in most cases" NOT ISO9660 but ext1, NTFS, HFS+, OberonFS or so... An important role in an "ISO image" is the MBR, the first sector of the image: - the MBR MAY contain an optional bootloader. The bootloader decides whether the image is bootable or not. - the MBR holds the partition table. The partition table store info on the filesystems in use per partition. br Jörg -----Original Message----- From: Oberon <oberon-bounces@lists.inf.ethz.ch> On Behalf Of Liam Proven Sent: Wednesday, July 21, 2021 5:08 PM To: ETH Oberon and related systems <oberon@lists.inf.ethz.ch> Subject: Re: [Oberon] Re (2): Copy or reinstall A2? On Tue, 20 Jul 2021 at 14:32, <peter@easthope.ca> wrote:
From: Liam Proven <lproven@gmail.com> Date: Mon, 19 Jul 2021 09:54:12 +0200
Doesn't anyone run A2 directly on x86?
I Have but LinuxA2 is convenient & flexible.
A Linux machine and an A2 machine can be networked. Otherwise have the two systems on one machine. Linux with LinuxA2, Windows with WinA2, etc.
Did you see my 2nd reply? http://lists.inf.ethz.ch/pipermail/oberon/2021/015968.html
I did see it, yes. I did not respond because I was not really sure how to respond; I am sure what you are saying is true, but it was not really an answer to my question. :-) I think building a new installation from source is not really an option for me at the moment -- I am still learning A2 and Oberon itself and to be honest I have not got very far at all yet. Getting it working on a physical computer was an exercise in this process. What I have learned since I did it is a more specific instance of something I already knew from working with classic Macintosh computers, decades ago: [1] Just because something is called $filename.ISO does not mean that the contents are necessarily an ISO-format file. There are multiple non-PC OSes out there that can handle CD drives and which can store information on CDs, and be installed from CD, but using their native filesystem on CD media. Classic MacOS wrote HFS and HDS+ CDs and they can be read and booted from on a classic Mac, but they are not ISO9660 media nor any other variant of High Sierra, El Torito or any other optical-medium filesystem. [2] Tools which can write an ISO file to a USB flash drive may completely fail when presented with an ISO file that does not contain an ISO 9660 filesystem. They will write it to the USB medium, but the result will not be bootable or readable. The ISO file may boot a virtual machine successfully, but it will not boot if written to USB. (Examples: AROS, the FOSS Amiga OS.) I also recently upgraded the BIOS on my Thinkpad W500 and although the file was called something.ISO, it wasn't an ISO file and it wouldn't work either written to a USB key, nor copied onto a multi-boot tool on USB. (I use Ventoy: https://www.ventoy.net/en/index.html It's very useful and a huge timesaver.) But when I burned the IBM bootable updater to an actual CD -- something I haven't done in many years -- it worked perfectly, booted a modified copy of IBM PC DOS, and updated my firmware correctly. Looks like an ISO; is not an ISO. It's just _called_ ISO. Well, looking back, the A2 ISO images may be the same. I think they're called ISO but they contain A2 filesystems. I could not get it to boot from USB, but I never tried writing it to floppy. I will do that next time and I may have more luck.
Incidentally, the Fox compiler in A2 is a cross compiler. A relatively small investment of making a back end for the RISC machine would allow Fox to produce RISC object code.
Which particular RISC machine do you have in mind? I was aware of this, yes, and I was considering trying to produce an experimental ARM executable and seeing if I could run it on a Raspberry Pi. I know it will not have any I/O without drivers for USB etc., but maybe if I could get as far as writing something to the screen, that would be progress. I have also found another interesting very low-end RISC board recently that might be of interest as a possible target for Oberon. It is called a TTGO VGA32 from LilyGo. http://www.lilygo.cn/prod_view.aspx?TypeId=50033&Id=1083&FId=t3:50033:3 The product page is very unhelpful and uninformative, but a helpful poster on Facebook explained what one is to me: « The TTGO VGA32 is an ESP32 with interfaces for PS/2 mouse and keyboard, and 8 or 16 color VGA, on specific lines. The software is a base system called FabGL that acts as a base on the ESP32. It provides numerous facilities for emulation of terminals, emulation of several vintage processors, and for being directly programmable as a stand-alone system. [...] A VGA32 can be built up using an ESP32 on a breadboard, following the wiring on the FabGL github pages, or bought as a complete system from LilyGO through one of their various distribution channels. The LilyGO TTGO VGA32 v1.4 sells for less than the price of the connectors and the ESP32 at retail, so it's an easy way to go, but if you have spare VGA and PS/2 connectors around, making your own isn't difficult. [...] Here's the link to the FabGL github page: https://github.com/fdivitto/FabGL » The ESP32 is a widely-used 32-bit RISC chip. This is a dual-core model. It costs about $3 in bulk and it's normally used for running a Wifi+TCP/IP stack. There are versions with both Xtensa and RISC-V cores. https://en.wikipedia.org/wiki/ESP32 I know it from a learners' home computer, the BASIC*Engine: https://basicengine.org/ This is a 32-bit RISC computer, with VGA out, PS/2 keyboard and mouse, about ½MB of RAM and 4MB of Flash, for $10 per unit -- less than the cost of the connectors if bought in isolation. It may be underpowered for A2 but I think it could be a good target for Oberon. -- Liam Proven – Profile: https://about.me/liamproven Email: lproven@cix.co.uk – gMail/gTalk/gHangouts: lproven@gmail.com Twitter/Facebook/LinkedIn/Flickr: lproven – Skype: liamproven UK: +44 7939-087884 – ČR (+ WhatsApp/Telegram/Signal): +420 702 829 053 -- Oberon@lists.inf.ethz.ch mailing list for ETH Oberon and related systems https://lists.inf.ethz.ch/mailman/listinfo/oberon
On Wed, 21 Jul 2021 at 19:08, Jörg <joerg.straube@iaeth.ch> wrote:
Liam
I fully agree that the word "ISO image" may be confusing.
:-)
Generally an "image" is more or less a 1:1 copy of the source medium. Originally, the source medium was a CD/DVD. Hence the filesystem was fixed to ISO9600.
Well, broadly, yes. In the early days of CDs, when there was something that the OS needed that ISO 9660 didn't support, the vendor told you. DEC took pains to say that VMS CDs contained FILES-11 (or whatever, it's a long time ago!) filesystems, _not_ ISO 9660. It was well-known among Apple users of Classic MacOS.
Later the source medium could also be hard disk, and it was "just" a 1:1 copy of a HD.
This one seems strange to me & I've not seen many of those.
The filesystem is "in most cases" NOT ISO9660 but ext1, NTFS, HFS+, OberonFS or so...
Most? Really? You think? I know it happens but my _impression_ is that it's fairly rare.
An important role in an "ISO image" is the MBR, the first sector of the image: - the MBR MAY contain an optional bootloader. The bootloader decides whether the image is bootable or not. - the MBR holds the partition table. The partition table store info on the filesystems in use per partition.
Ahh, I see. Good point and good info -- thank you. -- Liam Proven – Profile: https://about.me/liamproven Email: lproven@cix.co.uk – gMail/gTalk/gHangouts: lproven@gmail.com Twitter/Facebook/LinkedIn/Flickr: lproven – Skype: liamproven UK: +44 7939-087884 – ČR (+ WhatsApp/Telegram/Signal): +420 702 829 053
> Later the source medium could also be hard disk, and it was "just" a 1:1 copy of a HD. This one seems strange to me & I've not seen many of those. e.g the Oberon disk image you put on a SD card is one __ > The filesystem is "in most cases" NOT ISO9660 but ext1, NTFS, HFS+, OberonFS or so... Most? Really? You think? This sentence was meant to be true for the "HD 1:1" not for "CD 1:1". Jörg
On Thu, 22 Jul 2021 at 14:09, Jörg <joerg.straube@iaeth.ch> wrote:
> Later the source medium could also be hard disk, and it was "just" a 1:1 copy of a HD. This one seems strange to me & I've not seen many of those.
e.g the Oberon disk image you put on a SD card is one __
Well, yes, I worked that out. :-)
> The filesystem is "in most cases" NOT ISO9660 but ext1, NTFS, HFS+, OberonFS or so... Most? Really? You think?
This sentence was meant to be true for the "HD 1:1" not for "CD 1:1".
Aha! -- Liam Proven – Profile: https://about.me/liamproven Email: lproven@cix.co.uk – gMail/gTalk/gHangouts: lproven@gmail.com Twitter/Facebook/LinkedIn/Flickr: lproven – Skype: liamproven UK: +44 7939-087884 – ČR (+ WhatsApp/Telegram/Signal): +420 702 829 053
Am 21.07.2021 um 17:07 schrieb Liam Proven:
[1] Just because something is called $filename.ISO does not mean that the contents are necessarily an ISO-format file.
[2] Tools which can write an ISO file to a USB flash drive may completely fail when presented with an ISO file that does not contain an ISO 9660 filesystem.
Even worse: There are *NO* Tools whatsoever that can put an ISO file that contains *any* ISO9660 filesystem with an El Torito NoEmulation Boot Block to a standard USB flash drive in a way that it will boot (I am not talking about those rare flash drives that have a physical switch where you can switch them into "emulating" a USB CDROM drive). Ventoy, Rufus etc. contain a list of hashes of "well-known" El Torito bootloaders and will replace those with MBR-style bootloaders that (hopefully) perform the same task. If your tool does not recognize the bootloader, you are out of luck. With EFI boot blocks or Floppy Emulation boot blocks it is easier (most EFI boot blocks can cope with both USB and CDROM, and floppy emulation boot blocks can be booted from USB using syslinux+memdisk). Yet still, this bootloader will only load the operating system kernel (and maybe some initial ramdisk) into memory. If the OS needs more files than just the kernel + initrd, and the kernel is not prepared to scan for USB mass storage drives (or has no appropriate driver linked in), it will not be possible to boot it from USB as it just cannot find the drive to boot from. Fortunately, many people who create ISOs know that people want to boot them from USB so they will accommondate for that by making sure that the kernel includes the required USB drivers. Some will even create an "isohybrid" file which contains both an El Torito Boot Block (for booting from CD) and a classic MBR (for booting from USB), or they contain a loopback.cfg file which can be used by those mentioned tools to find out how to boot it from an USB key. Yet both of them are not what I would consider a standard ISO9660 format. So, when you want to boot exotic OSes from CD (even if they use real ISO9660 filesystems), either get a real CD drive, get one of those flash drives that can emulate a CD drive in hardware, or put the ISO into a virtual machine. Regards, Michael
On Wed, 21 Jul 2021 at 20:52, Michael Schierl <schierlm@gmx.de> wrote:
Even worse: There are *NO* Tools whatsoever that can put an ISO file that contains *any* ISO9660 filesystem with an El Torito NoEmulation Boot Block to a standard USB flash drive in a way that it will boot (I am not talking about those rare flash drives that have a physical switch where you can switch them into "emulating" a USB CDROM drive). Ventoy, Rufus etc. contain a list of hashes of "well-known" El Torito bootloaders and will replace those with MBR-style bootloaders that (hopefully) perform the same task. If your tool does not recognize the bootloader, you are out of luck.
I did not know that. It explains a lot -- thank you for this valuable information.
With EFI boot blocks or Floppy Emulation boot blocks it is easier (most EFI boot blocks can cope with both USB and CDROM, and floppy emulation boot blocks can be booted from USB using syslinux+memdisk).
Yet still, this bootloader will only load the operating system kernel (and maybe some initial ramdisk) into memory. If the OS needs more files than just the kernel + initrd, and the kernel is not prepared to scan for USB mass storage drives (or has no appropriate driver linked in), it will not be possible to boot it from USB as it just cannot find the drive to boot from.
Ah, yes, I can see that. I also spend quite a lot of time experimenting with DOS, itself now a niche OS. A useful discovery has been that if you boot a DOS USB, the BIOS emulates a hard disk and DOS thinks it's running on a read-write hard disk drive. This being an OS with no direct USB support of its own at all. So, normally, if you plug a USB drive with a DOS-readable filesystem (FAT12, FAT16, FAT32, etc.) into a DOS PC, nothing happens. But the BIOS emulation has some desirable side-effects. If you boot a DOS USB _with a 2nd USB drive inserted_ then DOS can see that too, for instance. I have been considering trying to build some bootable images of DOS with Oberon-for-DOS installed and ready to run. Not sure if anyone would be interested in that. It may be a way to have a live bootable Oberon environment, for example, without needing Oberon to support this.
So, when you want to boot exotic OSes from CD (even if they use real ISO9660 filesystems), either get a real CD drive, get one of those flash drives that can emulate a CD drive in hardware, or put the ISO into a virtual machine.
Ventoy has been working very well for me, but this is a strong argument for a real hardware-level emulator. -- Liam Proven – Profile: https://about.me/liamproven Email: lproven@cix.co.uk – gMail/gTalk/gHangouts: lproven@gmail.com Twitter/Facebook/LinkedIn/Flickr: lproven – Skype: liamproven UK: +44 7939-087884 – ČR (+ WhatsApp/Telegram/Signal): +420 702 829 053
Am 22.07.2021 um 14:06 schrieb Liam Proven:
A useful discovery has been that if you boot a DOS USB, the BIOS emulates a hard disk and DOS thinks it's running on a read-write hard disk drive. This being an OS with no direct USB support of its own at all.
You wanted to say, an OS with no direct Hard Disk support on its own. (It is the same if you boot from an IDE/SCSI/SATA hard drive). (The emulated USB hard disk can be quite slow, but probably does not really matter for DOS anyway.)
So, normally, if you plug a USB drive with a DOS-readable filesystem (FAT12, FAT16, FAT32, etc.) into a DOS PC, nothing happens.
In case the DOS PC has one of the three common pre-USB3 host controllers (UCHI, OHCI or EHCI), you can load USBASPI.SYS in DOS and access USB storage devices that way.
But the BIOS emulation has some desirable side-effects. If you boot a DOS USB _with a 2nd USB drive inserted_ then DOS can see that too, for instance.
May work, but not guaranteed. It may even depend on whether both drives are connected to the same root hub or not (in case your machine has many USB ports and more than one root hub). Guaranteed is only that the device booted from is emulated as disk 0x80.
I have been considering trying to build some bootable images of DOS with Oberon-for-DOS installed and ready to run.
What is your experience with support of contemporary mice/touchpads in DOS? Oberon without mouse would not be much fun.
Not sure if anyone would be interested in that. It may be a way to have a live bootable Oberon environment, for example, without needing Oberon to support this.
Using some of the Oberon versions that run on Linux/X11 may be even simpler. Run them on a contemporary Linux kernel, and you should have better hardware support than the BIOS provides. Regards, Michael
On Fri, 23 Jul 2021 at 00:08, Michael Schierl <schierlm@gmx.de> wrote:
You wanted to say, an OS with no direct Hard Disk support on its own. (It is the same if you boot from an IDE/SCSI/SATA hard drive).
No, I really did not. Please do not try to put words into my mouth :-( DOS has hard disk support, and has since version 2.0 in 1983. Yes, it is reliant upon the ROM BIOS supporting them, but this an inherent aspect of the MS-DOS/PC DOS design. Originally DOS primarily supported Shugart ST-506 interface hard disks, but over the years this evolved into RLL, ESDI, IDE, EIDE, PATA and finally (so far) SATA, Secondarily, SCSI went through parallel evolution of its own but most PC SCSI host adaptors included an auxiliary ROM BIOS that extended support for SCSI drives to DOS. (I would say "and to other PC OSes that used the BIOS" but I can't think of any. Most of them just ran on top of DOS. Maybe DR CP/M086, Concurrent CP/M, Concurrent DOS and DOS Plus?)
(The emulated USB hard disk can be quite slow, but probably does not really matter for DOS anyway.)
True.
In case the DOS PC has one of the three common pre-USB3 host controllers (UCHI, OHCI or EHCI), you can load USBASPI.SYS in DOS and access USB storage devices that way.
This is true. However, the start-off-a-USB-disk method needs no modification to the DOS OS or config files. You can copy an installed copy of DOS (with no USB drivers or support) onto a USB key, boot off the USB key, and suddenly DOS can see and use the USB drive.
May work, but not guaranteed. It may even depend on whether both drives are connected to the same root hub or not (in case your machine has many USB ports and more than one root hub). Guaranteed is only that the device booted from is emulated as disk 0x80.
Yes, true.
What is your experience with support of contemporary mice/touchpads in DOS? Oberon without mouse would not be much fun.
So far, I am mostly using various laptops, and everything just seems to work. Since DOS doesn't support things like scroll wheels anyway, all you can really rely on being there is pointing and left-clicking. They seem to work OK, on internal and external mice, trackpoints, and touchpads. If the app understands right-clicking and middle-clicking, then those seem to work too.
Using some of the Oberon versions that run on Linux/X11 may be even simpler. Run them on a contemporary Linux kernel, and you should have better hardware support than the BIOS provides.
I am aware of that, but my interest is primarily in operating systems, not in programming languages or environments (except inasmuch as they are used to implement the OSes). I am interested in using DOS on modern hardware because 30+ years ago I acquired a lot of specialist DOS knowledge, which is now totally obsolete. However, as hobbyists grow interested in running DOS on modern hardware, both natively and under VMs, my obsolete knowledge becomes of some value again. That is enjoyable to me. There are also DOS-like OSes, and environments that run on top of DOS. Very few people today know about these or have the knowledge to get them working. I do. So I am experimenting with them. For instance, in VMs, I have DESQview, DesqView/X and DR OpenGEM running on top of modern DOSes. I hope to extend this to GeoWorks/Breadbox Ensemble soon, as this is now FOSS. DESQview was the state of the art in DOS multitasking. Unfortunately, it depends on the QEMM memory manager, and so far I have failed to get this working on modern hardware. (In VMs it is fine.) However, I have read that GeoWorks can directly support DR-DOS' built-in multitasking, and I *have* got that working. That's why I was asking -- to see if Oberon enthusiasts would be interested in Oberon for DOS running on modern hardware. It seems not. :-( I may try it anyway, though... :-) -- Liam Proven – Profile: https://about.me/liamproven Email: lproven@cix.co.uk – gMail/gTalk/gHangouts: lproven@gmail.com Twitter/Facebook/LinkedIn/Flickr: lproven – Skype: liamproven UK: +44 7939-087884 – ČR (+ WhatsApp/Telegram/Signal): +420 702 829 053
Liam, I'm interested in Oberon under DOS, it was the first one I've used more than 20 years ago. Right now I have several versions working on Dosbox. I do not have plenty of modern hardware to experimenting but some, at least until the return to the university, because we are still under a lockdown on higher education institutions since 2020. I did not have nor get to find the sources but the executables of several versions of DOS Oberon. I've shared them in my GitHub: https://github.com/pcayuela/DOSOberon I've asked the sources to the original developer of DOS Oberon to no avail. I'm really glad to help you whatever I could. Best regards, Prof Pablo Cayuela El vie., 23 de julio de 2021 08:15, Liam Proven <lproven@gmail.com> escribió:
On Fri, 23 Jul 2021 at 00:08, Michael Schierl <schierlm@gmx.de> wrote:
You wanted to say, an OS with no direct Hard Disk support on its own. (It is the same if you boot from an IDE/SCSI/SATA hard drive).
No, I really did not. Please do not try to put words into my mouth :-(
DOS has hard disk support, and has since version 2.0 in 1983.
Yes, it is reliant upon the ROM BIOS supporting them, but this an inherent aspect of the MS-DOS/PC DOS design.
Originally DOS primarily supported Shugart ST-506 interface hard disks, but over the years this evolved into RLL, ESDI, IDE, EIDE, PATA and finally (so far) SATA,
Secondarily, SCSI went through parallel evolution of its own but most PC SCSI host adaptors included an auxiliary ROM BIOS that extended support for SCSI drives to DOS.
(I would say "and to other PC OSes that used the BIOS" but I can't think of any. Most of them just ran on top of DOS. Maybe DR CP/M086, Concurrent CP/M, Concurrent DOS and DOS Plus?)
(The emulated USB hard disk can be quite slow, but probably does not really matter for DOS anyway.)
True.
In case the DOS PC has one of the three common pre-USB3 host controllers (UCHI, OHCI or EHCI), you can load USBASPI.SYS in DOS and access USB storage devices that way.
This is true. However, the start-off-a-USB-disk method needs no modification to the DOS OS or config files. You can copy an installed copy of DOS (with no USB drivers or support) onto a USB key, boot off the USB key, and suddenly DOS can see and use the USB drive.
May work, but not guaranteed. It may even depend on whether both drives are connected to the same root hub or not (in case your machine has many USB ports and more than one root hub). Guaranteed is only that the device booted from is emulated as disk 0x80.
Yes, true.
What is your experience with support of contemporary mice/touchpads in DOS? Oberon without mouse would not be much fun.
So far, I am mostly using various laptops, and everything just seems to work. Since DOS doesn't support things like scroll wheels anyway, all you can really rely on being there is pointing and left-clicking. They seem to work OK, on internal and external mice, trackpoints, and touchpads. If the app understands right-clicking and middle-clicking, then those seem to work too.
Using some of the Oberon versions that run on Linux/X11 may be even simpler. Run them on a contemporary Linux kernel, and you should have better hardware support than the BIOS provides.
I am aware of that, but my interest is primarily in operating systems, not in programming languages or environments (except inasmuch as they are used to implement the OSes).
I am interested in using DOS on modern hardware because 30+ years ago I acquired a lot of specialist DOS knowledge, which is now totally obsolete. However, as hobbyists grow interested in running DOS on modern hardware, both natively and under VMs, my obsolete knowledge becomes of some value again. That is enjoyable to me.
There are also DOS-like OSes, and environments that run on top of DOS. Very few people today know about these or have the knowledge to get them working. I do. So I am experimenting with them.
For instance, in VMs, I have DESQview, DesqView/X and DR OpenGEM running on top of modern DOSes. I hope to extend this to GeoWorks/Breadbox Ensemble soon, as this is now FOSS.
DESQview was the state of the art in DOS multitasking. Unfortunately, it depends on the QEMM memory manager, and so far I have failed to get this working on modern hardware. (In VMs it is fine.) However, I have read that GeoWorks can directly support DR-DOS' built-in multitasking, and I *have* got that working.
That's why I was asking -- to see if Oberon enthusiasts would be interested in Oberon for DOS running on modern hardware. It seems not. :-(
I may try it anyway, though... :-)
-- Liam Proven – Profile: https://about.me/liamproven Email: lproven@cix.co.uk – gMail/gTalk/gHangouts: lproven@gmail.com Twitter/Facebook/LinkedIn/Flickr: lproven – Skype: liamproven UK: +44 7939-087884 – ČR (+ WhatsApp/Telegram/Signal): +420 702 829 053 -- Oberon@lists.inf.ethz.ch mailing list for ETH Oberon and related systems https://lists.inf.ethz.ch/mailman/listinfo/oberon
On Fri, 23 Jul 2021 at 15:34, Pablo Cayuela <pablo.cayuela@gmail.com> wrote:
Liam, I'm interested in Oberon under DOS, it was the first one I've used more than 20 years ago.
[...]
I'm really glad to help you whatever I could.
Pablo, Robert, thank you both. :-) I was going to say that I thought the sources were on Sourceforge.net but I checked and there are only binaries. This is a great shame, even if only for historical interest. -- Liam Proven – Profile: https://about.me/liamproven Email: lproven@cix.co.uk – gMail/gTalk/gHangouts: lproven@gmail.com Twitter/Facebook/LinkedIn/Flickr: lproven – Skype: liamproven UK: +44 7939-087884 – ČR (+ WhatsApp/Telegram/Signal): +420 702 829 053
On Fri, Jul 23, 2021 at 12:34 PM Liam Proven <lproven@gmail.com> wrote:
On Fri, 23 Jul 2021 at 15:34, Pablo Cayuela <pablo.cayuela@gmail.com> wrote:
Liam, I'm interested in Oberon under DOS, it was the first one I've used
more than 20 years ago. [...]
I'm really glad to help you whatever I could.
Pablo, Robert, thank you both. :-)
I was going to say that I thought the sources were on Sourceforge.net but I checked and there are only binaries. This is a great shame, even if only for historical interest. -- Liam Proven
Liam, I forget to mention the information gathered some months ago about the source, gathered by Prof Gerardo Ospina, that I've forked and shared on Github: https://lists.inf.ethz.ch/pipermail/oberon/2021/015595.html Please check that. Prof Pablo Cayuela
I was going to say that I thought the sources were on Sourceforge.net but I checked and there are only binaries. This is a great shame, even if only for historical interest.
There is another repository on Github with several versions. Unfortunately, the .EXE earchives refuse to run under my version of Windows 7. Perhaps you need a retro machine to open them? https://github.com/Project-Oberon/DOSOberon Wojtek
on linux : 7z e SYSTEM.EXE and so on. enjoy. j. On Fri, Jul 23, 2021 at 11:09 PM Skulski, Wojciech < skulski@pas.rochester.edu> wrote:
I was going to say that I thought the sources were on Sourceforge.net but I checked and there are only binaries. This is a great shame, even if only for historical interest.
There is another repository on Github with several versions. Unfortunately, the .EXE earchives refuse to run under my version of Windows 7. Perhaps you need a retro machine to open them?
https://github.com/Project-Oberon/DOSOberon
Wojtek -- Oberon@lists.inf.ethz.ch mailing list for ETH Oberon and related systems https://lists.inf.ethz.ch/mailman/listinfo/oberon
Wojtek, That files of DOSOberon binaries, and some of the sources for Version 2 are the ones that I have copied to my github. All of them were published by Prof Gerardo Ospina, initially on Sourceforge, and I have all versions of those DOSOberon working under DOSBOX on Windows 7 and 10. I can't remember right now, but I think that I've also tried them on Raspberry Pi, with its Debian and DOSBOX. And I also tried them on WSL Debian on Windows 10 and it works fine; you will also need an XLaunch or Mobaxterm for Windows to enable graphic applications in your Linux environment under Windows. The versions 1 and 2 someone commented on the list that resembles or are derived from Ceres version (hence them seem the FPGA Project Oberon too), and the S3 is System 3 or ETH Oberon. Try yourself with DOSBOX if you want to see them working. Put The Oberon files on a directory, mount it as a drive on DOSBOX and just launch Oberon after booting DOS in its own console window. It is not hard at all. Best regards, Prof Pablo Cayuela On Fri, Jul 23, 2021 at 6:09 PM Skulski, Wojciech <skulski@pas.rochester.edu> wrote:
I was going to say that I thought the sources were on Sourceforge.net but I checked and there are only binaries. This is a great shame, even if only for historical interest.
There is another repository on Github with several versions. Unfortunately, the .EXE earchives refuse to run under my version of Windows 7. Perhaps you need a retro machine to open them?
https://github.com/Project-Oberon/DOSOberon
Wojtek -- Oberon@lists.inf.ethz.ch mailing list for ETH Oberon and related systems https://lists.inf.ethz.ch/mailman/listinfo/oberon
On Fri, 23 Jul 2021 at 20:43, Pablo Cayuela <pablo.cayuela@gmail.com> wrote:
I forget to mention the information gathered some months ago about the source, gathered by Prof Gerardo Ospina, that I've forked and shared on Github:
https://lists.inf.ethz.ch/pipermail/oberon/2021/015595.html Please check that.
That is good info. Perhaps make it a text file and add it to the Github repo for others to find more easily? -- Liam Proven – Profile: https://about.me/liamproven Email: lproven@cix.co.uk – gMail/gTalk/gHangouts: lproven@gmail.com Twitter/Facebook/LinkedIn/Flickr: lproven – Skype: liamproven UK: +44 7939-087884 – ČR (+ WhatsApp/Telegram/Signal): +420 702 829 053
On Tue, Jul 27, 2021 at 10:42 AM Liam Proven <lproven@gmail.com> wrote:
On Fri, 23 Jul 2021 at 20:43, Pablo Cayuela <pablo.cayuela@gmail.com>
wrote:
I forget to mention the information gathered some months ago about the
source, gathered by Prof Gerardo Ospina, that I've forked and shared on Github:
https://lists.inf.ethz.ch/pipermail/oberon/2021/015595.html Please check that.
That is good info. Perhaps make it a text file and add it to the Github repo for others to find more easily?
-- Liam Proven – Profile: https://about.me/liamproven
Liam, I'm just checking that there is some news on the repositories by Prof Gerardo Ospina sharing all the recovered source codes that he received 20 something years ago. Please check his rearranged github on Project Oberon: https://github.com/Project-Oberon You will find Native, DOS and CERES Oberon source codes! Project Oberon Source Code Project Oberon is a single user operating system developed by Niklaus Wirth and Jurg Gutknecht. The Oberon operating system was originally developed as part of the NS32032-based CERES workstation project. CERES Oberon V2: Main developers, Niklaus Wirth and Jurg Gutknecht. The sources from the book "Project Oberon". CERES Oberon V4: Main developers, Niklaus Wirth and Jurg Gutknecht. DOS Oberon System 3 Release 2.0: Main developer, Andreas R. Distelli. Native Oberon System 3 Release 2.06 BETA: Main Developer, Pieter J. Muller. https://github.com/Project-Oberon/Source-Code Also documentation and ROM of Ceres: CERES (Computing Engine for Research Engineering and Science [sic]) is a single-user computer based on the 32-bit microprocessor NS32000 https://github.com/Project-Oberon/CERES Binaries that I already tried on DOSBOX, all working: https://github.com/Project-Oberon/DOSOberon And on his nominal github there are additional material that by now I only take a look: Oberon System (for DOS/386) [He tells me it is an experimental fail rebuilding of DOSOberon from source code]: https://github.com/ngospina/DOSOberon Bare Metal programming on the RaspberryPi using C and Oberon: https://github.com/ngospina/RaspberryPi I hope you will find all of that useful or informative. I've already done some forks to keep copies for me. Best Regards, Prof Pablo Cayuela
Hello Liam, On 7/23/21 4:15 AM, Liam Proven wrote:
That's why I was asking -- to see if Oberon enthusiasts would be interested in Oberon for DOS running on modern hardware. It seems not. :-(
I may try it anyway, though... :-)
I'm very interested in what you discover and get working. Please share what you find, either here on the list or on your blog. All the best, Robert
Am 23.07.2021 um 13:15 schrieb Liam Proven:
On Fri, 23 Jul 2021 at 00:08, Michael Schierl <schierlm@gmx.de> wrote:
You wanted to say, an OS with no direct Hard Disk support on its own. (It is the same if you boot from an IDE/SCSI/SATA hard drive).
No, I really did not. Please do not try to put words into my mouth :-(
Sorry for that.
DOS has hard disk support, and has since version 2.0 in 1983.
I wanted to say, no direct support for hard disk controller drivers. If Int 13h is able to access the hard disk, DOS will use it. If I recall correctly, hard disk "drivers" for DOS actually hooked Int 13h. CDROM with mscdex was a complete different beast, though.
Secondarily, SCSI went through parallel evolution of its own but most PC SCSI host adaptors included an auxiliary ROM BIOS that extended support for SCSI drives to DOS.
Today, controllers contain both an option ROM for DOS and another one for (U)EFI.
(I would say "and to other PC OSes that used the BIOS" but I can't think of any. Most of them just ran on top of DOS. Maybe DR CP/M086, Concurrent CP/M, Concurrent DOS and DOS Plus?)
In the "Hobby OS" space, there are a few that use Int 13H in real mode to communicate with hard disks. I also believe BeOS (5) had a setting that used Int 13H in 16-bit real mode for all disk access and if I recall corretly I had one machine with some quirky IDE controller where it was needed. It was possible to enable by pressing the spacebar at the right moment while booting the install media. (Of course, Windows 95 also had a DOS compatibility mode which handled all disk access via DOS, but I think that counts as more-or-less "runs on top of DOS". Also some boot loaders (like e.g. GRUB) are getting to some complexity that is almost its own OS. And when using GRUB with the biosdisk module (which is default, unless you are on (U)EFI where it uses efidisk) it will use BIOS to access the disk and load the kernel etc.
This is true. However, the start-off-a-USB-disk method needs no modification to the DOS OS or config files. You can copy an installed copy of DOS (with no USB drivers or support) onto a USB key, boot off the USB key, and suddenly DOS can see and use the USB drive.
Which is no different from having a DOS floppy image in Floppy Emulation Mode on an El Torito CDROM. DOS will see and use the floppy drive (as A:) and any physical drive A: will then become drive B:. MEMDISK (from the syslinux project) can also load floppy or hard disk images into RAM and DOS will just see them fine.
What is your experience with support of contemporary mice/touchpads in DOS? Oberon without mouse would not be much fun.
So far, I am mostly using various laptops, and everything just seems to work.
So I guess it is better than mouse support in (U)EFI. The laptop I'm sitting at right now supports external USB mice but not the internal trackpad. If the mouse has been connected before powering up the machine. Regards, Michael
On Fri, 23 Jul 2021 at 23:47, Michael Schierl <schierlm@gmx.de> wrote:
Sorry for that.
It's OK.
I wanted to say, no direct support for hard disk controller drivers. If Int 13h is able to access the hard disk, DOS will use it. If I recall correctly, hard disk "drivers" for DOS actually hooked Int 13h.
I think that's right but I was never a DOS API-level programmer. But DOS barely has device drivers for anything. It doesn't even have CD drivers -- they must be provided by someone else. All it provides (in later versions) is the redirector. DOS was barely an OS at all, really. All I was getting at is that while it _does_ directly support hard disk drives, it doesn't support USB -- but if you boot it from a USB, the BIOS fakes support for the USB drive in a way that DOS can use. This does not seem to be widely-known, and it's useful. DOS booted from USB is entirely useful, quite fast, and as it doesn't write much to the drive anyway, a DOS-bootable USB stick should last a long time. Finally, as 32MB was a fair amount of space for DOS and DOS apps, even very small USB drives are entirely usable for this. 2GB or 4GB USB drives are _huge_ by DOS standards.
CDROM with mscdex was a complete different beast, though.
Agreed.
Today, controllers contain both an option ROM for DOS and another one for (U)EFI.
I did not know that, but on consideration, it makes sense. Over on the FreeDOS list, there is much debate as to whether FreeDOS can or even should be made UEFI-compatible.
In the "Hobby OS" space, there are a few that use Int 13H in real mode to communicate with hard disks. I also believe BeOS (5) had a setting that used Int 13H in 16-bit real mode for all disk access
(!) I didn't know that, and I did use BeOS 5 a bit. I gave it a rave review in the UK's leading computer magazine, Personal Computer World (PCW -- *not* the same journal as the American PC World.)
(Of course, Windows 95 also had a DOS compatibility mode which handled all disk access via DOS, but I think that counts as more-or-less "runs on top of DOS".
Yes, and yes. It was necessary to run Win95 on Acorn's 386 & 486 add-in processor boards for the ARM-based RiscPC.
Also some boot loaders (like e.g. GRUB) are getting to some complexity that is almost its own OS. And when using GRUB with the biosdisk module (which is default, unless you are on (U)EFI where it uses efidisk) it will use BIOS to access the disk and load the kernel etc.
I did not know that. This thread is proving very informative.
Which is no different from having a DOS floppy image in Floppy Emulation Mode on an El Torito CDROM. DOS will see and use the floppy drive (as A:) and any physical drive A: will then become drive B:.
I would argue it is different in quite a few ways. The floppy-emulation approach also can be made to work with USB keys, I think. The key differences are: • even if the medium is writable, the virtual floppy isn't; • space is very constrained; • as an emulation, it isn't extensible -- e.g., you can't have more partitions. Whereas a bootable USB just looks like any other HDD to DOS. You can cache it, write to it, partition it, format it, install apps onto it, etc. All without any drivers. As far as I can tell from my testing, this is also compatible with 32-bit DOS-extender programs. So, for instance, it should be compatible with DOS Oberon.
MEMDISK (from the syslinux project) can also load floppy or hard disk images into RAM and DOS will just see them fine.
I have not seen or tried this.
So I guess it is better than mouse support in (U)EFI. The laptop I'm sitting at right now supports external USB mice but not the internal trackpad. If the mouse has been connected before powering up the machine.
:-( I am not surprised, though. UEFI feels very unfinished to me and I find it a nuisance to use. -- Liam Proven – Profile: https://about.me/liamproven Email: lproven@cix.co.uk – gMail/gTalk/gHangouts: lproven@gmail.com Twitter/Facebook/LinkedIn/Flickr: lproven – Skype: liamproven UK: +44 7939-087884 – ČR (+ WhatsApp/Telegram/Signal): +420 702 829 053
On Fri, Jul 23, 2021 at 8:45 PM Liam Proven <lproven@gmail.com> wrote:
I am interested in using DOS on modern hardware because 30+ years ago I acquired a lot of specialist DOS knowledge, which is now totally obsolete. However, as hobbyists grow interested in running DOS on modern hardware, both natively and under VMs, my obsolete knowledge becomes of some value again. That is enjoyable to me.
There are also DOS-like OSes, and environments that run on top of DOS. Very few people today know about these or have the knowledge to get them working. I do. So I am experimenting with them.
Look for the ETH Technical Report written by Andreas R. Disteli, the guy who worked on the MS-DOS port of Oberon. It is ETH Technical Report 203 'Oberon for PC on an MS-DOS Base'. It goes into the MS-DOS-specific implementation issues in great detail. You can download a copy from ETH: https://www.research-collection.ethz.ch/handle/20.500.11850/68911 . Regards, Chris Burrows CFB Software https://www.astrobe.com
participants (9)
-
Chris Burrows -
Jan de Kruyf -
Jörg -
Liam Proven -
Michael Schierl -
Pablo Cayuela -
peter@easthope.ca -
R. S. Doiel -
Skulski, Wojciech