| topic |
post date |
posted by |
| 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]... |
| Random line of code thread |
2022-01-26 08:07:12 |
Moerder |
| ...[code] // Fixed byte of value 0x96, followed by unit code which can be freely chosen. // We insert a... |
| Random line of code thread |
2022-01-24 20:11:20 |
neoneye |
| ...[code]let mut genome_item = GenomeItem::new( suggested_instruction_id, target_value, ParameterType::... |
| Random line of code thread |
2022-01-24 19:53:37 |
Blueberry |
| ...[code]if ui.button("Save").clicked() { match self.save_sample() { Ok(..) => self.error_string = None... |
| Random line of code thread |
2022-01-21 12:46:13 |
StingRay |
| ...[code]compute_keys_invoice_items( compute_key_invoice_header( ) ).[/code]... |
| Random line of code thread |
2021-12-30 17:00:56 |
porocyon |
| ...guess the instruction set, ed. 2: [code] mov x, #0xaa mov c, #0 3: dec c mov a, [hl+c] xor a, x call... |
| Random line of code thread |
2021-12-27 22:43:06 |
StingRay |
| ...[code]move.l $400+$af50,$dff080 ; "thank you" Rob Northen.... just a few hours of my time wasted[/co... |
| Random "work in progress" shots |
2021-12-24 12:54:12 |
neoneye |
| ...[img]https://i.imgur.com/UJlTjvj.png[/img] In this winter vacation I have been coding a plot area. T... |
| Random line of code thread |
2021-12-11 20:35:55 |
StingRay |
| ...[code]cmp.l (a7)+,a0[/code]... |
| Random line of code thread |
2021-11-30 03:58:31 |
DevEd |
| ...[code]ld a,$f0 ldh [rNR12],a ldh [rNR22],a ldh [rNR42],a ld a,$80 ldh [rNR14],a ldh [rNR24],a ldh [r... |
|
|