Jump to content


Photo

Qemu for Pandora (for rebirth competition)

qemu Pandora emulator virtual machine

  • Please log in to reply
980 replies to this topic

#21 OFFLINE   stouffa

stouffa

    Advanced Member

  • Supporter
  • 1246 posts
  • Local time: 09:07 PM
  • LocationWaterford, Ireland

Donator

Posted 02 February 2012 - 11:47 AM

I thought that using the nubs or an external mouse didn't work using Notaz's SDL? Might any of this code be of use to john4p (after the competition is over natch!) for updating Uae4all?? ;)

#22 OFFLINE   mcobit

mcobit

    Does this thing work?

  • Members
  • PipPipPip
  • 5792 posts
  • Local time: 10:07 PM
  • LocationFrankfurt a.M., Germany

Donator

Posted 02 February 2012 - 11:49 AM

Who said something about notaz sdl?
Right now we are not using it because it messes up big time, when you change videomodes. We would have to patch qemu to reload the SDL init everytime there is a resolutionchange.
Maybe possible, but without a Pandora i am stuck here right now...

#23 OFFLINE   stouffa

stouffa

    Advanced Member

  • Supporter
  • 1246 posts
  • Local time: 09:07 PM
  • LocationWaterford, Ireland

Donator

Posted 02 February 2012 - 11:51 AM

Apologies then, my mistake!! :blink: I blame it on 6am starts in work....

#24 OFFLINE   mcobit

mcobit

    Does this thing work?

  • Members
  • PipPipPip
  • 5792 posts
  • Local time: 10:07 PM
  • LocationFrankfurt a.M., Germany

Donator

Posted 02 February 2012 - 12:44 PM

Here is another video of Age Of Empires with sound:


And Fallout 1 with sound:


#25 OFFLINE   mcobit

mcobit

    Does this thing work?

  • Members
  • PipPipPip
  • 5792 posts
  • Local time: 10:07 PM
  • LocationFrankfurt a.M., Germany

Donator

Posted 02 February 2012 - 01:28 PM

And here something to show you where the limits are reached:


#26 ONLINE   TrashyMG

TrashyMG

    Sarcasm Dispenser

  • Moderators
  • 6326 posts
  • Local time: 04:07 PM
  • LocationVermont, USA

Donator

Posted 02 February 2012 - 02:10 PM

So no playable Diablo 2, but still very awesome work.
:wq

#27 OFFLINE   mcobit

mcobit

    Does this thing work?

  • Members
  • PipPipPip
  • 5792 posts
  • Local time: 10:07 PM
  • LocationFrankfurt a.M., Germany

Donator

Posted 02 February 2012 - 02:17 PM

So no playable Diablo 2 ...


But did you really expect that? ;)

Hint:

Diablo 2
Single-Player PC System Requirements:

  • Windows® 2000*, 95, 98, or NT 4.0 Service Pack 5
  • Pentium® 233 or equivalent
  • 32 MB RAM
  • 650 MB available hard drive space
  • 4X CD-ROM drive
  • DirectX™ compatible video card



#28 ONLINE   Fusion_Power

Fusion_Power

    Advanced Member

  • Members
  • PipPipPip
  • 2592 posts
  • Local time: 10:07 PM

Posted 02 February 2012 - 02:45 PM

So no playable Diablo 2, but still very awesome work.

But it runs! On the Pandora! With Sound!. I never would have expected this, so even if it is not playable, it still is impressive. :)



So no playable Diablo 2 ...


But did you really expect that? ;)

Hint:

Diablo 2
Single-Player PC System Requirements:

  • Windows® 2000*, 95, 98, or NT 4.0 Service Pack 5
  • Pentium® 233 or equivalent
  • 32 MB RAM
  • 650 MB available hard drive space
  • 4X CD-ROM drive
  • DirectX™ compatible video card



I bet, a direct, straight Diablo2 port could run very niceley on the Pandora, if Blizzard just would give us the Source Code. :)

#29 OFFLINE   mcobit

mcobit

    Does this thing work?

  • Members
  • PipPipPip
  • 5792 posts
  • Local time: 10:07 PM
  • LocationFrankfurt a.M., Germany

Donator

Posted 02 February 2012 - 02:56 PM

I bet, a direct, straight Diablo2 port could run very niceley on the Pandora, if Blizzard just would give us the Source Code. :)


Yes, i think this would be easily possible, but well, they probably never will release the source to this.

#30 OFFLINE   MrChops

MrChops

    Advanced Member

  • Members
  • PipPipPip
  • 208 posts
  • Local time: 04:07 PM

Posted 02 February 2012 - 03:08 PM

Oh well, and I'm really going to freak out some of my favourite Sierra-Adventures (Gabriel Knight 2, Phantasmagoria 1+2, Shivers etc.) will work (incl. touchscreen support).

I ran Phantasmagoria 1 with dosbox and it played great so I'm sure it will be no prob for qemu. KQ6 (speaking of good sierra games) was decent on dosbox as well when I tested it shortly after pickle's release, should be near flawless (minus touchscreen :P ) with qemu judging by mcobit's videos. I can't wait to get my hands on this!

How bout that carmageddon test mcobit? :)

#31 OFFLINE   mindlord

mindlord

    Advanced Member

  • Members
  • PipPipPip
  • 394 posts
  • Local time: 04:07 PM
  • LocationIn a cave

Posted 02 February 2012 - 03:17 PM

I'm really looking forward to trying this out. It is awsome seeing Fallout 1 actually running.
Color that is almost, but not quite, entirely unlike tea RedBaron of throwing himself at the ground and missing.

#32 OFFLINE   notaz

notaz

    Advanced Member

  • Official OpenPandora Team
  • PipPipPip
  • 2507 posts
  • Local time: 11:07 PM

Donator

Posted 02 February 2012 - 08:46 PM

Right now we are not using it because it messes up big time, when you change videomodes. We would have to patch qemu to reload the SDL init everytime there is a resolutionchange.

Messes up?

#33 OFFLINE   Linux-SWAT

Linux-SWAT

    Advanced Member

  • Members
  • PipPipPip
  • 6439 posts
  • Local time: 10:07 PM
  • LocationParis, France

Posted 02 February 2012 - 08:59 PM

Should be useful :
http://www.nexle.dk/win2000-32mb/


Making Windows 2000 run (rather well) on only 32MB RAM

- By Daniel Iversen,
16 July
2005
There are times when it can and should (sometimes) be done…
installing Windows 2000 on very old computers with only 32 megabytes
(MB) of memory (RAM). I’ve seen 64 and 96 MB RAM computers struggling
with Windows 2000 but if you configure the system correctly it can run
fast and well. Note though that there is no “magic bullet”. Although
your old computer can run faster it will never compete with modern
hardware in terms of performance.
This is a short guide to show you how to run Windows 2000 on such old
computers and maintain a fast (as possible) performing system.
The computer I installed Windows 2000 on was a Toshiba Libretto 110
sub-notebook with 233 Mhz and 32 MB RAM.
Why would you do that?I had an old but very leight-weight small subnotebook that I
needed for after hours support for one of my clients… I needed to
install Windows 2000 to use my mobile phone (LG U8110/U8120) as an
infrared modem to access the
high speed 3G data network. Your reason might be that you have an old
PC you don’t want to throw away and Windows 95/98/Me might not give you
the features you are looking for… be aware though that if Windows 98
meets your needs it is stupid to upgrade because you have lots less
memory to work with when installing Windows 2000.FACTS
Before the tweaks in
this document
Windows 2000 would startup/boot in
30 seconds and you would have between 3-4 MB RAM left for your
applications. The system responsiveness is sluggish.
AFTER the tweaks in
this document
Windows 2000 would startup/boot in 10 seconds
(using hibernation) – which is faster than my 2.4Ghz/400MB laptop ..
and you would have more than 10 MB RAM left for
your
applications. The system responsiveness is rather fast.
Posted Image
Figure 1: The performance of my
old subnotebook after tweaks
THE GUIDE

Install the plain Windows 2000 operating system oin the computer.

Keep in mind:

  • DONT install an

    extra service pack (they can offer perfromance and reliability
    improvements on faster computers but on old computers with few tasks
    they are just a bloat). Make sure your Windows installation CD isn’t
    already “slipstreamed” with a service pack.
  • Don’t install multiple languages (i.e. no multiple keyboard

    layouts) as it takes up precious resources… just stick with U.S.
    layout.
  • DON’T upgrade

    from another version of windows. Lots of stuff will be left hanging
    over and the performance will suffer
  • Keep (or choose) the (very fast for old computers) FAT file

    system during installation as opposed to the heavier and more secure
    NTFS filesystem
Removed cursor shadow


I know… maybe not the biggest resource saver (especially because the
graphics card probablky handles this one.
Disable display effects incl color icons

You can run with 16bit color on the desktop (if that is what you
graphics card supports best natively. Be aware though that some
computers can run with higher color depth but the copmuter
processor/CPU (as opposed to the graphics CPU) may have to do more…
but usually 16bit is fine.
Then you disbale high-color icons, you disable fading effects, smooth
fonts and “show window contents” when dragging – in other words,
disable anything fancy Posted Image
removed sound theme and sound card

Playing sound takes CPU resources and getting sound files takes
memory.. disable sound effects, and even disable the sound card… When
you run on 32MB there are sacrifices that have to be made… I use my
32MB subnotebook for non-sound things so disabling sound card makes
sense because the drivers take up resources.
Disabled (by setting them to “manual” (in case windows needs them))
unneeded services

This is probably the single-most important step after the installation.
Windows loads lots of services you might not need and they take up LOTS
of memory and CPU (considering we only have 32MB).
Disabling following services in the “Control Panel -> Administration
-> Services” makes your computer able to act on the network,
internet and other things while freeing up lots of memory;
  • Remote Registry Service
  • Task Scheduler
  • RunAs Service
  • TCP/IP NetBios Helper Service
  • Print Spooler
  • Event Log
  • Computer Browser
  • IPSEC Policy Agent
  • Messenger
  • Distributed Link Tracking Client
  • System Event Notification
  • Alerter
  • Protected Storage
  • Server
You can also remove these services
  • Infrared Monitor
  • Removable Storage (for USB drives, attachable CD drives etc.)I use the 2 services above but have them disabled. I just created 2

    shortcuts on the desktop to start them… the command to start a
    service is net start “<service
    name>”
Install and use X-Setup from

X-teq

This is probably the second most important step after installing
windows and disabling the services…. This little tool can remove lots
of hidden (and for you unneeded) applications and settings embedded
deep inside windows.
Following changes has to be made using the X-Setup tool (trial version
will do)
  • disabke activedesktop
  • use “Classic” Explorer style(as opposed to only turn off the obvious win2k UI niceties this

    actually reduces the win2k memory footprint further by also removing
    quick launch, right-click on start menu and other features)
  • disallow file and printer sharing
  • Shutdown can auto-end programs
  • Service timout when system shutdown decreasde to 10sec
  • Disable group policy objects (GPO)
  • Disable dr. watson just-in-time debugging
  • Disable “last access” attribute of files (this is important for

    drive/processor speed)
  • disable “secure desktop” patch
  • Disable windows file protection (this is VERY important for speed)
Remove LPT/printer port


Chances are that you won’t have a printer connected to the computer..
Removing the LPT port (in the control panel -> system -> device
manager ) is a good idea … you can still print over the network,
albeit a bit slower (since we disabled the print spooler earlier)..
thats o.k.
- it is all for the greater good.
Disable printer and file sharing

again – its about cutting down on whats running.. do this and connect
to other computers instead of letting them connect to you.
Other registry tweaks found on the net;


”HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Explorer”, create a DWORD key “AlwaysUnloadDLL” and set it to 1. Without doing this, your Libretto will use more and more memory even after you close all the open applications. Very cool tweak.“HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\PriorityControl”, create a DWORD key “IRQ8Priority” and set it to 1. This way CMOS access and overall system performance is improved.
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\SessionManager\MemoryManagement”, set IoPageLockLimit to 1000 (hex) for 64MB. Set it to 4000 for 128MB, 10000 for 256MB or 40000 for 512MB or larger.

Install and use Tweak

UI

Tweak UI is an old but good fere application from Microsoft to tweak
certain windows saettings.
Install it and use it as follows;
  • remove all UI effects of windows
  • remove active desktop
  • remove “new documents added to documents on startmenu”
  • renmove “beep on error”
  • reomove most of the icons from the “new” tab


Use hibernation feature

Hibernation allows you to start your computer very fast. A typical boot
process can take 40 seconds.. .resuming from hibernation only takes
10-15
seconds – very much worth doing! (just remember to do a real
reboot/restart every few days to make sure everything gets “cleaned up”)
Install network card

Install the network card in your computer… let windows detecdt the
card and use the “browse” button to find the driver on your
CD/floppy/folder… do NOT run the installation program that came with
your netwoirk card as that will most likely install some resident
helper application (that you don’t really need)
How to use the computer on a daily basis
  • Don’t install a lot of applications
  • Only have 1 application open at a time if possible
  • Don’t work with big (1MB+) files (documents, images etc)
  • Don’t apply O/S patches for security stability or other things.
  • Don’t envy people who has newer software than yours (Windows XP,

    Office 2003, etc) or desktop
    wallpapers for that matter Posted Image it’s not going to happen on your computer!
  • Defragment your drive regulary
What now?


Next thing is to install office or whatever.. Office 2000 can run on
this computer… make sure though you don’t run a “pure/normal” install
but just copy the files over from anbother installation… this limits
bloat and drivers decreasing overall performance of your system.
Upgrade to 64, 96 or even 128 MB RAM….. Posted Image (much more RAM that this
might not
make sense if you have a very old CPU)
Other interesting links



#34 OFFLINE   Linux-SWAT

Linux-SWAT

    Advanced Member

  • Members
  • PipPipPip
  • 6439 posts
  • Local time: 10:07 PM
  • LocationParis, France

Posted 02 February 2012 - 09:04 PM

Also, did you tried relative images ? May boot r/w performance if the master and the relative are on different cards.
Also, you can bloat around many relatives from one single, clean image.

#35 OFFLINE   TitanUranus

TitanUranus

    Advanced Member

  • Members
  • PipPipPip
  • 252 posts
  • Local time: 10:07 PM

Posted 02 February 2012 - 09:34 PM

Personally I'd try 98lite - I used to love stripping 98 down to the "bare bones". Once got it down to under 8mb while retaining it's ability to play games - compressed I backed up that OS on 2 floppy discs! MicoXP/Server 2003 may also be interesting for those that like to see stuff running at 3fps. What sort of gfx "card" support does qemu offer? Will there be any chance of say emulating an 8mb directX compatible card, or is it the same 2mb max that DOSbox has?

This does look like it's going to be fun...
.elohesra na er'uoy sevorp ti, sdrawkcab tihs siht daer ot rehtob uoy fI

#36 OFFLINE   mcobit

mcobit

    Does this thing work?

  • Members
  • PipPipPip
  • 5792 posts
  • Local time: 10:07 PM
  • LocationFrankfurt a.M., Germany

Donator

Posted 02 February 2012 - 09:59 PM


Right now we are not using it because it messes up big time, when you change videomodes. We would have to patch qemu to reload the SDL init everytime there is a resolutionchange.

Messes up?


Sorry: I mean doesn't work, crashes on start etc.

Edit: More info and testvideos tomorrow.

#37 OFFLINE   Writing Ronin

Writing Ronin

    Advanced Member

  • Members
  • PipPipPip
  • 70 posts
  • Local time: 10:07 PM

Posted 02 February 2012 - 10:29 PM

Staggering stuff, well done guys, and thank you - very impressed!

#38 OFFLINE   gunrock

gunrock

    Advanced Member

  • Members
  • PipPipPip
  • 397 posts
  • Local time: 09:07 PM

Donator

Posted 02 February 2012 - 10:44 PM

Oh shit! Might this run Syndicate!!??

#39 OFFLINE   bagmouse7

bagmouse7

    Advanced Member

  • Members
  • PipPipPip
  • 120 posts
  • Local time: 04:07 PM

Posted 03 February 2012 - 12:05 AM

Yes! I agree with Titan. I use 98lite on some tiny Toshiba Liberetto's that I have.
It can be made very light weight and I am looking forward to trying it on Qemu!


Personally I'd try 98lite - I used to love stripping 98 down to the "bare bones". Once got it down to under 8mb while retaining it's ability to play games - compressed I backed up that OS on 2 floppy discs! MicoXP/Server 2003 may also be interesting for those that like to see stuff running at 3fps. What sort of gfx "card" support does qemu offer? Will there be any chance of say emulating an 8mb directX compatible card, or is it the same 2mb max that DOSbox has?

This does look like it's going to be fun...



#40 OFFLINE   mcobit

mcobit

    Does this thing work?

  • Members
  • PipPipPip
  • 5792 posts
  • Local time: 10:07 PM
  • LocationFrankfurt a.M., Germany

Donator

Posted 03 February 2012 - 08:21 AM

It can run syndicate quite acceptable from what i heared from IngoReis.

Here are some more tests:

Wipeout (DOS):


Jazz Jackrabbit 2 (Win95):


And for the lulz:



Also there are a lot of good ideas about liteversions of windows. I think you will have a lot of fun with this :)



Also tagged with one or more of these keywords: qemu, Pandora, emulator, virtual machine

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users