Author Topic: JavaCPC Desktop 1.0 official release  (Read 62191 times)

0 Members and 1 Guest are viewing this topic.

Offline TFM

  • Visit the mysteries of the CPC at www.futureos.de
  • Supporter
  • 6128 Plus
  • *
  • Posts: 9.899
  • Country: aq
  • Space Chicken for FutureOS is free!
    • index.php?action=treasury
    • FutureOS - The revolution on CPC!
  • Liked: 1978
  • Likes Given: 4650
Re: JavaCPC Desktop 1.0 official release
« Reply #50 on: 17:40, 26 August 11 »
The NEC Z80 (Spectrum) is not the same as the Zilog Z80 (CPC), so we need somebody who can test it on real hardware.
TFM of FutureSoft
Also visit the CPC and Plus users favorite OS: FutureOS - The Revolution on CPC6128 and 6128Plus

Offline subone

  • CPC464
  • **
  • Posts: 10
  • Country: fr
  • Liked: 2
  • Likes Given: 2
Re: JavaCPC Desktop 1.0 official release
« Reply #51 on: 17:49, 26 August 11 »
Well you can connect your joypad to your PC.
Then JavaCPC should show you that it has found a joystick and asks for firebuttons.

http://cpc-live.com/gamepadtest/

If you use a non-compatbile joystick, its not listed I think...

but with my 08/15 joypad it works fine...

Ok but is it possible to change the default joystick key mapping : numpad keys it seems ?

Offline Devilmarkus

  • Vivid source of indefiniteness
  • 6128 Plus
  • ******
  • Posts: 4.035
  • Country: de
  • WebCPC / JavaCPC developer
    • index.php?action=treasury
    • CPC-Live website
  • Liked: 1014
  • Likes Given: 926
Re: JavaCPC Desktop 1.0 official release
« Reply #52 on: 17:51, 26 August 11 »
No thats not possible ;)
(For joystick not)
But you can change this config during the emu is running to Q,A,O,P keys...
Not very helpful then when you want to use a real joypad...
So, make sure, that you dont use the alternative joystick mapping...

But also when you use a laptop without num-keys, the joystick should be mapped to the right CPC signals ;) (numpad keys)
I do this:
When joystick signal for "up" is detected, I press the numpad-8 key. (until joystick up is disabled)
The same for the other directions.

So it doesnt matter if your PC has numberpad keys or not...
« Last Edit: 17:55, 26 August 11 by Devilmarkus »
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

Offline Morn

  • 464 Plus
  • *****
  • Posts: 346
  • Country: de
  • Liked: 94
  • Likes Given: 59
Re: JavaCPC Desktop 1.0 official release
« Reply #53 on: 18:49, 26 August 11 »

Markus, that test also fails on my real CPC 6128!


BIT n, (HL) : C8B0 failed
  -expected 6208


I can also post a screenshot if you dont' believe me:  :)


Compared the Z80TESTS suite between WinApe and JavaCPC...
I have no idea why, but in WinApe all tests fail.
(I took the video with increased emulation speeds but also without speeding the emus up the results are the same!)
JavaCPC:
http://cpc-live.com/z80tests
WinApe:
http://cpc-live.com/winapez80tests

We are not sure if the test for bit n,(HL) has a bug in Z80 tests or not... It fails on every emulator.
Sadly i cannot transfer the DSK to 3" :(
But perhaps someone here could do that and post us the report?

I attach the Z80 test suite once more:
RUN"Z80TESTS"
« Last Edit: 20:10, 26 August 11 by Morn »

Offline Devilmarkus

  • Vivid source of indefiniteness
  • 6128 Plus
  • ******
  • Posts: 4.035
  • Country: de
  • WebCPC / JavaCPC developer
    • index.php?action=treasury
    • CPC-Live website
  • Liked: 1014
  • Likes Given: 926
Re: JavaCPC Desktop 1.0 official release
« Reply #54 on: 18:51, 26 August 11 »
Markus, that test also fails on my real CPC 6128!


BIT n, (HL) : C8B0 failed
  -expected 6208


I can also post a screenshot if you dont' believe me.  :)

So it's not my emulation... cool!
The other tests pass or do they only pass in JavaCPC? :D

Edit: @arnoldemu: yould you change the bit n,(HL) that it should expect C8B0?
I think then anything is fine...



- How to listen to MP3 with JavaCPC:
(Fun video, don't take it too serious)
http://cpc-live.com/mp3/
« Last Edit: 18:58, 26 August 11 by Devilmarkus »
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

Offline Morn

  • 464 Plus
  • *****
  • Posts: 346
  • Country: de
  • Liked: 94
  • Likes Given: 59
Re: JavaCPC Desktop 1.0 official release
« Reply #55 on: 19:06, 26 August 11 »
So it's not my emulation... cool!
The other tests pass or do they only pass in JavaCPC? :D



Well, the MEMPTR test led to a garbled screen eventually and locked up the machine. Don't know why that is. But the first test seemed fine.




Offline Devilmarkus

  • Vivid source of indefiniteness
  • 6128 Plus
  • ******
  • Posts: 4.035
  • Country: de
  • WebCPC / JavaCPC developer
    • index.php?action=treasury
    • CPC-Live website
  • Liked: 1014
  • Likes Given: 926
Re: JavaCPC Desktop 1.0 official release
« Reply #56 on: 19:08, 26 August 11 »

Well, the MEMPTR test led to a garbled screen eventually and locked up the machine. Don't know why that is. But the first test seemed fine.
Seems to be a real hardware difference to an emulated CPC... Funny...
Does your CPC have a Zilog or NEC Z80?

Spoiler: show
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

Offline Morn

  • 464 Plus
  • *****
  • Posts: 346
  • Country: de
  • Liked: 94
  • Likes Given: 59
Re: JavaCPC Desktop 1.0 official release
« Reply #57 on: 19:16, 26 August 11 »
Is there a way to find out CPU type without opening the case?


It's a late-model Schneider I think, if that helps. I believe when the Amstrad-Schneider deal fell through, the remaining Schneider hardware was sold at rock-bottom prices at German retailer Quelle, and that's where my dad got it for me.


Offline Devilmarkus

  • Vivid source of indefiniteness
  • 6128 Plus
  • ******
  • Posts: 4.035
  • Country: de
  • WebCPC / JavaCPC developer
    • index.php?action=treasury
    • CPC-Live website
  • Liked: 1014
  • Likes Given: 926
Re: JavaCPC Desktop 1.0 official release
« Reply #58 on: 19:17, 26 August 11 »
Is there a way to find out CPU type without opening the case?

No ;) (Perhaps with bit n,(HL) :D )
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

Offline PhilZeVibe

  • 464 Plus
  • *****
  • Posts: 470
  • Country: fr
    • CPCBox - CPC emulator in JavaScript
  • Liked: 165
  • Likes Given: 187
Re: JavaCPC Desktop 1.0 official release
« Reply #59 on: 19:20, 26 August 11 »
Same results as Morn here.
Here are the screenshots.
Atwood's law (2007): "Any application that can be written in JavaScript, will eventually be written in JavaScript."

Offline Morn

  • 464 Plus
  • *****
  • Posts: 346
  • Country: de
  • Liked: 94
  • Likes Given: 59
Re: JavaCPC Desktop 1.0 official release
« Reply #60 on: 19:26, 26 August 11 »
So I guess this means we have Zilogs, not NECs in our CPCs...


Offline subone

  • CPC464
  • **
  • Posts: 10
  • Country: fr
  • Liked: 2
  • Likes Given: 2
Re: JavaCPC Desktop 1.0 official release
« Reply #61 on: 19:31, 26 August 11 »

- How to listen to MP3 with JavaCPC:
(Fun video, don't take it too serious)
http://cpc-live.com/mp3/

Holy shit ... that's so fun  ;D

Offline arnoldemu

  • Supporter
  • 6128 Plus
  • *
  • Posts: 5.335
  • Country: gb
    • Unofficial Amstrad WWW Resource
  • Liked: 2262
  • Likes Given: 3478
Re: JavaCPC Desktop 1.0 official release
« Reply #62 on: 19:36, 26 August 11 »
Well until we don't have a real report, its all useless ;)
Arnoldemu adapted the Z80 test suite from a ZX Spectrum program.
It's possible that some things were ZX specific and have not been adapted 100% accurate...
(The first Z80 test suite also crashed on CPC so he removed a few tests)
A few of the tests, BIT n,(HL) included need the test code to be in the correct position. ;)
It is not so gives a bad result, because I removed some tests.
The crash comes because the OUT tests are probably not good for CPC and need modifying.
My games. My Games
My website with coding examples: Unofficial Amstrad WWW Resource

Offline Morn

  • 464 Plus
  • *****
  • Posts: 346
  • Country: de
  • Liked: 94
  • Likes Given: 59
Re: JavaCPC Desktop 1.0 official release
« Reply #63 on: 19:38, 26 August 11 »
Compared the Z80TESTS suite between WinApe and JavaCPC...
I have no idea why, but in WinApe all tests fail.
(I took the video with increased emulation speeds but also without speeding the emus up the results are the same!)
JavaCPC:
http://cpc-live.com/z80tests
WinApe:
http://cpc-live.com/winapez80tests


LOL, WinApe doesn't seem to pass a single one of all those tests!


Offline Morn

  • 464 Plus
  • *****
  • Posts: 346
  • Country: de
  • Liked: 94
  • Likes Given: 59
Re: JavaCPC Desktop 1.0 official release
« Reply #64 on: 19:41, 26 August 11 »
A few of the tests, BIT n,(HL) included need the test code to be in the correct position. ;)



Well, I think my conversion from DSK to CDT did correctly convert the AMSDOS header to a tape header, so memory location should have been identical.


Offline MaV

  • Supporter
  • 6128 Plus
  • *
  • Posts: 1.097
  • Country: at
  • Ius summum saepe summa est malitia.
  • Liked: 388
  • Likes Given: 822
Re: JavaCPC Desktop 1.0 official release
« Reply #65 on: 19:42, 26 August 11 »

LOL, WinApe doesn't seem to pass a single one of all those tests!

Yes, but my understanding is, it's a couple of bits in the Flag-register that are not emulated 100% correctly.
Black Mesa Transit Announcement System:
"Work safe, work smart. Your future depends on it."

Offline Morn

  • 464 Plus
  • *****
  • Posts: 346
  • Country: de
  • Liked: 94
  • Likes Given: 59
Re: JavaCPC Desktop 1.0 official release
« Reply #66 on: 19:54, 26 August 11 »

Well, I think my conversion from DSK to CDT did correctly convert the AMSDOS header to a tape header, so memory location should have been identical.


...and just in case it isn't, please tell use the correct loading address so we can specify it explicitly!


Offline remax

  • 6128 Plus
  • ******
  • Posts: 1.096
  • Country: fr
  • Liked: 401
  • Likes Given: 436
Re: JavaCPC Desktop 1.0 official release
« Reply #67 on: 20:10, 26 August 11 »
I don't remember, how do we check that our registration is taken into account?

EDIT : OK, i saw it in the console :)

Offline Devilmarkus

  • Vivid source of indefiniteness
  • 6128 Plus
  • ******
  • Posts: 4.035
  • Country: de
  • WebCPC / JavaCPC developer
    • index.php?action=treasury
    • CPC-Live website
  • Liked: 1014
  • Likes Given: 926
Re: JavaCPC Desktop 1.0 official release
« Reply #68 on: 20:18, 26 August 11 »
I don't remember, how do we check that our registration is taken into account?

EDIT : OK, i saw it in the console :)

To safe your registration settings from being deleted (By uninstalling or deleting your JavaCPC settings dir):
Look for JavaCPC.ini.
It's in C:\Users\username\JavaCPC\...
Or for Windows XP it's in C:\Documents and settings\username\JavaCPC\...

There check the JavaCPC.ini and copy these entries:

usercode=Dxxx-Cxxx-4xxx-Cxxx
usermail=xxxxxx@xxxxxx.com
username=Markus Hohmann

Simply keep these infos in a safe place.
When lost you just paste them again into JavaCPC.ini.

Edit:
You can always check if JavaCPC is registered by choosing in menu:
Help -> Register JavaCPC
When the info is grey (not editable) it's registered.
(Reg. works only when Desktop is choosen!)
« Last Edit: 20:24, 26 August 11 by Devilmarkus »
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

Offline TFM

  • Visit the mysteries of the CPC at www.futureos.de
  • Supporter
  • 6128 Plus
  • *
  • Posts: 9.899
  • Country: aq
  • Space Chicken for FutureOS is free!
    • index.php?action=treasury
    • FutureOS - The revolution on CPC!
  • Liked: 1978
  • Likes Given: 4650
Re: JavaCPC Desktop 1.0 official release
« Reply #69 on: 20:44, 26 August 11 »
Great to see how JavaCPC evolves, guess it's the most acurate CPC-Emu I've ever been using. And I really appreciate the enhanced debugging features. JC is the only emu the can be used to check the 8255 PIO. Thank's a lot Markus!!!
 
It's really worth to get some donations :-)))
TFM of FutureSoft
Also visit the CPC and Plus users favorite OS: FutureOS - The Revolution on CPC6128 and 6128Plus

Offline Devilmarkus

  • Vivid source of indefiniteness
  • 6128 Plus
  • ******
  • Posts: 4.035
  • Country: de
  • WebCPC / JavaCPC developer
    • index.php?action=treasury
    • CPC-Live website
  • Liked: 1014
  • Likes Given: 926
Re: JavaCPC Desktop 1.0 official release
« Reply #70 on: 20:56, 26 August 11 »
Great to see how JavaCPC evolves, guess it's the most acurate CPC-Emu I've ever been using.

*cough* :D The FDC emulation is very poor :( The CRTC and GA emulation could be better...
Indeed: The Z80 seems very accurate now.

And I really appreciate the enhanced debugging features. JC is the only emu the can be used to check the 8255 PIO. Thank's a lot Markus!!!
 
It's really worth to get some donations :-)))

 :)
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

Offline remax

  • 6128 Plus
  • ******
  • Posts: 1.096
  • Country: fr
  • Liked: 401
  • Likes Given: 436
Re: JavaCPC Desktop 1.0 official release
« Reply #71 on: 20:58, 26 August 11 »

Thanks for info about registration.

What is "Low Performance" switch?


Did you noticed that you have two "Observe performance" switch? One in Settings and the other in Options>System and the two seems to be independants.

Offline Devilmarkus

  • Vivid source of indefiniteness
  • 6128 Plus
  • ******
  • Posts: 4.035
  • Country: de
  • WebCPC / JavaCPC developer
    • index.php?action=treasury
    • CPC-Live website
  • Liked: 1014
  • Likes Given: 926
Re: JavaCPC Desktop 1.0 official release
« Reply #72 on: 21:12, 26 August 11 »
Well "Low performance" disables a few display features.
Humm I have a double option :D
(The menu needs a huge cleanup... Perhaps I'll cleanup it in 2056 or so) ;)

The "Observe performance" looks how many frames are skipped during a while and resyncs the CPC if it means it's necessary.
After too many resyncs, it turns to Low Performance.
Dont know if its any useful ;)
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

Offline remax

  • 6128 Plus
  • ******
  • Posts: 1.096
  • Country: fr
  • Liked: 401
  • Likes Given: 436
Re: JavaCPC Desktop 1.0 official release
« Reply #73 on: 21:46, 26 August 11 »
The "Observe performance" looks how many frames are skipped during a while and resyncs the CPC if it means it's necessary.
After too many resyncs, it turns to Low Performance.
Dont know if its any useful ;)


Ok so when "Low Performance" is checked, "Observe performance" isn't useful.


For the double option, i just hope it doesn't launch the process two times if you have both checked it.


Another thing : When you play PacMan, it seems that when you quit it, it doesn't terminate the application (you can hear when the ghost kill you even after using the cross in the upper right). I think we miss a "Quit" option in each app to be sure it doesn't stay in memory.

Offline Devilmarkus

  • Vivid source of indefiniteness
  • 6128 Plus
  • ******
  • Posts: 4.035
  • Country: de
  • WebCPC / JavaCPC developer
    • index.php?action=treasury
    • CPC-Live website
  • Liked: 1014
  • Likes Given: 926
Re: JavaCPC Desktop 1.0 official release
« Reply #74 on: 21:49, 26 August 11 »
Right... No app. quits.
Thats not very simple to realize because I don't want to use too much memory...
The pacman is a few kb only...
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