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
raphaelsc has quit [Remote host closed the connection]
troseman has quit [Quit: troseman]
simjnd has joined #osdev
simjnd has quit [Ping timeout: 245 seconds]
Affliction has quit [Quit: Read error: Connection reset by beer]
gog has joined #osdev
simjnd has joined #osdev
simjnd has quit [Ping timeout: 248 seconds]
gog has quit [Quit: byee]
simjnd has joined #osdev
simjnd has quit [Ping timeout: 276 seconds]
goliath has quit [Quit: SIGSEGV]
arminweigl_ has joined #osdev
arminweigl has quit [Ping timeout: 252 seconds]
simjnd has joined #osdev
arminweigl_ is now known as arminweigl
arminweigl has quit [Ping timeout: 252 seconds]
arminweigl has joined #osdev
simjnd has quit [Ping timeout: 252 seconds]
simjnd has joined #osdev
simjnd has quit [Ping timeout: 260 seconds]
\Test_User has joined #osdev
Affliction has joined #osdev
surabax has quit [Quit: Leaving]
simjnd has joined #osdev
simjnd has quit [Ping timeout: 252 seconds]
rorx_ has quit [Ping timeout: 252 seconds]
simjnd has joined #osdev
rorx has joined #osdev
amadaluzia has quit [Remote host closed the connection]
marr-ales-fios has joined #osdev
bauen1 has quit [Ping timeout: 252 seconds]
marr-ales-fios has quit [Quit: Konversation terminated!]
\Test_User has quit [Ping timeout: 252 seconds]
\Test_User has joined #osdev
marr-ales-fios has joined #osdev
marr-ales-fios has quit [Quit: Konversation terminated!]
marr-ales-fios has joined #osdev
marr-ales-fios has quit [Quit: Konversation terminated!]
marr-ales-fios has joined #osdev
marr-ales-fios has quit [Client Quit]
marr-ales-fios has joined #osdev
marr-ales-fios has quit [Quit: Konversation terminated!]
bauen1 has joined #osdev
k0valski18891621 has joined #osdev
marr-ales-fios has joined #osdev
marr-ales-fios has quit [Quit: Konversation terminated!]
Lucretia has joined #osdev
netbsduser`` has joined #osdev
marr-ales-fios has joined #osdev
marr-ales-fios has quit [Quit: Konversation terminated!]
<kof673> https://xhomer.isani.org/xhomer/xhomer.html#quick_start the graphics demo for venix is ...qix-like :D
<bslsk05> ​xhomer.isani.org <no title>
* kof673 starts qix for venix movement
<kof673> the venix C preprocessor seems to limit your defines to 8 chars or so :D it does not complain, but multiple such defines will conflict and it will override the previous :D
<kof673> *does not complain if you go over, unless you have another name that matches later, then it notes value overridden
marr-ales-fios has joined #osdev
<kof673> and it doesn't have unsigned char apparently, seen that before elsewhere :D
bauen1 has quit [Ping timeout: 252 seconds]
Guestboobis has joined #osdev
<Guestboobis> hello
gog has joined #osdev
marr-ales-fios has quit [Quit: Konversation terminated!]
marr-ales-fios has joined #osdev
Left_Turn has joined #osdev
bauen1 has joined #osdev
Guestboobis has quit [Read error: Connection reset by peer]
marr-ales-fios has quit [Remote host closed the connection]
amadaluzia has joined #osdev
Guestboobis has joined #osdev
Guestboobis has quit [Remote host closed the connection]
Turn_Left has joined #osdev
Left_Turn has quit [Ping timeout: 265 seconds]
GeDaMo has joined #osdev
Left_Turn has joined #osdev
Turn_Left has quit [Ping timeout: 272 seconds]
Turn_Left has joined #osdev
Left_Turn has quit [Ping timeout: 276 seconds]
marr-ales-fios has joined #osdev
Left_Turn has joined #osdev
Turn_Left has quit [Ping timeout: 276 seconds]
bauen1 has quit [Ping timeout: 252 seconds]
Turn_Left has joined #osdev
Left_Turn has quit [Ping timeout: 252 seconds]
goliath has joined #osdev
stilicho has joined #osdev
joe9 has quit [Quit: leaving]
marr-ales-fios has quit [Remote host closed the connection]
Guestboobis has joined #osdev
Guestboobis has quit [Remote host closed the connection]
stilicho has quit [Quit: Client closed]
karenw has joined #osdev
goliath has quit [Quit: SIGSEGV]
goliath has joined #osdev
karenw has quit [Ping timeout: 244 seconds]
karenw_ has joined #osdev
bauen1 has joined #osdev
eddof13 has joined #osdev
goliath has quit [Quit: SIGSEGV]
eddof13 has quit [Quit: eddof13]
amadaluzia has quit [Ping timeout: 252 seconds]
amadaluzia has joined #osdev
amadaluzia has quit [Remote host closed the connection]
eddof13 has joined #osdev
karenw_ has quit [Ping timeout: 265 seconds]
FreeFull has quit []
xenos1984 has quit [Ping timeout: 268 seconds]
xenos1984 has joined #osdev
FreeFull has joined #osdev
* geist yawns
xvmt has quit [Remote host closed the connection]
xvmt has joined #osdev
<clever> geist: starting to look at ohci drivers, and its surprisingly hard to find good docs, all of the specs i can find online dont match up with the register set in osdevwiki, linux, and xell(a 360 bootloader)
<geist> huh. dunno. something remotely new has ohci or for old stuffs?
<clever> geist: i think firewire also has ohci
<clever> and its jamming up the google
<geist> ah, firewire ohci is a completely different thing
<geist> yes
<geist> i have some old pdf from 2007 called hcir1_0a.pdf that might help
<geist> oh actually 1999, the file date was wrong
<clever> googling that leads to http://www.o3one.org/hwdocs/usb/hcir1_0a.pdf
<geist> yep thats it
<geist> i didn't read too closely, but i saved it in a folder called ohci so i think it's the thing
<clever> and yep, for once, the registers (on page 108) match the osdev wiki!
<clever> that should help a lot!
<geist> i have no idea how good implementations were for that spec back in the day or if they tended to be buggy or whatnot
<clever> i mainly need to implement the hardware side
<clever> with this pdf, i can now decode what xell is doing to the controller, and how it should respond to that
<clever> but i can also implement tinyusb ohci on top of this
amadaluzia has joined #osdev
xenos1984 has quit [Ping timeout: 248 seconds]
Turn_Left has quit [Read error: Connection reset by peer]
xenos1984 has joined #osdev
Left_Turn has joined #osdev
guideX is now known as guide
<nikolar> zid and I were doing ehci
<nikolar> But we got stucksies :(
simjnd has quit [Remote host closed the connection]
simjnd has joined #osdev
simjnd has quit [Remote host closed the connection]
unlord has joined #osdev
Turn_Left has joined #osdev
Left_Turn has quit [Ping timeout: 272 seconds]
simjnd has joined #osdev
<unlord> Hi, I am booting MS-DOS 6.22 on VirtualBox 7.1.4. When it comes up the A20 line is disabled. Trying two methods for enabling it just hang the VM
<unlord> Is that normal?
<FreeFull> Sounds like a bug in virtualbox or something
<FreeFull> You're using the himem that came with MS-DOS 6.22, right?
<FreeFull> It *should* just work out of the box
<unlord> Yes
<unlord> I feel like this used t owork
<heat> you're probably doing something wrong
<heat> highly unlikely something like this is broken
<unlord> can you test?
<heat> you can test by booting something like a linux ISO
<unlord> the computer boots
<heat> which i guarantee tries to enable the A20 line if running on a BIOS system
<unlord> I'm on an airplane, I cannot download an iso
<Ermine> Alpine to the rescue
<Ermine> or even tc
<Ermine> tcl*
<unlord> Ermine: got a link?
<heat> alpine is still large right?
<heat> anyway, re the A20 line
<heat> AIUI (i've never directly messed with it) enabling the A20 line is kind of confusing and you have multiple methods, and some may just not work
<heat> and i can almost assure you that vbox does not emulate the A20 line masking. at least qemu does not
<unlord> both of these methods hang VirtualBox http://paste.debian.net/hidden/cebd5e36/
<bslsk05> ​paste.debian.net: Debian Pastezone
<Ermine> ... time to recall tasm...
<heat> i'm not surprised the BIOS call doesn't work
<Ermine> actually, nah
<heat> i don't know how DOS works but you should check that you're actually executing at the proper address
<heat> i.e with an infinite loop
<unlord> Ermine: that is nasm
<unlord> heat: there are no addresses in this program
<heat> there's an org 0x100 up there
<unlord> heat: and no instructions have an addressin them
<heat> that doesn't matter
<Ermine> org 100h is a standard incantation in dos programs
<heat> are you actually executing the instructions you think you are?
<unlord> what are you talking about?
<unlord> yes
<Ermine> because dos loads stuff at some particular address
<unlord> Ermine: so no, but close enough
<unlord> DOS loads programs wherever, and DOS COM programs get program control at relative address CS:0x100
<Ermine> well, anyway
<Ermine> i've dug out some dos assembly and it starts with '.model tiny', you may want to use it
<unlord> Ermine: this is nasm
simjnd has quit [Ping timeout: 248 seconds]
carbonfiber has joined #osdev
<unlord> do these mean anything? http://paste.debian.net/hidden/e101fb93/
<bslsk05> ​paste.debian.net: Debian Pastezone
netbsduser`` has quit [Ping timeout: 265 seconds]
amadaluzia has quit [Read error: Connection reset by peer]
amadaluzia has joined #osdev
Left_Turn has joined #osdev
Turn_Left has quit [Ping timeout: 252 seconds]
goliath has joined #osdev
karenw_ has joined #osdev
netbsduser`` has joined #osdev
amadaluzia has quit [Ping timeout: 272 seconds]
Turn_Left has joined #osdev
Left_Turn has quit [Ping timeout: 272 seconds]
<clever> nikolar: i was starting with ohci, because i feel like thats sort of required? and ohci alone is still enough to do things like mass-storage and hid
<clever> but ehci kinda cant do hid
<nikolar> Why can't it
<clever> ehci can only talk to high-speed devices
<clever> and most HID are only LS or FS
<clever> nikolar: from what ive read online, if you want to talk to both usb1 and usb2 devices, you need to drive both the ohci and ehci parts of the card at once
GeDaMo has quit [Quit: 0wt 0f v0w3ls.]
<unlord> Thanks a lot Walt Whitman.
<nikolar> clever: except that I'm pretty the only difference for ehci is that you set or don't set a single bit
<nikolar> For low/high speed
<bslsk05> ​wiki.osdev.org: Enhanced Host Controller Interface - OSDev Wiki
<clever> > However, EHCI is NOT expected to support them. Instead, you will find an UHCI or OHCI companion controller. Therefore you must implement OHCI and UHCI as well.
simjnd has joined #osdev
simjnd has quit [Ping timeout: 260 seconds]
nadja has quit [Quit: bye!]
eddof13 has quit [Quit: eddof13]
eddof13 has joined #osdev
eddof13 has quit [Client Quit]
<nikolar> Ah ok
<clever> nikolar: another complication is split transactions
<clever> i think the OHCI is only used for LS/FS directly on a root port
<clever> i think LS/FS behind a HS hub, uses split transactions on the EHCI controller
<nikolar> Oh yuck
<nikolar> Yeah that's a complication
<clever> but i'm also fuzzy on how the controller knows which is it
<nikolar> I mean it's the same piece of hardware doing both
<nikolar> So whatever
<clever> LS/FS identify the speed by having either D+ or D- pulled high? with a resistor, which one tells you the speed
<clever> but HS, the controller will emit a 480mhz chirp on a data line, just after the bus reset
<clever> and a HS device will use the FS pull, but respond to that 480mhz chirp
<clever> so, only after enabling a port, and sending the usb reset signal, can you tell what speed the device is
<nikolar> I think the resistor is different too
<clever> and i think part of why that mess exists, is so a EHCI+OCHI card can operate on only OHCI drivers
<clever> so an old os can limp along at FS on a HS card
<nikolar> Indeed
<nikolar> Which is actually quite a nice touch honesty
<clever> XHCI found a different solution, hide all of that in the hw, and just declare what speeds the ports can operate at
<clever> and i assume you can then just ignore speeds you dont support?
<nikolar> Eh I don't actually know anything about xhci
<nikolar> So who knows kek
nadja has joined #osdev
nadja has quit [Client Quit]
nadja has joined #osdev
Gooberpatrol_66 has quit [Ping timeout: 248 seconds]
simjnd has joined #osdev
netbsduser`` has quit [Ping timeout: 268 seconds]
simjnd has quit [Ping timeout: 248 seconds]
amadaluzia has joined #osdev
vdamewood has joined #osdev
carbonfiber has quit [Quit: Connection closed for inactivity]
imyxh has quit [Ping timeout: 244 seconds]
imyxh has joined #osdev
Celelibi has quit [Quit: Quitte]
Celelibi has joined #osdev
simjnd has joined #osdev
Turn_Left has quit [Read error: Connection reset by peer]
simjnd has quit [Ping timeout: 245 seconds]
simjnd has joined #osdev
Lucretia has quit [Remote host closed the connection]
simjnd has quit [Ping timeout: 252 seconds]
eddof13 has joined #osdev
arminweigl_ has joined #osdev
arminweigl has quit [Ping timeout: 244 seconds]
eddof13 has quit [Client Quit]
arminweigl_ is now known as arminweigl
simjnd has joined #osdev
simjnd has quit [Ping timeout: 276 seconds]
alpha2023 has quit [Ping timeout: 260 seconds]
Gooberpatrol_66 has joined #osdev