flat assembler
Message board for the users of flat assembler.

Index > DOS > kelvar unREAL engine does not work.

Author
Thread Post new topic Reply to topic
sid123



Joined: 30 Jul 2013
Posts: 339
Location: Asia, Singapore
sid123 05 Jan 2014, 10:52
Hi all,
I hope everyone knows about the kelvar unREAL engine written by Tomasz.
I was testing it out but I didn't get to see how it works Sad
DosBox : Showed errors saying Ilegal Read from FFFFFF1, FFFFFF2 CS:IP 0:0x6B
Virtual PC : Once showed divide overflow, after that halted.
Virtual Box : I could only see it saying kelvar unREAL engine
extended memory <some number>, after that the text faded (quite impressive!) but I could only see a black screen. Sad
I am using MS-DOS 6.22, with HIMEM (if that causes a problem)
Thanks
Sid123

_________________
"Those who can make you believe in absurdities can make you commit atrocities" -- Voltaire https://github.com/Benderx2/R3X
XD
Post 05 Jan 2014, 10:52
View user's profile Send private message Reply with quote
Tomasz Grysztar



Joined: 16 Jun 2003
Posts: 8263
Location: Kraków, Poland
Tomasz Grysztar 05 Jan 2014, 11:46
This is an older version of the unREAL engine that is still used by the DOS version of fasm, when DPMI is not available. The improved version that fasm uses first checks whether the processor/emulator is capable of executing the 32-bit instruction encodings in real mode and it shows an error message appropriately. So I would suggest that you first try to run the unREAL fasm in the emulator of your choice (make sure that there is no DPMI server in your DOS, because fasm is going to use it instead of unREAL if available), and if it shows 'processor is not able to enter 32-bit real mode' message, then "kelvar" will not work in that environment either.

However if you are able to run the unREAL fasm but "kelvar" still does not work, then it means that there may be some other problem that I am not aware of.
Post 05 Jan 2014, 11:46
View user's profile Send private message Visit poster's website Reply with quote
sid123



Joined: 30 Jul 2013
Posts: 339
Location: Asia, Singapore
sid123 05 Jan 2014, 15:24
Hi,
FASM.EXE works fine. But I get an extra string at the end of the program which is
Quote:
required 80386 or better

Is this normal?
When I run FASMD.EXE it shows No DPMI Services available.
Thanks
Sid123

_________________
"Those who can make you believe in absurdities can make you commit atrocities" -- Voltaire https://github.com/Benderx2/R3X
XD
Post 05 Jan 2014, 15:24
View user's profile Send private message Reply with quote
badc0de02



Joined: 25 Nov 2013
Posts: 215
Location: %x
badc0de02 06 Jan 2014, 13:00
you have to download the CWSDMI
http://homer.rice.edu/~sandmann/cwsdpmi/
and run the CWSDPMI.EXE
after then run fasmd again
Post 06 Jan 2014, 13:00
View user's profile Send private message Reply with quote
sid123



Joined: 30 Jul 2013
Posts: 339
Location: Asia, Singapore
sid123 06 Jan 2014, 15:22
Hi,
Thanks for the link, but as Tomasz said the unREAL engine used by FASM.EXE and KELVAR are the same.
If unREAL FASM can work, I can't figure out why the unREAL kelvar engine won't work.
I am getting a DOS Boot Disk ready to test it on a real 386 and would try to dig up what's causing the problem.
Will also try it on Bochs and see what I get.
Has anybody tested it on their machines/emulators?
Thanks
Sid123
Post 06 Jan 2014, 15:22
View user's profile Send private message Reply with quote
DOS386



Joined: 08 Dec 2006
Posts: 1898
DOS386 08 Jan 2014, 08:40
> If unREAL FASM can work, I can't figure out why the
> unREAL kelvar engine won't work.

> Will also try it on Bochs and see what I get.
> Has anybody tested it on their machines/emulators?

IIRC Kelvar worked for me, just no sound.

Also FASM (DOS, no IDE) used to work (better no DPMI host), but I can't guarantee for the latest version, as I use almost exclusively the IDE.

Of course I run DOS natively on real hardware, but I think both should work inside BOCHS too (untested).
Post 08 Jan 2014, 08:40
View user's profile Send private message Reply with quote
Just4fasm



Joined: 20 May 2012
Posts: 60
Location: OuterSpace
Just4fasm 09 Jan 2014, 08:15
This Tomasz Grysztar has no knowledge on hardware of electronics!. He made a good assembler, sadly he still many years after doesn't know the computer hardwares!. Obviously Tomasz Grysztar is a good copier best human machine! microsoft qualified. Microsoft approves such people!.

sid123! won't work on any 80% or less crappy dos emulators! in shitty world wide web have full of dumb emulators! because they and he followed microsoft and similar shits!. That's why that kelvar engine wont work!.
Work on pure 50%-100% 386 pc hardware emulated emulators! or you just use the standard ibm pc compatible 386 computers! should be work fine!.
Post 09 Jan 2014, 08:15
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger Reply with quote
sid123



Joined: 30 Jul 2013
Posts: 339
Location: Asia, Singapore
sid123 09 Jan 2014, 09:32
Quote:
Obviously Tomasz Grysztar is a good copier best human machine!

I highly disagree.
Making something like FASM that can assemble itself plus can run on something
as useless as DOS is what a copier definitely can't do. I guess is good to have something like FASM since NASM has high requirements, FASM Compiles to 99KB, NASM compiles to 893KB, and for GNU AS, I guess everyone knows about how painful the syntax is, as for other assemblers, they are either proprietary or have some limitations.
Quote:
This Tomasz Grysztar has no knowledge on hardware of electronics!. He made a good assembler, sadly he still many years after doesn't know the computer hardwares!

This is self contradictory, to understand more about a specific CPU the best way to write an assembler that runs/assembles on an for that CPU.
@All
I got the kelvar engine working on the 386, Quite slow but works Very Happy
@DOS386
IMHO If possible please lock this thread, I don't want this turn into a flame war, I guess everyone seeing this thread knows what I am talking about.

_________________
"Those who can make you believe in absurdities can make you commit atrocities" -- Voltaire https://github.com/Benderx2/R3X
XD
Post 09 Jan 2014, 09:32
View user's profile Send private message Reply with quote
Tomasz Grysztar



Joined: 16 Jun 2003
Posts: 8263
Location: Kraków, Poland
Tomasz Grysztar 09 Jan 2014, 10:40
sid123 wrote:
@All
I got the kelvar engine working on the 386, Quite slow but works Very Happy
In my above post I forgot to include the link to my text on the history of the unREAL engine. It may give you some idea about the things that may go wrong. Not only the emulators, but even some physical CPUs do not support this trick. Still it worked on all the Intel and AMD processors I tried back then (only the more "exotic" x86 brands had problems).

As for the kelvar itself, it was based on my very old sources from the time when I was trying some game development (long before fasm). I later ported it to work on the unREAL engine and released it as an example. It contains a lot of suboptimal and perhaps even buggy code, though. And on 386 machines it was very clumsy. The one I have that runs it quite well is the first generation Pentium with 60 MHz clock.
Post 09 Jan 2014, 10:40
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 17 Feb 2014, 09:02
This was already discussed two years ago in VirtualBox (VT-X under Nehalem Westmere 32nm)
. Yes, it works under VirtualBox. Of course, I only tested with advanced VT-X, so it's possible that your cpu still doesn't support it (sadly).
Post 17 Feb 2014, 09:02
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-2023, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.