diff --git a/index.html b/index.html index 792f0ae..202b747 100644 --- a/index.html +++ b/index.html @@ -151,23 +151,46 @@
-
+

What is an Emulator?

-
    + + +
+
+

What is an Emulator?

+ +

Whole-System Emulator

+ +
+

Whole-System Emulator

+ + +

Transparent Emulator

  • HyperV
  • @@ -194,8 +217,55 @@
+
+

What is a Computer?

+ +
+
+

What is a Computer?

+ +
+
+

What is a Computer?

+ +
+
+

What is a Computer?

+ +
+
+

What is a Computer?

+ +

What is a Computer?

+ +
+
+

What is a Computer?

+ +
+
+

What is a Computer?

+ +
+
+

Defining a Computer in Renode

+

+						flash: Memory.MappedMemory @ sysbus 0x00000000
+							size: 0x00008000
+
+						sram: Memory.MappedMemory @ sysbus 0x20000000
+							size: 0x00001000
+	
+						nvic: IRQControllers.NVIC @ sysbus 0xE000E000
+							IRQ -> cpu@0
+
+						cpu: CPU.CortexM @ sysbus
+							nvic: nvic
+							cpuType: "cortex-m0+"
+							PerformanceInMips: 24
+					
diff --git a/js/robot.js b/js/robot.js new file mode 100644 index 0000000..52854c5 --- /dev/null +++ b/js/robot.js @@ -0,0 +1,108 @@ +/** + * highlight.js Robot Framework syntax highlighting definition + * + * @see https://github.com/isagalaev/highlight.js + * + * @package: highlightjs-robot + * @author: Harri Paavola + * @since: 2019-08-05 + */ + +var module = module ? module : {}; // shim for browser use + +function hljsDefineRobot(hljs) { + var VAR = { + className: 'variable', + begin: /\$\{/, + end: /\}/ + }; + var DICT = { + className: 'variable', + begin: /\&\{/, + end: /\}/ + }; + var LIST = { + className: 'variable', + begin: /\@\{/, + end: /\}/ + }; + var NUMBER = { + className: 'number', + begin: /\$\{([0-9])/, + end: /\}/ + }; + var SECTION = { + className: 'section', + begin: /^(\*{1,3})/, + end: /$/ + }; + var DOC = { + className: 'comment', + begin: /^\s*\[?Documentation\]?\s+/, + end: /$/ + }; + var DOC_CONT = { + className: 'comment', + begin: /^\.\.\./, + end: /$/ + }; + var COMMENT = { + className: 'comment', + begin: /(^| {2,}|\t|\| {1,})#/, + end: /$/ + }; + var TEST = { + className: 'name', + begin: /(^([^*| |\t|\n)]))\w/, + end: /($|\s{2,})/, + contains: [VAR] + }; + var SETTING = { + className: 'built_in', + begin: /^\s+\[(Tags|Setup|Teardown|Template|Timeout|Arguments|Return)\]/, + end: /$| {2,}|\t/, + contains: [VAR], + relevance: 10 + }; + var CONST = { + className: 'attribute', + begin: /^(Library|Resource|Test Timeout|Test Template|Test Teardown|Test Setup|Default Tags|Force Tags|Variables|Suite Setup|Suite Teardown)(?:( )|( \| ))/, + end: /$| {2,}|\t/, + contains: [VAR], + relevance: 10 + }; + var GHERKIN = { + className: 'comment', + variants: [ + {begin: /^\s{2,}given/, end: /\s/}, + {begin: /^\s{2,}when/, end: /\s/}, + {begin: /^\s{2,}then/, end: /\s/}, + {begin: /^\s{2,}and/, end: /\s/} + ] + }; + return { + case_insensitive: true, + aliases: ['robot', 'rf'], + keywords: 'Settings Keywords [Return] [Teardown] [Timeout] [Setup] [Tags] [Arguments] [Documentation]', + contains: [ + NUMBER, + VAR, + DICT, + LIST, + SECTION, + CONST, + DOC, + DOC_CONT, + TEST, + COMMENT, + SETTING, + GHERKIN + ] + }; +} + +module.exports = function(hljs) { + hljs.registerLanguage('robot', hljsDefineRobot); +}; + +module.exports.definer = hljsDefineRobot; \ No newline at end of file diff --git a/media/DEC_VT100_terminal.jpg b/media/DEC_VT100_terminal.jpg new file mode 100644 index 0000000..9bc7447 Binary files /dev/null and b/media/DEC_VT100_terminal.jpg differ diff --git a/media/bbs-example.png b/media/bbs-example.png new file mode 100644 index 0000000..532ffc6 Binary files /dev/null and b/media/bbs-example.png differ diff --git a/media/bluenrg-block-diagram-cpu.png b/media/bluenrg-block-diagram-cpu.png index 6ff29e1..a669ba7 100644 Binary files a/media/bluenrg-block-diagram-cpu.png and b/media/bluenrg-block-diagram-cpu.png differ diff --git a/media/bluenrg-block-diagram-memories.png b/media/bluenrg-block-diagram-memories.png index e37bcb5..0d59415 100644 Binary files a/media/bluenrg-block-diagram-memories.png and b/media/bluenrg-block-diagram-memories.png differ diff --git a/media/bluenrg-block-diagram-no-extra-bits.png b/media/bluenrg-block-diagram-no-extra-bits.png index 2e7deed..3dfd1f2 100644 Binary files a/media/bluenrg-block-diagram-no-extra-bits.png and b/media/bluenrg-block-diagram-no-extra-bits.png differ diff --git a/media/bluenrg-block-diagram-peripherals.png b/media/bluenrg-block-diagram-peripherals.png index 31428cb..1b90458 100644 Binary files a/media/bluenrg-block-diagram-peripherals.png and b/media/bluenrg-block-diagram-peripherals.png differ diff --git a/media/bluenrg-block-diagram.png b/media/bluenrg-block-diagram.png index c191d8b..380c578 100644 Binary files a/media/bluenrg-block-diagram.png and b/media/bluenrg-block-diagram.png differ diff --git a/media/bluenrg-memory-map.png b/media/bluenrg-memory-map.png new file mode 100644 index 0000000..bf2abe6 Binary files /dev/null and b/media/bluenrg-memory-map.png differ diff --git a/media/bluenrg-peripherals.png b/media/bluenrg-peripherals.png index 8148114..81fe199 100644 Binary files a/media/bluenrg-peripherals.png and b/media/bluenrg-peripherals.png differ diff --git a/media/bluenrg2-blocks.afphoto b/media/bluenrg2-blocks.afphoto new file mode 100644 index 0000000..368f71e Binary files /dev/null and b/media/bluenrg2-blocks.afphoto differ diff --git a/media/bluenrg2-memory-map.afphoto b/media/bluenrg2-memory-map.afphoto new file mode 100644 index 0000000..b11ae51 Binary files /dev/null and b/media/bluenrg2-memory-map.afphoto differ diff --git a/media/bluenrg2-peripherals.afphoto b/media/bluenrg2-peripherals.afphoto new file mode 100644 index 0000000..9d243d2 Binary files /dev/null and b/media/bluenrg2-peripherals.afphoto differ diff --git a/media/conceptual-diagram.afdesign b/media/conceptual-diagram.afdesign new file mode 100644 index 0000000..dcefb68 Binary files /dev/null and b/media/conceptual-diagram.afdesign differ diff --git a/media/conceptual-diagram.png b/media/conceptual-diagram.png new file mode 100644 index 0000000..8dbcaa8 Binary files /dev/null and b/media/conceptual-diagram.png differ diff --git a/media/fceux-smb-debug.png b/media/fceux-smb-debug.png new file mode 100644 index 0000000..bf77154 Binary files /dev/null and b/media/fceux-smb-debug.png differ diff --git a/media/fceux-smb.png b/media/fceux-smb.png new file mode 100644 index 0000000..6a8764a Binary files /dev/null and b/media/fceux-smb.png differ