pouët.net

Random line of code thread

category: code [glöplog]
Code: lda $dc00
added on the 2023-12-02 13:21:38 by Preacher Preacher
for (;;){fork();}
added on the 2023-12-05 15:13:38 by EviL EviL
Code:(define (cons a b) (lambda (pick) (cond ((= pick 1) a) ((= pick 2) b)))) (define (car x) (x 1)) (define (cdr x) (x 2))
added on the 2023-12-06 18:39:18 by MsK` MsK`
Code:*sr 0.9998 # (over)samplerate-independent volume envelope (exponential decay)
added on the 2024-01-27 12:07:22 by bsp bsp
Code:id test inc myosc <out: ~myosc freq=1 dcy=0.25 # instantiate a template. now we're cookin' :-)
added on the 2024-02-18 19:53:23 by bsp bsp
Code:.pool @ ugh
added on the 2024-05-01 17:52:28 by DevEd DevEd
Code:0;
added on the 2024-05-01 18:01:54 by rudi rudi
While...Wend
added on the 2024-05-02 11:20:26 by moredhel moredhel
JZ MetaRet ; most of the time we will fail.
Code:10 PRINT "PENUS "; 20 GOTO 10
added on the 2024-05-02 14:12:33 by sagacity sagacity
Code:nop
added on the 2024-05-02 23:28:40 by Hyde Hyde
Code:ldr r1,[r1,r0]
added on the 2024-05-03 02:23:42 by DevEd DevEd
; word compare on Z80
or a ; clear carry flag
sbc hl, de
add hl, de
; aaaand... flags are ready
added on the 2024-05-03 13:03:53 by nikhotmsk nikhotmsk
Code:impl Serialize for CSharpString { fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error> where S: Serializer, { let bytes = self.0.as_bytes(); let len = bytes.len() as u8; let mut seq = serializer.serialize_seq(Some(len as usize + 1))?; seq.serialize_element(&len)?; for byte in bytes { seq.serialize_element(byte)?; } seq.end() } }
added on the 2024-05-03 14:08:34 by tolik518 tolik518
CSharpString beyond 255 bytes. Probably never happens.
added on the 2024-05-03 15:49:22 by neoneye neoneye
Code:<div data-st-cnt="ee" id="easter-egg"></div>
added on the 2024-05-03 19:21:26 by dalezy dalezy
Code:; --------------------------------------- shoot crotch lasers Sync_Laser:
added on the 2024-05-03 21:17:32 by hukka hukka
Code:adds r1,4 ldr r7,=0xFFFFFFFC ands r1,r7
added on the 2024-05-04 01:56:52 by DevEd DevEd
Code:ldr r2, [r4] ldr r3, [r4, #4] str r2, [r12] str r3, [r12, #4]
added on the 2024-05-06 23:20:21 by Enfys Enfys
Code: // FIXME: This is very prone to memory leaks. Context* ctx = new Context();
added on the 2024-05-08 16:37:54 by Krill Krill
Code: 72: 225a movea.l (a2)+,a1 74: 362a 0002 move.w 2(a2),d3 78: 3210 move.w (a0),d1 7a: 2008 move.l a0,d0 7c: 5880 addq.l #4,d0 7e: 2040 movea.l d0,a0 80: 5988 subq.l #4,a0 82: 0c41 fff0 cmpi.w #-16,d1
Code: //new bees? if rnd(1) > 0.95 then local bee = {-1,rnd(98)+16} add(bees, bee) end
A2000 LDA$01
ADC#$38
STA $FF11
JMP $2000
G2000
added on the 2024-05-13 14:03:16 by stefa stefa
SYS 52651
added on the 2024-05-20 01:39:05 by MrVainSCL MrVainSCL
Code:shapeOut = vect_rotate(shapeVerts[i], shapeAng, 32); //currently commits DIV/0

login