Assorted website link fixes
This commit is contained in:
parent
868f7068f4
commit
aa6fc1fa8c
28 changed files with 219 additions and 108 deletions
|
|
@ -20,13 +20,13 @@ If you want to read as little as possible, then just paste the following code on
|
|||
|
||||
<div id="myC1P"/></div><div style="clear:both"></div>
|
||||
<script type="text/javascript"
|
||||
src="http://www.pcjs.org/versions/c1pjs/1.17.1/c1p.js">
|
||||
src="http://www.pcjs.org/versions/c1pjs/1.21.6/c1p.js">
|
||||
</script>
|
||||
<script type="text/javascript">
|
||||
window.embedC1P(
|
||||
"myC1P",
|
||||
"http://www.pcjs.org/devices/c1p/machine/8kb/embed/machine.xml",
|
||||
"http://www.pcjs.org/versions/c1pjs/1.17.1/components.xsl"
|
||||
"http://www.pcjs.org/versions/c1pjs/1.21.6/components.xsl"
|
||||
);
|
||||
</script>
|
||||
|
||||
|
|
@ -42,7 +42,7 @@ The order of the XML elements also determines the layout of the associated HTML
|
|||
**<keyboard>** element appears before the **<video>** element, then the keyboard controls will be
|
||||
displayed *above* the video display instead of *below*. There's an extensive set of attributes that you can add
|
||||
to any of the elements below to style and position them, including the usual *style* attribute, but at present,
|
||||
there's no documentation beyond the sample XML files and the default [XML stylesheet](/versions/c1pjs/1.17.1/components.xsl).
|
||||
there's no documentation beyond the sample XML files and the default [XML stylesheet](/versions/c1pjs/1.21.6/components.xsl).
|
||||
|
||||
The example at the top of this page uses an [XML file](/devices/c1p/machine/8kb/embed/machine.xml) that looks like:
|
||||
|
||||
|
|
@ -76,7 +76,7 @@ The example at the top of this page uses an [XML file](/devices/c1p/machine/8kb/
|
|||
Machine configuration files can also be "self-starting" if they contain the following XML stylesheet reference at the
|
||||
top of the file:
|
||||
|
||||
<?xml-stylesheet type="text/xsl" href="http://www.pcjs.org/versions/c1pjs/1.17.1/machine.xsl"?>
|
||||
<?xml-stylesheet type="text/xsl" href="http://www.pcjs.org/versions/c1pjs/1.21.6/machine.xsl"?>
|
||||
|
||||
For example, here's a self-starting [machine.xml](/devices/c1p/machine/8kb/large/machine.xml) configuration.
|
||||
After it loads, use your browser's "View Source" command and you'll see that it's very similar to the
|
||||
|
|
@ -121,10 +121,10 @@ Step 3: Add the C1Pjs Simulator to your web page
|
|||
---
|
||||
Somewhere on your page, you need to add the following **<script>** element:
|
||||
|
||||
<script type="text/javascript" src="http://www.pcjs.org/versions/c1pjs/1.17.1/c1p.js"></script>
|
||||
<script type="text/javascript" src="http://www.pcjs.org/versions/c1pjs/1.21.6/c1p.js"></script>
|
||||
|
||||
To include the C1Pjs Debugger, use [c1p-dbg.js](/versions/c1pjs/1.17.1/c1p-dbg.js) instead of
|
||||
[c1p.js](/versions/c1pjs/1.17.1/c1p.js), and include some additional definitions in your machine
|
||||
To include the C1Pjs Debugger, use [c1p-dbg.js](/versions/c1pjs/1.21.6/c1p-dbg.js) instead of
|
||||
[c1p.js](/versions/c1pjs/1.21.6/c1p.js), and include some additional definitions in your machine
|
||||
definition XML file:
|
||||
|
||||
<machine id="OSI" border="1" width="272px">
|
||||
|
|
@ -157,7 +157,7 @@ The **embedC1P()** function accepts three parameters:
|
|||
- the *id* attribute of the HTML element that will contain the simulator (eg, 'myC1P');
|
||||
- the URL of your machine definition XML file (eg, 'embed.xml', since it's on the same server);
|
||||
- the URL of an XML stylesheet; unless you've created your own stylesheet, it's recommended you omit this
|
||||
parameter and use the default [XML stylesheet](/versions/c1pjs/1.17.1/components.xsl).
|
||||
parameter and use the default [XML stylesheet](/versions/c1pjs/1.21.6/components.xsl).
|
||||
|
||||
Step 5: Enjoy!
|
||||
---
|
||||
|
|
@ -165,7 +165,7 @@ All I ask is that any page that embeds the simulator also includes attribution,
|
|||
|
||||
> [PCjs](http://pcjs.org) © 2012-2016 by [Jeff Parsons](mailto:Jeff@pcjs.org) ([@jeffpar](http://twitter.com/jeffpar))
|
||||
|
||||
If you use the default [XML stylesheet](/versions/c1pjs/1.17.1/components.xsl), attribution is automatically inserted,
|
||||
If you use the default [XML stylesheet](/versions/c1pjs/1.21.6/components.xsl), attribution is automatically inserted,
|
||||
which relieves you from including it yourself.
|
||||
|
||||
Feel free to copy any or all of the files listed above to your own server (it's probably better to share the server
|
||||
|
|
|
|||
|
|
@ -6,88 +6,4 @@ permalink: /docs/x86/
|
|||
|
||||
Placeholder for future x86 documentation.
|
||||
|
||||
x86 Instructions
|
||||
---
|
||||
|
||||
[AAA](ops/AAA/)
|
||||
[AAD](ops/AAD/)
|
||||
[AAM](ops/AAM/)
|
||||
AAS
|
||||
ADC
|
||||
ADD
|
||||
AND
|
||||
CALL
|
||||
CBW
|
||||
CLC
|
||||
CLD
|
||||
CLI
|
||||
CMC
|
||||
CMP
|
||||
CMPS
|
||||
CWD
|
||||
DAA
|
||||
DAS
|
||||
DEC
|
||||
DIV
|
||||
ESC
|
||||
HLT
|
||||
[ICEBP](ops/ICEBP/)
|
||||
IDIV
|
||||
IMUL
|
||||
IN
|
||||
INC
|
||||
INT 3
|
||||
INT
|
||||
INTO
|
||||
IRET
|
||||
Jcc
|
||||
JMP
|
||||
LAHF
|
||||
LDS
|
||||
LEA
|
||||
LES
|
||||
[LOADALL](ops/LOADALL/)
|
||||
LOCK
|
||||
LODS
|
||||
LOOP
|
||||
LOOPZ
|
||||
LOOPNZ
|
||||
MOV
|
||||
MOVS
|
||||
MUL
|
||||
NEG
|
||||
NOP
|
||||
NOT
|
||||
OR
|
||||
OUT
|
||||
POP
|
||||
POPF
|
||||
PUSH
|
||||
PUSHF
|
||||
RCL
|
||||
RCR
|
||||
REP
|
||||
REPZ
|
||||
REPNZ
|
||||
RET
|
||||
ROL
|
||||
ROR
|
||||
SAHF
|
||||
SAL
|
||||
[SALC](ops/SALC/)
|
||||
SAR
|
||||
SBB
|
||||
SCAS
|
||||
SHL
|
||||
SHR
|
||||
STC
|
||||
STD
|
||||
STI
|
||||
STOS
|
||||
SUB
|
||||
TEST
|
||||
[UMOV](ops/UMOV/)
|
||||
WAIT
|
||||
XCHG
|
||||
XLAT
|
||||
XOR
|
||||
* [x86 Instructions](ops/)
|
||||
|
|
|
|||
93
docs/x86/ops/README.md
Normal file
93
docs/x86/ops/README.md
Normal file
|
|
@ -0,0 +1,93 @@
|
|||
---
|
||||
layout: page
|
||||
title: x86 Instructions
|
||||
permalink: /docs/x86/ops/
|
||||
---
|
||||
|
||||
Placeholder for future x86 documentation.
|
||||
|
||||
x86 Instructions
|
||||
---
|
||||
|
||||
[AAA](ops/AAA/)
|
||||
[AAD](ops/AAD/)
|
||||
[AAM](ops/AAM/)
|
||||
AAS
|
||||
ADC
|
||||
ADD
|
||||
AND
|
||||
CALL
|
||||
CBW
|
||||
CLC
|
||||
CLD
|
||||
CLI
|
||||
CMC
|
||||
CMP
|
||||
CMPS
|
||||
CWD
|
||||
DAA
|
||||
DAS
|
||||
DEC
|
||||
DIV
|
||||
ESC
|
||||
HLT
|
||||
[ICEBP](ops/ICEBP/)
|
||||
IDIV
|
||||
IMUL
|
||||
IN
|
||||
INC
|
||||
INT 3
|
||||
INT
|
||||
INTO
|
||||
IRET
|
||||
Jcc
|
||||
JMP
|
||||
LAHF
|
||||
LDS
|
||||
LEA
|
||||
LES
|
||||
[LOADALL](ops/LOADALL/)
|
||||
LOCK
|
||||
LODS
|
||||
LOOP
|
||||
LOOPZ
|
||||
LOOPNZ
|
||||
MOV
|
||||
MOVS
|
||||
MUL
|
||||
NEG
|
||||
NOP
|
||||
NOT
|
||||
OR
|
||||
OUT
|
||||
POP
|
||||
POPF
|
||||
PUSH
|
||||
PUSHF
|
||||
RCL
|
||||
RCR
|
||||
REP
|
||||
REPZ
|
||||
REPNZ
|
||||
RET
|
||||
ROL
|
||||
ROR
|
||||
SAHF
|
||||
SAL
|
||||
[SALC](ops/SALC/)
|
||||
SAR
|
||||
SBB
|
||||
SCAS
|
||||
SHL
|
||||
SHR
|
||||
STC
|
||||
STD
|
||||
STI
|
||||
STOS
|
||||
SUB
|
||||
TEST
|
||||
[UMOV](ops/UMOV/)
|
||||
WAIT
|
||||
XCHG
|
||||
XLAT
|
||||
XOR
|
||||
Loading…
Reference in a new issue