Skip to content

Instantly share code, notes, and snippets.

PYTHONPATH="/home/lionel/src/ambix/buildroot/output/target/usr/lib/python3.5/sysconfigdata/:/home/lionel/src/ambix/buildroot/output/target/usr/lib/python3.5/site-packages/" /home/lionel/src/ambix/buildroot/output/host/usr/bin/python3.5 support/scripts/pycompile.py /home/lionel/src/ambix/buildroot/output/target/usr/lib/python3.5
Traceback (most recent call last):
File "/home/lionel/src/ambix/buildroot/output/host/usr/lib/python3.5/py_compile.py", line 125, in compile
_optimize=optimize)
File "<frozen importlib._bootstrap_external>", line 700, in source_to_code
File "<frozen importlib._bootstrap>", line 222, in _call_with_frames_removed
File "/home/lionel/src/ambix/buildroot/output/target/usr/lib/python3.5/site-packages/jinja2/asyncfilters.py", line 24
^
SyntaxError: 'yield' inside async function
#include <fcntl.h>
int fd = 0;
int main() {
if (fd == 0) {
fd = open("/toto", O_RDWR);
}
for (;;) {
`default_nettype none
module psx_timer #(parameter WIDTH = 16)
(input clk,
input aresetn,
input [WIDTH - 1:0] target,
input reset_on_target,
input irq_on_target,
input irq_ack,
input [WIDTH - 1:0] counter_value,
Sending packet: $qSupported:multiprocess+;swbreak+;hwbreak+;qRelocInsn+;fork-events+;vfork-events+;exec-events+;vContSupported+;QThreadEvents+;no-resumed+#df...Ack
Packet received:
Packet qSupported (supported-packets) is NOT supported
Sending packet: $vMustReplyEmpty#3a...Ack
Packet received:
Sending packet: $Hg0#df...Ack
Packet received:
Sending packet: $qTStatus#49...Ack
Packet received:
Packet qTStatus (trace-status) is NOT supported
rustation/src/tracer.rs:62:40: 62:44 error: mismatched types [E0308]
rustation/src/tracer.rs:62 let var = self.variables.entry(name);
^~~~
rustation/src/tracer.rs:62:40: 62:44 help: run `rustc --explain E0308` to see a detailed explanation
rustation/src/tracer.rs:62:40: 62:44 note: expected type `std::string::String`
rustation/src/tracer.rs:62:40: 62:44 note: found type `&str`
Running from cache:
lw $t0, 0($t1)
nop
takes 8 cycles
lw $t0, 0($t1)
lw $t1, 4($t1)
nop
.set mips1
.set noreorder
.text
.global main
.type main, function
.equ IRQ_STAT, 0x1f801070
.equ IRQ_MASK, 0x1f801074
diff --git a/mednafen/psx/gpu_polygon.cpp b/mednafen/psx/gpu_polygon.cpp
index 85da0f2..16c0d17 100644
--- a/mednafen/psx/gpu_polygon.cpp
+++ b/mednafen/psx/gpu_polygon.cpp
@@ -525,6 +525,18 @@ INLINE void PS_GPU::Command_DrawPolygon(const uint32_t *cb)
return;
}
+ vertices[0].r = 0x00;
+ vertices[0].g = 0xff;
/* void load_blob(unsigned *load_addr, unsigned *blob, unsigned len_words)
*
* Load `len_words` 32bit words from `blob` and store them at `load_addr`
*/
.type load_blob, function
load_blob:
addiu $sp, -24
sw $ra, 20($sp)
sw $fp, 16($sp)
move $fp, $sp
test cpu::tests::test_add_1 ... ok
test cpu::tests::test_branch_in_branch_delay ... FAILED
test cpu::tests::test_beq ... FAILED
test cpu::tests::test_arithmetic_branching_test ... FAILED