flat assembler
Message board for the users of flat assembler.

Index > Main > 286 protected mode examples?

Author
Thread Post new topic Reply to topic
Artlav



Joined: 23 Dec 2004
Posts: 188
Location: Moscow, Russia
Artlav 21 Apr 2011, 18:58
Are there any fasm-compilable examples of working with 286 processor at it's full capacity?

I'm starting to get deep into 286 support on my EPC emulator, but only stuff to test it with are some simple samples i made myself out of typo-filled intel 286 docs with guesstimated gaps and rough Bochs verification.

Basically, i'm looking for some kind of assembly in protected mode tutorial that is 286 oriented, or some open-source demos for it.

Anyone seen something like that?
Post 21 Apr 2011, 18:58
View user's profile Send private message Visit poster's website Reply with quote
rugxulo



Joined: 09 Aug 2005
Posts: 2341
Location: Usono (aka, USA)
rugxulo 28 Apr 2011, 01:54
Sad that I'm the only one replying. I'm really not much help here. (Plus annoying to me to login and have 450+ unread posts which I'll never read, heh, hope I didn't miss anything important. I blame myself, of course.) Anyways ...

286 pmode is hard to emulate, even QEMU has troubles. Worse is that most people don't care, esp. because it's irrelevant to Linux or Win32 or (newer) AMD64. Good luck!

Examples? Your best bet may be BP7/TP7 .EXEs for DOS (Cash Invaders, GVFM) or Japheth's HXDEV16 or similar (OS/2 1.3 ??). I seem to recall a simple 16-bit pmode (DPMI) .ASM example in his newer FD Debug releases too. Also, old Minix 2.0.2 16-bit *may* (barely) use 286 stuff, though I'm not sure how extensively.

In short, your best bets are (Free)DOS (+ HXDEV16 + OW19) or OS/2 1.x or whatever. Try going to the BTTR Forum for more DOS pmode help.

EDIT: I also very very briefly tried UCB Logo (old DOS version) recently. IIRC, it (286 pmode) didn't work under DOSBox but real hardware was fine. So there's another example to test for ya. I'm sure there are others, but most are probably commercial and abandoned, so I tried here to mention at least a few ways to get free apps to actually test. Oh well, better than nothing ....
Post 28 Apr 2011, 01:54
View user's profile Send private message Visit poster's website Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.