A different kind of emulator

Emulation of old PCs, PC hardware, or PC peripherals.

Re: A different kind of emulator

Postby vladstamate » 2017-1-04 @ 22:26

danrevella wrote:How may we boot from hd0 ?


I will need to test that. You will need a IDE BIOS that the PC BIOS can use to boot from HDD. XT IDE is one. I will add support for it in the config file and the GUI and do some testing.
User avatar
vladstamate
Oldbie
 
Posts: 529
Joined: 2015-8-23 @ 01:43

Re: A different kind of emulator

Postby danrevella » 2017-1-04 @ 22:53

This sound very good, but please let xtide as optional, so when we need a "pure" emulation we may turn it off.
Also, I was unable in loadin basics, even with the file setting directelly in config.cfg and the binary basicacc11.bin
Even worse, I have try with original Ibm xt bios (3 different version), but it doesn't boot.

p.s. I had to told you before....... Many thanks for this new emulator!!!!!
danrevella
Newbie
 
Posts: 24
Joined: 2009-5-10 @ 13:34

Re: A different kind of emulator

Postby vladstamate » 2017-1-05 @ 00:06

danrevella wrote:This sound very good, but please let xtide as optional, so when we need a "pure" emulation we may turn it off.

Yes I agree.
danrevella wrote:Also, I was unable in loadin basics, even with the file setting directelly in config.cfg and the binary basicacc11.bin

Yes, BASIC loading is disabled in this release (I just forgot to enable it). I am re-enabling it back now. BASIC will work just fine.

danrevella wrote:Even worse, I have try with original Ibm xt bios (3 different version), but it doesn't boot.

It did for me few days ago when I was trying. However it looks like it is hanging for a while because the XT BIOS is trying to hammer the FDC ports. Eventually it gives up and goes on to boot succesfully. It takes about 40 seconds or so. I will try it again though to make sure all is ok.

danrevella wrote:p.s. I had to told you before....... Many thanks for this new emulator!!!!!

You are welcome!

I will shortly put up a new release with all those fixes that people mentioned here (and some others that I have done).
User avatar
vladstamate
Oldbie
 
Posts: 529
Joined: 2015-8-23 @ 01:43

Re: A different kind of emulator

Postby vladstamate » 2017-1-05 @ 00:23

IBM BASIC C1.10 working:
Image
User avatar
vladstamate
Oldbie
 
Posts: 529
Joined: 2015-8-23 @ 01:43

Re: A different kind of emulator

Postby superfury » 2017-1-05 @ 10:47

I have the 0xC000007C error as well when I try to use UniPCemu's 32-bit version with the 64-bit SDL2.dll and vice-versa(64-bit UniPCemu with 32-bit SDL2.dll), so it might be that the wrong dll is supplied?
superfury
Oldbie
 
Posts: 1691
Joined: 2014-3-08 @ 11:25
Location: Netherlands

Re: A different kind of emulator

Postby vladstamate » 2017-1-05 @ 14:01

Yes, I think this means the required dependency DLL is not found. In my case I was not statically linking against VS2015 runtime and your case it cannot find the matching SDL2.dll for the correct platform.
User avatar
vladstamate
Oldbie
 
Posts: 529
Joined: 2015-8-23 @ 01:43

Re: A different kind of emulator

Postby vladstamate » 2017-1-07 @ 15:33

Version 0.3 is out, this time with MacOSX support as well. I created a new thread in "Release Annoucement" and we'll keep this thread for technical discussion.

See http://www.vogons.org/viewtopic.php?f=24&t=51680
User avatar
vladstamate
Oldbie
 
Posts: 529
Joined: 2015-8-23 @ 01:43

Re: A different kind of emulator

Postby vladstamate » 2017-1-31 @ 13:38

I've been working hard on version 0.4 (and I will have a release soon). However here it is running (or trying to) on my Raspberry Pi 2 version 1.1. It seems I have some optimization work to do.
The ARM Cortex A7 at 900Mhz can only run the cycle based emulation of an IBM PC XT at mostly about 1Mhz :(

On a Raspberry Pi 3 I expect to run about half the speed of an 8088.

Still it was fun to see it run! :)
Attachments
cape_0.4-pi2.jpg
CAPE 0.4 running on Raspberry Pi 2 1.1
User avatar
vladstamate
Oldbie
 
Posts: 529
Joined: 2015-8-23 @ 01:43

Re: A different kind of emulator

Postby leileilol » 2017-1-31 @ 22:52

Still good enough to include in their repository with every other unusually slow emulator. DOSbox can't even refresh Doom's STARTUP text-mode screen at a tolerable framerate on that thing.
User avatar
leileilol
l33t++
 
Posts: 8463
Joined: 2006-12-16 @ 18:03

Re: A different kind of emulator

Postby keenmaster486 » 2017-2-01 @ 00:20

rpix86 does a much better job afaik...
I flermmed the plootash just like you asked.
Very silly indeed: https://audaxeundum.wordpress.com
User avatar
keenmaster486
Oldbie
 
Posts: 932
Joined: 2016-2-16 @ 02:04
Location: Atroxus

Re: A different kind of emulator

Postby vladstamate » 2017-2-03 @ 17:35

rpix86 alleges it can run a 486 at about 20Mhz which is a very good achievement for RPi which makes it totally useable. Good job by the author. However that is a normal emulator. I have to run cycle by cycle and emulate all components like that.

That gave me the idea to add a benchmark mode to CAPE and then try it on different platforms. I've also put in a good amount of optimizations and here is where it stands for the (unreleased) version 0.4.


Code: Select all
System      CPU                               Max Speed(Mhz)

RPi         ARM v7 @ 900Mhz                   1.57
Windows 10  Celeron N3050 @ 2.1Ghz            5.05
Linux       AMD Phenom II X4 960T @ 3.0Ghz   12.59
OSX         Core i7 2600 @ 3.4Ghz            23.36
OSX         Core i7 4870HQ @ 2.50GHz         24.58
Windows 10  Core i7 4790 @ 3.6Ghz            25.60


The "Max Speed(Mhz)" is what speed is that particular machine capable of running my emulator. It does not matter (too much) what CPU (8088, 8086, 286, etc) because this is a cycle emulator. It simply measures how many cycles per second each platform can emulate. This is also for ALL components in the system, although the CPU, memory and CGA are the heaviest.

Compilers:
Windows 10: Visual Studio 2015
Linux: gcc 5.4.0
RPi: gcc 4.9.2
OSX: LLVM 7.0.0

I think the more powerful Corei7 4790 is help back by the (somewhat) lackluster Microsoft compiler that comes with VS 2015 whereas the OS X llvm is behaving much better.
User avatar
vladstamate
Oldbie
 
Posts: 529
Joined: 2015-8-23 @ 01:43

Previous

Return to PC Emulation

Who is online

Users browsing this forum: tgod and 2 guests