AminetAminet
Search:
84769 packages online
About
Recent
Browse
Search
Upload
Setup
Services

misc/emu/dosbox-0.74-ppc-amigaos.lha

Mirror:Random
Showing: m68k-amigaos iconppc-amigaos iconppc-morphos iconi386-aros iconi386-amithlon iconppc-warpup iconppc-powerup icongeneric icon
No screenshot available
Short:MS DOS emulator
Author:DosBox team
Uploader:Mathias \'Corto\' Parnaudeau
Type:misc/emu
Version:0.74
Architecture:ppc-amigaos
Date:2011-08-14
Requires:OS4 update3 and above
Replaces:misc/emu/dosbox.lha
Download:misc/emu/dosbox-0.74-ppc-amigaos.lha - View contents
Readme:misc/emu/dosbox-0.74-ppc-amigaos.readme
Downloads:1310

* DosBox 0.74

I applied the patches that I developped for previous DosBox versions.
Then I tried to get more performance and it was hard. Currently, the normal
core seems to run 10 or 12 % faster that the original code.
The consuming part is the decoding of x86 instructions. I thought a small gain
will have a big effect but sometimes logical improvements caused regressions.

The archive contains the diff of the changes I made.

Please use the provided file "dosbox.conf" that works. Else, a default file
will be created but you will have to change the usescancodes value, setting it
to false instead of true (what leads to problems typing characters).

Thanks to David Braconnier for the icons !

Unsupported features :
- only use the normal core (that is the default one)
- launch editor and launch captures (that require execlp)


* How to use DosBox

The config file "dosbox.conf" is the place you will try some parameters 
to make it running well on your Amiga.

If you want to avoid entering the mount command each time you run DosBox, 
just have a look at the last lines of the file "dosbox.conf" and add the
commands you want to run at startup.


* What I changed in the sources

The core of the emulator is version hard to optimize and to read. It is very 
difficult to change some things in that part due to the mess of the x86 
instruction set and some stange coding rules (C++ code that is not always 
object oriented, many macros and inline functions, ...). So I used the 
wonderful tool Zoom (look at http://www.rotateright.com) on my MacMini running
Linux to find the other parts that could be optimized.

So the changes I applied are :
- src/cpu/core_normal.cpp : Activated C_CORE_INLINE, what increases the required
memory to compile, it only worked with 512 MB and the OS 4.1 paging system !
- include/paging.h : Used instructions to read half-words and words with
reversed bytes (PPC rulez !). Also changed a structure reorganizing TLB fields
in order to decrease the pressure on the cache.
- include/paging.h (again !) : Tried to improve the memory access through TLB.
- src/cpu/modrm.cpp and other files : I reduced the size of arrays to decrease
the pressure on the cache.
- include/render.h : Grouped some structure fields to improve alignment and
cache efficiency.

The archive contains a diff compared to the original sources (thanks to svn).
Use the diff file to patch the original sources if you want to build DosBox
yourself.

Then, under sh :
CFLAGS="-O2" CXXFLAGS="-O2" ./configure --disable-dynamic-core --disable-opengl 
--disable-dynrec --disable-dependency-tracking

And then :
- make
- Run "src/dosbox"


* Ideas for the future / to do

- Improve access to the x86 registers
- Activate OpenGL
- Check CDROM access
- Compare options -O2 and -O3
- Profile DosBox on Linux PPC (cache issues)
- Fix install of Win 3.1
- Fix color problems (x-ray, hugi)
- Fix MIDI : does not work even setting it in dosbox.conf with a directory 
that contains instruments
- Fix FullScreen that send a 59 Hz signal and some screens does not go below 60
- Check usage of gamepads


Contents of misc/emu/dosbox-0.74-ppc-amigaos.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO METHOD CRC     STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[unknown]                13972   18632  75.0% -lh5- 1f11 Aug 13 09:22 DOSBox.info
[unknown]                    0       0 ****** -lh0- 0000 Aug 13 09:33 DOSBox/C/
[unknown]                 6611    8504  77.7% -lh5- 0d7d Aug 13 09:22 DOSBox/C.info
[unknown]               991833 2625768  37.8% -lh5- 07fd Aug 13 09:23 DOSBox/DOSBox
[unknown]                 4249   11299  37.6% -lh5- 3070 Aug 13 09:19 DOSBox/dosbox.conf
[unknown]                 4931    6597  74.7% -lh5- 33cb Aug 13 09:22 DOSBox/dosbox.conf.info
[unknown]                 7279   41241  17.6% -lh5- 4b44 Aug 13 09:19 DOSBox/dosbox.diff
[unknown]                 2147    2190  98.0% -lh5- b85f Aug 13 09:22 DOSBox/dosbox.diff.info
[unknown]                 7865    9644  81.6% -lh5- fa31 Aug 13 09:22 DOSBox/DOSBox.info
[unknown]                 1712    3378  50.7% -lh5- 12db Aug 13 09:39 DOSBox/dosbox.readme
[unknown]                 2151    2190  98.2% -lh5- c91c Aug 13 09:22 DOSBox/dosbox.readme.info
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total        11 files 1042750 2729443  38.2%            Aug 13 22:07
Page generated in 0.02 seconds
Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>