Compare commits
No commits in common. "0bdb1096403b757e76ec8bf4d0d0cbb11727ba6c" and "b8b418fc8c9533b29e5a713ac7519e220c6cc7c4" have entirely different histories.
0bdb109640
...
b8b418fc8c
22
LICENSE
22
LICENSE
|
@ -1,23 +1,9 @@
|
||||||
MIT License
|
MIT License
|
||||||
|
|
||||||
Copyright (c) 2023 The Original NerdEMU Authors
|
Copyright (c) <year> <copyright holders>
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person
|
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
||||||
obtaining a copy of this software and associated documentation
|
|
||||||
files (the "Software"), to deal in the Software without restriction,
|
|
||||||
including without limitation the rights to use, copy, modify,
|
|
||||||
merge, publish, distribute, sublicense, and/or sell copies of
|
|
||||||
the Software, and to permit persons to whom the Software is
|
|
||||||
furnished to do so, subject to the following conditions:
|
|
||||||
|
|
||||||
The above copyright notice and this permission notice shall be
|
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
||||||
included in all copies or substantial portions of the Software.
|
|
||||||
|
|
||||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
|
|
||||||
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
||||||
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
|
|
||||||
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
||||||
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
||||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
|
||||||
DEALINGS IN THE SOFTWARE.
|
|
||||||
|
|
15
README.md
15
README.md
|
@ -1,14 +1,3 @@
|
||||||
# NerdEMU
|
# nerdemu
|
||||||
The NEMU / NerdEMU software for emulating simple processors in the
|
|
||||||
web using Rust & WebAssembly.
|
|
||||||
|
|
||||||
## Original Authors
|
|
||||||
This is the list of original authors which have the full copyright
|
|
||||||
split under themselves
|
|
||||||
|
|
||||||
Should a person be added to this list, mind the alphabetic sorting.
|
|
||||||
- antifallobst (?)
|
|
||||||
- ep.ickhorn (Eric-Paul Ickhorn)
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
The NEMU / NerdEMU software which runs in the web and emulates simple architectures.
|
|
@ -0,0 +1,11 @@
|
||||||
|
use wasm_bindgen::prelude::*;
|
||||||
|
|
||||||
|
#[wasm_bindgen]
|
||||||
|
extern {
|
||||||
|
pub fn alert(s: &str);
|
||||||
|
}
|
||||||
|
|
||||||
|
#[wasm_bindgen]
|
||||||
|
pub fn greet(name: &str) {
|
||||||
|
alert(&format!("Hello, {}!", name));
|
||||||
|
}
|
|
@ -1,10 +0,0 @@
|
||||||
// The NerdEMU - emulator | This software is protected under the MIT-license
|
|
||||||
// Copyright 2023: [The Original NerdEMU-Authors] as seen on:
|
|
||||||
// (nerdcult.net/projects/nerdemu/ OR git.nerdcult.net/nerdcult/nerdemu)
|
|
||||||
|
|
||||||
// x86/src/i8086.rs: The emulation code for the i8086 - microprocessor
|
|
||||||
// and a basic mainbus which connects it to the memory and other simple
|
|
||||||
// devices.
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,16 +0,0 @@
|
||||||
// The NerdEMU - emulator | This software is protected under the MIT-license
|
|
||||||
// Copyright 2023: [The Original NerdEMU-Authors] as seen on:
|
|
||||||
// (nerdcult.net/projects/nerdemu/ OR git.nerdcult.net/nerdcult/nerdemu)
|
|
||||||
|
|
||||||
use wasm_bindgen::prelude::*;
|
|
||||||
|
|
||||||
#[wasm_bindgen]
|
|
||||||
extern {
|
|
||||||
pub fn alert(s: &str);
|
|
||||||
}
|
|
||||||
|
|
||||||
#[wasm_bindgen]
|
|
||||||
pub fn greet(name: &str) {
|
|
||||||
alert(&format!("Hello, {}!", name));
|
|
||||||
}
|
|
||||||
|
|
Reference in New Issue