cr1901 changed the topic of ##yamahasynths to: Channel dedicated to questions and discussion of Yamaha FM Synthesizer internals and corresponding REing. Discussion of synthesis methods similar to the Yamaha line of chips, Sound Blasters + clones, PCM chips like RF5C68, CD/floppy disk theory of operation, and the 68k CPU are also on-topic. Channel logs: https://libera.irclog.whitequark.org/~h~yamahasynths
<NiGHTS>
llvm-project/llvm/lib/Target/M68k at main · llvm/llvm-project · GitHub
<andlabs>
cool
<andlabs>
also ugh I wish that goldbot UI would let me see the hex dump as well
<andlabs>
or if it does I can't find it
<andlabs>
it is letting me assemble a jmp immediate which I'm pretty sure is illegal
<andlabs>
oh
<andlabs>
it's not assembling at all
<andlabs>
clang 11 is still acting like it should be intel and gcc can't find libm
<qu1j0t3>
yeah JMP imm is not available according to my UM
<qu1j0t3>
looks like situations where it would generate d(sp),-(sp) tend to be frame pointer relative if anything , OR, most commonly, the value you want is already in a register.
<qu1j0t3>
so it seems like a problem mostly for hand coders...
<andlabs>
...
<andlabs>
lol
Degi_ has joined ##yamahasynths
<andlabs>
I went back to trying to identify this batch of ROMs that I'm almost done with
<andlabs>
and sure enough
<andlabs>
ROM:0001F380 move.l 6+arg_0(sp),-(sp)
Degi has quit [Ping timeout: 240 seconds]
Degi_ is now known as Degi
<andlabs>
and immediately after that,
<andlabs>
ROM:0001F384 movea.l $A+arg_0(sp),a0
<andlabs>
that code can *only* work if the evaluation order was source, then destination
<andlabs>
and this absolutely is the output of a C compiler
<qu1j0t3>
yeah, i'm not saying it's impossible to generate, just that it must be quite uncommon, since needs would normally be met by frame pointer offset or register contents.
<andlabs>
(this is from the mega drive game 'winter challenge', some early accolade Non-IOC-Trademark-Infringing Winter Games thingy)
<qu1j0t3>
not all compilers may use frame pointer. all the ones i'm familiar with since the 1980s do, though.
<andlabs>
(they followed that up in 1992 with... you guessed it: "summer challenge")
<andlabs>
no there's no way in hell this code is hand-written
<andlabs>
it's both too systematic and too chaotic
<andlabs>
and it's likely a port from some accolade PC game
<NiGHTS>
matt godbolt sur Twitter : "If it's a new compiler then: https://t.co/Veypu7q3ru has some details. In the same directory is how to add a language if you mean that. Else, filing an issue or upvoting one if one exists already! Thanks!… https://t.co/o9CCgiZLDd"
<qu1j0t3>
in this economy???
SceneCAT has quit [Quit: *Mreow*]
<tunixman>
writing new compilers is the modern fiddling while rome burns.
andlabs has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
andlabs has joined ##yamahasynths
Patater has quit [Read error: Connection reset by peer]
<andlabs>
....why
<tunixman>
privilege.
<tunixman>
woah, it's written in node. I didn't realize how accurate my fiddling comment was.
<cr1901>
tunixman: You don't have to write a new compiler, you just have to compile a new gcc, add it to CI, etc
<cr1901>
which is a far more reasonable task and yet still one I don't want to commit to rn
andlabs has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<qu1j0t3>
ages ago i collected some 'small 68000 compilers' if we ever find some tuits would be fun to add to gb
<qu1j0t3>
but electronics has my attention for now
<tunixman>
yeah, electronics is more tangible
Patater has joined ##yamahasynths
andlabs has joined ##yamahasynths
andlabs_ has joined ##yamahasynths
andlabs has quit [Ping timeout: 245 seconds]
natalie has quit [Ping timeout: 252 seconds]
natalie has joined ##yamahasynths
SceneCAT has joined ##yamahasynths
cr1901 has quit [Remote host closed the connection]
cr1901 has joined ##yamahasynths
cr1901 has quit [Remote host closed the connection]
cr1901 has joined ##yamahasynths
cr1901 has quit [Read error: Connection reset by peer]
cr1901 has joined ##yamahasynths
cr1901 has quit [Read error: Connection reset by peer]