Restructured the project

This commit is contained in:
Eric-Paul Ickhorn 2023-03-16 23:32:27 +01:00
parent 61dd08bf96
commit 2eb988b8af
8 changed files with 57 additions and 17 deletions

22
LICENSE
View File

@ -1,9 +1,23 @@
MIT License MIT License
Copyright (c) <year> <copyright holders> Copyright (c) 2023 The Original NerdEMU Authors
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: 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:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.
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. 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.

View File

@ -1,3 +1,14 @@
# 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.

View File

@ -1,11 +0,0 @@
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
extern {
pub fn alert(s: &str);
}
#[wasm_bindgen]
pub fn greet(name: &str) {
alert(&format!("Hello, {}!", name));
}

10
x86/src/i8086.rs Normal file
View File

@ -0,0 +1,10 @@
// 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.

16
x86/src/lib.rs Normal file
View File

@ -0,0 +1,16 @@
// 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));
}