00:00:00 --- log: started osdev/03.09.27 00:02:04 --- quit: Matzon (Read error: 104 (Connection reset by peer)) 00:21:01 --- quit: witten (Remote closed the connection) 00:21:29 --- join: witten (~witten@adsl-gte-la-216-86-199-140.mminternet.com) joined #osdev 00:26:36 --- quit: pengo ("I could develop a system that would make money obsolete, but it would only make me rich") 00:29:27 --- quit: witten (Remote closed the connection) 00:29:53 --- join: witten (~witten@adsl-gte-la-216-86-199-140.mminternet.com) joined #osdev 00:32:15 --- nick: I440r_ -> I440r-zzz 00:38:45 --- quit: witten (Remote closed the connection) 00:39:04 --- join: witten (~witten@adsl-gte-la-216-86-199-140.mminternet.com) joined #osdev 00:41:33 --- quit: witten (Remote closed the connection) 00:41:56 --- join: witten (~witten@adsl-gte-la-216-86-199-140.mminternet.com) joined #osdev 00:56:31 --- join: AvengerX (~marzon@twnd-209-74-24-168.ppp.twnd.epix.net) joined #osdev 01:04:22 hmm.. my date method is only partly right.. it says it started at 3:88 on Saturday September 39, '3 01:05:38 heh 01:07:21 AvengerX so does that mean you might have "melinium bug" issues later on? 01:08:18 draq: possibly, but i'm focusing on it being 9/39, at 3:88 AM 01:08:56 oh well. it's what i get for using Bochs and resding the RTC 01:09:10 s/resding/reading 01:10:03 AvengerX i read only the 1st n last letters...I understood 1st off 01:10:06 ;) 01:14:25 well i'm gonna go. need sleep to code.. or alot of coffee.. 01:15:05 --- join: trans (wznfqk@fatwire-201-147.uniserve.ca) joined #osdev 01:15:32 --- quit: AvengerX ("Client Exiting") 01:40:52 heyas 01:40:55 crush has multiple dispatch on functions, macros, and methods which so u can several of them with the same name 01:41:07 should i also allow something like that with variables? 01:41:23 a:int = 1; a:string = "foo"; 01:41:29 what spec pc would you guys recommend for a PC that i want to do nothing but recieve streaming video 01:41:35 oh wait 01:41:36 nm 01:41:52 i just saw a serious problem with that :) 01:42:16 kyelewis: my celeron 450 would handle streaming video just fine 01:42:29 good 01:42:34 u just need a fast network connection 01:42:36 that should be cheap to obtain then :) 01:42:50 btw, its a 300/66 oc'd to 450/100 01:42:51 most streaming will be from a streaming server in the house 01:43:23 i found out tonight that my 450/100 builds a linux kernel in 14mins compared to 21mins for a 766/66 celeron :) 01:43:26 we've got like 5 tv's in the house now, and everyone complains that they can't watch what they want to watch, so i'm going to solve the problem :P 01:43:31 heh 01:43:33 :) 01:43:49 boy was the owner of the 766 depressed 01:44:31 oh, i also use opengl hardware to render the video 01:44:57 --- join: TheJayFans (~fanciacat@203.169.207.177) joined #osdev 01:45:02 and videos play at full frame rate at 1600x1200 fullscreen 01:45:05 what card? 01:45:09 tnt 01:45:16 k, so nothing too expensive 01:45:19 nope 01:45:33 hello kye long time no see 01:45:44 without the opengl the 450 cant play anything bigger than 300x300 01:45:52 i think i'll get video cards with tv out, those vga --> tv converters cost too much 01:45:55 heya TheJayFans, same here 01:46:12 or somewhere around there, i know 640x480 videos drop frames 01:46:20 know of any cheap vga <--> tv convertors? 01:46:22 :P 01:46:43 an older video card with tv out should be cheap anyway - new cards are cheap enough :P 01:50:24 ah crap 01:50:39 i have to rethink lambda recursion now 01:51:11 before i would just do (. a b c) to call the current lambda 01:51:22 but with syntax that would be .(a, b, c); 01:51:27 not to attractive 01:52:31 and because i moved lambdas into defun i cant do named lambdas because using a name creates a function 01:52:52 --- join: Matzon (Mazon@80.197.154.22) joined #osdev 01:57:30 --- quit: trans (Read error: 110 (Connection timed out)) 02:00:45 --- join: SIS-1650-01 (~sis@as11-2-1.rny.s.bonet.se) joined #osdev 03:13:37 --- quit: Matzon (Read error: 104 (Connection reset by peer)) 03:15:38 --- join: trans (zccifc@fatwire-201-147.uniserve.ca) joined #osdev 03:24:56 heh, anger management is funny :) 03:27:38 * mors stabs kye repeatedly and waddles in the blood flowing around 03:27:53 that tickles :) 03:27:54 * mors feels better 03:27:57 hah :P 03:28:17 --- join: Matzon (Mazon@80.197.154.22) joined #osdev 03:31:47 --- quit: frzd (Read error: 110 (Connection timed out)) 03:32:43 --- quit: SIS-1650-01 (Remote closed the connection) 04:00:25 should I program my printf in C? 04:00:27 or ASM? 04:00:46 in binary language 04:01:04 :P 04:01:25 heh, whichever you feel comfortable unless you have specific needs for an asm printf, C would be fine 04:01:56 damn, that reminds me.. havent seen ree for a while. he wouldve sweared by asm 04:04:58 heh 04:07:37 --- quit: trans (Read error: 60 (Operation timed out)) 04:08:59 bah 04:09:11 it panics when I try my printf all the time :/ 04:09:28 dont try your printf all the time, try it once or twice 04:09:31 :P 04:09:34 what does it say? 04:09:35 hehe 04:09:44 GPF? 04:09:50 xception(): 3rd (13) exception with no resolution 04:10:04 good boy 04:10:17 thats a gpf 04:10:24 ok 04:10:51 lots of ways you can get it.. check the manual 04:11:49 ok 04:16:50 ha, bochs also says general protection fault if edx is too high while executing the div instruction 04:17:14 too high? 04:17:37 if the quotient is too large 04:17:40 any particular limit? 04:17:53 yeah.. 'too large' is kinda ambiguous, dontya think 04:18:13 and actually that's have to be exception 0 then 04:18:34 sometimes bochs is strange (: 04:21:00 My printf can now print out text in the upper left corner! :) 04:22:35 why should I use registers to put the output's cursor? 04:22:49 how else would you do it? 04:23:00 why wouldn't int X, Y; work? 04:23:17 and they are actually ports, iirc 04:23:33 yes mors, cathode ray tube registers 04:23:46 oh okay 04:25:17 hmm 04:25:42 where can I find information on how to do with the cursor? 04:26:39 hmm the crtc is from motorola, that both should be good keywords 04:28:02 or 3b4 3b5 3d4 3d5 04:29:12 hmm 04:32:43 --- quit: asm ("Leaving") 04:33:34 --- join: asm (~asm@dsl-082-082-159-083.arcor-ip.net) joined #osdev 04:40:30 --- join: DRF (~daniel@host217-42-163-251.range217-42.btcentralplus.com) joined #osdev 04:51:19 --- join: mur (murr@baana-62-165-187-43.dsl.phnet.fi) joined #osdev 04:53:23 * mors trips mur 04:54:48 * mur feeds mors more mushrooms 04:55:39 :) 04:56:09 so, what plans for saturday? 04:56:46 irc i think 04:56:50 ya dont have to answer since i already know the only plan is irc 04:56:54 ah, hehe 04:58:12 i coudl write email to some girls 04:58:18 hmm 04:58:37 stop dreaming, mur. you are awake 04:58:48 lol 04:59:08 hah >:) 04:59:19 i do that and they do reply 04:59:41 do they sleep with ya? 04:59:46 what does the reply say? 04:59:51 get lost you creep? 04:59:51 ;) 05:00:00 :)) 05:00:26 you are just yealous! 05:00:28 :) 05:00:34 jealous 05:00:42 stupid english 05:00:44 ofcourse, atleast they do reply. im mostly ignored 05:00:46 lol 05:00:51 heh 05:01:08 mors real life girls are more interesting, though 05:01:35 hmm, video streaming should be working 100% now :) 05:01:36 are you talking from a mere theoretical point of view? 05:01:43 not really 05:01:48 now that i have good pings to the US, i should also have good video streaming :) 05:02:01 kye, go watch a movie 05:02:01 190ms to google is bliss ;) 05:02:06 friday i talked to one girl that might be interested in me 05:02:19 * mors runs away from kye-the-geek 05:02:22 in the mornign she smiled to me and looked at me for many seconds 05:02:26 lol 05:02:28 ha, mur.. i told ya .. stop dreaming 05:02:32 well, i could never get < 300ms before 05:02:36 lol . for many seconds! 05:02:38 so it's a hell of an improvement 05:02:46 lol 05:02:50 how many seconds was this? 05:02:55 haha 05:02:59 and don't lie :) 05:03:01 kyelewis not really. it's only usable if you do some useful query 05:03:17 it's useful for gaming 05:03:17 --- join: Dr_Evil (DSLflat@p508FFC81.dip.t-dialin.net) joined #osdev 05:03:32 only for geeks 05:03:33 because my pings to the US have gone down by more than 100ms 05:03:46 real people dont play with search engines 05:03:50 only tech geeks ;) 05:03:53 and it means video streaming and downloads work fine 05:04:12 mur: i always use google as a ping example... doesn't mean i actually use it for anything more than searching :P 05:04:34 mostly because the best ping i can get to the US is shown by google 05:04:35 kyelewis videostreaming is almost 4th of reality, now you need only smells and touching etc 05:04:44 lol 05:04:51 i like the touching part.. 05:05:03 mors included in only Reality (tm) full version 05:05:07 oh boy.. then, i could just live with cybersex 05:05:16 well, it stretches to mp3 streaming too 05:05:17 :) 05:05:29 --- join: idle (~idle@ppp-208-27-0-91.kinex.net) joined #osdev 05:05:33 mors well imagine stabbing from irc, too, then 05:05:43 i could always stream video of girls... or not ;) 05:05:43 then, too 05:05:57 hmm. will i die then? its only virtual touch,i hope 05:06:02 if it was related to reality, you'd be watching empty walls all the time ;) 05:06:37 damn, i dont like all this complication. rather stick to real life girls like my ancestors. 05:06:40 --- join: mrMister (~andri@ti122110a080-2422.bb.online.no) joined #osdev 05:06:56 ándri 05:07:12 andri youngbison 05:07:17 like your ancestors? 05:07:36 they sure didnt have cybersex 05:07:44 mur: what are you trying to say? 05:07:56 nothing of importance to anyone anyway 05:07:56 Y is proninced just as I 05:08:01 well, no, but they could still have phone sex 05:08:14 mors it's quite interesting how you got ancestors if there wasn't cybersex then... 05:08:19 >:P 05:08:49 hm.. that was profound 05:08:56 and before that, telegram sex 05:08:56 mrMister modified writing way of the surname 05:09:00 nothing important 05:09:01 :) 05:09:06 and before that... lets not even think about it :P 05:09:21 with letters. might take a month before reply 05:09:21 good idea, mesa thinks 05:09:22 they probably had sex via messages from their personal servants 05:09:28 lol 05:09:30 smoke messages :) 05:09:34 heh 05:09:40 godamn, smokesex, eh 05:09:42 smoke-message sex ey? interesting 05:09:46 --- join: Apophis (~kn64@ppp124-164.lns1.syd2.internode.on.net) joined #osdev 05:09:46 lol 05:10:04 * mur awaits boom of mors' to arrive 05:10:08 it's made too easy nowdays 05:10:24 ugh, stupid video streaming 05:10:32 *theoretically* i could use UDP 05:10:40 *Theoretically* if that didn't work i could use TCP 05:10:49 *theoretically* if that didn't work, i could use HTTP 05:11:01 or just go and watch a movie 05:11:05 but no, i have to use HTTP with the DSL providers proxy set 05:11:06 *theoretically* if you had real life, you woudl not need streaming 05:11:12 * mur quits trolling now 05:11:16 heh 05:11:21 mors started, mur stopped 05:11:30 real life? 05:11:36 * kyelewis questions this strange new concept 05:11:40 :) 05:11:43 IRC is real life, right? 05:11:45 :) 05:11:52 * mrMister tries to remmeber when it was the better part of kobenhagen burned down 05:11:56 yea, i gotta write a kmalloc() 05:11:59 err, remember 05:12:46 it wasn't me who burned it down! 05:12:48 i swear! 05:13:02 lol 05:13:07 suuuuure ;) 05:13:12 that's what they all say 05:13:17 I was just thinking in context with "Smokesex" 05:13:23 :) 05:13:28 lol 05:13:49 mur, were you having smokesex? tell us the truth :) 05:13:56 no 05:14:02 oh... ok then 05:14:07 * kyelewis walks away whistling 05:14:08 :) 05:14:45 they probably all fell down in utter orgasm 05:15:12 i think they fainted to smoke instead 05:15:36 mur: having an orgasm by the way! 05:15:52 --- quit: idle ("Sic Sempere Tyrannis!") 05:16:04 perhaps you know it better ;) 05:16:12 i have no experience of such 05:16:21 lol 05:16:48 heh.. ugh.. I'm just speculating! :) 05:17:33 is there a way to tell gcc that it should leave out functions that are not used? 05:18:01 hmm, that would be nice 05:18:02 (yea i'm too lazy to RTFM) 05:21:10 gcc is a lot to rtfm :) 05:21:20 --- join: idle (~idle@208.27.0.86) joined #osdev 05:21:56 yep :/ 05:23:13 --- join: Nay (~bebert@saturne.esial.uhp-nancy.fr) joined #osdev 05:23:16 I think manpages should not be made that big. 05:23:55 How write a boot loader for hard drive, in order to start an OS after the first 1024 cylinders ? 05:24:02 manpages should be kept small and simple. 05:26:18 The boot sector must be smaller than 512 bytes, and is there a standart for adressing the cylinder after 1024. 05:26:27 I cannot test every method. 05:28:03 --- quit: file[wifi] (Read error: 104 (Connection reset by peer)) 05:29:55 --- quit: DRF ("Leaving") 05:31:36 --- join: wcstok (strtok_r@dialup-67.31.178.65.Dial1.Denver1.Level3.net) joined #osdev 05:31:45 wcstok 05:32:11 uh oh 05:32:29 Don't worry.. I just woke up.. 05:32:52 * mur forgives Slowcoder :) 05:33:06 so did I =P 05:33:25 I think my computer is trying to tell me something.. 05:33:33 I can't move my mouse-pointer.. 05:33:39 It's locked into IRC.. 05:34:43 we all other are going to irc this evening too ;) 05:34:57 But I wanna code... 05:35:04 brb 05:38:43 --- join: trans (qasynu@fatwire-201-147.uniserve.ca) joined #osdev 05:39:39 There we go.. You never appreciate your mouse-pointer until it goes awol on you. 05:41:59 alt-tab 05:42:08 or cmd-tab 05:42:35 True, but still you want it.. 05:45:11 ++ 05:45:14 --- quit: Nay ("A Bientôt !") 05:48:07 --- join: ToreSB (Tore@062016151156.customer.alfanett.no) joined #osdev 05:48:10 something is weird with my kprintf function... it can output symbols like *¤#%&()=?^ 05:48:14 but not letters :/ 05:48:19 then it panics 05:48:41 its probably abusing ya 05:48:50 rip your kprintf out of your kernel, put it in a regular program, test it 05:50:52 if I do like this: kclear_screen(); kprintf("hello!"); kclear_screen doesn't clear the screen :/ 05:51:47 Error: Malfunction detected between keyboard and chair. 05:51:55 :D 05:52:10 petrusss: so, that "hello" gets printed? 05:52:37 wcstok: howz the job hunt? any success... ? 05:52:52 --- join: ToreSB_ (~tore@062016151156.customer.alfanett.no) joined #osdev 05:53:04 started a tech support job 2 weeks ago 05:53:14 ah, how doya like it? 05:53:20 still in training =/ 05:53:51 and what sorta tech support is it? like those housewives buying comps and asking ya how to do online shopping? 05:54:11 hmmm. hello works now, but when I try to output "abcdef" it panics 05:54:41 so, ya can be sure its one of the 'h', 'l' or 'o' thats the rebel 05:54:44 heh 05:54:47 dsl mostly (some dialup) stuff for the phone company 05:54:47 so not quite that bad, but close 05:54:58 oic, hmm. 05:55:56 heh, kprintf doesn't like "Abcde!" 05:56:19 pull it out of your kernel, put it in a regular program, debug it 05:56:33 valgrind it if you can 06:01:01 --- join: eniac (~eniac@237.124-136-217.adsl.skynet.be) joined #osdev 06:02:20 hm, aint skynet the computer network in the Terminator movies.. 06:02:39 Sure is 06:05:40 wcstok: Feel up for answering a q ? 06:14:33 this is my kprintf: http://rafb.net/paste/results/Q2470570.html 06:15:12 I've tested doing it in other ways too, same results there.. 06:15:49 message[iInMsg] != 0 <<< when does it become 0 ? 06:16:04 when the string is ended? 06:16:33 when computer faults 06:17:14 so 'hello' works and 'abcdef' doesnt? 06:17:26 exactly 06:18:44 --- join: gianluca (~gl@ppp-122-133.28-151.libero.it) joined #osdev 06:19:31 when is line ever used 06:19:50 i removed it 06:19:54 forgot the parameter 06:19:57 cant find anything wrong with your kprintf. maybe more experienced eyes can catch it 06:20:09 looks like something else could be wrong.. did ya try to debug it or something? 06:20:57 like step through the code and see where it faults 06:21:03 nope, don't know how to debug that ... 06:21:14 ya using bochs? 06:21:24 if so, read the debugging help 06:21:35 yup, bochs 06:22:15 --- quit: wcstok (No route to host) 06:22:25 print out value of iInMsg in the loop 06:23:46 humm 06:23:47 how? 06:23:48 :) 06:24:21 :) 06:24:38 iInMsg can't be wrong, that would be wrong! :) 06:25:27 petrusss: should not be using vsprintf og vsnprintf? :) 06:25:53 i assumed it was seg faultin heh 06:26:39 petrusss: ya gotta read the debugging help in bochs, its useful. and also remember the 0xe9 hack of bochs 06:28:16 http://bochs.sourceforge.net/cgi-bin/topper.pl?name=New+Bochs+Documentation&url=http://bochs.sourceforge.net/doc/docbook/development/book1.html 06:28:17 hmmm :/ 06:35:05 http://bochs.sourceforge.net/doc/docbook/development/x405.html 06:35:16 meant that one 06:36:44 --- quit: ToreSB ("Klienten avslutter") 06:47:55 --- quit: gab (Read error: 110 (Connection timed out)) 06:48:53 --- quit: Apophis (Read error: 104 (Connection reset by peer)) 06:53:54 --- join: gab (~prfalken@gaia.chx-labs.org) joined #osdev 07:00:13 --- join: wl (philipp@pD954E9EB.dip.t-dialin.net) joined #osdev 07:17:42 --- quit: krux ("Client Exiting") 07:23:17 --- join: krux (~krux@66.14.118.85) joined #osdev 07:35:59 --- quit: trans (Read error: 110 (Connection timed out)) 07:46:45 --- join: kernel-panic (rewt@ANice-205-1-7-93.w81-53.abo.wanadoo.fr) joined #osdev 07:47:55 petruss: I'd recommend you writing a kputchar() function first. 07:48:36 petrusss: Then writing yourself a kputs() (which your "kprintf" is trying to be) 07:49:04 --- quit: TheJayFans () 07:49:31 yeah.. you need to have some "format" functionality if you are writing a printf ;) 07:50:29 Let me tell you this.. My kputchar() is 39 lines, and every-one is needed 07:50:56 ehh, that's a lot :) 07:51:17 Well, you can't just blurt out the characters.. 07:51:58 You need to handle \n's \r's, line-wrappings and scrolling if you hit the end of the screen 07:52:11 is it inline? 07:52:31 Yes, because it's a vga-console driver only. 07:52:40 I'll rewrite it later though to be more generic. 07:53:27 But the only thing that would change then is the inline scrolling.. (3 lines of code) 07:55:44 ok, I'll test that. 08:14:00 ive got a getpage() thingie. can someone point to any simple malloc() style allocator? any particular keywords i can search for..? 08:14:36 i dont need any optimized, fast goddamn algo. a simple one is enough 08:18:24 --- quit: ToreSB_ (Read error: 104 (Connection reset by peer)) 08:18:39 --- join: ToreSB (~tore@062016151156.customer.alfanett.no) joined #osdev 08:19:57 Big-ass bonafied malloc: ftp://g.oswego.edu/pub/misc/malloc.c 08:20:54 boy.. that Doug Lea writes one of the superfast mallocs, i guess 08:21:05 Afaik, yes 08:21:07 ive heard his name associated with malloc() 08:22:52 --- join: glguida_ (~gl@ppp-63-135.28-151.libero.it) joined #osdev 08:23:25 --- quit: gianluca (Nick collision from services.) 08:23:29 --- nick: glguida_ -> gianluca 08:33:25 --- join: wossname (wossname@HSE-QuebecCity-ppp81555.qc.sympatico.ca) joined #osdev 08:33:42 --- join: zephir (~sdebnath@12-222-128-171.client.insightBB.com) joined #osdev 08:35:46 --- join: Kylu (neo0208@217.96.36.51) joined #osdev 08:35:56 hi *.* 08:36:45 does somebody know anything about the VESA BIOS ? 08:37:44 hello 08:37:53 --- join: demise (~HjuT@c-8b4272d5.01-94-7673741.cust.bredbandsbolaget.se) joined #osdev 08:38:13 Kylu hold on a sec, I can give you a vesa 3 pdf doc 08:42:22 ok 08:43:33 zephir Ares010@poczta.onet.pl 08:43:36 http://web.ics.purdue.edu/~sdebnath/ 08:43:39 ok 08:43:49 wait a moment zephir 08:43:55 I have a question 08:43:58 k 08:45:04 well I want to use the VESA BIOS in protected mode 08:45:31 I have tut's on it, I have loaded it like they sayd in the tut but it dasnt work 08:45:32 How do I specify an operand-size in NASM ? So I can make sure 'push 0x00' really pushes 4 bytes.. 08:45:51 yeah, you will have to map virtual memory for it linking it with the cards buffer 08:45:51 push dword 0x00 08:46:46 so I must use VM86 ? 08:47:03 Kylu: Thanks.. 08:47:09 n/p 08:47:26 tzn Virtual Mode 08:47:34 or I can use the VESA BIOS in protected mode 08:47:36 ? 08:47:58 you can certainly talk to the VESA bios via ports 08:47:59 well I have copyed the VESA BIOS from 0C0000 to my buffer 08:48:14 hmm 08:48:16 really ? 08:48:22 I think so 08:48:45 wait let me read up a little 08:48:58 well In the VBE 3.0 there is nothing about ports :( 08:49:07 they told me to copy the VB :( 08:49:30 I had VBE 3.0 before you send me it 08:49:43 oh 08:49:51 I have GForce 4 TI and I'm sure that I have VB 3.0 08:50:20 hey kylu, zephir.. ya know of any _simple_ malloc() algorithms 08:50:55 so let me strait it up 08:50:58 Kylu ok so you make sure the physical addys that the vesa buffer is at is mapped to virtual memory 08:51:18 mors: Look at kernighan and ritchie's malloc 08:51:37 "The C Programming Language" pg 185 if I am not mistaken 08:51:44 "virtual memory" ? 08:51:52 heard of that, i aint got a hardcopy 08:52:21 its 187 08:52:29 :) 08:53:34 well I have copyed the VESA BIOS, I've found the PMID sig I have put all of the selectors (0A000, ..., ..., Data16, I have made a 1024 byte stack) 08:54:00 I made up a Code16 selector and called the VESA BIOS INIT func 08:54:17 selector:offset the offset is from the PMID BLOCK 08:54:52 are you not using paging? 08:54:58 yes 08:55:05 its pure Protected mode 08:55:08 ok 08:55:38 well maybe I have to put to the Ds the selector to the BIOS EMULATION EREA ? 08:56:02 I am puting to Ss the selecor to stack 08:56:08 Kylu, I havent actually implemented VESA yet 08:56:09 and I'm calling the VB INIT 08:56:22 and then in crashes :( 08:56:35 have you checked the values ? 08:56:42 guessing soo 08:56:52 well I have been very carful 08:56:58 with writing it 08:57:08 I have checked many times 08:57:22 and everything seems to be ok 08:57:25 uhm, make sure the values are right by printing them 08:57:42 well ok and I wanted to use Bosh 08:57:56 Bosh? 08:57:59 Bochs? 08:58:05 but it prints: No a bootble disc 08:58:13 yes 386 emulator 08:58:21 Not a bootble disc 08:58:37 that could be a myriad of things 08:59:00 the disk works when it is loaded by bios but when I try witch bosh it dasn work 08:59:55 dont know about it 08:59:56 then 09:00:32 well maybe you know someone who knows VB good ? 09:00:36 --- join: trans (mthnmd@fatwire-201-147.uniserve.ca) joined #osdev 09:01:06 hah 09:01:12 not here 09:01:21 dont hang around here 09:01:27 well ok thanks for the help 09:01:33 dont mention it 09:02:06 Kylu do you have a running scheduler? 09:02:47 scheduler ? 09:03:14 well I dont know english very good so you must forgive me 09:03:30 whats your nationality? 09:03:30 umm one that schedules threads in an os, question are you even working on operating systems? 09:03:36 polish 09:03:40 ah, okay 09:03:59 oh that yes I am working on my OS 09:04:20 no I only have the boot loader, the kernel, and know I am working on the VB 09:04:34 what have you done in the kernel 09:05:07 well it loades the tables IDT GDT LDT, it copyes the standard drivers 09:05:30 copies the standard drivers? what do you mean? 09:05:57 well you know somthing that is very important like the disk driver or the graphics driver 09:06:23 yeah, but why did you say 'copies' the drivers? 09:06:24 with out the disk driver you wond load any more drivers :) 09:06:34 copyes 09:06:41 are you just saying that you have few device drivers implemented? 09:06:52 well, i got a lil confused :) 09:07:10 well it would be like that : 09:07:21 okay :) 09:07:22 My kernel has the floppy disk driver 09:07:40 with this driver it will load the other drivers from the floppy disk 09:08:01 oh okay, so what other drivers ya got? 09:08:16 --- quit: demise ("hi miss, want a rim job after lunch?") 09:09:14 well I dont have any drivers know but I know how to write the: HDD driver, FDD driver, simple VGA/EGA driver, printer driver, mouse, keyboard, motherboard, DMA, PIO settings 09:10:15 I wanted first to do the hardest VB 09:10:25 other is simple 09:10:29 cool 09:11:59 and you mors, ary you writing an OS ? 09:13:31 --- quit: I440r-zzz (Read error: 110 (Connection timed out)) 09:13:34 heh, not really. just a jumbled up collection of code. mostly for educational purposes 09:13:49 oh ok 09:14:17 well for my education it is usles I'm to young 09:14:36 I meen school 09:15:03 how old are ya 09:15:17 14 09:15:29 ok :) 09:16:01 so I dont know english very good :( 09:16:30 understandable 09:16:37 doesnt matter, really 09:16:45 Kylu, its not bad at all 09:16:49 actually its pretty goo 09:16:49 d 09:17:05 well thanks but sometimes I have comunical problems 09:17:13 comunicatial 09:17:30 in polish it would be "komunikacyjne" :) 09:17:31 :) 09:17:54 are all these eurpoean languages derived from english? most of em sounds so.. 09:18:06 communicatial - sounds frenchish to me 09:18:16 mors latin 09:18:26 ah 09:18:32 eng is derived from latin 09:18:38 how old are you mors btw? 09:18:47 hmm, i get it... 09:18:48 btw bay the way ? 09:18:56 too old to be in this channel :) 09:19:00 23 09:19:02 you? 09:19:11 --- quit: petrusss () 09:19:12 20 in a couple mos 09:19:30 ok. i dont like teens anyway. heh 09:19:42 punk ... :) 09:19:47 --- join: file[wifi] (~file@mctn1-0065.nb.aliant.net) joined #osdev 09:19:55 ;) 09:19:59 file! 09:20:34 file[wifi]! 09:20:56 damn I need someone who knows about thread switching 09:21:09 what about it? 09:22:58 well i have a new thread, and since its stack is empty all I do in the switch routine is push all the general registers to the old stack, save the old stack, load the new thread's stack, and then do a "call %edx" where edx holds the pointer to the function 09:23:24 ah, i like the sentence mentioned as my random quote for Aug, in the channel website .."decide your actions based on your values" 09:23:26 is that the right way? because after I make the switch, I dont get any more interrupts for some odd reason 09:23:36 hehe 09:24:39 hm.. thats how ya do it... no interrupts, eh. 09:25:12 using timer? 09:25:26 ya use the timer interrupt to switch? 09:25:26 yeah 09:25:35 well I have a timer event queue 09:25:58 and when I commented out the reschedule code, at every interrupt I did get in the reschedule() 09:25:59 you resetting the timer IRQ? 09:26:02 erm yes hi 09:26:07 hi 09:26:09 before jumping to the thread? 09:26:24 something like this -> outport(0x20, 0x20); 09:26:25 mors. hm 09:26:36 otherwise, ya dont get any more interrupts, i think 09:26:37 yeah I know the code, lemme check 09:27:41 shit buggy code I think 09:28:08 so the timer_Event has a pointer to the function that should be called, and it points to reschedule, which reschedules, and switches the threads 09:28:28 so it never gets to the remainder of the timer_interrupt_handler 09:28:39 yea. so the timer irq will never get reset 09:28:42 well I had an idea to switch the threads using debug interupt 09:28:47 http://p4.crix.org/cgi-bin/fileViewer.cgi?FSPC=//depot/crix/kernel/kern%5ftimer.c&REV=10 09:29:00 mors see timer_interrupt_handler 09:29:08 man I am a goofball 09:29:20 is that your code? 09:29:31 yeah 09:29:47 brrrrr I hate C 09:29:50 I love asm :) 09:30:17 mors, I dont think I reset the timer, I just set the new timer value 09:30:28 which I think would have the same effect 09:31:33 dunno.. but if you are getting only one timer interrupt, then you should think about resetting it or on those lines 09:31:37 --- join: petrusss (~petrusss@h178n2fls31o862.telia.com) joined #osdev 09:32:45 well... see in my reschedule function with everything commented out and no switching, I do return to the timer_interrupt_handler, and I get another timer interrupt 09:33:25 its when I switch I dont back to the timer_interrupt_handler so it doesnt set the new timer value 09:33:35 and thats when its gets screweed 09:33:47 yea.. 09:34:01 yeah bad design on my part 09:34:30 but looks like youve done quite a lot.. spinlocks and all.. 09:35:24 ugh, i have to do this malloc() today.. afk 09:35:42 mors: take a look at kern_heap.c 09:35:54 I used K&R;s too 09:36:35 okay. i guess i will have K&R lying somewhere around... 09:37:14 --- quit: lynx (Read error: 60 (Operation timed out)) 09:37:28 --- quit: petrusss () 09:40:51 --- join: petrusss (~petrusss@h178n2fls31o862.telia.com) joined #osdev 09:45:08 --- join: Prophet__ (Prophet@p50813F3B.dip.t-dialin.net) joined #osdev 09:49:04 --- quit: petrusss (Read error: 104 (Connection reset by peer)) 09:50:26 --- join: lynx (~lodsb@p50809FB5.dip.t-dialin.net) joined #osdev 09:50:29 --- quit: wossname ("wtfcul8rd00dbbq") 09:56:42 --- join: petrusss (~petrusss@h178n2fls31o862.telia.com) joined #osdev 10:05:39 --- quit: Prophet_ (Read error: 110 (Connection timed out)) 10:09:04 --- nick: cookin -> cookin-drunk 10:10:21 --- quit: gianluca ("Client exiting") 10:15:20 --- join: mmoss (~mmoss@24.231.149.99) joined #osdev 10:38:40 --- join: redblue (star@ppp036.216-96-207.sherb.mt.videotron.ca) joined #osdev 10:49:28 --- join: newbs (~tumbler@ts1-illavl110.shawneelink.net) joined #osdev 10:49:48 --- quit: Dr_Evil () 10:55:30 --- join: redb1ue (star@ppp049.216-96-207.sherb.mt.videotron.ca) joined #osdev 10:56:50 --- quit: trans (Read error: 110 (Connection timed out)) 11:00:08 * wli gives up on loading from disk for the moment and decides to use a bootloader to shoehorn an fs image into RAM 11:00:12 --- quit: redblue (Read error: 104 (Connection reset by peer)) 11:01:14 good night *.*' 11:01:17 --- quit: Kylu () 11:23:57 --- quit: zephir ("I will scratch you on my Technics SL - 1200") 11:34:50 --- join: neocoder (~peter@neocoder.ros.sgsnet.se) joined #osdev 11:43:19 how do I get the cursors X and Y position? 11:45:10 --- join: CLxyz (CLxyz@00-01-03-d2-a4-07.bconnected.net) joined #osdev 11:48:44 --- quit: redb1ue (Read error: 104 (Connection reset by peer)) 11:57:08 petrusss: You never get them.. You set them.. 11:57:22 ok 11:57:40 petrusss: And, there's no such thing as a cursor.. Just a blinking thing on the screen that hasn't got a thing to do with where you're outputting text. 11:57:41 but, how do I know where to put the text if I can't get the cursor? 11:57:57 ok, how do I know where I should put my text then? 11:58:05 you keep track of where the cursor is whenever you set it 11:58:11 You have two variables, x & y, where you yourself keep track of where the next character should be. 11:58:20 --- join: nullify (nullify@pool-141-153-188-211.mad.east.verizon.net) joined #osdev 11:58:23 someone said something about registers 11:58:37 why can't I use a static/global variable? 11:58:38 And, after you've printed the character, you can move the cursor if you like.. 11:58:54 petrusss: You can use a global variable if you'd like. 11:59:17 great! 11:59:34 but, where should I put it? 11:59:42 in the kernel? 12:02:22 --- quit: file[wifi] () 12:04:50 --- join: m0rs (~warlord@64.104.130.113) joined #osdev 12:05:52 --- join: redblue (star@ppp039.216-96-207.sherb.mt.videotron.ca) joined #osdev 12:13:21 --- quit: witten (Remote closed the connection) 12:13:53 --- join: witten (~witten@adsl-gte-la-216-86-199-140.mminternet.com) joined #osdev 12:15:28 --- join: trans (baymsy@fatwire-201-147.uniserve.ca) joined #osdev 12:19:47 --- quit: m0rs (Read error: 54 (Connection reset by peer)) 12:21:02 --- join: demise (~HjuT@c-8b4272d5.01-94-7673741.cust.bredbandsbolaget.se) joined #osdev 12:31:33 hmm? 12:36:18 --- quit: ToreSB ("leaving") 12:41:15 --- quit: nullify () 13:06:44 --- quit: neocoder (Read error: 60 (Operation timed out)) 13:23:48 --- quit: trans (Read error: 110 (Connection timed out)) 13:26:02 --- quit: witten (Remote closed the connection) 13:29:21 --- join: neocoder (~peter@neocoder.ros.sgsnet.se) joined #osdev 13:34:57 --- join: wcstok (strtok_r@dialup-67.31.178.119.Dial1.Denver1.Level3.net) joined #osdev 13:40:14 --- join: gianluca (~gl@ppp-236-138.28-151.libero.it) joined #osdev 13:51:31 --- join: witten (~witten@adsl-gte-la-216-86-199-140.mminternet.com) joined #osdev 13:53:43 --- quit: redblue (Read error: 54 (Connection reset by peer)) 13:58:09 --- join: redblue (star@ppp082.216-96-207.sherb.mt.videotron.ca) joined #osdev 14:07:59 --- quit: demise () 14:27:57 --- join: frzd (frzd@pool-141-150-97-196.nwrk.east.verizon.net) joined #osdev 14:31:49 --- join: dax (dax@81.11.142.215) joined #osdev 14:35:25 --- join: agony (~jay@AMontsouris-108-2-4-5.w193-252.abo.wanadoo.fr) joined #osdev 14:36:10 --- quit: wcstok (No route to host) 14:36:29 --- quit: neocoder (Read error: 60 (Operation timed out)) 14:41:18 --- join: trans (sqqbhk@fatwire-201-147.uniserve.ca) joined #osdev 14:45:11 --- quit: gianluca (Read error: 110 (Connection timed out)) 14:46:49 --- quit: wl ("Liebe ist eine Intimrasur. (American Pie)") 15:01:12 --- quit: newbs (Client Quit) 15:09:44 --- quit: trans (Read error: 60 (Operation timed out)) 15:10:37 --- join: redb1ue (star@ppp095.216-96-207.sherb.mt.videotron.ca) joined #osdev 15:35:05 --- quit: redblue (Connection timed out) 15:57:29 --- quit: air (Remote closed the connection) 15:57:47 --- join: air (~brand@12-210-160-198.client.attbi.com) joined #osdev 16:11:21 --- quit: masi (Read error: 60 (Operation timed out)) 16:13:16 --- join: masi (~masi@APuteaux-115-1-8-114.w81-49.abo.wanadoo.fr) joined #osdev 16:18:24 --- join: SIS-1650-01 (~sis@as11-2-1.rny.s.bonet.se) joined #osdev 16:26:59 --- quit: mur ("Murr.") 16:33:24 --- join: wcstok (strtok_r@dialup-67.31.178.4.Dial1.Denver1.Level3.net) joined #osdev 16:43:06 --- join: trans (yfaqgs@fatwire-201-147.uniserve.ca) joined #osdev 16:43:12 hey 16:43:21 how are you all? 16:46:39 --- join: file (~joshnet@mctn1-0065.nb.aliant.net) joined #osdev 16:46:50 hey 16:46:59 fine 16:47:05 I am at least 16:47:10 =) 16:47:24 but I'm starting to get a little tired though 16:47:51 --- quit: file (Client Quit) 16:47:52 that sucks 16:48:03 you know perl? 16:49:03 sure 16:49:21 not very well though 16:49:30 oh 16:49:34 --- join: file (~joshnet@mctn1-0065.nb.aliant.net) joined #osdev 16:49:38 what is it? 16:50:14 i'm trying to evaluate a file from within perl but without retaining it in memory 16:50:32 what would be the best way to do that 16:51:06 hmm 16:51:15 I have no idea 16:52:39 oh i found something =) 16:52:49 thanks anyways =) 16:53:00 --- quit: agony (Read error: 104 (Connection reset by peer)) 16:53:34 --- quit: SIS-1650-01 (Read error: 60 (Operation timed out)) 16:56:16 --- join: newbs (~tumbler@ts1-illavl295.shawneelink.net) joined #osdev 16:57:23 --- quit: file (Read error: 104 (Connection reset by peer)) 17:20:54 --- quit: krux (Remote closed the connection) 17:22:43 --- join: idle- (~idle@208.27.0.111) joined #osdev 17:23:53 --- quit: idle (Nick collision from services.) 17:23:59 --- nick: idle- -> idle 17:29:48 --- join: SLACKo (~foo@65.199.128.16) joined #osdev 17:36:42 --- join: file[wifi] (~file@mctn1-0065.nb.aliant.net) joined #osdev 17:38:56 --- quit: trans (Read error: 110 (Connection timed out)) 17:47:31 --- quit: redb1ue (Read error: 60 (Operation timed out)) 17:54:45 --- join: zephir (~sdebnath@12-222-128-171.client.insightBB.com) joined #osdev 17:55:53 --- quit: wcstok (Read error: 113 (No route to host)) 18:01:12 --- join: redblue (star@ppp018.216-96-207.sherb.mt.videotron.ca) joined #osdev 18:01:40 --- quit: redblue (Client Quit) 18:03:01 --- quit: witten (Remote closed the connection) 18:04:03 --- join: redblue (star@ppp041.216-96-207.sherb.mt.videotron.ca) joined #osdev 18:04:39 --- join: Apophis (~kn64@ppp124-164.lns1.syd2.internode.on.net) joined #osdev 18:09:04 --- join: witten (~witten@adsl-gte-la-216-86-199-140.mminternet.com) joined #osdev 18:11:15 --- join: Dr_Evil (DSLflat@p508FE283.dip.t-dialin.net) joined #osdev 18:30:00 --- quit: redblue (orwell.freenode.net irc.freenode.net) 18:30:00 --- quit: air (orwell.freenode.net irc.freenode.net) 18:30:00 --- quit: Divine (orwell.freenode.net irc.freenode.net) 18:30:00 --- quit: johs (orwell.freenode.net irc.freenode.net) 18:30:00 --- quit: kyelewis (orwell.freenode.net irc.freenode.net) 18:30:00 --- quit: Robert (orwell.freenode.net irc.freenode.net) 18:31:21 --- join: Robert (~snofs@h31n2fls31o965.telia.com) joined #osdev 18:33:44 --- join: redblue (star@ppp041.216-96-207.sherb.mt.videotron.ca) joined #osdev 18:38:22 --- join: kyelewis2 (~kye@dsl-217.66.240.220.lns02-dryb-mel.dsl.comindico.com.au) joined #osdev 18:38:47 --- nick: kyelewis2 -> kyelewis 18:57:05 --- quit: petrusss () 18:57:51 --- join: petrusss (~petrusss@h178n2fls31o862.telia.com) joined #osdev 18:59:00 --- quit: Dr_Evil (orwell.freenode.net irc.freenode.net) 18:59:00 --- quit: Rico (orwell.freenode.net irc.freenode.net) 18:59:35 --- join: Dr_Evil (DSLflat@p508FE283.dip.t-dialin.net) joined #osdev 18:59:35 --- join: Rico (Rico@node-c-75bb.a2000.nl) joined #osdev 18:59:35 --- mode: brunner.freenode.net set +b [*]!*@* 19:09:30 hmm 19:09:46 .. 19:09:48 should I save every output in the console to a array or something? 19:09:53 an* 19:10:31 you might 19:11:00 ok 19:11:06 just if I want to scroll up? 19:11:10 be able 19:11:42 I dunno.. do what you feel is best 19:11:58 I've never made an os :) 19:12:06 ok :) 19:12:43 one more question :) 19:12:56 I have a floppy.img, how do I create a floppy that looks like that file? 19:13:04 dd 19:13:19 dd? 19:14:12 dd if=floppy.img of= 19:14:22 in winxp :) 19:14:37 heh.. not a unix user :) 19:15:03 there was this program.... 19:15:50 --- quit: Prophet__ ("Der Letzte macht das Netz aus!") 19:16:31 hmm 19:16:48 partcopy? 19:18:20 ahh! rawrite.exe 19:18:26 you'll have to download it 19:19:13 http://uranus.it.swin.edu.au/~jn/linux/rawwritewin-0.7.zip 19:19:30 there you go mate.. have fun :) 19:19:57 thanks alot :) 19:20:13 np 19:22:23 --- join: Prophet_ (Prophet@p50813F3B.dip.t-dialin.net) joined #osdev 19:33:05 --- quit: Dr_Evil () 19:44:28 --- quit: newbs (Client Quit) 19:49:31 --- quit: redblue (Read error: 104 (Connection reset by peer)) 19:53:00 --- quit: SLACKo (Read error: 60 (Operation timed out)) 20:01:58 --- quit: Matzon (Read error: 110 (Connection timed out)) 20:08:40 how do I get input from a keyboard? 20:11:38 --- quit: kernel-panic ("sleeping needed") 20:14:01 irq? 20:17:15 party over now 20:17:16 good night 20:17:19 (: 20:17:42 heh 20:32:48 --- join: air (~brand@12-210-160-198.client.attbi.com) joined #osdev 20:33:05 --- quit: air (Client Quit) 20:33:16 --- join: air (~brand@12-210-160-198.client.attbi.com) joined #osdev 21:04:32 --- join: Divine (~john@12-246-112-182.client.attbi.com) joined #osdev 21:05:27 --- join: krux (~krux@66.14.118.85) joined #osdev 21:09:49 --- join: johs (~johs@unity.copyleft.no) joined #osdev 21:14:04 --- quit: mmoss ("Client exiting") 21:29:55 --- join: trans (drqxdf@fatwire-201-147.uniserve.ca) joined #osdev 21:35:27 --- join: Matzon (Mazon@80.197.154.22) joined #osdev 21:41:10 yea, petrusss.. unmask the keyboard irq 21:41:33 and you will get the scancodes in the keyboard port, read the scancodes, convert em and put it to the screen 21:51:31 --- join: Carp (Carp@ip-204-97-151-208.modem.logical.net) joined #osdev 21:51:47 --- part: Carp left #osdev 23:28:07 --- quit: frzd (Read error: 110 (Connection timed out)) 23:34:20 --- quit: kyelewis ("You'll never catch me! NOOOOOOOOO!") 23:34:56 --- quit: Divine (Read error: 104 (Connection reset by peer)) 23:36:40 --- quit: trans (Read error: 60 (Operation timed out)) 23:39:29 --- join: Divine (~john@12-246-112-182.client.attbi.com) joined #osdev 23:46:39 --- join: eniac_ (~eniac@237.124-136-217.adsl.skynet.be) joined #osdev 23:51:50 --- join: trans (wtjbjj@fatwire-201-147.uniserve.ca) joined #osdev 23:52:42 --- quit: Divine (Read error: 104 (Connection reset by peer)) 23:55:17 --- join: Divine (~john@12-246-112-182.client.attbi.com) joined #osdev 23:59:59 --- log: ended osdev/03.09.27