[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4787: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3922)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4789: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3922)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4790: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3922)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4791: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3922)
InsideQC Forums • View topic - PCem

PCem

Discuss anything not covered by any of the other categories.

Moderator: InsideQC Admins

Re: PCem

Postby revelator » Sun Oct 05, 2014 6:19 am

You can use this with virtualbox its a bit slow though.



supports win 95 also :)

heres a howto
Productivity is a state of mind.
User avatar
revelator
 
Posts: 2605
Joined: Thu Jan 24, 2008 12:04 pm
Location: inside tha debugger

Re: PCem

Postby leileilol » Sun Oct 05, 2014 11:48 am

leileilol
 
Posts: 2783
Joined: Fri Oct 15, 2004 3:23 am

Re: PCem

Postby revelator » Sun Oct 05, 2014 8:23 pm

Might be he was used to working with it :) last version was free but im not sure the source code was ever released ? if it was and someone has it i could try and port it over to newer OS.
Many old tools where really nice but newer got updated for post win9x though some work when using compatibility settings, one of my favorites (norton commander) has luckily had many clones,
sadly norton navigator was newer updated and does not work on anything newer than win 95 (believe me i tried everything).
Productivity is a state of mind.
User avatar
revelator
 
Posts: 2605
Joined: Thu Jan 24, 2008 12:04 pm
Location: inside tha debugger

Re: PCem

Postby revelator » Tue Oct 07, 2014 3:09 am

Tried pcem and a few remarks.

was missing libgcc dependency so did not work first time.
configure menu is not working.

i recompiled it with my own compiler that defaults to linking statically to the gcc runtimes.
this is not a problem, in case you want to debug it cause my compiler was patched to allow throwing exceptions from the static libraries).



used latest OpenAL and Alut.

included all roms from the pcem site.

pcem now has an icon.
Productivity is a state of mind.
User avatar
revelator
 
Posts: 2605
Joined: Thu Jan 24, 2008 12:04 pm
Location: inside tha debugger

Re: PCem

Postby revelator » Wed Oct 08, 2014 4:43 pm

the broken configure menu seems to be a bug in pcem's resource script,
it refuses to compile unless i run it through a resource editor to rearrange some of the defines but that breaks the configure menu :S
i have a hunch that the pcem builder uses an archaic mingw version with a really old windres cause the newer ones from 2.23 and up dont accept the resource scripts.
Sadly there are not many resource editors avaliable for mingw, i used resed from radasm but i tried with resedit also and both break the config menu so it seems there is a bug in the rc.
Productivity is a state of mind.
User avatar
revelator
 
Posts: 2605
Joined: Thu Jan 24, 2008 12:04 pm
Location: inside tha debugger

Re: PCem

Postby leileilol » Wed Oct 08, 2014 5:10 pm

PCem's configure menu works in my mingw compiles.
leileilol
 
Posts: 2783
Joined: Fri Oct 15, 2004 3:23 am

Re: PCem

Postby revelator » Wed Oct 08, 2014 5:35 pm

Yeah it seems to be related to the binutils version used, i tried with an older one and now it works.
So seems i have to file a bugreport to the binutils mantainers.

final build here

compiled with sse3 optimization and core2 machine instructions, linked statically to the libstdc++ and libgcc libraries so the only dll dependencies are libalut and OpenAL32.

If you need a version compiled for a lower end machine ill make one, just wanted to see if the optimizations would have any effect.
Productivity is a state of mind.
User avatar
revelator
 
Posts: 2605
Joined: Thu Jan 24, 2008 12:04 pm
Location: inside tha debugger

Re: PCem

Postby revelator » Wed Oct 08, 2014 7:06 pm

Productivity is a state of mind.
User avatar
revelator
 
Posts: 2605
Joined: Thu Jan 24, 2008 12:04 pm
Location: inside tha debugger

Re: PCem

Postby leileilol » Thu Oct 09, 2014 4:53 am

leileilol
 
Posts: 2783
Joined: Fri Oct 15, 2004 3:23 am

Re: PCem

Postby revelator » Thu Oct 09, 2014 6:38 am

Ok ill upload a few other pcem builds with optimization for AMD :)
Productivity is a state of mind.
User avatar
revelator
 
Posts: 2605
Joined: Thu Jan 24, 2008 12:04 pm
Location: inside tha debugger

Re: PCem

Postby revelator » Thu Oct 09, 2014 7:00 am



AMD builds covers pretty much all archs even the embedded ones.
Productivity is a state of mind.
User avatar
revelator
 
Posts: 2605
Joined: Thu Jan 24, 2008 12:04 pm
Location: inside tha debugger

Re: PCem

Postby revelator » Thu Oct 09, 2014 12:04 pm

fixed the rc error need to include
#include <commctrl.h>
just below
#include <windows.h>
mingw version that was used to build pcem used an earlier win32api which did not have this requirement.
works now also with the latest gcc and binutils :)
Productivity is a state of mind.
User avatar
revelator
 
Posts: 2605
Joined: Thu Jan 24, 2008 12:04 pm
Location: inside tha debugger

Re: PCem

Postby leileilol » Thu Oct 09, 2014 1:00 pm

Running with opteron-sse3 causes Windows 98SE to crash its video driver in a text mode with a bunch of repeating characters


Running Q3Ademo on Q3DM17 with AM486DX4/120 and infinite cache, here's the execution percentages i'm getting of a 320x240 ~3fps scene

Original release - 79%
Athlon - 67%
AthlonXP - 67%
Barcelona = 67%
Geode = 68%
Opteron = 72%
Opteron SSE3 = 70%

somehow i'm doubting the usefulness of automatic optimization
leileilol
 
Posts: 2783
Joined: Fri Oct 15, 2004 3:23 am

Re: PCem

Postby revelator » Thu Oct 09, 2014 1:21 pm

Not automatic just toyed a bit with the different cpu models various optimizations, does not help a bit though if the code cant make use of features like say SSE either because its not coded for that or incompatible.



64 bit build and yes it works :) actually only one place where the 64 bit compiler says no and its in resid-fp not in PCem itself, so i had to compile with -fpermissive to create it but it seems to work so far
(might not work on AMD its compiled with intel instructions). Ill make one for AMD also.

i also created a codeblocks project for the source, the maintainer is welcome to use it.

Productivity is a state of mind.
User avatar
revelator
 
Posts: 2605
Joined: Thu Jan 24, 2008 12:04 pm
Location: inside tha debugger

Re: PCem

Postby revelator » Thu Oct 09, 2014 2:35 pm

Cleaned up the code some and fixed a bug in the audio library (OpenAL).
Also fixed some compiler warnings about functions with no default type and some typecast problems.
Still needs work but its heaps better allready.

Built with standard I686 machine type so should work on all processors.


btw how do you install say win98 in this if you dont have the cd anymore ? i got iso backups of all my windows versions but PCem seems to be unable to boot from cd with the roms i could find.
Productivity is a state of mind.
User avatar
revelator
 
Posts: 2605
Joined: Thu Jan 24, 2008 12:04 pm
Location: inside tha debugger

PreviousNext

Return to General Discussion

Who is online

Users browsing this forum: No registered users and 1 guest