| topic |
post date |
posted by |
| Random line of code thread |
2025-07-18 00:48:59 |
lynn |
| ...[code]love.graphics.draw(starBuffer, (x + size + (size / 10)), y + (size / 10), 0, .1, .1)[/code]... |
| Random line of code thread |
2025-07-18 00:24:41 |
orac81 |
| ...For all two player games.. [code]int sch_AlphaBeta(int depth, int alpha, int beta) { if (depth == 0)... |
| Random line of code thread |
2025-07-17 21:42:21 |
Krill |
| ...[code] .error "Error!! I is too high!"[/code]... |
| Random line of code thread |
2025-07-15 12:59:44 |
Blueberry |
| ...[code]assert(fromPlane >= 0 && [?aBitmap, ?bBitmap, ?cBitmap].every((b) => fromPlane < b.depth));[/c... |
| Random line of code thread |
2025-07-08 00:10:13 |
leaq |
| ...[code] lea ($C00004), a0 move.w #(1... |
| Random line of code thread |
2025-07-07 22:52:24 |
kapsel |
| ...[code]return (u.i - 1064866805) * 8.262958405176314e-8f;[/code] 1064866805 is a magic number (a so-c... |
| Random line of code thread |
2025-07-07 22:43:33 |
^ML!^ |
| ...[code]float musys_log(float a) { union { float f; int i; } u = { a }; return (u.i - 1064866805) * 8.... |
| Random line of code thread |
2025-07-07 22:42:06 |
kapsel |
| ...[code] MOVEQ #1, D0 ; respect++ MOVE.B D0, $DFF180 ; border flash out of emotion JMP SAY_THANKS ; un... |
| Random line of code thread |
2025-07-07 22:29:56 |
Blueberry |
| ...[quote]Thanks for seeing it and saying it, Blueberry. ✨[/quote] Sentiment analysis gone haywire mu... |
| Random line of code thread |
2025-07-06 14:47:46 |
leaq |
| ...[code] pushw 10h popw ds and bl, 0FEh mov cr0, ebx jmp 00h:unreal[/code]... |
| Random line of code thread |
2025-07-06 09:33:24 |
kapsel |
| ...[code]?CHR$(147):FORA=0TO255:POKE1224+A,PEEK(0+A):NEXT[/code] The code on Commodore 64 clears the sc... |
| Random line of code thread |
2025-07-06 09:14:28 |
kapsel |
| ...The function provided by ^ML!^ calculates e^a in an approximate way. Compared to the classical appro... |
| Random line of code thread |
2025-07-06 09:04:39 |
4gentE |
| ...?CHR$(147):FORA=0TO255:POKE1224+A,PEEK(0+A):NEXT... |
| Random line of code thread |
2025-07-06 08:39:59 |
^ML!^ |
| ...[code] float musys_exp(float a) { union { float f; int i; } u, v; u.i = (int)(6051102 * a + 10564781... |
| Random line of code thread |
2025-07-05 20:05:26 |
Blueberry |
| ...[code]effective_cutoff = cutoff * exp2((bittest(velocity, 0.5) ? accent_p : 1) * amp)[/code]... |
| Random line of code thread |
2025-07-05 19:45:06 |
ham |
| ...Back to the topic. [code] ; Scroll text starts here dc.b "Bla bla bla. Bla bla bla. And more bla bla... |
| Random line of code thread |
2025-07-05 19:30:40 |
kapsel |
| ...[quote]Krill: The botsplaining posts in the random line of code thread are a tad grating, though.[/q... |
| Random line of code thread |
2025-07-05 09:35:26 |
Blueberry |
| ...[quote]1 bus cycle = 2 CPU clock cycles[/quote] Amidst all the noise, humbly conceiled within parent... |
| Random line of code thread |
2025-07-05 08:52:07 |
kapsel |
| ...[code]union { float d; int x; }[/code] It's a way of treating the same bits of a floating-point numb... |
| Random line of code thread |
2025-07-04 20:12:46 |
^ML!^ |
| ...[code] float musys_powf(float a, float b) { union { float d; int x; } u = { a }; u.x = (int)(b * (u.... |
| Random line of code thread |
2025-07-04 20:01:26 |
kapsel |
| ...[code]move.w #$4000,$dff09c[/code] Since we're already talking about interrupts via INTREQ (Interrup... |
| Random line of code thread |
2025-07-04 19:29:06 |
ROG_VF |
| ...Yeah, this makes sense. Crib: Two CPUs sitting on the bus, one to the other: "move.w #$4000,$dff09c"... |
| Random line of code thread |
2025-07-04 14:47:56 |
kapsel |
| ...Dear ROG_VF 🧠 What does MOVEM do? The MOVEM.L , instruction (e.g., writing to a color register) w... |
| Random line of code thread |
2025-07-04 14:26:26 |
ROG_VF |
| ...could need some help... [quote]the CPU MOVEM instruction performs consecutive writes and thus can up... |
| Random line of code thread |
2025-07-04 12:49:51 |
kapsel |
| ...[code]btst.b #10-8,$dff016 ; RMB[/code] Ah yes, good old Big Endian — making $dff016 feel like a t... |
|
|