Software for 286?

Programming, for all ages and all languages.
Post Reply
User avatar
Artlav
Member
Member
Posts: 178
Joined: Fri Aug 21, 2009 5:54 am
Location: Moscow, Russia
Contact:

Software for 286?

Post by Artlav »

The 286 chip wasn't around for long, but there should have been some software or OSes made for it?

Basically, i'm looking for whatever information there is on 286, with the intention of developing the 286 emulation in my EPC emulator.

Perfect would be assembler tutorials for 286 pmode or set of CPU tests, good would be open source (or small enough to disassemble) software or hobby OS for it, nice to have would be anything that is known to use 286 in a reproducible manner.

Windows 3.0 is not good at this point - it does something deep inside that i can't get at.
himem.sys is borderline - i can't get it to go into pmode. Some usage examples, maybe.
286 bios sources you can google were made with OCR software, and as such are quite useless, if only for reference.

So, does anyone have or know where to get something of that description?
User avatar
Combuster
Member
Member
Posts: 9301
Joined: Wed Oct 18, 2006 3:45 am
Libera.chat IRC: [com]buster
Location: On the balcony, where I can actually keep 1½m distance
Contact:

Re: Software for 286?

Post by Combuster »

286-specific assembly is relatively rare since the 286 was a pretty bad device to make optimisations for.

Does regular 16-bit code work? You can try to run DOS with Turbo C++ 3.0 which has an option to create 286-specific code so you can actually generate apps for the 286 or different systems. Of course, being able to run DOS inside your emulator is pretty much a good stability test before trying 286 protected mode.
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]
User avatar
Brynet-Inc
Member
Member
Posts: 2426
Joined: Tue Oct 17, 2006 9:29 pm
Libera.chat IRC: brynet
Location: Canada
Contact:

Re: Software for 286?

Post by Brynet-Inc »

There were several Unix systems related for the 286 which had a primitive form of protected mode, Minix2/Coherent3/Xenix.

I believe releases of OS/2 and Windows took advantage of it as well.

I'm sure there was a lot of commercial DOS software that used 286 features, no doubt you'll be able to find something.
Image
Twitter: @canadianbryan. Award by smcerm, I stole it. Original was larger.
User avatar
Artlav
Member
Member
Posts: 178
Joined: Fri Aug 21, 2009 5:54 am
Location: Moscow, Russia
Contact:

Re: Software for 286?

Post by Artlav »

Combuster wrote:Does regular 16-bit code work? You can try to run DOS with Turbo C++ 3.0 which has an option to create 286-specific code so you can actually generate apps for the 286 or different systems. Of course, being able to run DOS inside your emulator is pretty much a good stability test before trying 286 protected mode.
The emul is stable enough to run DOS, windows 3.0, xenix, and lots of contemporary software, so no problems there.

Quick try on TC3 revealed that it needs 286 as well to run. But, it works in DOSbox.
Unfortunately, simple programs compiled with 80286 option work as well. I guess it's only about memory use or something like that, the code is pretty much the same as with 80186 option, with a couple bytes added.
Brynet-Inc wrote:I'm sure there was a lot of commercial DOS software that used 286 features, no doubt you'll be able to find something.
Sure, commercial. The mentioned TurboC++ 3.0 uses it, but gives DPMI errors. Something is not right, and where to track it i have no idea. Windows 3.0 uses it as well, but it starts calling opsize in the middle of nowhere and i can't even find where to look.
That's why i'm looking for something simple, like assembler tutorials or cpu tests.
roboman
Posts: 24
Joined: Fri Feb 27, 2009 9:41 am
Location: USA
Contact:

Re: Software for 286?

Post by roboman »

Artlav wrote: Perfect would be assembler tutorials for 286 pmode or set of CPU tests, good would be open source (or small enough to disassemble) software or hobby OS for it, nice to have would be anything that is known to use 286 in a reproducible manner.
That's sad, I just looked over at my book shelf and there is '8086/8088/80286 Assembly Language by Leo Scanlon'. If you do a search for '80286 shareware' you will get lots of hits, there were lots of bbs's with lots of shareware at that time.
Post Reply