<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>
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
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
<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]