| topic |
post date |
posted by |
| Random gif animation thread |
2022-07-22 15:35:25 |
olspookishmagus |
| ...[img]https://i.imgur.com/kg2hkyH.gif[/img]... |
| Random line of code thread |
2022-06-28 15:13:55 |
Charlie |
| ...#tmp [code]Tmp0:=(Tmp0E and $CCCCCCCC) or ((Tmp1E and $CCCCCCCC) shr 2); { 0 2 4 6 8 10 12 14 } Tmp1... |
| Random line of code thread |
2022-06-11 18:24:19 |
The Mad Doctor |
| ...(Z80, Amstrad CPC) Makes a part of firmware disappear [code] ScreenSize equ &4000 org &8100 ld hl,&C... |
| Random line of code thread |
2022-06-11 12:40:27 |
71M |
| ...[code]_pointsText.text = 0.ToString();[/code]... |
| Random line of code thread |
2022-06-02 00:22:06 |
Dresdenboy |
| ...[code]e=x(-x>>1&7)+v*math.sin(v*math.sin(t/99))and 0 or(-x>>1&7)+v*math.sin(v*math.sin(t/99))[/code]... |
| Random line of code thread |
2022-05-31 16:08:51 |
bartman |
| ...[quote] THE low level language and no binary? We have to use defines with hex or bit shifting. When ... |
| Random line of code thread |
2022-05-31 16:06:30 |
bartman |
| ...[code] #define STR(x) #x #define XSTR(s) STR(s) uint16_t numChannelsMinus1 = numChannels - 1; __asm ... |
| Random line of code thread |
2022-05-28 16:51:16 |
Blueberry |
| ...[code] fld1 fadd st0 fyl2x ; // log2_base [/code]... |
| Random line of code thread |
2022-05-26 22:59:48 |
yugecin |
| ...[code]plus++;[/code]... |
| Random line of code thread |
2022-05-22 06:27:08 |
Dresdenboy |
| ...[code] mov al, 13h int 10h %if LINE_REPEAT mov dx,03D4h out dx,ax %endif[/code]... |
| Random line of code thread |
2022-05-16 00:23:39 |
DevEd |
| ...[code] ld a,[DS_CH1AutopanSpeed] and a jr z,.ch2autopan ld hl,DS_CH1AutopanTimer dec [hl] jr nz,.ch2... |
| Random line of code thread |
2022-05-12 14:56:54 |
baah |
| ...[code]//No need to make boundary tests because we added surroundings! void Fill(int x,int y,char Tes... |
| Random line of code thread |
2022-05-01 14:47:43 |
Skynet |
| ...[code]move.b #1,(_mt_Enable) ; finally figured out why the music wasn't playing[/code]... |
| Random line of code thread |
2022-04-30 18:43:48 |
Alien / ST-CNX |
| ...68000 popcnt [code] mov.l d0, d1 REPT 32 lsr.l #1, d1 sub.l d1, d0 ENDR [/code]... |
| Random line of code thread |
2022-04-28 23:10:31 |
Laffik |
| ...square root algorythm in MC680x0 code: [code] MOVE.W #100,d2 ;P MOVEQ #1,d0 ;a MOVE.L d2,d1 ;b loop:... |
| Random line of code thread |
2022-04-26 22:29:13 |
bsp |
| ...Synthesizing some guitar-ish sounds (original idea by GM, with a "twist"): [code]float r1 = (lfsr_ra... |
| Random line of code thread |
2022-03-21 23:14:03 |
StingRay |
| ...[quote][code]CUSTOM set $dff000 ; fun: preferences.i defines paper size "CUSTOM"...[/code][/quote] H... |
| Random line of code thread |
2022-03-20 15:39:40 |
MrVainSCL |
| ...[code]k=c.width=160;a=S(t*3)*7;x.F=x.fillRect;with(x)for(i=8;i--;F(9-g*3,g*15,17+g*6,13+g*9))g=i&1,a... |
| Random line of code thread |
2022-03-20 13:35:40 |
baah |
| ...[code]$fn=40; HG=0.05; //HalfGap SIZE=15; EDGE=3; IBH=3; //InBetweenHeight TBH=3; //TopAndBottomHeig... |
| Random line of code thread |
2022-03-18 09:27:13 |
losso |
| ...[code]CUSTOM set $dff000 ; fun: preferences.i defines paper size "CUSTOM"...[/code]... |
| Random line of code thread |
2022-02-28 21:02:14 |
Blueberry |
| ...[code]dc.l $180005b,$ac07fffe,$1800fd0,-2[/code]... |
| Random line of code thread |
2022-02-17 15:02:01 |
wbcbz7 |
| ...[code] vec2 uv = (.5/g_tanfov) * (2.*texCoord - 1.) * vec2(float(g_resolution.x) / g_resolution.y, 1... |
| Random line of code thread |
2022-02-14 11:24:49 |
neoneye |
| ...[code]; Never seen 7 nested loops, ever![/code]... |
| Random line of code thread |
2022-02-06 01:12:35 |
HellMood |
| ...@DevEd, in that specific sequence, you could do "LODSW" to save a byte. It does do "mov ax,[si]" + "... |
| Random line of code thread |
2022-02-06 00:48:34 |
DevEd |
| ...[code] mov dx,REG_SND_CH1_PITCH mov si,FreqTable add si,ax add si,ax mov ax,[cs:si] out dx,ax[/code]... |
|
|