| |
| |
| |
|
Page: 1 2 3 4 5 6 7 8 9 10 11 12
<mmiikkee12> http://www.nondot.org/sabre/os/files/Disk/HD_PORTS.asm <geist> well, those are th ports you would use to talk to a controller, yes <mmiikkee12> ok... <geist> this is likely to be pretty hard, since you probably have never written a driver before <mmiikkee12> nope <geist> dont read ***embly <geist> find some better example out there <mmiikkee12> something tells me i'm going to need more i/ functions <mmiikkee12> *i/o <geist> eh? <bbls> can anyone point it's browser to my IP? http://81.180.7.4 <geist> nope <geist> can't contact host <bbls> hmm <mmiikkee12> timed out <bbls> try now <geist> nope, same <bbls> hmm, ok thx <mmiikkee12> i found one that looks good but it needs a peekb and probably some others if i read more <mmiikkee12> http://www.nondot.org/sabre/os/files/Disk/IDEInterrogate.zip <geist> have you written drivres for the keyboard yet? <mmiikkee12> yes <geist> using interrupts? <mmiikkee12> i can type stuff... <mmiikkee12> yes <geist> okay, so you have a little bit of experience then <mmiikkee12> is the ide controller on an irq also? <geist> es <geist> yes <mmiikkee12> (ints and irqs are the same right?) <geist> what's confusing is there are like 10 different versions of the controllers <geist> but generally speaking they're all backwards compatible with the "original" one <geist> so you can treat it like a cl***ic slow controller that you access via in/out and it *should* work <mmiikkee12> ok... <geist> note that floppy disk controllers are entirely different <geist> different driver <mmiikkee12> um... <mmiikkee12> which one's easier to write? <geist> probably the floppy <geist> if anything just because it's been done a million times <bbls> ah? <geist> and it's easier to test <mmiikkee12> ok, i'll start with floppy code <mmiikkee12> plus it boots from a floppy so :P <geist> plus I've written a floppy driver so I know a little more about that <geist> http://newos.org/WebSVN/filedetails.php?repname=NewOS&path=%2Fnewos%2Fkernel%2Faddons%2Fdev%2Fdisk%2Ffloppy%2Ffloppy.c&rev=0&sc=0 <air> geist: do u still use gentoo? <geist> sure <dr_evil> morning geist <geist> howdy dr_evil <air> u know how to make ls sort using the old way? <geist> what is the old way? <geist> also I ***ume you read the man page and all that? <air> a recent change has made it ignore periods and underscores when sorting <mmiikkee12> >>#tuxtalk <geist> it should be the same ls from fileutils that most other distros use <joew***on> apt-get install debian <mmiikkee12> :P <mmiikkee12> rm -Rf / (jk) <air> geist: run `ls -la` in your home dir <geist> done <air> are the hidden files mixed around with normal files? <geist> nope <air> are u up to date? <geist> yup <air> grr <wobster> 5.2.1? <geist> just updated last night <geist> hmm, interesting. <geist> ls is in two different packages it seems <geist> fileutils-4.1.11-r1 <geist> and coreutils-5.2.1-r6 <geist> "equery b ls" told me that <air> u have fileutils installed? <geist> yes, but I also have coreutils installed <mmiikkee12> how do you get a linux system *without* fileutils? <air> gentoo replaced it long ago with coreutils for me <mmiikkee12> wait, i'm thiking about coreutils <geist> hmm, maybe I should undo fileutils <geist> this particular installation is at least 2-3 years old <mmiikkee12> go to #tuxtalk, this is an osdev channel :P <geist> but anyway, on my other gentoo machine it only has coreutils <geist> but it has the same behavior <geist> okay, just removed fileutils to no ill effect <air> hrm <wobster> what a tragedy! <geist> mmiikkee12: dude, shut p <mmiikkee12> ok... <geist> we're not taking over the channel <wobster> were bottomhalves a linux-invention or did some BSD already implemented them before? <geist> sometimes off topic stuff pops up, but computer stuff somewhat related to oses are about as non-offtopic as you can get <geist> and sometimes it spawns interesting conversations <geist> plus air and I own this channel. :) <mmiikkee12> :P <geist> wobster: good question. my guess is lots of other systems use something similar, but it's called something else <air> :) <mmiikkee12> explains making hot plasmas in microwaves... <geist> I think the modern bsds use interrupt thread,s and I know solaris does <geist> on NT you can do a bunch of processing in DPCs <geist> which are used heavily in the kernel <wobster> hum. ok. Ill have a little research-session then <alphakiller> geist ! :D <alphakiller> long time <alphakiller> hehee <geist> sup alphakiller! <mmiikkee12> anyway. how do i read a file from a floppy with inportb and outportb? <alphakiller> I've got my os working on playstation 2 <alphakiller> :D <alphakiller> hehehe <geist> mmiikkee12: well, it's certainly more complicated that can be described on an irc channel <alphakiller> that's all my news :D <alphakiller> hehe <geist> but there are lots of floppy docs <alphakiller> and yours ? <wobster> mmiikkee12, that won't work that easily. you'll need several processing-layers to do so <alphakiller> what's up geist ? <geist> alphakiller: not much. I work at apple now, been hacking on an arm emulator on the side, workig on a little microkernel for kicks <alphakiller> wow <alphakiller> apple !? hehehe <alphakiller> microkernel for apple ? <geist> no, for kicks <mmp> geist: sorry if disturbing; what is 'kicks'? little microkernel for bootstrapping? <geist> hence not for work <alphakiller> oh ;) <mmp> :-) <geist> ah textutils have been rolled into coreutils as well <alphakiller> man, I'm a bit bored <alphakiller> seems I'll not find a job on Brazil <alphakiller> :( <alphakiller> (on this area) <geist> mmp: no, just for fun <alphakiller> I should move to the US, or kind of <alphakiller> .. <geist> yeah <mmp> :-) <mmp> geist: well, if I'll be once able to to microkernel just for fun, I'llbe quite happy man:-) <geist> keep working <geist> I had to debug the emulator again last night., couple of subtle bugs <geist> and got hit by the tertiary operator precidence thing again <geist> here's the offending line <geist> result = a + b + get_condition(PSR_CC_CARRY) ? 1 : 0; <air> alphakiller: get a work visa to live up here and lots of companies will hire u for a lot less than they would pay americans ;) <geist> why the tertiary operator is incredibly low in precidence I dont know <alphakiller> air: I don't mind ... my pleasure is to work <alphakiller> hehehe
Return to osdev or Go to some related
logs:
java
|
|