News:

Printed Amstrad Addict magazine announced, check it out here!

Main Menu
avatar_Devilmarkus

'CPCInAJar' emulator in exact 128k!

Started by Devilmarkus, 15:56, 12 January 11

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Devilmarkus

#25
Well the biggest problem is to keep its size exact 131.072 bytes!
Especially when you add a new feature like DSK storing!!!  :'(

But, as promised: This emulator has exactly 128 KB (131.072 Bytes)
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

#26
Of course it can also playback tapes (CDT) with musical loaders!
Harvey Headbanger CDT
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

Little emu update:
CPCInAJar now also stores the temporary snapshot.
You find a stored snapshot in same folder where CPCInAJar is in...
It has name "output.sna" or if any "output.sna" exist: "output_xxx.sna"


Download:
Download CPCInAJar
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

dj_king

Hello. Sorry for my language. I am Spanish and I'm using google to translate (very bad). 
I downloaded cpcinajar and I uploaded to my site (I put games), but not using it. Can you tell me that I do? 
Thank you very much 
 
I love Amstrad


Devilmarkus

Simple.
- Upload it to your server (e.g. www.dj_king.es/cpc )
- Create also a folder there: www.dj_king.es/cpc/file   <---- here your games go in
- Use html code like this:
<applet   code="JCPC.ui.CPCInAJar.class" archive="CPCInAJar.jar"   codebase="http://www.dj_king.es/cpc/" alt="CPCInAJar" width="768"     height="544">
<param name="LARGE" value="TRUE">
<param name="DISK" value="cybernoid.zip">
<param name="BOOT" value="CYBER.BIN">
</applet>



Where cybernoid.zip is located in cpc/file folder!
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

dj_king

Quote from: Devilmarkus on 10:26, 19 January 11
Simple.
- Upload it to your server (e.g. www.dj_king.es/cpc )
- Create also a folder there: www.dj_king.es/cpc/file   <---- here your games go in
- Use html code like this:
<applet   code="JCPC.ui.CPCInAJar.class" archive="CPCInAJar.jar"   codebase="http://www.dj_king.es/cpc/" alt="CPCInAJar" width="768"     height="544">
<param name="LARGE" value="TRUE">
<param name="DISK" value="cybernoid.zip">
<param name="BOOT" value="CYBER.BIN">
</applet>

Where cybernoid.zip is located in cpc/file folder!


Thank you very much.

Devilmarkus

No problem.
Don't forget to share your website link with us ;)
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

Gryzor


Devilmarkus

Quote from: Gryzor on 17:33, 19 January 11
Can you take a look at http://gryzor.info/cpc/cpc.html ? Why doesn't F2 work?

Because you cannot load a dsk or so from your PC to an applet.
Use it as standalone and F2 works.

For applet use the parameters!
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

Gryzor

Ah darn. You're right - I can see the why. I was hoping I could use it as a quick checking tool for the various dsk's that are posted...

Devilmarkus

Sure, I could sign the applet but then it would be larger than 128k  :police:

But then F2 would work, too, when you use it as applet  :laugh:
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

Gryzor

Ahh then just release a CPCInAnOpenJar :D

Devilmarkus

Removed the attachment.
This here now works also for loading own files:
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

You can try it here:
http://retropower.eu/CPCInAJar/cpc.php?large=true

But it's larger now than 128k :(

Use it only, when you need running your own files in a website...
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

Gryzor

Yes! It works perfectly, thanks! :)

Btw, the signature takes up so much space? Wow...

Devilmarkus

Not only the signature.
The original JAR was also compressed a bit "more extreme" to have 128k size.
This is not possible with signed applet. I don't know, why.
Doesnt matter ;)
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

Quote from: Devilmarkus on 19:38, 19 January 11
You can try it here:
http://retropower.eu/CPCInAJar/cpc.php?large=true

But it's larger now than 128k :(

Use it only, when you need running your own files in a website...

That is how you began to make this huge online CPC emulator  ;D
Brain Radioactivity

TFM

Quote from: Devilmarkus on 20:07, 19 January 11
Not only the signature.
The original JAR was also compressed a bit "more extreme" to have 128k size.
This is not possible with signed applet. I don't know, why.
Doesnt matter ;)

What's about a c64 emulator, guess 64 k are enough  ;)
(No, no, I really don't need it, stay with the CPC)
TFM of FutureSoft
Also visit the CPC and Plus users favorite OS: FutureOS - The Revolution on CPC6128 and 6128Plus

Devilmarkus

Dear russian guests, (IP range  109.254.xx.xx)
what is soooo interesting in this thread, that you give it ~500 hits daily?
If you are a bot and stuck, please reboot  8)

But really, it suxx, that you cause so much traffic on a single thread.
Do you need new technics for your MIR? Check *bay Moscow!

I only released a stupid CPC emulator here. Nothing special! Your aleste-clone is much better...
                                                                     
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

Wow... Reaction:
Guest                                                    (109.254.xx.xx)                       14:50Posting in 'CPCInABox' emulator in exact 128k!.

Should I remove the anti-spam protection now?  :laugh:
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

Added to our .htaccess:

deny from 109.254

Good bye!
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

Gryzor

It's.... trying.... to talk!!!!

Devilmarkus

Quote from: Gryzor on 17:39, 14 March 11
It's.... trying.... to talk!!!!

Yes, something like Мы пришли с миром.
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

Gryzor

Принесите нам ваш лидер!!!

Devilmarkus

Now I only need to know:
Which  piece is meant?
And why do I need a ladder?
:laugh: :laugh: :laugh: :laugh:
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

Powered by SMFPacks Menu Editor Mod