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
<FireFly> yeah, I remember the default homebrew template basically has a shim that reads the controllers/etc and sets it in memory the arm9 core can read, for the arm7 program
<zid> FireFly: Funner fact, one of the main names in the DS scene is firefly
<zid> or rather, was, 20 years ago..
<FireFly> yes, I remember running into their work back when I looked into it maybe 15 years ago, which was confusing :p
<immibis> i tried to make an N64 emulator for DS, not knowing much about emulation or the N64. That failed, but it was a very fun project
<zid> They wrote the modified rt2560 driver that let you talk to the DS from a PC, importantly
<immibis> they are roughly comparable hardware
<FireFly> I used to be a fairly avoid consumer of DS homebrew at one point
<FireFly> good scene
<zid> (and sgstair who I am still friends with, wrote the ds side wifi library)
<immibis> casual reminder that the DS era was before the smartphone era.
<immibis> having DS homebrew was having a smartphone before smartphones. No internet though.
<FireFly> zid: oh TIL, didn't know that part
<FireFly> ... their nick is familiar
<immibis> other people had MP3 players, you had a multifunction device.
<zid> my steam friends list is better than my github friends list
<FireFly> oh right
<FireFly> wait that's probably it, I bet it's from zachtronics games back in the day
<immibis> I wish youtube could text-to-speech the automatically translated subtitles
<zid> yea sgstair loves zachtronics games
<FireFly> back when I got nerdsniped hard by TIS-100
<FireFly> yeah that checks out
<FireFly> small world
<immibis> someone ported TIS-100 to minecraft
<immibis> it's TIS-3D and it's very cool
<zid> he gets me the new ones for christmas :D
<FireFly> it's the kinda thing where once you drop out from it for a while it's really hard to get back in, at least for me
<zid> I'm still sad last call bbs's engineer of the people part was so limited
<zid> I miss engineer of the people
<FireFly> because it's so dependent on keeping weird quirks of the particular game's emulator cached in your head and abusing them
<zid> yea
bitoff__ has joined #osdev
<zid> I need to just.. start over on shenzhen i/o at some point
<FireFly> same probably
<zid> I can probably beat spacechem in a single sitting pretty easily though
<zid> and opus
<FireFly> spacechem is one of the ones I could never get into
<zid> and exapunks probably
<FireFly> TIS-100, shenzhen I/O and exapunks vibed with me
<zid> exapunks isn't as hard as some of the others, and I can remember a lot of the tricks
<FireFly> and to some extent uhh, construction?
<zid> what was the premise
<zid> I'll tell you the name
<FireFly> what's the oldschool cyrillic silicon-substrate-y one called again
<FireFly> I forget
<zid> engineer of the people
<FireFly> oh huh
<zid> KOHCTPYKTOP
<bslsk05> ​www.zachtronics.com: Zachtronics | KOHCTPYKTOP: Engineer of the People
<FireFly> ah yes
<FireFly> constructor, that was it
<FireFly> (but cyrillic)
<FireFly> I had the right idea :p
<zid> lastcall bbs has a small version of it
bitoff_ has quit [Ping timeout: 252 seconds]
<zid> it's not very exciting :(
<zid> The dungeons and dragons game and its solitaire are fucking rad though
<zid> I have erm.. 500 wins
netbsduser has quit [Ping timeout: 245 seconds]
rpnx has joined #osdev
vinc has quit [Read error: Connection reset by peer]
bitoff_ has joined #osdev
bitoff__ has quit [Ping timeout: 268 seconds]
PublicWiFi has quit [Quit: WeeChat 4.0.3]
Left_Turn has quit [Ping timeout: 268 seconds]
rorx has quit [Ping timeout: 252 seconds]
<pwng> Hi all. I have a 2-stage bootloader that does nothing but read 2nd sector to (0x07E0:0x0000, 0x7E00) & attempts to switch to protected mode... i get triple-faults unless I set segment registers to 0 in the second stage... my code is here: https://ideone.com/YRBhGt ... I'd appreciate if someone explains why does this happen :-) (there's a very
<pwng> similar problem here: https://forum.osdev.org/viewtopic.php?f=1&t=29687 but their problem appears to be loading 2nd stage at 0x7E00:0000, and then jump to 0x7E00) Many thanks in advance :)
<bslsk05> ​ideone.com: YRBhGt - Online IDE & Debugging Tool - Ideone.com
<bslsk05> ​forum.osdev.org: OSDev.org • View topic - Trouble with 2 Stage Bootloader - Calling 2nd Stage
<Mutabah> pwng: `ORG` specifies the load address - so all local symbols will be set assuming that the first address in the file is the value in ORG
<Mutabah> so, you've configured the assember to assume a segment base of 0
<bslsk05> ​www.nasm.us: NASM - The Netwide Assembler
<pwng> Thank you for your response... so i understand why it works (and i can just move on since it works), but do you see any potential issues with having the the segment values of 0? i already switched to protected mode so it's probably fine but just to make sure
<pwng> segment registers' values*
<pwng> Mutabah: ^ (i hope this is the proper way to mention someone :D)
<Mutabah> (Yep, that's how you do it)
<Mutabah> No issues with setting the segment registers to zero
<Mutabah> (while in real mode)
<Mutabah> well, maybe don't set `ss` to zero
<Mutabah> but `ds` (and the other data regs, but they're not really needed) should be zero for this code
<Mutabah> once you're in protected mode, you should reset all of them to the data selector anyway
<pwng> yes, now I understand... many thanks Mutabah
Left_Turn has joined #osdev
Left_Turn has quit [Read error: Connection reset by peer]
<epony> ORG 100h
<epony> segmentation fault
goliath has quit [Quit: SIGSEGV]
Stary has quit [Quit: ZNC - http://znc.in]
CompanionCube has quit [Quit: ZNC - http://znc.in]
Stary has joined #osdev
CompanionCube has joined #osdev
rorx has joined #osdev
navi has quit [Quit: WeeChat 4.0.4]
rpnx has quit [Quit: My laptop has gone to sleep.]
pwng has quit [Quit: Client closed]
gog has quit [Quit: byee]
ramenu has joined #osdev
[itchyjunk] has quit [Read error: Connection reset by peer]
heat has quit [Remote host closed the connection]
heat has joined #osdev
heat has quit [Ping timeout: 260 seconds]
ramenu has quit [Remote host closed the connection]
vdamewood has joined #osdev
gbowne1 has quit [Quit: Leaving]
Gooberpatrol_66 has joined #osdev
Gooberpatrol66 has quit [Read error: Connection reset by peer]
k0valski18891621 has quit [Quit: Ping timeout (120 seconds)]
Maja has joined #osdev
Starfoxxes has quit [Ping timeout: 245 seconds]
Starfoxxes has joined #osdev
epony has quit [Remote host closed the connection]
elastic_dog has quit [Quit: elastic_dog]
elastic_dog has joined #osdev
epony has joined #osdev
Left_Turn has joined #osdev
vinc has joined #osdev
DrPatater has quit [Quit: Explodes into a thousand pieces]
epony has quit [Remote host closed the connection]
GeDaMo has joined #osdev
vinc has quit [Read error: Connection reset by peer]
vai has quit [Remote host closed the connection]
vinc has joined #osdev
exit70 has quit [Ping timeout: 264 seconds]
vinc has quit [Read error: Connection reset by peer]
exit70 has joined #osdev
vdamewood has quit [Quit: Textual IRC Client: www.textualapp.com]
DrPatater has joined #osdev
Yoofie5 has joined #osdev
Yoofie has quit [Ping timeout: 260 seconds]
Yoofie5 is now known as Yoofie
netbsduser has joined #osdev
antranigv has quit [Ping timeout: 256 seconds]
vinc has joined #osdev
k4m1 has quit [Ping timeout: 268 seconds]
antranigv has joined #osdev
goliath has joined #osdev
vinc has quit [Read error: Connection reset by peer]
antranigv has quit [Ping timeout: 260 seconds]
antranigv has joined #osdev
vinc has joined #osdev
navi has joined #osdev
vinc has quit [Read error: Connection reset by peer]
netbsduser has quit [Ping timeout: 268 seconds]
netbsduser has joined #osdev
gog has joined #osdev
[itchyjunk] has joined #osdev
epony has joined #osdev
epony has quit [Remote host closed the connection]
heat has joined #osdev
GeDaMo has quit [Ping timeout: 255 seconds]
GeDaMo has joined #osdev
elastic_dog has quit [Ping timeout: 276 seconds]
elastic_dog has joined #osdev
epony has joined #osdev
vinc has joined #osdev
netbsduser has quit [Ping timeout: 276 seconds]
vinc has quit [Read error: Connection reset by peer]
xenos1984 has quit [Read error: Connection reset by peer]
Mutabah has joined #osdev
netbsduser has joined #osdev
xenos1984 has joined #osdev
vinc has joined #osdev
<Ermine> heat: https://i.imgur.com/X8KYMN8.png --- maybe it's another exception that happens only on gcc?
<bslsk05> ​i.imgur.com <no title>
<Ermine> And what is tty line disc?
<epony> "thy" disc shall be of discipline and disciple
<epony> "tv-220" dookie
<epony> from the 80ies, glass upon glass
<epony> DEC terminals to your dust
<epony> you shall walk through the shaddow of the fields of magnetophillim
<epony> and discipline formalisation you will be gathering from all the sequences therein
vinc has quit [Quit: Lost terminal]
valshaped7424880 has quit [Quit: Gone]
valshaped7424880 has joined #osdev
navi has quit [Ping timeout: 246 seconds]
navi has joined #osdev
Arthuria has joined #osdev
heat_ has joined #osdev
heat has quit [Ping timeout: 260 seconds]
Arthuria has quit [Remote host closed the connection]
xenos1984 has quit [Ping timeout: 246 seconds]
xenos1984 has joined #osdev
heat has joined #osdev
heat_ has quit [Read error: Connection reset by peer]
Arthuria has joined #osdev
vdamewood has joined #osdev
<Ermine> Ah, discipline. Read that initially as disk...
FreeFull has quit [Quit: rebooting]
Left_Turn has quit [Remote host closed the connection]
Left_Turn has joined #osdev
Left_Turn has quit [Remote host closed the connection]
rustyy has quit [Quit: leaving]
rustyy has joined #osdev
masoudd has joined #osdev
FreeFull has joined #osdev
xenos1984 has quit [Ping timeout: 268 seconds]
xenos1984 has joined #osdev
Arthuria has quit [Ping timeout: 276 seconds]
Arthuria has joined #osdev
<heat> Ermine, can you symbolize those libc .text addresses? just point llvm-symbolizer to sysroot/usr/lib/libc.so and pass the address after the +
<Ermine> like llvm-symbolizer -e sysroot/usr/lib/libc.so 65732 ? it prints '??' '??:0:0'
Arthuria has quit [Ping timeout: 268 seconds]
heat has quit [Read error: Connection reset by peer]
heat has joined #osdev
<Ermine> However, 200300 points at /home/peter/code/onyx/src/musl/src/math/__rem_pio2_large.c:293:13
<Ermine> Oh, actually those are hexademical, seems like I need to convert those to decimal
<heat> just add a 0x
<Ermine> So, 646c1 -> musl/src/stdio/vfprintf.c:454:8 , 200300 -> GNU_EH_FRAME_HDR , 654a1 -> musl/src/stdio/vfprintf.c:634:3 , 65732 -> musl/src/stdio/vfprintf.c:683:13
<heat> wow that's weird and vague and annoying
<heat> i can only assume that top getting no /proc and gcc codegen might be making it blow up
<heat> but who knows
<Ermine> Probably I should switch to clang
<heat> you definitely shouldn't, you caught me a bad VM bug :P
GeDaMo has quit [Quit: That's it, you people have stood in my way long enough! I'm going to clown college!]
helene has joined #osdev
vdamewood has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
gbowne1 has joined #osdev
masoudd_ has joined #osdev
Left_Turn has joined #osdev
masoudd has quit [Ping timeout: 256 seconds]
janemba has quit [Ping timeout: 245 seconds]
sbalmos has quit [Ping timeout: 268 seconds]
sbalmos has joined #osdev
helene has quit [Remote host closed the connection]
helene has joined #osdev
janemba has joined #osdev
flom84 has joined #osdev
frkazoid333 has quit [Ping timeout: 245 seconds]
Piraty has quit [Quit: -]
Piraty has joined #osdev
justache has quit [Quit: ZNC 1.8.2 - https://znc.in]
dude12312414 has joined #osdev
justache has joined #osdev
dude12312414 has quit [Remote host closed the connection]
netbsduser has quit [Ping timeout: 252 seconds]
flom84 has quit [Remote host closed the connection]
Arthuria has joined #osdev
Arthuria has quit [Ping timeout: 252 seconds]
Arthuria has joined #osdev
heat has quit [Remote host closed the connection]
heat has joined #osdev
zxrom has quit [Read error: Connection reset by peer]
zxrom has joined #osdev
Arthuria has quit [Killed (NickServ (GHOST command used by Guest684531))]
Arthuria has joined #osdev
goliath has quit [Quit: SIGSEGV]