- Anything that runs MIPS, PowerPC or Alpha Windows NT 4
- A Nintendo Entertainment System
- A Nintendo N64
- A Sega Mega CD
- A Sega 32X
- A Sega Saturn
- A Sega Dreamcast
- An Acorn Archimedes A3000, A3xx or A4xx with RISC OS 2
This file has been truncated, but you can view the full file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
./release/thumbv6m-none-eabi-flash1002-libneotron_os.elf: file format elf32-littlearm | |
Disassembly of section .text: | |
10020004 <<&T as core::fmt::Debug>::fmt>: | |
10020004: b5b0 push {r4, r5, r7, lr} | |
10020006: af02 add r7, sp, #8 | |
10020008: b0a2 sub sp, #136 | |
1002000a: 6800 ldr r0, [r0] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
target/thumbv6m-none-eabi/release/neotron-pico-bios: file format elf32-littlearm | |
Disassembly of section .text: | |
100001c0 <__stext>: | |
100001c0: 2400 movs r4, #0 | |
100001c2: 43e4 mvns r4, r4 | |
100001c4: 46a6 mov lr, r4 | |
100001c6: f005 f81a bl 0x100051fe <__pre_init> @ imm = #20532 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* An example of some bad C code. | |
* | |
* Copyright (c) Jonathan 'theJPster' Pallant 2019 | |
* | |
* This example is under the Blue Oak Model Licence: https://blueoakcouncil.org/license/1.0.0 | |
*/ | |
// =========================================================================== | |
// System Includes |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 OPTION GOSUB | |
10 H% = 30 | |
20 W% = 80 | |
30 F$ = " .:^*xsS#$" | |
40 T% = H% * W% | |
50 DIM B%(T% + W% + 1) | |
60 FOR C% = 0 TO INT(W% / 9) | |
70 B%((RND(1) * W%) + W% * (H%-1)) = 65 | |
80 NEXT C% | |
90 C% = 0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jonathan@titanium:~/Documents/programming/monotron-synth$ cargo build --example beep --verbose | |
Updating registry `https://github.com/rust-lang/crates.io-index` | |
Compiling libpulse-sys v1.3.1 | |
Compiling libc v0.2.43 | |
Compiling libpulse-simple-sys v1.3.1 | |
Compiling monotron-synth v0.1.0 (file:///home/jonathan/Documents/programming/monotron-synth) | |
Running `rustc --crate-name build_script_build /home/jonathan/.cargo/registry/src/github.com-1ecc6299db9ec823/libpulse-sys-1.3.1/build.rs --crate-type bin --emit=dep-info,link -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="pa_encoding_from_string"' -C metadata=222890cb92e47160 -C extra-filename=-222890cb92e47160 --out-dir /home/jonathan/Documents/programming/monotron-synth/target/debug/build/libpulse-sys-222890cb92e47160 -L dependency=/home/jonathan/Documents/programming/monotron-synth/target/debug/deps --cap-lints allow` | |
Running `rustc --crate-name libc /home/jonathan/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.43/src/lib.r |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
>>> bt | |
#0 0x000055f4cab65267 in core::ptr::<impl *const T>::offset_from (self=0x55f4cabb613e " \"test\"\"test\" \"te\\\"st \" te\\\"st \nlet x = 123;\nlet y = foo(x);\nif y > x {\n baz(true);\n} else {\n bar(false);\n}\nreturn 0x200;\n yfoobazbar\000", origin=0x55f4cabb613d "\" \"test\"\"test\" \"te\\\"st \" te\\\"st \nlet x = 123;\nlet y = foo(x);\nif y > x {\n baz(true);\n} else {\n bar(false);\n}\nreturn 0x200;\n yfoobazbar\000") at /checkout/src/libcore/ptr.rs:774 | |
#1 0x000055f4cab64570 in core::slice::ptrdistance (start=0x55f4cabb613d "\" \"test\"\"test\" \"te\\\"st \" te\\\"st \nlet x = 123;\nlet y = foo(x);\nif y > x {\n baz(true);\n} else {\n bar(false);\n}\nreturn 0x200;\n yfoobazbar\000", end=0x55f4cabb613e " \"test\"\"test\" \"te\\\"st \" te\\\"st \nlet x = 123;\nlet y = foo(x);\nif y > x {\n baz(true);\n} else {\n bar(false);\n}\nreturn 0x200;\n yfoobazbar\000") at /checkout/src/libcore/slice/mod.rs:3075 | |
#2 <core::slice::Iter<'a, T> as core::it |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ cargo run --example simple | |
Compiling menu v0.1.0 (file:///home/jonathan/Documents/programming/menu) | |
Finished dev [unoptimized + debuginfo] target(s) in 0.84 secs | |
Running `target/debug/examples/simple` | |
> In enter_root | |
help | |
foo - makes a foo appear | |
bar - fandoggles a bar | |
sub - enter sub-menu | |
help - print this help text. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ xargo build --example hello | |
Compiling core v0.0.0 (file:///home/jonathan/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/src/libcore) | |
Finished release [optimized + debuginfo] target(s) in 18.44 secs | |
Updating git repository `https://github.com/rust-lang-nursery/compiler-builtins` | |
Compiling compiler_builtins v0.1.0 (https://github.com/rust-lang-nursery/compiler-builtins#0ba07e49) | |
Finished release [optimized + debuginfo] target(s) in 3.3 secs | |
Compiling demo v0.1.0 (file:///home/jonathan/Documents/programming/demo) | |
Compiling cortex-m-rt v0.2.5 | |
Compiling r0 v0.2.2 | |
Compiling vcell v0.1.0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//! # UART for the LM4F120H5QR | |
// **************************************************************************** | |
// | |
// Imports | |
// | |
// **************************************************************************** | |
use core::fmt; | |
use core::intrinsics::{volatile_load, volatile_store}; |