00:00:00 --- log: started osdev/02.10.03 01:08:41 http://sourceforge.net/tracker/?func=detail&aid=503645&group_id=1&atid=350001 01:08:58 check out the date on that sf request 01:18:09 --- join: Divine (~john@12-246-112-182.client.attbi.com) joined #osdev 01:28:20 --- join: trans (~trans@fatwire-201-195.uniserve.ca) joined #osdev 01:37:58 --- join: seunosewa (~login@213.181.68.14) joined #osdev 01:43:05 --- quit: sludge (Connection timed out) 01:45:59 --- join: sludge (sludge@letku.net) joined #osdev 01:50:07 --- part: damieng left #osdev 02:23:22 anybody alive? 02:24:58 sorta 02:28:59 hmmm .. air .. 02:29:58 does C have any standard regexp functions? 02:30:12 or linux 02:30:23 ANSI C? I don't think so 02:31:05 glibc 02:31:11 it does 02:31:21 u know the name? 02:31:39 search for 'regexp' under 'info libc' 02:31:45 fnmatch 02:32:29 and related functions ... use info 02:32:35 thanks 02:34:21 I just broke through the how-can-you-decode-more-than-one-instruction-in-a-clock-cycle barrier for my CPU conceptual design 02:34:58 heh 02:35:16 multiple decoders ofcourse :) 02:35:33 sure, but program order is sequential 02:35:48 so the decoders can't be completely independent 02:36:09 thats why u have multiples of everything and call em pipelines 02:36:16 Each decoder needs to keep tab on the other one's 'code' somehow 02:36:26 no it dont 02:36:49 grr ... think through it, you'll discover that its true. you have to keep them synchronized 02:37:11 each decoder will decode the instruction, then have a single unit that checks for dependancies 02:37:32 if they conflict then stall a pipeline 02:37:37 or else some instructions which are not supposed to be executed will be 02:37:46 air: you've done this before? 02:38:08 i've built a cpu before 02:38:23 it didnt have multiple pipelines tho 02:38:23 hmmm ... and it executed multiple instructions per clock cycle? 02:38:37 it was superscalar? 02:38:43 no 02:38:54 (score = 0, redundant question, I know) 02:39:12 hmmm ... let me see ... you're old, right? 02:39:22 heh 02:39:48 I mean, older than me ... or was it an 8-bit CPU for class or something? 02:39:51 i have an EE degree so i know how a cpu works 02:40:14 hmmmn... you've gotta help me then 02:40:36 tell me about your CPU 02:40:36 it wasnt for class but i made it in class 02:41:02 it was a simple cpu 02:41:07 speed (MHz, MIPS); what units did it contain 02:41:10 only had a couple instructions 02:41:30 --- quit: trans (Read error: 110 (Connection timed out)) 02:41:35 mhz was too low to mention 02:41:58 just tell me, please! 02:42:13 it was also too low to be impress, thus i dont remember :) 02:42:15 did you have variable-length instructions? 02:42:23 no 02:42:47 I don't understand how all instructions can be the same length 02:42:57 I mean, what if you need to load a constant? 02:43:23 btw, this was 8 years ago and its 4am right now so details are kinda fuzzy 02:43:23 seunosewa: read some docs on the ARM procs 02:44:04 Rico: please can you point me to the docs? I am travelling in like 2 hours. Please? 02:44:21 I'll try to find them 02:48:54 seunosewa: the ultimate cpu should have about 8 64bit and 8 32bit registers, single simple pipeline, 4 smp cores on the same die and tons of cache 02:49:23 and it should have a really wide data bus so it can feed the family 02:49:54 air: why 8? why not 16 or 32? 02:50:08 it would have 16 total 02:50:21 half 32bit, the other half 64bit 02:50:24 air: and the SMP issue ... what about apps that cannot take full advantage of SMP? 02:50:35 hahaha 02:50:43 this is a brix cpy 02:50:44 cpu 02:50:58 brix is one big app with lots of threads 02:51:10 air: oh! I see ... (: 02:51:30 it would keep those cores full at all times 02:51:51 its gc would fire up whenever a core wasnt being used 02:53:22 air: I'm sorry, but, I want to develop this CPU for me own OS (: Another thing is it must support multiple sub-os's under the main OS. 02:53:36 uhh 02:55:14 http://www.ultratechnology.com/f21cpu.html 02:59:16 http://www.google.nl/search?q=arm+instruction+set 03:04:31 Rico: thanks. but, can you just describe how one loads a constant 64-bit variable into a register and keeps the instructions 32-bit wide? 03:06:20 I mean, I was gazing at the specs for OpenRISC and I didn't find this out ... 03:06:42 now I'm on the ARM site but ... 03:08:30 I guess the instruction encoding itself contains a short pointer to the location in memory where that constant is located 03:09:32 Rico: I really wish you would answer ... but I'll brb 03:10:08 I will 03:10:08 --- quit: tirloni ("ircII EPIC4-1.0.1 -- Are we there yet?") 03:10:30 I can't load a 64-bit immediate at once 03:11:24 the arm is 32-bits, and you could load an 8 or 10 bits immetiate per instruction 03:12:55 it has 10 bits, the first 8 specify the immediate and the last 2 specify at what position in the register to put it, i.e. beginning at bit 0, 8, 16 or 24. 03:14:08 or it could be 12 bits in total, 2 index bits and 10 value bits, can't remember exactly. 03:17:04 --- join: file (Administra@mctn1-0502.nb.aliant.net) joined #osdev 03:35:37 Rico: you mean you can't load a 32-bit immediate at once? 03:39:19 Rico: are you an engineer too? 03:40:42 anyway, I think I get the openrisc style now. And I get the one you mentioned, too 03:41:20 But this means an instruction to load a constant into a register actually does two things at once. This seems 'un-RISCy' 03:50:40 --- join: trans (~trans@fatwire-201-195.uniserve.ca) joined #osdev 03:56:23 --- quit: stormbind_ (Connection timed out) 03:56:32 --- join: stormbind__ (~stormbind@p508351A1.dip.t-dialin.net) joined #osdev 04:03:25 --- join: eks (~eks@h24-82-197-140.wp.shawcable.net) joined #osdev 04:05:03 seunosewa: does two things? which are? 04:05:13 what about automatic register allocation by hardware? when you perform any instruction, another register is allocated to store the result, and subsequent instructions can access that result by pointing to the location of the instruction that contains that result 04:05:31 Rico: compute the address of the immediate and load the value of that addreess 04:05:33 and no, I'm not an engineer, just a student doing IT. 04:06:02 Rico. address* 04:06:08 no, it doesn't point to an address, the immediate is part of the opcode 04:06:21 Rico: what about 32-bit loads? 04:06:32 depends 04:06:51 Rico: full 32-bit loads. depends? 04:06:53 what if only the upper 8 bits are set? 04:06:59 we would only need 1 opcode 04:07:14 what if we want to load the value 57? we would need 1 opcode. 04:07:27 a full one needs probably 4 opcode 04:07:27 s 04:07:58 Rico: ok. 04:09:12 but I think they researched that, and I think it seems that immediates using only the lower 8 bits are done a lot, so a big disadvantage it isn't. 04:11:19 Rico: I think they researched correctly. But sometimes you might want to load a 32-bit pointer value and you would have to use 128-bits of code to do that 04:11:21 ! 04:12:20 a pointer as an immediate value? I'd rather think that pointer is somewhere in memory. 04:12:31 so just a load is needed 04:14:57 ok ... you are right 04:16:25 do you have any interesting links on the net about cpu design? 04:16:49 like, the basic building blocks of a cpu? (I know only very little about it) 04:17:15 well, not really although opencores.com and researchindex.com help somewhat 04:25:44 --- quit: HeavyJoost (Read error: 60 (Operation timed out)) 04:32:27 I think I'll stick with osdev :) 04:34:10 (-: 04:34:39 but I've gtg now, talk to you later 04:34:48 ok. bye! 04:55:11 --- join: lodda (Lothar@p508FCE30.dip.t-dialin.net) joined #osdev 04:55:12 hey 04:58:20 hey 04:59:08 seunosewa! hi 04:59:21 --- join: KWeber (~kmw@gc-nas-01-s71.cinergycom.net) joined #osdev 04:59:41 how is the day? 05:00:12 fine 05:00:34 lodda: I wish you were a chip designer 05:00:42 --- nick: KWeber -> Kurt 05:00:43 how are you, seunosewa? 05:00:51 hi Kurt 05:02:17 lodda: I am fine; not perfect but quite fine ;) 05:03:50 hehe 05:04:09 well, i have a free day :) 05:04:24 so i am quite happy 05:04:36 but i will write a test tomorrow in latin :( 05:05:30 --- quit: trans (Read error: 110 (Connection timed out)) 05:06:34 tests are good 05:06:48 you think so? 05:07:13 it depends on whether you are prepared or not :-P 05:08:00 hmm 05:08:09 i think it'll be not too hard 05:08:22 --- quit: eks ("going to work") 05:08:29 i'll get a C probably 05:08:39 *cough* 05:08:51 what does cough mean? 05:09:39 it means I think a C is a low thing to aim for 05:10:02 well 05:10:02 it's latin 05:10:02 I know; I'll rather not take a course than get a C 05:10:02 my latin mark is C and it'll stay so 05:13:44 well, my other chance was french 05:13:44 --- quit: Kurt ("Connection reset by rear") 05:13:44 i'd get a E in french 05:13:44 you have to do all these courses? 05:13:44 when i got to 7th grade i had choose between latin and french 05:13:44 ok 05:13:44 when i got to 9th grade (i am in this right now) i had to choose between french/latin/geography+history/math+informatic/physic+biology 05:13:44 guess what i chose :) 05:13:52 latin, math, informatic, biology 05:14:31 i could just chose one of it 05:14:41 i chose latin in 7th grade 05:14:54 i chose math+informatic 05:15:16 now i have to learn excel :( 05:18:54 btw i don't like languages in school. my marks are ever C and sometimes even worse (english: D (3 times) :( latin: D (one time)) 05:19:09 no problem, lodda. 05:19:16 english is my special-hated lang 05:19:39 I never liked languages either .. but I recognize the usefulness of the english langaage course 05:20:09 recognized* 05:25:44 and language :P 05:25:56 :P 05:26:21 well, i try to speak as often as possible my native lan 05:26:24 g 05:26:48 what's your native language? 05:27:48 --- join: draq (~norm1111a@ESS-p-144-138-43-110.mega.tmns.net.au) joined #osdev 05:29:38 german 05:30:26 how can i define the exact position of a text in html? 05:35:48 hm 05:35:57 seunosewa ? 05:36:01 --- join: indigo_ (indigo@bgp01105107bgs.wbrmfd01.mi.comcast.net) joined #osdev 05:36:07 what is your native lang? 05:36:18 --- nick: indigo_ -> indigo_work 05:36:35 mooo 05:36:59 hey indi 05:37:03 hje 05:37:09 hej even 05:37:31 hm... 05:37:39 i don't feel like opening another terminal..so... 05:44:09 --- quit: indigo_work (Client Quit) 05:44:09 hmm 06:06:32 --- join: darkito_ (darkito@80.103.142.186) joined #osdev 06:07:01 hihi 06:12:13 hi darkito_ 06:13:28 hi lodda :) 06:13:32 how's going? 06:14:04 fin, fine... 06:14:10 how are you? 06:14:16 well, CSS is annoying.. 06:14:37 a bit tired but fine :) 06:35:21 --- join: trans (~trans@fatwire-201-195.uniserve.ca) joined #osdev 06:36:11 lodda: I don't know html, sorry 06:36:26 lodda: Not the advanced stuff, anyway (DHTML whatever) 06:38:00 but you can answer what ya native language is, can't you? 06:38:28 ;) 06:43:46 yes. yoruba 06:47:42 --- join: gianluca (~kernel@ppp-64-134.28-151.libero.it) joined #osdev 06:47:58 hello 06:48:02 gianluca! 06:48:13 hi seunosewa 06:58:28 gianluca: hi! 06:58:36 --- quit: AboryM ("Client Exiting") 06:58:52 hi looda! 07:00:04 gianluca: what's the italian name for mafia? ;) 07:00:33 mafia 07:00:37 just this 07:00:45 well there are different flavours of it :) 07:00:47 tricy 07:01:05 my cam sux :( 07:01:06 wrong window 07:01:29 lodda? are you searching JOB? :D 07:02:00 yup :) 07:02:29 job in the mafia? 07:03:04 oh. well they say once inside you never came back 07:03:06 yes :) 07:03:23 and they don't means that you get a good pension 07:03:50 s/means/mean 07:04:13 hmm 07:04:22 i do it by heart :P 07:04:34 oh. you born for social caring :) 07:05:06 yes of course, i want to protect my city :) 07:05:13 oh. from who? 07:05:38 everybody who tries to get money in my city 07:05:42 --- join: oink (~ziga@void.phear.org) joined #osdev 07:05:45 LALALALLA 07:05:53 oink! 07:05:58 --- join: cookin (jrydberg@night.trouble.net) joined #osdev 07:06:02 I have my laptop shipped :o 07:06:05 --- part: cookin left #osdev 07:06:07 cookin! 07:06:20 oink: coool 07:06:33 what do you mean by get money? 07:06:36 I'm trying to figure out where the floppy drive is .. 07:07:37 everybody who has a job is dangerous :) i have to kill him or he has to give me his money 07:07:45 oink: LoL 07:07:56 oink: did you find the cd-rom drive? 07:08:10 ya 07:08:13 well fuck 07:08:14 there's none 07:08:32 oh. 07:08:43 how do you put an OS on it then? 07:08:57 lodda: I'll have to burn this netinst woody image :\ 07:09:03 http://www.geocities.com/ResearchTriangle/Node/2354/ 07:09:06 "we are CPU designers" 07:09:07 hey, i have slackware 3.0 in floppy disks :D 07:09:24 I wonder ... 07:11:05 ? 07:11:34 well, they are CPU designers, gianluca, that's all! 07:11:57 --- join: eks (~eks@24.70.176.227) joined #osdev 07:12:21 :) 07:12:22 now I'm aggressively googling for the phrase "cpu designers" 07:12:25 wb ekx 07:12:25 eks* 07:12:28 ok 07:14:22 hi :) 07:15:38 --- quit: seunosewa (Remote closed the connection) 07:15:47 --- join: acme (acme@pD9544689.dip.t-dialin.net) joined #osdev 07:16:28 hey can someone help me with a sourceforge trouble? 07:16:42 tell me 07:17:00 i haven't my project directory 07:17:08 oh ? 07:17:09 how can i ask support to sourceforge crew? 07:17:16 yes they accepted my project 07:17:21 i've got shell and cvs 07:17:24 there's email and online forms 07:17:27 but there's no directory 07:17:31 hm 07:17:35 where? 07:17:47 --- join: HeavyJoost (HeavyJoost@a213-84-139-110.adsl.xs4all.nl) joined #osdev 07:18:09 http://sourceforge.net/docman/display_doc.php?docid=7632&group_id=1 07:18:10 there :) 07:18:15 --- quit: HeavyJoost (Read error: 54 (Connection reset by peer)) 07:18:20 oh 07:18:41 i was looking elsewere. 07:18:46 --- join: HeavyJoost (HeavyJoost@a213-84-139-110.adsl.xs4all.nl) joined #osdev 07:19:17 --- join: seunosewa (~login@213.181.68.14) joined #osdev 07:19:25 wb seunosewa 07:19:48 thanks. 07:26:36 --- join: Aardappel (wvo96r@p508C77A3.dip.t-dialin.net) joined #osdev 07:32:16 --- quit: HeavyJoost (card.freenode.net irc.freenode.net) 07:32:16 --- quit: Magik (card.freenode.net irc.freenode.net) 07:32:16 --- quit: Robert (card.freenode.net irc.freenode.net) 07:32:16 --- quit: eks (card.freenode.net irc.freenode.net) 07:32:16 --- quit: darkito_ (card.freenode.net irc.freenode.net) 07:32:16 --- quit: lodda (card.freenode.net irc.freenode.net) 07:32:16 --- quit: stormbind__ (card.freenode.net irc.freenode.net) 07:32:16 --- quit: indigo (card.freenode.net irc.freenode.net) 07:32:16 --- quit: air (card.freenode.net irc.freenode.net) 07:32:19 --- quit: gpf`afk (card.freenode.net irc.freenode.net) 07:32:19 --- quit: Rico (card.freenode.net irc.freenode.net) 07:32:19 --- quit: slowcoder (card.freenode.net irc.freenode.net) 07:32:22 --- quit: ctkrohn (card.freenode.net irc.freenode.net) 07:32:22 --- quit: wli (card.freenode.net irc.freenode.net) 07:32:22 --- quit: acme (card.freenode.net irc.freenode.net) 07:32:22 --- quit: Aardappel (card.freenode.net irc.freenode.net) 07:32:22 --- quit: trans (card.freenode.net irc.freenode.net) 07:32:24 --- quit: sludge (card.freenode.net irc.freenode.net) 07:32:24 --- quit: Divine (card.freenode.net irc.freenode.net) 07:32:24 --- quit: eirikn (card.freenode.net irc.freenode.net) 07:32:24 --- quit: asmodeus (card.freenode.net irc.freenode.net) 07:34:05 --- join: I440r (~mark4@1Cust72.tnt2.bloomington.in.da.uu.net) joined #osdev 07:34:05 --- join: Aardappel (wvo96r@p508C77A3.dip.t-dialin.net) joined #osdev 07:34:05 --- join: HeavyJoost (HeavyJoost@a213-84-139-110.adsl.xs4all.nl) joined #osdev 07:34:05 --- join: acme (acme@pD9544689.dip.t-dialin.net) joined #osdev 07:34:05 --- join: eks (~eks@24.70.176.227) joined #osdev 07:34:05 --- join: trans (~trans@fatwire-201-195.uniserve.ca) joined #osdev 07:34:05 --- join: darkito_ (darkito@80.103.142.186) joined #osdev 07:34:05 --- join: lodda (Lothar@p508FCE30.dip.t-dialin.net) joined #osdev 07:34:05 --- join: stormbind__ (~stormbind@p508351A1.dip.t-dialin.net) joined #osdev 07:34:05 --- join: sludge (sludge@letku.net) joined #osdev 07:34:05 --- join: Divine (~john@12-246-112-182.client.attbi.com) joined #osdev 07:34:05 --- join: indigo (indigo@bgp01105107bgs.wbrmfd01.mi.comcast.net) joined #osdev 07:34:05 --- join: air (~brand@12-254-199-50.client.attbi.com) joined #osdev 07:34:05 --- join: asmodeus (~www@h232n2fls33o867.telia.com) joined #osdev 07:34:05 --- join: eirikn (~eirik@a217-118-45-95.bluecom.no) joined #osdev 07:34:05 --- join: wli (wli@holomorphy.com) joined #osdev 07:34:05 --- join: Rico (Rico@node-c-1c6a.a2000.nl) joined #osdev 07:34:05 --- join: Magik (matt@3ffe:b80:1065:1:0:0:0:2) joined #osdev 07:34:05 --- join: slowcoder (~jaja@7n0szc1.cm.chello.no) joined #osdev 07:34:05 --- join: ctkrohn (~ctkrohn@ip68-100-176-44.nv.nv.cox.net) joined #osdev 07:34:05 --- join: Robert (~Robert@robost86.tsps1.freenet6.net) joined #osdev 07:34:05 --- join: gpf`afk (~bgamari@h0020af25039b.ne.client2.attbi.com) joined #osdev 07:34:34 wb guys 07:38:27 if a table is too big to be dumped with mysqldump, how can I dump it? 07:38:36 --- quit: oink (Read error: 104 (Connection reset by peer)) 07:38:57 hmmnn.... create a script to dump it manually? 07:39:10 mysqlpleasedumpit 07:39:19 --- join: oink (~ziga@void.phear.org) joined #osdev 07:39:19 and pipe it through bzip2? 07:39:22 gianluca: :-) 07:40:18 you have to be sick.. 6.7mil records :/ 07:40:18 lol@gianluca 07:40:18 root@server:~# mysqldump -p telecom archived_bills | sort -u | > archived_bills.csv 07:40:18 Enter password: 07:40:18 mysqldump: Out of memory (Needed 8164 bytes) 07:40:18 mysqldump: Got error: 2008: MySQL client run out of memory when retrieving data from server 07:40:18 :( 07:40:18 I have 768MB of RAM and 1GB of swap on that machine.. 07:40:32 eks: os? 07:40:51 buy 3 GB memory and make a 60 GB swap file :) 07:43:03 going 07:43:15 bye people 07:43:41 --- quit: gianluca ("QuIRC for *nix - http://quirc.org/") 07:44:02 will linux use a 1g swap drive ? 07:44:05 isnt there a max swap partition size ? 07:44:08 dunno, but theoritical a 6x86 should be able to handle 64 GB of mem 07:44:13 .. 07:44:34 Dan Dobberpuhl ... hmmm... 07:46:18 http://bershad.com/ds/ a place for me to find more about the people behind alpha which AFAIK should have been the best chip ever 07:47:13 hmm 07:47:22 i could ask my dad :) 07:47:28 --- join: Javanx (~javanx@213.45.18.199) joined #osdev 07:47:32 I mean, are they martians or what? 07:47:39 dax_: dad ?!?!?!?!?!?!?! 07:47:44 dax_: hey! 07:47:56 what the hell means AFAIK? 07:48:17 my dad worked at digital :) 07:48:24 :( 07:48:38 dax_: what has he done there? 07:48:38 afaik = as far as i know 07:48:45 all kinds of stuff 07:48:50 lodda: to my knowledge its "as far as I know" 07:48:55 ... 07:48:55 dax_: hey, come back 07:49:07 hmm? 07:49:09 dax_: where does your dad work? 07:49:12 --- nick: dax_ -> dax 07:49:18 now he works at madge networks 07:49:31 got fired after the digital/compaq thinggy 07:49:39 so what has he done exactly? 07:49:49 dax: was he in the alpha team or something? 07:49:59 * seunosewa has his hands in his mouth 07:50:00 nah 07:50:10 didn't do any design 07:50:20 dax: what did he do? 07:50:48 "where he was number two in the European marketing operation and responsible for the strategy and implementation of Digital's Internet activities. He also held various senior product marketing positions both in the United States and in Europe." 07:51:14 afaik he made some alpha-related decisions 07:51:49 oh dear, people say marketting was digital's weak point... 07:52:02 hehe 07:52:22 well the only mistakes they really made were selling the alpha & digital itself 07:52:26 arm* 07:52:27 ugh 07:52:30 strongarm 07:52:32 not alpha 07:52:33 ... 07:52:54 --- part: Javanx left #osdev 07:53:25 ok .. the strongarm is a strong product :P 07:53:32 he didn't made alot of alpha related decissions afaik 07:55:17 np dax 07:56:41 wasn't the alpha supposed to be released before 93 btw? 07:57:25 yes, I suppose its not a young chip .. 07:57:37 92* 07:57:47 the alpha was designed to have a life of 25 years 07:57:59 it's only 10 years in its expected life 07:58:09 didn't they indend to release it a few years earlier? 07:58:44 not much more earlier than they did no 07:58:48 elements of alpha have found their way into chips like the AMD Athlon (bus) and Itanium 07:58:56 not only the bus 07:59:19 the hammer chips look even more like the alpha 07:59:29 nothing as much of a delay as the Itanium 07:59:43 mainly because amd has quite a few alpha people around :) 07:59:54 its a pity because I probably won't be designing a CPU (heh) if the alpha was still around. It was "pure" enough for me :-) 08:00:10 --- join: cookin (jrydberg@night.trouble.net) joined #osdev 08:00:18 alpha people head amd teams 08:00:31 i wonder how the performance of the hammers will be... 08:00:40 seunosewa: i know... and that's a good thing (tm) ! 08:00:41 hmm 08:01:10 dax: well, it certainly will be faster than desktops but I only expect real 64-bit performance from the Opterons 08:01:22 why 08:01:24 ... which will have real 64-bit prices 08:01:30 (: 08:01:53 the athlon 64 or whatever they are going to call it should pack quite a punch too 08:02:09 it's the same chip basicly 08:02:10 becuse that's the way its done. They to extract money from the corporations who need 64-bit high performance 08:02:32 are yu sure. From what I read ClawHammer is like an extended athlon 08:02:35 only fewer HT links and a single channel DDR memory controler 08:02:43 but opteron shold be more advanced 08:02:45 no 08:02:48 same chip 08:02:48 heh 08:03:00 ok then. learn more, i will 08:03:30 only that the opteron is indended for 2-4 way systems or maybe 8 way... can't remember 08:04:47 hmm 08:05:04 they prolly won't get alpha like performance 08:05:23 I need these guys' personal pages 08:05:30 but at 2+ ghz that thing might be pretty uhm... fast :) 08:05:49 not yet, perhaps 08:06:15 hmm 08:06:40 i once found a nice site comparing the alphas to the athlons/hammers 08:06:43 but i lost it 08:06:53 ouch 08:07:18 it really showed alot of common points 08:12:12 and it basicly said that a 64 bit athlon-like chip should be able to achieve alpha like performance 08:12:12 if not better 08:12:12 well, why was alpha discontinued? 08:12:12 because of compaq :) 08:12:12 and where do you get the basic cpu-designer training? 08:12:12 hmm 08:12:12 considering the fact that I don't school in MIT? 08:12:12 ;) 08:12:12 hehe 08:12:12 my cpu designing skills suck too :) 08:12:12 hmm 08:12:12 dax: sure, since you've not learnt it 08:12:12 --- quit: cookin ("Leaving") 08:12:12 although i might go study some microelectronics stuff after highschool... like my sister 08:12:12 hmm .. not you! me! Maybe I can realy can learn this just like programming .. read and think 08:12:23 heh 08:12:59 I don't understand these companies that refuse to put pricing information on their sites 08:13:09 which ones? 08:13:24 like alchemy.com 08:13:37 the risc microcontrolers? 08:13:44 or sellers of "lcd display module"s 08:13:47 --- join: revanthn (~revanthn@203.129.127.18) joined #osdev 08:14:08 hi all. 08:14:21 hi Zenton 08:14:38 hey revanthn. 08:15:00 how ya doing 08:15:57 who is Zenton? 08:16:19 don't know just met him 08:16:28 hehe. 08:16:33 seuno*:How is your CPU research going 08:16:41 fine, thank you 08:17:12 i feel like writing a compiler 08:17:12 ... 08:17:13 hmm 08:17:14 brb 08:17:14 I managed to think up another form of ISA when I leant more 08:17:55 dax:what compiler do you want to design 08:18:00 it helps me to understand the concept if I have to 'reinvent' 1970 concepts during the learning process 08:18:05 :-) 08:18:27 reinventing the wheel it always happens 08:19:27 * HeavyJoost is back (gone 00:49:28) 08:19:39 yeah. I re-invent it. I learn more, I throw away the old inventions until finally I get to 2002 08:19:58 until i can understand chips like Athlon :-) 08:21:39 back 08:22:03 forth compiler i think 08:22:05 just for fun :) 08:23:07 forth compiler ...hmmm ... you know robert? He's a forth guy now 08:23:27 yah heh 08:26:34 --- join: I440r_ (~mark4@1Cust72.tnt2.bloomington.in.da.uu.net) joined #osdev 08:26:50 hi l440r 08:27:14 dax: the right person for your project is in :-) 08:27:25 :) 08:27:26 --- quit: I440r (Connection reset by peer) 08:27:27 yes 08:27:30 hi l440r_ 08:27:34 I440r! 08:27:36 fscking stupid irc connection dumped :P 08:27:46 wow everyone loves me!!!!1 08:27:48 heh 08:28:00 either that or they all learned forth and worship me :) 08:28:04 * I440r_ hides 08:28:05 i think i'm gonna write a forth compiler 08:28:14 dax :) 08:28:20 just for fun 08:28:21 if you need any help just ask 08:28:23 dax:thinking is different from writing one 08:28:32 but dont write it in c or ill put you on ignore :P 08:28:41 forth needes optimizing cmopilers right 08:28:57 how bout write a basic one in C so that i could start writing it in forth? :D 08:29:10 rev my compiler isnt optimizing but marcel hendrics writes optimizing forth compilers 08:30:00 the code generated by his compiler is still hundreds of times smaller than the equiv c but is 10 or 20 times faster than the code mine produces 08:30:10 tho mine isnt slow :) 08:30:34 isn't it relatively easy to get a basic forth compiler working? 08:30:52 yacc and lex with help 08:31:23 dax you can write a forth compiler in less than 24 hours 08:31:27 l440r:in what lang did you write that compilers 08:31:36 should be relativly easy even without lex/yacc 08:31:38 er *compiler 08:31:59 comp.arch.* -- newsgroups, why didn't I think of them as an excellent information source? 08:32:00 my forth kernel is coded in 100% pure assembler. 08:32:13 tho i do have COMPILED definitions inside the kernel they are assembled 08:32:18 im HAND compiling them 08:32:46 then therse a few k of pure forth sources that i use to EXTEND the basic kernel with 08:33:05 give me that link for your compiler 08:33:06 theres about 150k of extensions 08:33:10 isforth.clss.net 08:33:31 that 150k of extensions SPOURCES hehe 08:33:42 the whole thing is 34k of executable 08:34:03 but in that 34k i have an almost complete replacement for both libc and libncurses 08:34:24 i never tried forth much but i will now 08:34:45 rev theres a forth tutorial out there erm ill try remember its name... 08:34:49 erm dax is using it i think 08:35:17 what other projects have you worked on 08:35:18 its based on tom zimmers FPC and has some things in it that are specific to fpc but isforht is loosly based on the look and feel of fpc 08:35:23 me ? 08:35:28 LOTS hehe 08:35:32 * oink . o O ( .. forth ? .. ) 08:35:37 i have code of mine flying arround in the U2 spy plane :P 08:36:21 if you use windowmaker i have a neat dockapp i wrote :) 08:37:02 --- quit: revanthn (Read error: 104 (Connection reset by peer)) 08:38:05 oink lol yes! F-O-R-T-H 08:38:24 why do you like forth so much? 08:38:43 I440r_: okok :) 08:45:37 because forth lets ME decide. with c the compiler decides 08:45:37 when you code c what you are realy doing is dragging and dropping huge bloatified libraris into the easy bake oven and cooking it for an hour or 2 08:45:37 then out pops a cake 08:45:37 usually with a flat spot in the middle 08:45:37 but you can do without the libraries in C if you want to... 08:45:37 .. if you want to .. most of us don't want to 08:45:37 and we also know the C libraries are not bloated /*flame-proof*/ 08:45:37 --- join: I440r (~mark4@1Cust72.tnt2.bloomington.in.da.uu.net) joined #osdev 08:45:37 wtf 08:45:37 back 08:45:37 fscking firewall is fucking with me 08:45:37 dammit :) 08:45:37 * seunosewa hides 08:45:37 (if i said brb) 08:45:37 I440r: how do you want to call the childrens? :P 08:45:37 ? 08:45:37 lol 08:45:37 fscking firewall is fucking with me :) 08:45:37 lodda eh ? 08:45:37 oh 08:45:37 --- quit: I440r_ (Read error: 104 (Connection reset by peer)) 08:45:37 * seunosewa comes out of hiding! 08:45:37 hehe 08:45:37 why has he quit now? 08:45:37 i didnt 08:45:37 that was my ghost 08:45:37 ah..ok 08:46:06 --- quit: eks (Read error: 104 (Connection reset by peer)) 08:46:29 seunosewa: harhar 08:47:54 can someone go to www.windowmaker.org and tell me if its up ? 08:49:23 sec 08:49:40 i can't reach it 08:50:11 brb rebooting this windows box to flush the HOSTS file i just deleted 08:50:14 --- quit: I440r ("Reality Strikes Again!") 08:50:19 has anybody MS flighsimulator? 08:51:05 (and a DSL connection?) =) 08:52:35 I have another flight simulator. 08:52:42 And an ADSL connection., 08:52:44 which? 08:52:45 I can't, too 08:53:27 lodda: Chuck Yeager's Advanced Flight Simulator 2. 08:53:52 is that a flight simulator which is in war or is it just nice flying? 08:54:03 hmm..is it downloadable in the web? 08:55:28 Robert: ? 08:55:44 Well... it's from 1988. :-) 08:55:44 It's nice flying, probably one of the first PC games ever using more than 320x200 resolution. 08:56:27 coool 08:56:32 robert: you were here all along? 08:56:34 i wanna have it :) 08:56:59 does he have to say something to every stupid debate? 09:00:41 seunosewa: What? 09:00:51 lodda: ? 09:01:16 lodda: ? 09:01:24 hehe :) 09:01:36 lodda: I'll send it to you over ICQ or something, I got it on my Windows computer. 09:01:48 cr4ck3d by r0b3rt!@$#! 09:01:53 hehe 09:02:03 lodda: explain your "stupid debate" comment 09:02:08 well, first have to put you in contact list :) 09:02:46 lodda: On ICQ, I use the address robost86@hotmail.com 09:02:54 when i understand you right, you were asking Robert why he doesn't say so much, although he was here. 09:02:57 is that so? 09:03:46 just surprised 09:04:31 I just woke up. 09:04:46 you sleep until 18:00 ?!!?! 09:04:54 Nope, just a long nap. 09:05:07 nap = Nickerchen? 09:05:12 Maybe. 09:05:32 Look it up :) 09:05:44 Nickerchen = sleeping for a while, but not at night 09:05:48 and not too long 09:06:02 --- join: I440r (~mark4@1Cust72.tnt2.bloomington.in.da.uu.net) joined #osdev 09:06:42 is windowmaker.org down ? 09:06:42 wb 09:06:53 Hey. 09:06:55 i can't reach it 09:07:01 I have no idea :) 09:07:07 lodda: Yeah, then that's it. 09:07:24 * Robert hat ein Nickerchen gehabt! 09:07:41 I have been resisting this hungerbite for about 3 hours and its affecting my efficiency greatly. gtg. bye! 09:07:46 * seunosewa must eat sometimes 09:07:49 --- nick: seunosewa -> seun_away 09:07:49 k 09:07:57 Robert hat ein Nickerchen gemacht :) 09:08:03 Ach so. 09:08:04 can you get to cyberlok.hopto.org ? 09:08:11 bye seunosewa 09:10:19 --- quit: acme (Read error: 104 (Connection reset by peer)) 09:16:10 --- quit: draq (Remote closed the connection) 09:26:17 heh my parser writing skills suck 09:29:13 dax forth has a simple parser 09:29:15 called WORD 09:29:46 you tell it what to delimit on (usually a space) and it extractz the next delimeter seperated string from the input stream 09:30:09 hmm 09:42:13 I really like this newsgroup concept. Is there a way to access newsgroups apart from google groups on linux? 09:45:23 --- quit: darkito_ ("changing servers") 09:45:32 --- nick: seun_away -> seunosewa 09:46:27 --- quit: lodda (Killed (NickServ (Ghost: Lothar_!Lothar@p508FE7C6.dip.t-dialin.net))) 09:46:35 --- join: lodda (Lothar@p508FE7C6.dip.t-dialin.net) joined #osdev 09:47:41 lodda? 09:48:24 yes? 09:49:01 i tried to play a dos game... 09:49:29 probably it'll happen some times now..i'll try again :) 09:54:37 l440r: do you have any experience with newgroups? 09:54:39 hmm 09:54:48 my compiler writing skills suck 09:56:33 --- join: lodda_ (~lodda@p508FE7A7.dip.t-dialin.net) joined #osdev 09:56:54 back am i :) 09:57:20 --- quit: lodda (Killed (NickServ (Ghost: lodda_!~lodda@p508FE7A7.dip.t-dialin.net))) 09:57:24 --- nick: lodda_ -> lodda 10:12:27 --- quit: trans (Read error: 110 (Connection timed out)) 10:22:49 --- quit: I440r ("Reality Strikes Again!") 10:24:26 --- join: Kitanin (~clark@SCF61185.ab.hsia.telus.net) joined #osdev 10:26:58 --- part: seunosewa left #osdev 10:32:38 i really think i should buy a PS2 10:32:58 maybe 10:32:58 hmm 10:33:16 with Linux and a 40 GB HD and an fast ethernet adapter it's pretty useful 10:33:37 it has also a standard VGA screen adapter :) 10:35:43 hmm 10:35:48 this sucks 10:36:15 can't figure out how to write a forth compiler 10:36:32 --- join: minddog (~minddog@ip68-98-85-105.ph.ph.cox.net) joined #osdev 10:38:29 dax: why do you want to write a forth compiler before learning forth? 10:38:38 i know forth 10:38:44 did you write a C compiler just for fun? 10:38:46 hmm 10:38:50 since 2 days :) 10:39:25 yes :) 10:39:30 it's really really easy to learn 10:39:52 yes to what? 10:40:12 since 2 days :) 10:40:35 had a question before that 10:41:10 oh 10:41:12 the C one 10:41:19 well i tried but i got tired of it 10:41:21 :) 10:49:25 --- join: I440r (~mark4@1Cust72.tnt2.bloomington.in.da.uu.net) joined #osdev 11:08:07 grr 11:08:16 this is harder than i thought it would be 11:09:37 hehe 11:09:39 hmm 11:09:57 i wanna make a C compiler 11:10:33 i don't think i can do it 11:10:49 i wanna make a forth compiler 11:10:53 but i don't see how 11:12:05 hmm 11:12:26 guess i could store words in a table... 11:12:30 hash table or something 11:13:12 well, to what does a forth compiler compile? 11:13:35 assembler would be fine :) 11:13:55 hmm 11:14:26 they do all say me that forth is something like asm...they have a virtual-machine or so 11:14:51 Erhm. 11:15:02 Depends on the situation,. 11:15:16 well i'ld like to do a forth -> assembler compiler 11:15:20 A classical direct-threaded or indirect-threaded Forth has kind of an inner VM. 11:15:23 then feed it to gas or something 11:15:35 dax: Won't be hard. 11:15:41 hmm 11:15:47 i suck at writing parsers :) 11:15:51 hehe 11:15:52 Hah. 11:15:53 and lexal analysers 11:15:57 Everyone can write a Forth parser. 11:16:05 Even a retarded gorilla. 11:16:13 hmm 11:16:18 hehe :) 11:16:21 yea but i'm thinking bout how to do it 11:16:22 It's strictly word-based. 11:16:22 heh 11:16:26 word-a word-b word-c etc. 11:16:40 so you would consider numbers as words? 11:16:55 anyone saw my null-modem cable around ? 11:17:01 oink: nop 11:17:08 crap 11:17:32 i think i ought to try flex/bison :) 11:17:58 flex, bison are nice :) 11:17:58 dax: Yes. 11:18:02 i should install the nvidia openGL driver, but when i did it last time X didn't work any more :( 11:18:24 dax: But they of course need to be treated in a little bit different way. 11:18:44 brb, rebooting to windows :) 11:18:48 --- quit: lodda ("leaving") 11:20:03 hmm 11:23:50 --- join: lodda (Lothar@p508FDBD3.dip.t-dialin.net) joined #osdev 11:24:35 now i can play tuxracer with a nice speed :) 11:25:38 Robert... 11:30:43 --- join: trans (~trans@fatwire-201-195.uniserve.ca) joined #osdev 11:33:34 I just tried an 8-ball script on gamesnet, see the following: 11:33:42 !8ball Does winamp 3 suck? | -ChanServ- Can this question wait? I'm eating my lunch. | !8ball No, answer! | -ChanServ- You never know. Neither do I. | !8ball Yes, you do! Now answer! | -ChanServ- If the prophets will it. | !8ball Gimme an answer!!! | -ChanServ- Are you mad?! | !8ball YES!!! | ChanServ- Oh, please, PLEASE, make it stop! | !8ball YOU STOP IT! | -ChanServ- I think so. What was the question again? | >:D 11:40:27 ok i think i now have a basic parser that parses everything in words... 11:40:57 less than 50 lines of C too 11:40:58 heh 11:41:37 --- nick: ctkrohn -> ctkrohn|away 11:41:46 now let my simplify it alot 11:45:17 brb 11:45:41 --- join: eks (~eks@h24-82-197-140.wp.shawcable.net) joined #osdev 11:55:36 bbl 11:55:38 TV 11:57:23 * file comes home 12:00:59 --- join: Ubel (~Ubel@arnarson.is) joined #osdev 12:01:13 Blessašur, Ubel :) 12:01:19 create test_greater ," Greater " <-- sigh... why not , "..." 12:01:27 Jį Blessašu Róbert 12:01:29 Blessašur 12:01:43 er š į norsku takkaborši? :) 12:06:42 Nei. 12:06:53 Swedish keyboard with Alt Gr :) 12:06:59 Your fonts work today, btw. 12:07:09 hehe.. I know 12:07:23 ;) 12:07:33 hmm 12:07:34 works in this os ..... with this simple client 12:07:36 Robert... 12:08:06 dax: ? 12:08:14 pm 12:23:19 --- join: wossname (wossname@HSE-QuebecCity-ppp80664.qc.sympatico.ca) joined #osdev 12:25:26 --- join: HeavyJoost (HeavyJoost@a213-84-139-110.adsl.xs4all.nl) joined #osdev 12:33:48 --- nick: ctkrohn|away -> ctkrohn 12:38:24 --- quit: file () 12:44:05 whee. 12:44:07 works now i think 12:44:21 * eks pats dax on the back, good job ;) 12:48:38 now i need to put all the parsed stuff in a table or a linked list or whatever 12:51:24 ahahah 12:51:26 http://mordor.linuxaddicts.com/Girl_math.gif 12:53:10 --- quit: eirikn ("Segmentation fault") 12:55:52 --- join: Ghiottone (~alex@ppp-99-17.27-151.libero.it) joined #osdev 13:01:21 --- join: gianluca (~kernel@ppp-12-134.28-151.libero.it) joined #osdev 13:01:30 hi 13:12:20 --- join: darkito__ (darkito@80.103.141.224) joined #osdev 13:12:24 * HeavyJoost is away: bzzZzzzzzZzzZzzzZzz, bzz, boom! eh, I mean I'm sleeping :P 13:12:45 --- join: file (Administra@mctn1-0819.nb.aliant.net) joined #osdev 13:12:46 hihi 13:19:55 --- quit: Spin[sleepyTime] () 13:26:19 --- nick: ctkrohn -> ctkrohn|away 13:28:20 --- quit: HeavyJoost (Read error: 60 (Operation timed out)) 13:35:20 --- join: rakbladet (johan@h59n5c1o254.bredband.skanova.com) joined #osdev 13:36:23 --- quit: lodda ("Client Exiting") 13:39:32 --- join: Okiesmokie (xXOKIEXx@h24-70-133-79.su.shawcable.net) joined #osdev 13:40:15 I am having trouble enabling interrupts, i have looked through my code and i dont see anything thats wrong, but when i use 'sti' to enable interrupts i get a General Protection Exception, I have an IDT and have remapped the PIC, would anyone care to take a look at my code, see if they can spot anything? 13:41:56 ehi, it is exactly the same phrase as yesterday 13:42:09 nope nope, i fixed a few spelling mistakes :) 13:42:27 eh eh:) 13:42:39 so, are you using bochs? 13:42:47 yea 13:43:18 what is the error exactly? 13:43:33 General Protection Exception 13:43:45 my exceptions work 13:43:53 in my IDT 13:44:08 does your code runs at privilege level 3? 13:44:10 want to see the bottom of the bochs log? 13:44:17 yes 13:44:36 00019298000i[CPU ] protected mode 13:44:36 00019298000i[CPU ] CS.d_b = 32 bit 13:44:36 00019298000i[CPU ] SS.d_b = 32 bit 13:44:36 00019298000i[CPU ] | EAX=00000001 EBX=00000000 ECX=000000fd EDX=000003d5 13:44:36 00019298000i[CPU ] | ESP=0000ffe7 EBP=0000ffef ESI=00007cf1 EDI=0000ffe4 13:44:37 00019298000i[CPU ] | IOPL=0 NV UP EI PL NZ NA PE NC 13:44:39 00019298000i[CPU ] | SEG selector base limit G D 13:44:41 00019298000i[CPU ] | SEG sltr(index|ti|rpl) base limit G D 13:44:43 00019298000i[CPU ] | DS:0010( 0002| 0| 0) 00000000 000fffff 1 1 13:44:45 00019298000i[CPU ] | ES:0010( 0002| 0| 0) 00000000 000fffff 1 1 13:44:47 00019298000i[CPU ] | FS:0010( 0002| 0| 0) 00000000 000fffff 1 1 13:44:49 00019298000i[CPU ] | GS:0010( 0002| 0| 0) 00000000 000fffff 1 1 13:44:51 00019298000i[CPU ] | SS:0010( 0002| 0| 0) 00000000 000fffff 1 1 13:44:53 00019298000i[CPU ] | CS:0008( 0001| 0| 0) 00000000 000fffff 1 1 13:44:55 00019298000i[CPU ] | EIP=00090597 (00090597) 13:46:13 paging is enable? 13:46:21 not afaik 13:46:39 code? 13:47:23 want me to dcc it to u? 13:47:43 I'm firewalled 13:47:56 can you post just a few lines? 13:47:58 hmm ok 13:48:28 have you disabled ints using the PIC? 13:48:49 you mean IRQs? 13:48:56 heres some code" 13:48:57 >> 13:48:57 k_printf("\r\n\nInitializing the PIC", WHITE_BLACK_TEXT); 13:48:58 remap_pic(0x20,0x28); 13:48:58 k_printf("\r\nPIC Intitialized", WHITE_BLACK_TEXT); 13:48:58 k_printf("\r\nSetting up the IDT", WHITE_BLACK_TEXT); 13:48:58 --- quit: Okiesmokie (Excess Flood) 13:49:12 --- join: Okiesmokie (xXOKIEXx@h24-70-133-79.su.shawcable.net) joined #osdev 13:49:13 grr 13:49:18 how much of it did you get? 13:49:32 --- quit: rakbladet (Read error: 104 (Connection reset by peer)) 13:49:59 got initializing pic, remap() pic initialized and setting up 13:50:01 lines 13:51:15 do you know if that ip address is exactly the sti instruction address? 13:51:16 k after that its: 13:51:20 k_printf("\r\nMasking IRQs", WHITE_BLACK_TEXT); 13:51:20 // PIC 1 13:51:20 outportb(0x21, (inportb(0x21) | 0x01)); // IRQ 0 13:51:20 outportb(0x21, (inportb(0x21) | 0x02)); // IRQ 1 13:51:20 outportb(0x21, (inportb(0x21) | 0x04)); // IRQ 2 13:51:21 outportb(0x21, (inportb(0x21) | 0x08)); // IRQ 3 13:51:23 outportb(0x21, (inportb(0x21) | 0x10)); // IRQ 4 13:51:25 outportb(0x21, (inportb(0x21) | 0x20)); // IRQ 5 13:51:27 outportb(0x21, (inportb(0x21) | 0x40)); // IRQ 6 13:51:29 outportb(0x21, (inportb(0x21) | 0x80)); // IRQ 7 13:51:31 // PIC 2 13:51:35 outportb(0xA1, (inportb(0x21) | 0x01)); // IRQ 8 13:51:35 outportb(0xA1, (inportb(0x21) | 0x02)); // IRQ 9 13:51:37 outportb(0xA1, (inportb(0x21) | 0x04)); // IRQ 10 13:51:39 outportb(0xA1, (inportb(0x21) | 0x08)); // IRQ 11 13:51:41 outportb(0xA1, (inportb(0x21) | 0x10)); // IRQ 12 13:51:43 outportb(0xA1, (inportb(0x21) | 0x20)); // IRQ 13 13:51:45 outportb(0xA1, (inportb(0x21) | 0x40)); // IRQ 14 13:51:47 outportb(0xA1, (inportb(0x21) | 0x80)); // IRQ 15 13:51:49 k_printf("\r\nDone Masking IRQs", WHITE_BLACK_TEXT); 13:51:53 /******************/ 13:51:55 /** GENERAL **/ 13:51:57 /** PROTECTION **/ 13:51:59 /** FAULT **/ 13:52:01 asm("sti"); 13:52:03 /******************/ 13:52:05 asm("nop"); 13:52:07 well, if i comment sti it works fine 13:52:14 AHHHHHHHH! SPAM! 13:52:22 * eks kicks Okiesmokie's in #flood 13:53:07 --- quit: darkito__ ("changing servers") 13:53:33 mmm 13:53:57 try using directly outportb(0xA1,0xFF) and outportb(0x21, 0xFF) 13:54:05 I had a lot of problem with them 13:54:16 what? 13:54:50 where at? 13:55:15 using | while masking or enabling interrupts 13:55:29 in programming the PIC 13:55:35 maybe it was the delay. 13:56:06 will just: outportb(PIC, 0xFF); work? 13:56:32 well, I cannot guarantee, but it is worth a try 13:56:40 oh wait a minute 13:56:51 however, your code should be outportb(0xA1, (inportb(0xA1) | 0x01)); shouldn't it? 13:57:01 for the PIC2, should i be going: (inportb(0xA1) | blahblah) ?? 13:57:22 yea thats what i was thinking 13:57:24 yes 13:57:24 ill try that 13:57:44 in that code, it shouldn't have no effect 13:57:54 since inportb(0x21) should be already 0xFF 13:58:04 when you start programming the second PIC 13:58:13 yea 13:58:17 oh 13:58:27 so it wouldnt make a difference? 13:59:01 oh yea 13:59:06 cuz FF | anything = FF 13:59:16 don't know exactly the reliability of inport(0x21) 13:59:16 yes 13:59:29 or any delay involved.. 13:59:29 --- join: gab (~prfalken@gaia.chx-labs.org) joined #osdev 13:59:43 how would i make an io_wait() function? 13:59:49 just try setting both directly to 0xFF 13:59:57 what should io_wait() do? 14:00:16 delay the ports until it is finnished 14:00:22 oh yea 14:00:26 setting both to 0xFF would clear that 14:00:33 i mean 14:00:39 make it so you dont need an io_wait() 14:00:57 wait a moment... 14:02:16 ? 14:02:34 some delay could be obteained by 14:02:36 setting both to 0xFF directly didnt work 14:02:44 reading some particular ports 14:02:57 ah. 14:02:58 mmm 14:03:25 did you do lidt right? 14:03:41 i think so 14:03:44 the exceptions work 14:03:53 so i'd assume i loaded the idt correctly 14:04:11 how do you know that exceptions work? 14:04:44 because i get the General Protection Fault screen that i programmed 14:05:11 brb 14:05:12 k 14:05:55 back 14:06:00 wb 14:06:28 let me understand. 14:06:39 you have set up an handler for the GPF? 14:06:46 and it is run? 14:06:48 yea 14:08:02 here is how i set up the IDT: 14:08:02 void InitIDT() 14:08:02 { 14:08:02 idtr.limit = sizeof(idt)-1; 14:08:02 idtr.base = (int)&idt; 14:08:02 asm volatile("lidt %0\n" : : "m"(idtr)); 14:08:03 } 14:08:03 what have you set up for the other interrupts? 14:08:10 what? 14:08:44 have you set up other handlers? 14:08:47 yea 14:08:59 for all the interrupts? 14:09:09 0-14,16-19 14:10:12 decimal? 14:10:17 ye 14:10:18 yea* 14:10:20 why not 15? 14:10:27 intel manual tells me not to use it 14:10:40 the 0xF? 14:11:00 wat? 14:11:02 yea 14:11:24 I have initialized it too. 14:11:33 never been used anyway. 14:11:36 it has no information about it and says: 14:11:44 "Intel Reserved. Do not use" 14:12:49 ah, ok. 14:12:55 let me think... 14:13:12 have you set the rpl/dpl stuff? 14:13:12 --- quit: gab (Read error: 104 (Connection reset by peer)) 14:13:13 where is the code that fills the IDT? 14:13:36 whats rpl? 14:13:44 --- join: gab (~prfalken@gaia.chx-labs.org) joined #osdev 14:13:52 AddInt(0, int00, 0); 14:13:52 AddInt(1, int01, 0); 14:13:52 AddInt(2, int02, 0); 14:13:52 AddInt(3, int03, 0); 14:13:52 AddInt(4, int04, 0); 14:13:53 AddInt(5, int05, 0); 14:13:55 AddInt(6, int06, 0); 14:13:57 AddInt(7, int07, 0); 14:13:59 AddInt(8, int08, 0); 14:14:01 AddInt(9, int09, 0); 14:14:03 AddInt(10, int10, 0); 14:14:05 AddInt(11, int11, 0); 14:14:07 AddInt(12, int12, 0); 14:14:09 AddInt(13, int13, 0); 14:14:11 AddInt(14, int14, 0); 14:14:13 AddInt(16, int16, 0); 14:14:15 AddInt(17, int17, 0); 14:14:17 AddInt(18, int18, 0); 14:14:19 AddInt(19, int19, 0); 14:14:21 the 3rd param is the dpl 14:14:55 let me take the i386 stuff 14:15:10 what? 14:15:21 manual and such :) 14:15:37 you do use a call gate in idt, right? 14:15:37 what do you mean? 14:16:02 is it a general protection error? 14:16:06 yes 14:16:17 i do nothing to the callgate though.. 14:16:24 well 14:16:30 void AddInt(unsigned int number, void (*ptr)(), unsigned int dpl) 14:16:30 { 14:16:30 unsigned long offset=(unsigned long)ptr; 14:16:30 idt[number].intgate.loOffset = (offset & 0xFFFF); 14:16:30 idt[number].intgate.selector = 8; 14:16:31 idt[number].intgate.setTo0_1 = 0; 14:16:33 idt[number].intgate.setTo6 = 6; 14:16:35 callgate has some interesting field you should use 14:16:35 idt[number].intgate.defaultSize = 1; 14:16:36 like 14:16:37 idt[number].intgate.setTo0_2 = 0; 14:16:39 idt[number].intgate.dpl = dpl; 14:16:41 idt[number].intgate.present = 1; 14:16:43 idt[number].intgate.hiOffset = (offset >> 16); 14:16:45 } 14:17:08 hmm 14:17:20 typedef struct { 14:17:20 unsigned loOffset :16; 14:17:20 unsigned selector :16; 14:17:20 unsigned paramCount :5; 14:17:20 unsigned setTo0 :3; 14:17:21 unsigned setTo12 :5; 14:17:23 unsigned dpl :2; 14:17:25 unsigned present :1; 14:17:27 unsigned hiOffset :16; 14:17:29 } __attribute__((packed)) i386_callgate; 14:17:31 ? 14:17:34 well 14:17:55 have you set priviledge level to callgates? 14:18:09 dont think so.. 14:18:16 well i386 has rules 14:18:23 go take a look at them 14:18:28 where? 14:18:34 watchout the rpl in selector 14:18:42 dpl in descriptor 14:18:45 and things like this 14:19:18 do i have to set the callgate stuff to in my AddInt() function? 14:19:29 no no 14:19:33 you have to plan your os 14:19:39 before dumping code 14:19:44 i mean 14:19:50 well it's complex to plan user mode 14:19:51 because 14:20:05 you have to use strange and complex i386 rules 14:20:16 =\ 14:21:01 okie, i have the same problem, you're not alone ;) 14:21:15 lol 14:21:56 what about this callgate stuff though? 14:22:05 ops hey 14:23:37 ? 14:25:26 well i should see the code 14:25:35 but sorry i have really so much problems with mine 14:25:39 is it big? 14:26:06 not really 14:26:18 13KB zipped 14:26:27 want me to dcc it to you? 14:26:45 hm by mail is better 14:26:56 email addy? 14:29:42 sent 14:30:19 still nothing 14:30:58 hmm 14:31:03 can you check the address? 14:36:40 --- join: nbsp (g@ip68-14-60-55.no.no.cox.net) joined #osdev 14:41:02 --- join: acme (acme@pD9E638FC.dip.t-dialin.net) joined #osdev 14:45:53 --- join: DRF (~daniel@host213-121-68-237.surfport24.v21.co.uk) joined #osdev 14:50:53 --- join: Kurt (~kmw@gc-nas-01-s63.cinergycom.net) joined #osdev 15:00:25 see you peoplpe 15:00:31 bye bye 15:00:31 Bye. 15:00:40 --- quit: gianluca ("QuIRC for *nix - http://quirc.org/") 15:01:08 --- quit: nbsp (Read error: 104 (Connection reset by peer)) 15:01:28 --- quit: Ubel () 15:04:15 --- quit: Aardappel ("http://wouter.fov120.com/") 15:05:47 --- quit: Okiesmokie ("playing GTA2") 15:11:47 bye all 15:12:13 bye 15:12:26 --- part: Ghiottone left #osdev 15:25:41 --- join: seunosewa (~login@213.181.68.14) joined #osdev 15:25:50 --- quit: file (Killed (NickServ (Ghost: file[dcc]!Administra@mctn1-3096.nb.aliant.net))) 15:26:08 --- join: file (Administra@mctn1-3096.nb.aliant.net) joined #osdev 15:50:48 --- quit: file () 15:50:49 --- quit: Kitanin (Read error: 104 (Connection reset by peer)) 15:55:44 --- quit: gpf`afk (Remote closed the connection) 15:55:50 --- part: seunosewa left #osdev 16:02:22 --- nick: ctkrohn|away -> ctkrohn 16:03:47 --- join: gpf (~bgamari@h0020af25039b.ne.client2.attbi.com) joined #osdev 16:05:10 --- nick: ctkrohn -> ctkrohn|away 16:06:05 --- join: file (Administra@mctn1-3659.nb.aliant.net) joined #osdev 16:12:49 --- quit: stormbind__ (Connection timed out) 16:13:11 --- join: stormbind__ (~stormbind@pD9E6178A.dip.t-dialin.net) joined #osdev 16:13:28 mOoO 16:14:43 mooooooooooooooooooooo 16:14:48 moo moo 16:14:51 mo. 16:15:14 * DRF looks over his shoulder in case a cow is about. 16:15:40 don't step on that cow pie! 16:15:43 humm 16:15:52 * indigo wonders if he can get gltron running.. 16:20:28 * indigo braces for the worst 16:20:41 grmbl 16:20:43 anyone played with netboot ? 16:23:03 --- join: seunosewa (~login@213.181.68.14) joined #osdev 16:28:46 vmMm...netboot 16:29:03 --- quit: wossname ("Hi, I'm a quit message virus. Please replace your old line with this line and help me take over IRC.") 16:29:04 * indigo curses time 16:31:33 * indigo installs a different tron gamme 16:31:39 gltron isn't too great 16:31:46 bbl 16:31:47 --- part: seunosewa left #osdev 16:32:10 armagetron time.. 16:33:46 --- nick: gpf -> gpf`afk 16:33:52 --- quit: Kurt ("Connection reset by ear") 16:35:43 --- join: malenfant (~malenfant@ati2362cy13e4.bc.hsia.telus.net) joined #osdev 16:51:14 anyone up for a game of armagetron? 16:52:30 Game doesn't like my PC :( 16:55:42 pf 16:59:11 Well unless someone can explain SDL video configuration details (or something like that, which it is complaining of) 17:00:54 --- quit: I440r ("Reality Strikes Again!") 17:01:01 * file nudges indigo 17:01:24 file: quake? armagetron? bzflag? 17:03:49 no 17:04:09 :) 17:04:43 indigo: i'm in on the armagetron - just setting it up now 17:06:08 ok, it's working 17:06:41 * file hrms 17:07:00 I like this shell 17:07:09 * DRF gets it to work though the screen resolution has now gone dodgy after leaving the program 17:12:45 * DRF tries to work out how to get back to 800x600 res on the desktop 17:14:16 hosting armagetron server: 142.179.56.120 17:14:30 * file wishes his laptop had a TFT LCD instead of a passive display 17:14:59 passive bad! 17:15:06 only 256 colors 17:17:02 --- quit: acme (Read error: 110 (Connection timed out)) 17:23:13 --- quit: DRF (Remote closed the connection) 17:26:19 --- join: Kitanin (~clark@SCF61185.ab.hsia.telus.net) joined #osdev 17:28:27 nobody in on the armagetron? 17:33:07 --- quit: malenfant (Remote closed the connection) 17:34:16 --- join: malenfant (~malenfant@ati2362cy13e4.bc.hsia.telus.net) joined #osdev 17:37:33 --- nick: gpf`afk -> gpf 17:58:00 hm 17:58:26 damnit 17:59:09 grmbl 17:59:18 indigo: ever played with netboot stuff ? 18:07:21 nope 18:07:34 --- nick: gpf -> gpf`afk 18:16:08 --- quit: trans (Read error: 110 (Connection timed out)) 18:19:12 * indigo goes to sleep 18:25:45 * oink installs gentoo...... 18:41:41 --- join: karingo (karingo@85.portland-01-02rs.or.dial-access.att.net) joined #osdev 18:58:41 --- quit: eks ("Zzzzz... got some sleep to catch back") 19:09:06 --- join: Okiesmokie (xXOKIEXx@h24-70-133-79.su.shawcable.net) joined #osdev 19:09:23 How do i change the CPL, or make it less than the IOPL? 19:21:40 --- join: witten_ (~witten@sdsl-64-32-131-193.dsl.lax.megapath.net) joined #osdev 19:24:18 --- quit: Okiesmokie () 19:26:17 --- quit: karingo ("called as kill, this will die") 19:34:18 --- nick: ctkrohn|away -> ctkrohn 19:35:08 --- join: Stalky (~cms@ool-4352c2ce.dyn.optonline.net) joined #osdev 19:38:06 --- join: trans (~trans@fatwire-201-195.uniserve.ca) joined #osdev 19:46:17 gn all. 20:06:49 --- join: nbsp (g@ip68-14-60-55.no.no.cox.net) joined #osdev 20:06:50 --- quit: Kitanin (Read error: 104 (Connection reset by peer)) 20:15:55 --- join: draq (~norm1111a@ESS-p-144-138-45-6.mega.tmns.net.au) joined #osdev 20:16:36 --- join: y4ru12h8 (slam_zany@ip64-75-154-2.dial.aloha.net) joined #osdev 20:18:02 --- part: y4ru12h8 left #osdev 20:24:19 --- quit: trans (Read error: 110 (Connection timed out)) 20:36:45 --- join: Bisstom_Boy (~fgadfg@vickesh01-40.tbaytel.net) joined #osdev 20:38:28 --- join: Vathix (Vathix@pm1-ppp012.wzrd.com) joined #osdev 20:41:36 --- join: karingo (karingo@85.portland-01-02rs.or.dial-access.att.net) joined #osdev 20:43:30 --- nick: ctkrohn -> ctkrohn|away 20:59:18 --- quit: Stalky ("Tak ah wan! Can de lach!") 21:05:47 --- quit: asmodeus (Ping timeout: 14400 seconds) 21:46:49 --- join: trans (~trans@fatwire-201-195.uniserve.ca) joined #osdev 21:50:07 --- join: Kitanin (~clark@SCF61185.ab.hsia.telus.net) joined #osdev 22:01:09 --- quit: draq (Read error: 113 (No route to host)) 22:07:50 --- quit: nbsp (Read error: 104 (Connection reset by peer)) 22:11:24 --- join: nbsp (g@ip68-14-60-55.no.no.cox.net) joined #osdev 22:19:11 --- quit: malenfant ("Client Exiting") 22:27:50 --- join: sleep- (~ivan@adsl-68-22-196-188.dsl.chcgil.ameritech.net) joined #osdev 22:28:12 re 22:53:40 --- quit: sleep- ("Leaving") 22:59:31 --- quit: trans (Read error: 113 (No route to host)) 23:26:16 --- join: adu (~andrew@dsl-64-130-166-225.telocity.com) joined #osdev 23:26:16 --- quit: Kitanin (Read error: 104 (Connection reset by peer)) 23:28:34 hi 23:28:48 hi 23:28:55 hello 23:29:21 im tired 23:29:33 same 23:30:22 --- join: AboryM (~mbalazs@80.97.114.12) joined #osdev 23:30:33 hello 23:30:46 hi, what's up? 23:30:52 i went to berkeley today 23:31:02 with a girl 23:31:08 we walked all over 23:31:19 and now my legs dont work anymore 23:31:32 good thing there is a chair infront of my comp 23:32:09 i've been wokring on my lang again 23:32:55 i've reduced every single datatype and interface and type to 1 construct 23:33:00 arrays 23:37:07 it all makes sense now 23:37:34 "To be poop it first must exist" -- Adu 23:50:41 Heh. 23:50:58 * Robert is implementing his own language for the TinyVM project. 23:54:03 tinyVM? 23:54:07 ellaborate 23:57:50 uhh 23:57:57 what is tinyVM? 23:57:59 arrays and lists are complex data types 23:58:10 not in my lang 23:58:25 you'll see 23:58:27 they are collections of other data types 23:58:32 when my lang takes over the world 23:58:45 way to go 23:58:47 but they're nessecary 23:58:48 my lang will crush yer lang 23:58:56 ha 23:59:06 * adu laughs a maniacal laughter 23:59:22 my langauge is gonna be the worst one of all 23:59:29 but that won't stop me 23:59:46 Bisstom_Boy: heh, are u designing one? 23:59:59 --- log: ended osdev/02.10.03