Random line of code thread
category: code [glöplog]
Curs Off : Flash Off : Hide On : Cls 0
Code:
Define constants for the Amiga custom registers
We need more activity in this thread. :)
Code:
or.w #$0700,sr
Code:
add sizeof_Metasprite - ((wMetasprites3_Delay - wMetasprites3_PosY)) + 1
Code:
// Fix at the later date
// ad. Fixing it caused too many errors. Leave it as it is
Code:
if (color.lower != color.upper) lower[block].add((offset, color.lower));
Code:
ld [hl], (35 + 8) + 10
Code:
ocs_to_rgb = lambda c : tuple(((c >> i) & 0x0F) * 0x11 for i in (8, 4, 0))
Code:
(function q() { console.log("(" + q.toString() + ")()") })()
Code:
var %y $calc(($sin($calc((%dm.c / 24) + (%cnt * 1.5))).deg * 96) + (720 / 2))
Code:
ff=lambda x,n=mp.dps//2:f'{mp.nstr(x,n-(mp.fabs(x)<1),min_fixed=mp.ninf,max_fixed=mp.inf):0{n+1}}'
Code:
minterms = (-1 << (threshold & 7)) & 0xFF;
Code:
elseif ($right($left($did(11, $did(11).sel).text, 2), 1) == $chr(58)) {
cd $did(11, $did(11).sel).text
}