klange changed the topic of #osdev to: Operating System Development || Don't ask to ask---just ask! || For 3+ LoC, use a pastebin (for example https://gist.github.com/) || Stats + Old logs: http://osdev-logs.qzx.com New Logs: https://libera.irclog.whitequark.org/osdev || Visit https://wiki.osdev.org and https://forum.osdev.org || Books: https://wiki.osdev.org/Books
<nomagno> mrvn: 900 kmh is the kind of speed at which most physics engines blow up...
<nomagno> But indeed the hectograms part is actually a bad idea
<nomagno> Because a modern f1 weighs 8000 hectograms, which would be enough to make the calculations go poof at small speeds
<geist> doesn't GBA have an arm7tdmi?
<geist> that has a perfectly capable multiplier
<mrvn> The Game Boy Advance (GBA) is a 32-bit handheld game console.
<mrvn> Why not go with 16.16 fixed point even?
<mrvn> CPU: ARM7TDMI @ 16.78 MHz
<geist> yah agreed, 16.16 would at least be more regular if you have to implement it in software
rustyy has quit [Quit: leaving]
rustyy has joined #osdev
<mrvn> On my Amiga I used 16.16 too because that fit nicely with 16*16=32 bit multipleis.
<mrvn> geist: does your 68010 have a bigger MUL or was that added at 040 level?
<mrvn> or maybe 030
<mrvn> nomagno: don't overlook that {uint8_t; uint16_t} on a 32bit cpu will have 1 byte padding so you save nothing over the full 32bit.
<mrvn> imho 24bit numbers would only make sense as 3 byte.
<mrvn> for 8/16 bit cpus
<geist> mrvn: i think it des the full mul from day 1, its just the ALU is narrow until 020
<geist> but there maqy have been a 64 mul or something added later
theruran has joined #osdev
<geist> yah i dont see any div or mul that wasn't defined on the 68000
nyah has quit [Ping timeout: 240 seconds]
gog has joined #osdev
Likorn has quit [Quit: WeeChat 3.4.1]
<mrvn> geist: There is a mul for d0 * d1 = d0:d1, 32 * 32 = 64
<mrvn> Some of the 64bit stuff go removed on the 060.
gog has quit [Ping timeout: 272 seconds]
ccx has quit [Ping timeout: 240 seconds]
ccx has joined #osdev
fwg has quit [Quit: .oO( zzZzZzz ...]
pretty_dumm_guy has quit [Ping timeout: 272 seconds]
lg has joined #osdev
papaya has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
papaya has joined #osdev
<jjuran> mrvn: 68020 added long MUL and DIV
<jjuran> geist: ^
<jjuran> 68000 and 68010 have 16*16 -> 32 MUL and 32/16 -> 16r|16q DIV
x88x88x has joined #osdev
hbag has quit [Remote host closed the connection]
<clever> jjuran: that reminds me, the vector core on the rpi also has a 16*16 -> 32 MUL opcode, that works on 16 lanes at once, ive tried to implement a 32bit mult with that, but ran into trouble with the addition step
yasar11732 has joined #osdev
<jjuran> clever: Sure, you can FOIL the multiplies, but you still have shifts and adds to do
<clever> FOIL?
<clever> and yeah, it was the 64bit add that i had trouble with
GeDaMo has joined #osdev
Retr0id has left #osdev [bye]
yasar11732 has quit [Ping timeout: 272 seconds]
<jjuran> clever: First, Outer, Inner, Last
<jjuran> (a + b)(c + d) —> ac + ad + bc + bd
<jjuran> and recognizing that a longword is the sum of the low word and the shifted high word
<clever> yeah, i did brute force my way into basically doing ah*bh, al*bl, ah*bl, and al*bh
<clever> roughly stealing x86's AH + AL = AX naming scheme
<clever> so i get 4 32bit products
<clever> but then i need to shift them by 0, 16, 16, and 32, and add them together
bradd has quit [Ping timeout: 246 seconds]
bradd has joined #osdev
Likorn has joined #osdev
<jjuran> and carry any overflowed bits
<geist> jjuran: aah must have been a variant of the same instruction. i didn' see it called out seprately in the 68k programmer manual
<geist> but it probably just listed as a sub variant
<geist> ah yeah i see it now. MULU.L and MULS.L
<geist> 020+
mahmutov has joined #osdev
yasar11732 has joined #osdev
fwg has joined #osdev
w41 has joined #osdev
Likorn has quit [Quit: WeeChat 3.4.1]
Clockface has quit [Ping timeout: 256 seconds]
mahmutov has quit [Ping timeout: 272 seconds]
<nomagno> Ended up adding uint32_t requirement to the engine's compatibility diagnostics header. Life's too short
<nomagno> I do have enough space for simulating an F1 crash in a flat-out corner now :P
pretty_dumm_guy has joined #osdev
woky has quit [Ping timeout: 256 seconds]
Likorn has joined #osdev
woky has joined #osdev
yasar11732 has quit [Ping timeout: 276 seconds]
psykose has quit [Ping timeout: 248 seconds]
psykose_ has joined #osdev
psykose_ is now known as psykose
Burgundy has joined #osdev
ccx has quit [Ping timeout: 276 seconds]
dennis95 has joined #osdev
nyah has joined #osdev
ccx has joined #osdev
gareppa has joined #osdev
gareppa has quit [Remote host closed the connection]
yasar11732 has joined #osdev
<yasar11732> Looking for a bootable HDD test program, something like memtest
<yasar11732> any suggestions?
dequbed has joined #osdev
yasar11732 has quit [Ping timeout: 256 seconds]
<zid> gparted?
fwg has quit [Quit: .oO( zzZzZzz ...]
yasar11732 has joined #osdev
<yasar11732> zid, does gparted have disc scanning feature?
fwg has joined #osdev
mahmutov has joined #osdev
fwg has quit [Client Quit]
<kazinsal> it's been a decade or so since I've used it but Hiren's BootCD used to have some solid HDD utils
terminalpusher has joined #osdev
gog has joined #osdev
gog has quit [Client Quit]
heat has joined #osdev
fwg has joined #osdev
Matt|home has quit [Read error: Connection reset by peer]
Killaship34 has joined #osdev
SGautam has joined #osdev
<bslsk05> ​www.system-rescue.org: SystemRescue - System Rescue Homepage
Killaship34 has quit [Quit: Lost terminal]
wgrant has quit [Ping timeout: 260 seconds]
yasar11732 has quit [Ping timeout: 246 seconds]
terminalpusher has quit [Ping timeout: 252 seconds]
wgrant has joined #osdev
gxt has quit [Remote host closed the connection]
gxt has joined #osdev
h4zel has joined #osdev
pretty_dumm_guy has quit [Ping timeout: 246 seconds]
h4zel has quit [Ping timeout: 248 seconds]
pretty_dumm_guy has joined #osdev
lainon has joined #osdev
lainon has quit [Ping timeout: 240 seconds]
dennis95 has quit [Quit: Leaving]
h4zel has joined #osdev
h4zel has quit [Ping timeout: 276 seconds]
gxt has quit [Ping timeout: 240 seconds]
gxt has joined #osdev
<geist> so might be time to start doing something about my crashy server
<geist> it's crashing so much now (about once a day or two) that it's unusuable
<geist> i'm guessing i should start by reseating everything and then seeing if it explodes again
<GeDaMo> I used to have an intermittent crashing problem that was caused by the power connector to the motherboard not having a latch :/
<geist> yah. this is a hard lockup. the sytem just freezes cold, so dunno
<geist> have to reset it
<GeDaMo> Sometimes mine would freeze, other times it would try to reboot but fail somewhere in the BIOS checks making me think it was connected to drives or USB
<GeDaMo> I jiggled a lot of cables before spotting it :P
<mrvn> removing everything and cleaning all contacts could help
GeDaMo has quit [Remote host closed the connection]
pretty_d1 has joined #osdev
pretty_dumm_guy has quit [Ping timeout: 276 seconds]
gog has joined #osdev
pretty_d1 has quit [Quit: WeeChat 3.5]
pretty_dumm_guy has joined #osdev
<geist> yah, i can't quite tell when it started, either when i put the new cpu in it (2700x -> 3950x) or when i added the 10gbe card
<geist> so probably first thing after cleaning everything and if it continues i'll pull out the card next
srjek has joined #osdev
vdamewood has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
SGautam has quit [Quit: Connection closed for inactivity]
xenos1984 has quit [Read error: Connection reset by peer]
dude12312414 has joined #osdev
dude12312414 has quit [Remote host closed the connection]
xenos1984 has joined #osdev
wootehfoot has quit [Quit: Leaving]
gxt has quit [Remote host closed the connection]
gxt has joined #osdev
pretty_dumm_guy has quit [Ping timeout: 240 seconds]
mahmutov has quit [Ping timeout: 272 seconds]
pretty_dumm_guy has joined #osdev
pretty_dumm_guy has quit [Client Quit]
pretty_dumm_guy has joined #osdev
Likorn has quit [Quit: WeeChat 3.4.1]
Burgundy has quit [Ping timeout: 272 seconds]
Likorn has joined #osdev
heat has quit [Remote host closed the connection]
srjek has quit [Ping timeout: 248 seconds]