pouët.net

Random line of code thread

category: code [glöplog]
include CapacitorParty3.s
added on the 2017-10-21 22:12:59 by Skynet Skynet
Code: add.l #InstrumentSpace-Chip,a4
added on the 2017-10-24 13:10:38 by Blueberry Blueberry
Code:this._povProcess = spawn("/usr/local/bin/povray", args);
added on the 2017-10-24 14:26:17 by cpdt cpdt
Code: lea.l CheckerBoardPattern,a4


naaaah.. just kidding.
added on the 2017-10-24 19:27:54 by SCA SCA
Code:void d_drawSpriteVRAM_bw(const unsigned char** ptr, const uint8_t x, const uint8_t y, const uint8_t dimX, const uint8_t dimY) //presumably even slower than windows 10
Code: move.l #"M42!",$100.w move.l #"SAYS",$104.w move.l #"FUCK",$108.w
added on the 2017-11-15 12:40:01 by StingRay StingRay
Code:Title_Int: dc.b 'THIS IS A TEST ' ; International name
added on the 2017-11-15 15:03:54 by MopeDude MopeDude
Code:movem.l d0/d3/d6/a1, 0*257*40+0*4(a5)
Code:sizeof(*ck)
added on the 2017-11-17 23:47:31 by svo svo
Code:ld [sys_RNGSeed],a ; hack to prevent scroller sometimes glitching out


because apparently RNG affects timing
added on the 2017-11-17 23:54:21 by DevEd DevEd
Code: ; notes, maybe writes byte one = upper byte, byte two = lower byte generate_vram:


Maybe?
added on the 2017-11-18 19:58:10 by Optimus Optimus
Code:cmp.l #"PAUL",(a0)
added on the 2017-11-25 01:05:56 by StingRay StingRay
Code:// das ist ja wohl selbsterklaerend! prepareBorder= (360-(360 >> (prepareLevel - maxZoom - 1)))>>1;
added on the 2017-11-25 08:50:52 by noname noname
Code:add.w #efx_blttmpllen,$6e.w
added on the 2017-11-26 13:30:11 by bifat bifat
return mat3(oc * axis.x * axis.x + c, oc * axis.x * axis.y - axis.z * s, oc * axis.z * axis.x + axis.y * s, oc * axis.x * axis.y + axis.z * s, oc * axis.y * axis.y + c, oc * axis.y * axis.z - axis.x * s, oc * axis.z * axis.x - axis.y * s, oc * axis.y * axis.z + axis.x * s, oc * axis.z * axis.z + c);
added on the 2017-11-26 13:43:06 by visy visy
Code:clr.l $4.w ; bang bang, my baby shot me down
added on the 2017-11-28 19:17:08 by StingRay StingRay
Code: ld hl,CharTable ; because apparently CharMap is reserved

ah, the joys of not knowing that you just used a reserved keyword until you try to build your code and all it says is "syntax error"
added on the 2017-11-30 17:08:10 by DevEd DevEd
Code:move.l a0,KbdCust-.kbdcust(a0)
added on the 2017-12-08 14:48:05 by StingRay StingRay

login