Ported some PCjs drawing code to PC8080, still needs work though
This commit is contained in:
parent
98597a21da
commit
59b6dd3be6
23 changed files with 781 additions and 499 deletions
|
|
@ -9,7 +9,9 @@ PCjs Random-Access Memory (RAM) Component
|
|||
|
||||
Format
|
||||
---
|
||||
<ram>...</ram>
|
||||
```xml
|
||||
<ram>...</ram>
|
||||
```
|
||||
|
||||
Purpose
|
||||
---
|
||||
|
|
@ -43,15 +45,20 @@ Bindings
|
|||
|
||||
Example
|
||||
---
|
||||
<ram id="ramLow" addr="0x00000"/>
|
||||
```xml
|
||||
<ram id="ramLow" addr="0x00000"/>
|
||||
```
|
||||
|
||||
Output
|
||||
---
|
||||
<div id="..." class="pc-ram pc-component">
|
||||
<div class="pc-container">
|
||||
<div class="pcjs-ram" data-value="id:'...',name:'...',addr:'...',size:'...',test:'...'"></div>
|
||||
</div>
|
||||
</div>
|
||||
```html
|
||||
<div id="..." class="pc-ram pc-component">
|
||||
<div class="pc-container">
|
||||
<div class="pcjs-ram" data-value="id:'...',name:'...',addr:'...',size:'...',test:'...'">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
```
|
||||
|
||||
Also, if any controls are defined, another <div> of class="pc-controls" is created in the container <div>,
|
||||
with each control inside a <div> of class="pc-control".
|
||||
|
|
|
|||
Loading…
Reference in a new issue