News:

Printed Amstrad Addict magazine announced, check it out here!

Main Menu
avatar_Devilmarkus

JavaCPC Desktop 1.0 official release

Started by Devilmarkus, 11:05, 14 August 11

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

Devilmarkus

Next JavaCPC Release will be able to read amiga IFF,ILBM and PBM formats, too, and import them into JavaCPC Paint:





These images were directly imported. No need to find PNG sources for them... :)
When you put your ear on a hot stove, you can smell how stupid you are ...

Amstrad CPC games in your webbrowser

JavaCPC Desktop Full Release

remax

Do you think it would be possible to use multi screen configuration ?


I have a CRT and a LCD. I prefer having the screen output to the CRT and the desktop to the LCD, but as far as i know i can't do that on Java CPC...
Brain Radioactivity

Devilmarkus

I don't think so.
No idea how to tell a single Java app. to use several windows on several monitors.
Sorry  :-\
When you put your ear on a hot stove, you can smell how stupid you are ...

Amstrad CPC games in your webbrowser

JavaCPC Desktop Full Release

Bryce

Java doesn't need to know that it's on a different monitor. You just need to launch the screen output in a separate window, the user can drag it wherever he wants then.

Bryce.

Devilmarkus

This works with JavaCPC. When you disable the Desktop ;)
When you put your ear on a hot stove, you can smell how stupid you are ...

Amstrad CPC games in your webbrowser

JavaCPC Desktop Full Release

remax

Yeah but you lose all ability to control the screen via the desktop :(
Brain Radioactivity

Devilmarkus

True....
But I dont want to exclude the emulator window off the desktop

Perhaps I can add this as extra feature...

Need to check that.
When you put your ear on a hot stove, you can smell how stupid you are ...

Amstrad CPC games in your webbrowser

JavaCPC Desktop Full Release

remax

Brain Radioactivity

Devilmarkus

#133
Time to do a little remax-TFM-update:

- Fixed: Handling for SPARtan bit in upcoming FutureOS
- Added: Undock / Dock feature to the embedded CPC panel on the desktop

How to undock / dock the emulator frame:
Just click the pink icon in the right lower corner of the Desktop-Panel. [attachimg=1]


To dock the display back, just click it again, or close the undocked window.

It's not stored in the settings!

Perhaps later, when remax tested this feature on his PC with 2 monitors, I will store it in the settings, too

How to get the Update?

Simple:
- Open JavaCPC
- Use the menu: "Help" -> "Check for Update" and follow the dialogs.
[attachimg=2]

Edit: Oh, I forgot to say, that you now can also import Amiga ILBM / IFF / PBM pictures to paint.
No idea, if is useful, but I implemented that :P

When you put your ear on a hot stove, you can smell how stupid you are ...

Amstrad CPC games in your webbrowser

JavaCPC Desktop Full Release

remax

Works great :



Uploaded with ImageShack.us

If i can abuse a little, being able to remove the title bar and it would be perfect :D
Brain Radioactivity

Devilmarkus

#135
I don't know, what this little window is...
Could you resize it and tell me if it has a title?

Also: what happens when you move the emulator output to the other monitor, gain its focus and press ALT + Enter? (Fullscreen)

(Edit: Fullscreen only works with 2d display, not with the 3d panel)
When you put your ear on a hot stove, you can smell how stupid you are ...

Amstrad CPC games in your webbrowser

JavaCPC Desktop Full Release

remax

#136
Ok, I Have to do more test but the behavior of fullscreen is a little hard to understand.


First of all, this little window is what remain when you try to go fullscreen in 3d mode then try to go back from fullscreen (of course it has no impact to the real display, i talk about just activating or no the option). It is totally blank and you can't close it.


When you disable 3D mode, things are strange. Sometimes it goes to full screen, sometimes not, but one thing is sure : when it goes to fullscreen, it goes over hte screen that has the desktop, and not over the screen in which the initial screen was displayed (not totally surprising, as as it is a windows, it can be on both screen at the same times, so i don't think there is a way to know over which screen it is).

On second tests : Now, it seems to always go to fullscreen. Perhaps the problem about going to fullscreen was because i had just tested going to fullscreen in 3D.
Anyway, you'd better disable Full Screen Option when 3D is activated, that would avoid bugs. Alt+Enter is deactivated, but the option in "Monitor" is still there. Even better, totally remove this option cause the more i test it, the more bug prone it seems if you do things "out of the road".
Brain Radioactivity

Devilmarkus

Yeah the fullscreen sometimes makes weird things.
I disabled it completely now, when in 3d mode.

The problem for the "Undecorated" frame is, that you cannot undecorate it after shown once.
So I had to code very weird routines to realize that.

The Frame is undecorated now and shows a blue border when you move with your mouse around it.

The upper part in this border is "moveable" -> Drag & drop the window whereever you want.

The lower right corner is the "resize" corner -> Drag it to resize the window.

The upper right corner is the "close" corner. -> click it and the emulator frame will re-dock into the desktop.

Its hard to say if you are able to move this new window now onto your 2nd monitor.

But, if not, you can move the desktop's window onto the 2nd monitor, I hope.

Demo video:
Erstellt von Camtasia Studio 7

Need to do a few more testings then I can upload this update.
When you put your ear on a hot stove, you can smell how stupid you are ...

Amstrad CPC games in your webbrowser

JavaCPC Desktop Full Release

remax

Don't forget the "take full screen" option (the second one when the title bar is displayed).


By the way, it seems that the "keep display proportion" in "monitor" doesn't do anything, so perhaps, you can entierely remove the Monitor tab.
Brain Radioactivity

Devilmarkus

Keep display proportions is important, when you use JavaCPC without Desktop ;)
When you put your ear on a hot stove, you can smell how stupid you are ...

Amstrad CPC games in your webbrowser

JavaCPC Desktop Full Release

Devilmarkus

Working on an "Internal Filesystem" what will make life easier for coders etc...
You'll soon be able to access files on your PC's harddrive with RSX commands.



First look:
JavaCPC -> Internal Filesystem test
When you put your ear on a hot stove, you can smell how stupid you are ...

Amstrad CPC games in your webbrowser

JavaCPC Desktop Full Release

Devilmarkus

Before leaving for today:
- Cleaned up the messy code around autotyping directories etc...
- All text messages are sent through the emulated CPC directly...
- No more stupid ' - chars :D

Result:
JavaCPC FileSystem
When you put your ear on a hot stove, you can smell how stupid you are ...

Amstrad CPC games in your webbrowser

JavaCPC Desktop Full Release

Devilmarkus

Coded a little guide, too:



I think I can release it @ end of this week...

(If someone wants...)
When you put your ear on a hot stove, you can smell how stupid you are ...

Amstrad CPC games in your webbrowser

JavaCPC Desktop Full Release

TFM

TFM of FutureSoft
Also visit the CPC and Plus users favorite OS: FutureOS - The Revolution on CPC6128 and 6128Plus

Devilmarkus

Update to version 1.7f is available:
- Added JavaCPC Internal Filesystem. (Just activate the JavaCPC ROM Expansion)
- Changed port handling for JavaCPC expansion ROM (To avoid interferrences with Digiblaster)

Just let JavaCPC check for updates... ;)
When you put your ear on a hot stove, you can smell how stupid you are ...

Amstrad CPC games in your webbrowser

JavaCPC Desktop Full Release

TCMSLP

#145



Hi Markus,


Any idea what would stop this running under Linux?   The JavaCPC desktop starts up, console shows text output, emulated display starts (remains black for a second) then everything core dumps.

Ubuntu 12.10 (I think):-
java version "1.6.0_24"
OpenJDK Runtime Environment (IcedTea6 1.11.5) (6b24-1.11.5-0ubuntu1~12.04.1)
OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode)


[/size]steve@Studio:~/javacpc$ ./JavaCPC.jar
loaded 8 user settings
Checking resource files...
File not found...
java.lang.NullPointerException
at jemu.ui.CheckResources.checkFile(CheckResources.java:139)
at jemu.ui.CheckResources.checkResources(CheckResources.java:84)
at jemu.ui.Main.main(Main.java:367)
loaded 17 rom settings
loaded 9 desktop settings
ROMs are disabled: false
java: /build/buildd/openjdk-6-6b24-1.11.5/build/../pulseaudio/src/native/org_classpath_icedtea_pulseaudio_Stream.c:750: Java_org_classpath_icedtea_pulseaudio_Stream_native_1pa_1stream_1flush: Assertion `stream' failed.
Aborted (core dumped)

I ended up running the Windows EXE under WINE, this resulted in other issues but at least worked :)



Devilmarkus

Sure.
The answer is in your log:
Quotejava: /build/buildd/openjdk-6-6b24-1.11.5/build/../pulseaudio/src/native/org_classpath_icedtea_pulseaudio_Stream.c:750: Java_org_classpath_icedtea_pulseaudio_Stream_native_1pa_1stream_1flush: Assertion `stream' failed.


Pulseaudio is crap.
I will ask someone later, who uses Linux, and where JavaCPC works fine, what Java config he has.

When you put your ear on a hot stove, you can smell how stupid you are ...

Amstrad CPC games in your webbrowser

JavaCPC Desktop Full Release

TCMSLP




Yup - I noticed this just after I posted it.  I missed this last night - I was very tired ... this is my excuse :)


Regarding JavaCPC - Having all those tools available in a single 'desktop' (and platform independent too) is awesome!

Devilmarkus

Quote from: TCMSLP on 15:19, 13 November 12


Yup - I noticed this just after I posted it.  I missed this last night - I was very tired ... this is my excuse :)

No worries ;)


QuoteRegarding JavaCPC - Having all those tools available in a single 'desktop' (and platform independent too) is awesome!

Yeah but tools like DiskUtil or some others will not work under Linux.
I am already working on a Java-DSK-Filesystem but making very slow progress...
When you put your ear on a hot stove, you can smell how stupid you are ...

Amstrad CPC games in your webbrowser

JavaCPC Desktop Full Release

remax

A small bug report :


* The Copy Key don't seem to work, at least in Azerty, either directly or on the VK.
* Orion prime is stuck on asking the Disk 2 in the 3'5 french version (after about 25% of the game)

Brain Radioactivity

Powered by SMFPacks Menu Editor Mod