This file contains 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
P%=&2000 | |
FORN%=0TO2STEP2:[OPT N% | |
LDY #&10 | |
LDX #0 | |
LDA #0 | |
.lp | |
STA &3000, X | |
INX | |
BNE lp | |
INC lp + 2 |
This file contains 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
CLS | |
PRINT "**********************************" | |
PRINT "**********************************" | |
PRINT "** PLEASE ENTER THE NUCLEAR KEY **" | |
PRINT "**********************************" | |
PRINT "**********************************" | |
REPEAT | |
PRINT "Key "; | |
INPUT A$ | |
PRINT "SORRY WRONG KEY!!!" |
This file contains 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
DIM b% 32 | |
P% = b% | |
[OPT2 | |
BRK | |
EQUB 42 | |
EQUS "StackExchange" | |
EQUB 0 | |
] | |
CALL b% |
This file contains 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
[pid 2066] openat(AT_FDCWD, "/opt", O_RDONLY|O_CLOEXEC|O_PATH|O_DIRECTORY) = 4 | |
[pid 2066] name_to_handle_at(4, "wine-stable", {handle_bytes=128 => 8, handle_type=1, f_handle=0xab090400d0e41824}, [550], 0) = 0 | |
[pid 2066] name_to_handle_at(4, "", {handle_bytes=128 => 144}, 0x7ffd319e2e54, AT_EMPTY_PATH) = -1 EOVERFLOW (Value too large for defined data type) | |
[pid 2066] name_to_handle_at(4, "", {handle_bytes=144}, 0x7ffd319e2e54, AT_EMPTY_PATH) = -1 EINVAL (Invalid argument) |
This file contains 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
utils = require('utils'); | |
hw = utils.hexword; | |
hb = utils.hexbyte; | |
every = 0; | |
function spew(pc) { | |
console.log(`${processor.currentCycles} $${hw(pc)} A=${hb(processor.a)} X=${hb(processor.x)} Y=${hb(processor.y)}`); | |
// breakpoint every 100 instructions lest things go awry. | |
return ((++every % 100) === 0); | |
} |
This file contains 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
; All new, all-singing, all-dancing textured scape renderer! | |
.CPU SH4 | |
.OUTPUT DBG=DWARF | |
.INCLUDE "..\RedDog.pre" | |
; Prototype: StripHeader *texturedStripRasteriserClipped | |
; (StripPos *v, StripEntry *strip, Uint32 nStrip, ModelContext *context); | |
; Register allocation: | |
temp: .REG R0 ; temporary register, R0 is most accessible |
This file contains 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
10P.CHR$158;CHR$145;CHR$255;CHR$146;CHR$147;CHR$148;CHR$149 |
This file contains 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
int libraryFunc() { return 1; } |
This file contains 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
ubuntu@ip-172-30-2-164:/opt/gcc-explorer/windows$ cd /opt/gcc-explorer/windows | |
ubuntu@ip-172-30-2-164:/opt/gcc-explorer/windows$ tree | |
. | |
├── 10.0.10240.0 | |
│ └── ucrt | |
│ ├── assert.h | |
│ ├── complex.h | |
│ ├── conio.h | |
│ ├── corecrt.h | |
│ ├── corecrt_io.h |
This file contains 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
// Copyright (C) 2016 Jonathan Müller <[email protected]> | |
// This file is subject to the license terms in the LICENSE file | |
// found in the top-level directory of this distribution. | |
#define TYPE_SAFE_ENABLE_ASSERTIONS 0 // disable assertions | |
//=== assertions boilerplate ===// | |
//======================================================================// | |
// Copyright (C) 2016 Jonathan Müller <[email protected]> | |
// |
NewerOlder