:-\
That name looks like a blatant ripoff of some well known Amstrad CPC emulator... but nevermind.
As the saying goes, imitation is the fondest form of flattery. 8)
Cuuuuute!!! Add scanlines please! Just loaded AE2010, pretty sweet :)
Make it in under 128kb and fill it with zeros :D
CPCInABox by Markus Hohmann
Contact: webmaster@cpc-live.com
F1 - This info
F2 - Load medium*
F4 - Store temporary Snapshot
F5 - Load temporary Snapshot
F7 - Toggle Scanlines (When large)
F8 - Toggle CRTC type (0/1)
F9 - Toggle Turbo
F11 - Autotype console
F12 - Reset CPC
Joystick is mapped to:
<Insert> - Fire 0
<Page up> - Fire 1
<Home> - Up
<Page down> - Right
<End> - Down
<Delete> - Left
*Supported media:
DSK, SNA, CDT, CSW
Features:
- CRTC 0 / 1 emulation
- Accurate AY emulation
- Digiblaster and Amdrum emulation
- Autotype
- CDT/CSW Tape image supported (Read only!)
- DSK Disk image supported (Read only!)
- Can load SNA snapshots
- 2 Display-sizes (Doubleclick into Display to change size)
We should use that in the wiki's front page! :D :D
<applet code="JCPC.ui.CPCInAJar.class" archive="CPCInAJar.jar" codebase="http://retropower.eu/CPCInAJar/" alt="CPCInAJar" width="384" height="272"></applet>
<applet code="JCPC.ui.CPCInAJar.class" archive="CPCInAJar.jar" codebase="http://retropower.eu/CPCInAJar/" alt="CPCInAJar" width="768" height="544"><param name="LARGE" value="TRUE"></applet>
Got to dig into how you incorporate Java into Mediawiki again!
I once embedded an applet in a normal CMS system.
I did that by just posting a stupid string. (E.g. "Who reads this is stupid")
Then I replaced this string in my database with html code...
<param name="LARGE" value="TRUE"> <---- use when you need a large applet (Also change its size then)
<param name="DISK" value="scratch.zip"> <---- Name for dsk (or zipped dsk, 1 dsk max! put the file into subfolder file/)
<param name="DISKB" value="sideb.zip"> <---- Name for dsk in drive B (or zipped dsk, 1 dsk max! put the file into subfolder file/)
<param name="SNA" value="snapshot.zip"> <---- Name for SNA (or zipped SNA , 1 SNA max! put the file into subfolder file/)
<param name="BOOT" value="-scratch"> <---- gives RUN"-scratch" on startup
<param name="AUTOTYPE" value="|CPM"> <---- gives |CPM on startup. ("" not possible here)
<param name="CRTC" value="1"> <---- sets to CRTC type 1 on startup
<center>
<applet code="JCPC.ui.CPCInAJar.class" archive="CPCInABox.jar" codebase="http://retropower.eu/CPCInAJar/" alt="CPCInAJar"
<?php
if (!empty($_GET['large'])){
echo "width=\"768\" height=\"544\">\r\n";
echo "<param name=\"LARGE\" value=\"TRUE\">\r\n";
} else {
echo "width=\"384\" height=\"272\">";
}
if (!empty($_GET['dsk'])){
$load = $_GET['dsk'];
echo "<param name=\"DISK\" value=\"".$load."\">\r\n";
}
if (!empty($_GET['dskb'])){
$load = $_GET['dskb'];
echo "<param name=\"DISKB\" value=\"".$load."\">\r\n";
}
if (!empty($_GET['sna'])){
$load = $_GET['sna'];
echo "<param name=\"SNA\" value=\"".$load."\">\r\n";
}
if (!empty($_GET['type'])){
$boot = $_GET['type'];
echo "<param name=\"AUTOTYPE\" value=\"".$boot."\">\r\n";
}
if (!empty($_GET['boot'])){
$boot = $_GET['boot'];
echo "<param name=\"BOOT\" value=\"".$boot."\">\r\n";
}
if (!empty($_GET['crtc'])){
$boot = $_GET['crtc'];
echo "<param name=\"CRTC\" value=\"".$boot."\">\r\n";
}
?>
</applet>
</center>
CPCInAJar by Markus Hohmann
Contact: webmaster@cpc-live.com
F1 - This info
F2 - Load medium*
F3 - Enable/disable DSK storing (Off by default)
F4 - Store temporary Snapshot
F5 - Load temporary Snapshot
F7 - Toggle Scanlines (When large)
F8 - Toggle CRTC type (0/1)
F9 - Toggle Turbo
F11 - Autotype console
F12 - Reset CPC
Joystick is mapped to:
<Insert> - Fire 0
<Page up> - Fire 1
<Home> - Up
<Page down> - Right
<End> - Down
<Delete> - Left
*Supported media:
DSK, SNA, CDT, CSW
Features:
- CRTC 0 / 1 emulation
- Accurate AY emulation
- Digiblaster and Amdrum emulation
- Autotype
- CDT/CSW Tape image supported (Read only!)
- DSK Disk image supported (Read only!)
- Can load SNA snapshots
- 2 Display-sizes (Doubleclick into Display to change size)
To not confuse phi2x:Thanks. :)
I renamed my emu ;)
It's called CPCInAJar now!
<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>
Simple.
- Upload it to your server (e.g. www.dj_king.es/cpc (http://www.dj_king.es/cpc) )
- Create also a folder there: www.dj_king.es/cpc/file (http://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">
Where cybernoid.zip is located in cpc/file folder!
<param name="LARGE" value="TRUE">
<param name="DISK" value="cybernoid.zip">
<param name="BOOT" value="CYBER.BIN">
</applet>
Can you take a look at http://gryzor.info/cpc/cpc.html (http://gryzor.info/cpc/cpc.html) ? Why doesn't F2 work?
You can try it here:
http://retropower.eu/CPCInAJar/cpc.php?large=true (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...
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 ;)
Guest (109.254.xx.xx) | 14:50 | Posting in 'CPCInABox' emulator in exact 128k! (http://cpcwiki.eu/forum/index.php/topic,1871.0.html). |
It's.... trying.... to talk!!!!
It's.... trying.... to talk!!!!
Is that the new horror novel by Stephen King? ???
Where can I buy it?
here: (Does not work with Internet-Explorer!)
Edit by Devilmarkus: Double picture removed
hi There.
Is it possible to load a disc via http from a foreign url? So i can run the CPCInAJAR on my Hosting, but load DSK directly from an other page or maybe an FTP-Source?
Will be great if you can modify the emu a bit (even if its getting more than 128 K :-)
But I like CPCInAJar....
Can I have the source then?