CPCWiki forum

General Category => Emulators => Topic started by: Devilmarkus on 22:03, 26 August 09

Title: JavaCPC 6.6 - Last release?
Post by: Devilmarkus on 22:03, 26 August 09
Hi together,
I just compiled latest version 6.6 of JavaCPC.

It's not a final release, so no official download.

Since Java version 1.6 update 14, JavaCPC has strange display problems.

Until I cannot fix them, I will not offer a new official release.

Here's my last release:
http://cpc-live.com/6.6.pre.rar

Sorry, no sources, readme and other docs.
Check docs from 6.5

Who wants to help me with the "setDoubleBuffered(true);" please contact for swapping sources.

Cheers,
Markus
Title: Re: JavaCPC 6.6 - Last release?
Post by: Gryzor on 08:29, 27 August 09
Hmmmm... on the other hand, how many people really use the latest Java versions???
Title: Re: JavaCPC 6.6 - Last release?
Post by: Devilmarkus on 09:33, 27 August 09
Quote from: GryzorHmmmm... on the other hand, how many people really use the latest Java versions???

Java is mostly auto-updating. (But you can deny the updates)

For all of you who wants to get rid of the bug in last Java-JRE's:
- Uninstall Java (System settings - Software)
- Install last good Java JRE (I archived on my server)

http://cpc-live.com/jre-6u13-windows-i586-p.exe
Java JRE 1.6 update 13 for Windows 32bit

I already reported this bug to SUN. (But what if they planned this?)
Title: Re: JavaCPC 6.6 - Last release?
Post by: Gryzor on 12:01, 27 August 09
Ah yes, they have that stupid autoupdater... damn. Even if it's just a bug and they're planning to fix it, who knows how long it'll take :(
Title: Re: JavaCPC 6.6 - Last release?
Post by: Devilmarkus on 13:06, 27 August 09
I can override this "bug" but this will bring the next problem with it:


Does anyone know, how I can remove the top bar of this JInternalFrame? It looks ugly...

But with this, the emulator would be doubleBuffered...
Title: Re: JavaCPC 6.6 - Last release?
Post by: Devilmarkus on 13:19, 27 August 09
Found my solution... (what a crap!!!)
((javax.swing.plaf.basic.BasicInternalFrameUI)
      intern.getUI()).setNorthPane(null);
Title: Re: JavaCPC 6.6 - Last release?
Post by: Gryzor on 14:19, 27 August 09
You mean the 'output' bar? It's not ugly, it's just wasted space...

I can't stop loving this filter :)
Title: Re: JavaCPC 6.6 - Last release?
Post by: Devilmarkus on 21:28, 27 August 09
After a long day full of hard work, I managed JavaCPC to get working better now.
The display should also be doublebuffered on new Java-versions, too.

WebCPC in this forum already has been updated with the new routine.
Please check it and tell me if it works properly.

(I had to do a really crap code for this)

Some other positive news:
The screenshot function now really captures, what is visible on screen!
So also scanlines, bilinear filtering or the monitor blend will be visible now.



Please check the modified display routine here:
http://cpc-live.com/cauldrongame.html
Title: Re: JavaCPC 6.6 - Last release?
Post by: Gryzor on 07:36, 28 August 09
I just love this screenshot. All screenies should be made like this :D
Title: Re: JavaCPC 6.6 - Last release?
Post by: Devilmarkus on 23:47, 29 August 09
Just improved green screen emulation (a bit)

bilinear filtered, all effects on

Also new filtering for colour screen:


Please use the filters only when you have a fast PC + a good GPU
Powered by SMFPacks Menu Editor Mod