Author Topic: 'CPCInAJar' emulator in exact 128k!  (Read 40804 times)

0 Members and 1 Guest are viewing this topic.

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: 'CPCInAJar' emulator in exact 128k!
« Reply #25 on: 21:30, 13 January 11 »
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)
« Last Edit: 22:24, 13 January 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 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: 'CPCInAJar' emulator in exact 128k!
« Reply #26 on: 22:03, 13 January 11 »
Of course it can also playback tapes (CDT) with musical loaders!
Harvey Headbanger CDT
« Last Edit: 22:25, 13 January 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 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: 'CPCInABox' emulator in exact 128k!
« Reply #27 on: 16:44, 14 January 11 »
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

Offline dj_king

  • Speccy
  • *
  • Posts: 2
  • Liked: 0
  • Likes Given: 0
Re: 'CPCInABox' emulator in exact 128k!
« Reply #28 on: 22:17, 18 January 11 »
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


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: 'CPCInABox' emulator in exact 128k!
« Reply #29 on: 11: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:
Code: [Select]
<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

Offline dj_king

  • Speccy
  • *
  • Posts: 2
  • Liked: 0
  • Likes Given: 0
Re: 'CPCInABox' emulator in exact 128k!
« Reply #30 on: 17:41, 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:
Code: [Select]
<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.

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: 'CPCInABox' emulator in exact 128k!
« Reply #31 on: 18:32, 19 January 11 »
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

Offline Gryzor

  • Administrator
  • 6128 Plus
  • *****
  • Posts: 15.368
  • Country: gr
  • CPC-Wiki maintainer
    • CPCWiki
  • Liked: 3061
  • Likes Given: 5578
Re: 'CPCInABox' emulator in exact 128k!
« Reply #32 on: 18:33, 19 January 11 »
Can you take a look at http://gryzor.info/cpc/cpc.html ? Why doesn't F2 work?

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: 'CPCInABox' emulator in exact 128k!
« Reply #33 on: 20:09, 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

Offline Gryzor

  • Administrator
  • 6128 Plus
  • *****
  • Posts: 15.368
  • Country: gr
  • CPC-Wiki maintainer
    • CPCWiki
  • Liked: 3061
  • Likes Given: 5578
Re: 'CPCInABox' emulator in exact 128k!
« Reply #34 on: 20:18, 19 January 11 »
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...

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: 'CPCInABox' emulator in exact 128k!
« Reply #35 on: 20:21, 19 January 11 »
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

Offline Gryzor

  • Administrator
  • 6128 Plus
  • *****
  • Posts: 15.368
  • Country: gr
  • CPC-Wiki maintainer
    • CPCWiki
  • Liked: 3061
  • Likes Given: 5578
Re: 'CPCInABox' emulator in exact 128k!
« Reply #36 on: 20:22, 19 January 11 »
Ahh then just release a CPCInAnOpenJar :D

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: 'CPCInABox' emulator in exact 128k!
« Reply #37 on: 20:32, 19 January 11 »
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

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: 'CPCInABox' emulator in exact 128k!
« Reply #38 on: 20: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...
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 Gryzor

  • Administrator
  • 6128 Plus
  • *****
  • Posts: 15.368
  • Country: gr
  • CPC-Wiki maintainer
    • CPCWiki
  • Liked: 3061
  • Likes Given: 5578
Re: 'CPCInABox' emulator in exact 128k!
« Reply #39 on: 20:53, 19 January 11 »
Yes! It works perfectly, thanks! :)

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

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: 'CPCInABox' emulator in exact 128k!
« Reply #40 on: 21: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 ;)
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: 400
  • Likes Given: 436
Re: 'CPCInABox' emulator in exact 128k!
« Reply #41 on: 16:38, 20 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

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: 1976
  • Likes Given: 4650
Re: 'CPCInABox' emulator in exact 128k!
« Reply #42 on: 23:15, 20 February 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

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: 'CPCInABox' emulator in exact 128k!
« Reply #43 on: 15:12, 14 March 11 »
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

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: 'CPCInABox' emulator in exact 128k!
« Reply #44 on: 16:02, 14 March 11 »
Wow... Reaction:
Guest                                                    (109.254.xx.xx)                       14:50Posting in &#39;CPCInABox&#39; emulator in exact 128k!
'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

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: 'CPCInABox' emulator in exact 128k!
« Reply #45 on: 18:36, 14 March 11 »
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

Offline Gryzor

  • Administrator
  • 6128 Plus
  • *****
  • Posts: 15.368
  • Country: gr
  • CPC-Wiki maintainer
    • CPCWiki
  • Liked: 3061
  • Likes Given: 5578
Re: 'CPCInABox' emulator in exact 128k!
« Reply #46 on: 18:39, 14 March 11 »
It's.... trying.... to talk!!!!

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: 'CPCInABox' emulator in exact 128k!
« Reply #47 on: 18:41, 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

Offline Gryzor

  • Administrator
  • 6128 Plus
  • *****
  • Posts: 15.368
  • Country: gr
  • CPC-Wiki maintainer
    • CPCWiki
  • Liked: 3061
  • Likes Given: 5578
Re: 'CPCInABox' emulator in exact 128k!
« Reply #48 on: 18:50, 14 March 11 »
Принесите нам ваш лидер!!!

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: 'CPCInABox' emulator in exact 128k!
« Reply #49 on: 18:52, 14 March 11 »
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