00:00:00 --- log: started osdev/03.12.16 00:05:30 --- join: witten (~witten@adsl-gte-la-216-86-199-140.mminternet.com) joined #osdev 00:23:41 howdy witten 00:24:19 hi 00:24:56 and hello to you too debug 00:26:21 heya witten, debug 00:26:54 --- join: gab (~gab@proxima.chx-labs.org) joined #osdev 00:33:34 gmorning 00:34:51 * geist goes to sleep 00:36:33 night geist 00:46:46 --- quit: yuriz ("leaving") 00:55:18 --- quit: witten (Read error: 60 (Operation timed out)) 01:31:35 --- join: _PePs_ (~dieu@AAmiens-106-1-30-226.w81-248.abo.wanadoo.fr) joined #osdev 01:43:19 --- join: Mathis__ (~Mathias@pD9EAAC8B.dip.t-dialin.net) joined #osdev 01:59:12 --- join: demise (KSx_@c-924272d5.01-94-7673741.cust.bredbandsbolaget.se) joined #osdev 02:01:05 --- quit: Mathis_ (Read error: 110 (Connection timed out)) 02:01:09 --- quit: debug ("Client Exiting") 02:41:35 --- join: mrMister (andry@klaki.net) joined #osdev 02:52:15 --- quit: demise () 02:55:48 --- quit: I440r_ (Read error: 60 (Operation timed out)) 02:57:41 --- join: I440r_ (~mark4@12-160.lctv-a5.cablelynx.com) joined #osdev 02:59:15 --- quit: air (Read error: 110 (Connection timed out)) 03:04:17 --- nick: kyelewis -> kyelewis|afk 03:07:00 --- quit: voider (Remote closed the connection) 03:07:28 --- join: voider (~voider@modemcable226.10-203-24.mc.videotron.ca) joined #osdev 03:07:28 --- nick: Robert_ -> Robert 03:22:48 --- quit: mrMister ("Lost terminal") 03:30:37 --- quit: I440r_ (Excess Flood) 03:30:48 --- join: I440r_ (~mark4@12-160.lctv-a5.cablelynx.com) joined #osdev 03:41:33 --- quit: I440r_ (Excess Flood) 03:41:45 --- join: I440r_ (~mark4@12-160.lctv-a5.cablelynx.com) joined #osdev 03:56:19 --- join: travis0x (~xlax@216.13.241.136) joined #osdev 04:19:37 --- part: travis0x left #osdev 04:56:30 --- quit: thc (Read error: 104 (Connection reset by peer)) 05:09:34 --- join: air (~brand@c-24-10-199-222.client.comcast.net) joined #osdev 05:23:04 --- join: frank (frank@e211141.upc-e.chello.nl) joined #osdev 05:23:07 hiya all 05:28:18 hi 05:37:27 --- join: acidx (e63a20f9b3@200-158-191-221.dsl.telesp.net.br) joined #osdev 05:38:05 --- nick: file[ZzZz] -> file 05:50:02 --- quit: peng ("I could develop a system that would make money obsolete, but it would only make me rich") 05:52:05 --- join: wl (philipp@pD9E2DF9C.dip.t-dialin.net) joined #osdev 05:53:29 --- join: WouteZZ (WouteZZ@node1352d.a2000.nl) joined #osdev 05:53:36 hi all 05:53:45 (unsigned char *)0xb8000+i = test[i/2]; 05:53:45 (unsigned char *)0xb8001+i = 7; 05:53:52 what's wrong ? 05:55:20 nm ... 05:55:22 --- quit: WouteZZ (Client Quit) 05:55:35 put the casts on the other side ;-) 05:55:48 hmpf 06:21:25 --- quit: I440r_ ("brb") 06:24:38 --- join: lodda (apache@as2-2-7.dre.s.bonet.se) joined #osdev 06:34:50 hello ... folks 06:43:41 --- join: thc (who@pD9538E37.dip.t-dialin.net) joined #osdev 06:46:27 --- quit: unreal (Read error: 104 (Connection reset by peer)) 06:50:58 --- join: wcstok (strtok_r@cras74p82.navix.net) joined #osdev 06:59:22 --- join: ZLM (~fork@AToulouse-103-1-2-183.w80-13.abo.wanadoo.fr) joined #osdev 07:01:58 --- join: I440r (~mark4@saturn.vcsd.com) joined #osdev 07:03:04 --- quit: teletype ("leaving") 07:03:19 --- quit: thc (Read error: 60 (Operation timed out)) 07:14:07 --- quit: cookin (Remote closed the connection) 07:14:36 --- join: Ceil (~CP@pD9038C87.dip0.t-ipconnect.de) joined #osdev 07:15:24 --- quit: ZLM ("--") 07:23:36 --- quit: Ceil ("leaving") 07:31:07 --- quit: wcstok () 07:33:39 --- join: demise (KSx_@c-9d4272d5.01-94-7673741.cust.bredbandsbolaget.se) joined #osdev 07:46:49 --- join: cookin (~jrydberg@h236n1c1o1044.bredband.skanova.com) joined #osdev 08:19:51 * frank drinks acid 08:35:50 * Robert feeds frank with more acid. 08:38:40 hmm I suppose 1.5l today also 08:38:48 I drink a bit much 08:46:30 o_O 08:49:14 acidx? 08:49:41 me. 08:53:45 --- join: thc (who@p5086F3A3.dip.t-dialin.net) joined #osdev 09:01:40 hiya thc 09:38:31 --- quit: demise () 10:01:46 --- join: Dr_Evil (DSLflat@p508FECD9.dip.t-dialin.net) joined #osdev 10:09:25 --- quit: frank (Read error: 104 (Connection reset by peer)) 10:24:38 --- join: frank (frank@e211141.upc-e.chello.nl) joined #osdev 10:27:07 --- quit: acidx ("My damn controlling terminal disappeared!") 10:48:25 --- join: unreal (unreal@unreal.registered.freenode) joined #osdev 10:59:40 --- join: GoDie (~GoDie@249.Red-217-127-82.pooles.rima-tde.net) joined #osdev 11:18:46 --- join: Ceil (~CP@pD9038CCA.dip0.t-ipconnect.de) joined #osdev 11:24:57 --- quit: lodda ("CGI:IRC (Session timeout)") 11:28:59 --- join: ZLM (~fork@AToulouse-103-1-2-183.w80-13.abo.wanadoo.fr) joined #osdev 11:30:15 --- quit: Ceil ("leaving") 11:30:23 --- quit: frank ("brb") 11:32:19 --- join: frank (frank@e211141.upc-e.chello.nl) joined #osdev 11:36:04 --- join: pavlovski (~tim@modem-3934.buffalo.dialup.pol.co.uk) joined #osdev 11:38:29 --- join: Patrick_W (~nobody@voltaire.resnet.mtu.edu) joined #osdev 11:39:02 --- join: gianluca (~glguida@ppp-52-132.28-151.libero.it) joined #osdev 11:47:29 --- join: _avlovski (~tim@modem-3934.buffalo.dialup.pol.co.uk) joined #osdev 11:47:30 --- quit: pavlovski (Read error: 104 (Connection reset by peer)) 11:50:12 --- quit: raiche (Read error: 104 (Connection reset by peer)) 11:50:14 --- join: raiche (~K@h173n2fls31o865.telia.com) joined #osdev 11:50:31 --- nick: _avlovski -> pavlovski 12:02:18 --- quit: nolan ("Client exiting") 12:02:40 --- quit: frank ("brb") 12:03:01 --- nick: gianluca -> gianl_ballaro 12:03:26 --- join: nolan (foobar@dsl092-251-209.sfo4.dsl.speakeasy.net) joined #osdev 12:05:22 --- join: frank (frank@e211141.upc-e.chello.nl) joined #osdev 12:07:28 --- quit: frank (Read error: 104 (Connection reset by peer)) 12:14:43 --- join: frank (frank@e211141.upc-e.chello.nl) joined #osdev 12:16:37 --- quit: frank (Client Quit) 12:21:33 --- join: frank (frank@e211141.upc-e.chello.nl) joined #osdev 12:48:54 --- quit: Dr_Evil (Nick collision from services.) 12:49:12 --- join: Dr_Evil (DSLflat@p508FF9DE.dip.t-dialin.net) joined #osdev 12:52:02 --- quit: Dr_Evil (orwell.freenode.net irc.freenode.net) 12:52:38 --- join: Dr_Evil (DSLflat@p508FF9DE.dip.t-dialin.net) joined #osdev 12:58:48 --- nick: kyelewis|afk -> kyelewis|tv 13:01:55 --- quit: Dr_Evil (orwell.freenode.net irc.freenode.net) 13:02:43 --- join: Dr_Evil (DSLflat@p508FF9DE.dip.t-dialin.net) joined #osdev 13:04:31 hiya Dr_Evil 13:07:20 --- quit: pavlovski (Read error: 60 (Operation timed out)) 13:08:06 re 13:09:06 re 13:09:18 my fileserver is more quiet then my workstation, how... odd 13:09:19 this new hardrive rocks 13:13:42 rock and roll 13:16:27 --- join: witten (~witten@ip-64-32-131-193.dsl.lax.megapath.net) joined #osdev 13:20:49 --- join: _PePs__ (~dieu@AAmiens-106-1-34-63.w81-250.abo.wanadoo.fr) joined #osdev 13:22:22 --- join: pavlovski (~tim@modem-2163.aardvark.dialup.pol.co.uk) joined #osdev 13:23:23 --- quit: frank ("zzzz") 13:28:28 --- quit: _PePs_ (Read error: 60 (Operation timed out)) 13:31:14 --- quit: thc ("bye bye") 13:39:26 --- join: Robert__ (~snofs@c-305a71d5.17-1-64736c10.cust.bredbandsbolaget.se) joined #osdev 13:41:44 --- quit: Robert (Read error: 113 (No route to host)) 13:45:57 --- nick: Robert__ -> Robert 13:56:13 --- quit: pavlovski (Read error: 54 (Connection reset by peer)) 13:57:05 --- join: newbs (newbs@ts1-illavl278.shawneelink.net) joined #osdev 13:58:25 --- nick: gianl_ballaro -> gianluca 14:14:02 --- quit: Dr_Evil () 14:22:31 --- join: the_faulk (1000@lnhe3-149.2wcm.comporium.net) joined #osdev 14:22:34 hi 14:24:33 yo 14:24:52 oy 14:27:59 What the hell... 14:28:03 This thing is driving me mad. 14:28:25 So are your properly capitalized and punctuated sentences. 14:28:28 When the kernel is located at 0x20000, it runs on a real PC but not in bochs. When it is located at 0, bochs runs it but not a real PC. 14:28:39 Just completely aggravating. 14:28:41 ree: ;) 14:29:12 Seriously, I wonder what could possibly be wrong here. 14:29:20 Me too. 14:29:38 stfu kthx 14:30:23 No problem! 14:30:39 I had a lot of address issues with bochs/real pc 14:30:53 but mostly when dealing with low mem 14:31:20 Oh 14:31:21 tree and trobert 14:31:25 --- join: kriptox_ (~fork@AToulouse-103-1-3-226.w80-14.abo.wanadoo.fr) joined #osdev 14:31:35 ree: Any idea what was wrong then? 14:31:35 and giest and dozens of others 14:32:02 --- nick: kriptox_ -> ZLM_ 14:32:22 where is your stack space? 14:32:47 do i need to load my PIT before i boot my kernel? 14:33:35 ree: i stack everything on table 14:33:46 i have several stacks ;) 14:33:47 ree: 0x9ffff 14:34:09 I believe I had problems with a stack at 9ffff 14:34:24 ree: At first, then I allocate space for it (above 1MB, I checked that) with the memory manager. 14:34:31 Really? Any idea why? 14:35:22 When I put it on 0x800 it doesn't with in bochs and it doesn't work on my test PC. 14:35:23 none, sorry.. but moving it 200h below seems to work 14:35:26 Grrr... 14:35:37 I'll give it a try anyway. 14:35:40 so moving your stack does effect it? 14:35:55 It = the kernel, in this case. 14:38:38 --- join: ReKleSS (~rekless@c211-28-178-116.mckinn1.vic.optusnet.com.au) joined #osdev 14:40:33 --- quit: wl ("Quit") 14:43:14 do i need to load my PIT before i boot my kernel? 14:44:50 no, as long as you have interrupts disabled 14:45:05 and what do you mean by 'load your pit'? you mean 'set it up?' 14:45:14 yeah 14:45:52 yeah you dont need it until you enable external interrupts 14:46:10 --- quit: ZLM (Connection timed out) 14:46:19 ok 14:46:55 geist: Any idea what could cause my problem? 14:47:22 Like, some difference between bochs and a real PC that could be related to it.. 14:47:59 Hmmmm... 14:48:14 well a real pc might use 0 to load some of it's internal data 14:48:17 so when i set up my IDT/ISRs i need to set up the PIT first? 14:48:43 the_faulk: you can set up the idt all you want, you just can't actually expect any external interrupts to work until you've set up the PIC 14:48:48 Now I came to think about something. It crashed at a 4kB boundary (between 4kB page 0 and 1) last time.. But paging *should* be disabled. 14:48:50 oh wait, you're talking about PIT 14:48:56 not the PIC 14:49:02 heyas 14:49:07 the PIT has nothing to do with taking interrupts 14:49:08 kyelewis|tv: Hi there 14:49:08 the PIC does 14:49:13 kyelewis|tv: morningv 14:49:14 --- nick: kyelewis|tv -> kyelewis 14:49:26 hehe... go the simpsons! 14:49:27 :) 14:49:56 lol 14:49:58 geist: Anyway, what did you mean with "might use 0 to load"? 14:50:07 kyelewis: :) 14:51:07 geist: And..what could make it crash at 4kB (without any obvious reason) on a PC but not in bochs? 14:51:10 Robert: sorry I mean, the bios might put stuff there 14:51:20 Robert: are you using paging? 14:51:23 geist: No. 14:51:32 then I dont know 14:51:40 everything below 640k is sort of suspect to me in general 14:51:43 geist: Unless I accidentialy turn it on somewhere.. it's enabled in cr0, right? 14:51:49 Hehe. 14:52:08 if so, it'd be the first time in history that anyone has even *accidentally* turned on paging 14:52:14 :) 14:52:17 it usually takes folks a while to figure it out 14:56:28 Hmm. 14:56:59 When I set all unused interrupts to point to a single "iret" instruction, I get this message from bochs (instead of a reboot): 14:57:02 Message: fetch_raw_descriptor: LDTR.valid=0 14:57:25 you can't do that 14:57:30 read the intel manual a bit more 14:57:40 some of the interrupts push an error code 14:57:52 and its up to the responsiblity of the code to pop the error code before you ret 14:58:07 that's *probably* not your problem, but it is one nonetheless 14:58:33 Oh. 14:58:39 Thanks for the advice anyway. 14:59:38 yeah, geist stated that awhile ago.. caught me by surprise as well 14:59:42 Hmm. 14:59:48 It IS there it crashes. 14:59:50 though my system isn't to a point where it makes a difference hehe 14:59:54 On that iret 14:59:57 ah ha 15:00:02 so that's probably it 15:00:08 Thanks alot, then. 15:00:11 well, that might be it 15:00:43 http://www.newos.org/cgi-bin/fileViewer.cgi?FSPC=//depot/newos/kernel/arch/i386/arch%5finterrupts.S&REV=14 15:00:46 Yeah.. is there any quick check or so to determine if there's something to get rid of on the stack? 15:01:03 the ones that have TRAP_ERRC in the front are ones you have to pop the error code before you return 15:01:20 Thanks. Just one dword to pop? 15:01:24 yep 15:02:39 you should actually add 4 to esp 15:02:48 Yeah. 15:02:49 if you pop, you'll have to trash a register 15:02:59 just a little detail... :) 15:08:37 Hmm.. 15:09:21 It locks the program, and bochs outputs this line over and over again: 15:09:23 00000921096i[CPU0 ] read_virtual_checks(): write beyond limit 15:09:33 But that error does not occur on my PC. 15:10:03 yep, sound slike you need to debug it 15:10:29 That's what I've been doing the last hours. 15:10:29 --- quit: HeavyJoost (":q!") 15:10:45 --- join: HeavyJoost (~heavyjoos@ditwilookwel.xs4all.nl) joined #osdev 15:10:46 But sure, I'll continue. 15:10:59 yep 15:11:21 a hint of mine would be to dig into bochs and see precisely what it did to print that 15:11:24 then try stepping through the code 15:11:33 or instrumenting the source of bochs 15:11:45 I've found that to be totally helpful in these initial bringup stages 15:12:09 instrumenting? 15:13:43 editing the code to print stuff 15:14:17 Oh. 15:14:28 that's the best part of bochs 15:14:39 you can open up it's brains to see what's up 15:14:59 I dont think I've ever seen it do anything invalid either, it's pretty solid 15:15:26 if something works in one spot and not in another, that's a usual sign that you're doing something wrong, and are just getting away with it 15:15:27 Hmm.. seems like that error occurs when trying to read from memory location ffffffff. I think that might be due to some bug in the Forth system. 15:15:58 Yeah, heh. 15:16:28 If I can't get this to work I'll download the bochs sources... 15:21:14 --- quit: gianluca ("Leaving") 15:30:05 --- quit: I440r ("home is thataway -->") 15:34:58 --- join: pengo (xtofu@p86-tnt2.mel.ihug.com.au) joined #osdev 15:45:52 pengo 15:46:06 * mur is superb theoritic today 15:46:16 i've been talking and theoreticin for 3 hours in row 15:46:23 and it's 2 am and i dont feel goign sleep 15:46:29 morning 15:46:46 well in theory you can go to sleep whenever you choose 15:48:56 http://members.ozemail.com.au/~pengo/photo/ghostducks.jpg 15:50:11 hmm should have fixed the levels 15:51:01 --- quit: Prophet__ ("#define PROFTPD_MAGIC 0xDEADBEEF") 15:51:07 pengo: super cool 15:51:19 i first thought that its picture taken by hubble 15:51:25 hahhaa :) 15:51:34 pengo: you need to learn to colour manage pictures 15:51:39 set up right colours and such 15:51:45 yeah that was right 15:52:00 it's tungsten lighting :) i'm getting good at setting that now 15:52:12 i just need to start bothering to post-process 15:54:54 if my camera stored raw format it'd be so much better for it 15:55:42 ewll if you can use long lightning use that instead of flash or increasing lioghtning 15:56:10 15 seconds is my max exposure and that's what that shot was 15:56:11 --- quit: _PePs__ ("Fermeture du client") 15:56:11 geist: I found the bug. It was a high-level Forth definition that simply forgot to check for a NULL pointer... 15:56:40 hmm 15:56:42 1 min shoudl be enough 15:56:51 in dark with normal camera (system) 15:57:13 err.. i just realised you cant' take 4 pictures and combine them :P 15:57:39 pengo: you hsoul tkae lots of pictures of same subject 15:57:42 hmm i guess i could? 15:57:47 because first is not usually correct 15:57:57 pengo: well it's combination then 15:57:59 mur: i do take a few.. but the first is usually the best :) 15:58:03 nomore light will be added 15:58:18 you can do the same thing with programs (increasing the contrast etc) 15:58:20 value 15:58:29 take 10 15:58:30 tetra definitions can be global (no module prefix), normal (module prefix) or private (module prefix and no access outside module). right now they default to normal but should i make them default to private? 15:59:00 15 second exposure + another 15 second processing time means it takes a 5 minutes to take 10 shots :) 15:59:30 mur: lately i like to take slightly different angles so i can get a 3d effect by switching between the two images 15:59:41 --- join: I440r (~mark4@12-160.lctv-a5.cablelynx.com) joined #osdev 15:59:47 mur: sometimes i take a lot in the same position so you can see the clouds moving, etc (time laps) 16:00:02 mur: other times i'll take photos at different zooms 16:00:19 pengo: of course you shoudl try cropping picture in camera and repositioning yourself 16:00:27 mur: but i can't do it all the different ways unless i had 2 cameras 16:00:30 there is no point taking 10 exactly similar pcitures 16:01:22 you have lovely much ideas on experimental photographyings :) 16:01:31 i need to work out javascript so i can show a 2 frame animation .. very nice 3d effect 16:01:55 i really want a train track and a programmable camera :) 16:02:05 to make a little movie 16:02:29 build yourself 16:02:39 i have a big problem 16:02:39 actaully idea of film begun with 24 cameras 16:02:47 which took 24 motions of runner 16:02:48 i am very lazy 16:02:54 cool 16:02:55 that's who movie was invented 16:02:59 and why fps is 24 16:03:07 or 26 or wahte ver it as 16:03:25 24 for film, 25 pal, 29.97 ntsc 16:03:40 but yeah :) 16:03:51 there were "cables" which the runner broke and then camera took photo and then it looked moving and so 16:03:52 if he moved them all arond he could have made the matrix :) 16:04:05 sound is only special effect, its not part of movie core foundation 16:04:26 matrix movement is also copy from hundred years ago, sorry 16:04:36 such movements were done back then :) 16:04:38 --- quit: the_faulk ("Leaving") 16:04:38 hehe :) i thought this might be the case 16:04:47 but 100 years ago they didn't have latex 16:04:53 taking with dozens of cameras adound subject 16:04:59 --- quit: asm (Read error: 110 (Connection timed out)) 16:05:17 then you can just pick the pictures to make it look like paning lft to right and that's why you can stop it too 16:05:29 yep 16:05:31 matrix was done with system cameras 16:05:34 those shots 16:05:40 system? 16:05:42 photocameras 16:05:46 not film camera 16:05:51 ah k 16:06:27 have you used many different digital cameras? 16:06:37 not really 16:07:08 3 types 16:07:51 compact camera of digi (old, but "good") and video digicam (with possibility to take pics) and system digital camera 16:07:56 i dont think that i have used other 16:08:07 hmm one digicam at lapland uni 16:08:27 have you tried an SLR digital? 16:08:31 SLR? 16:09:08 then i have used compact normal camera and system camera (we have one at home, first electrical systems) and 16:09:13 (Single-lens Reflex) A camera that has one lens that is used for both composing the frame and capturing the image to memory, as opposed to Range Finder. The same as TTL. 16:09:36 the first kind of camera (outisde camera obsucra) 16:09:53 cool 16:09:54 i mean where you put the plate and it's exposed and then you make it negative and all 16:10:02 no film but plate 16:10:16 oldskool! 16:11:11 SLR is digital and film camera combined? 16:11:42 no no.. all digital.. but like a film camera 16:12:03 uhhuh? 16:12:07 you see the photo you're getting through the camera's lens 16:12:23 the LCD is only for after you shoot to see what you got 16:12:29 sounds quite hack 16:12:36 it's very good :) 16:13:20 then our department has mamiya 6 ( iguess) and take-away field lights and suc h 16:13:27 i might want to test them some day 16:13:42 mamiya is real pro camera (the negative size is size of floppy) 16:13:46 this is the one i played with.. http://www.dpreview.com/reviews/specs/Canon/canon_eos10d.asp?dontcount=1 16:14:00 i mean hardcore pro camera 16:14:13 --- quit: I440r ("food -->") 16:14:21 cool 16:14:56 it's very large and looks like outdated camera but it's damn expensive and all 16:15:20 yes.. bit big to carry around much 16:15:25 actaully there are such plate cameras with digital place in our photography studio 16:15:33 they cost around 100000 eur 16:15:34 a camera 16:15:38 wow 16:16:05 or 20000 not sure 16:16:11 if the price was in marks or euros 16:16:13 dont remember 16:16:16 guess you wouldn't take it with you for a fun day at the beach 16:16:17 20k is much too 16:16:24 you can't take it outside 16:16:35 it's heavy infrastructure it's connected with 16:16:42 and also computer conncted to it 16:16:53 it's computer connected 16:16:56 ah yep 16:16:57 controlled 16:17:35 pengo: the mamiya size is about the first "mobile phones" or old video cameras 16:17:46 it's not impossible large 16:17:57 ah yep 16:21:30 i tried to record sound last night.. frog sounds.. but my camera records at 11hz, 8bit.. a bit of a joke 16:24:01 i'm going sleep 16:24:07 ok night 16:24:09 06-23 my school day 16:24:12 17 hours :P 16:24:21 heh 16:24:27 we were abroad in estonia 16:25:08 i counted waking up and transportation to that time too 16:25:14 5 hours time to sleep 16:25:18 errr :/ 16:25:21 :( 16:25:22 good night 16:25:25 talk to you some other time 16:25:32 sleep now stop talking :) night! 16:25:33 Night mur 16:25:40 Hyvää yötä 16:25:47 gonatt Robert 16:25:53 Natti 16:39:31 --- join: asm (~asm@dsl-213-023-232-003.arcor-ip.net) joined #osdev 16:50:39 --- join: DRF (~daniel@host217-42-91-48.range217-42.btcentralplus.com) joined #osdev 16:52:03 --- join: kriptox_ (~fork@AToulouse-103-1-4-43.w80-14.abo.wanadoo.fr) joined #osdev 17:08:18 --- quit: ZLM_ (Read error: 110 (Connection timed out)) 17:14:22 --- quit: witten ("Client exiting") 17:14:44 --- join: witten (~witten@ip-64-32-131-193.dsl.lax.megapath.net) joined #osdev 17:20:03 --- join: I440r (~mark4@12-160.lctv-a5.cablelynx.com) joined #osdev 17:24:39 --- quit: cookin (orwell.freenode.net irc.freenode.net) 17:24:39 --- quit: oeck (orwell.freenode.net irc.freenode.net) 17:26:42 --- quit: pengo (Read error: 104 (Connection reset by peer)) 17:26:50 --- join: pengo (xtofu@p86-tnt2.mel.ihug.com.au) joined #osdev 17:37:20 --- join: Robert_ (~snofs@c-305a71d5.17-1-64736c10.cust.bredbandsbolaget.se) joined #osdev 17:37:39 --- quit: Robert (Read error: 113 (No route to host)) 17:56:01 --- join: cookin (~jrydberg@h236n1c1o1044.bredband.skanova.com) joined #osdev 17:56:01 --- join: oeck (~oeck@host81-134-131-105.in-addr.btopenworld.com) joined #osdev 18:10:12 --- quit: DRF ("Good nite") 18:26:43 --- quit: nolan (Remote closed the connection) 18:29:41 --- join: nolan (foobar@dsl092-251-209.sfo4.dsl.speakeasy.net) joined #osdev 19:12:05 blargh 19:12:33 argh matey argh? 19:13:03 yah 19:16:53 http://groups.google.com/groups?q=bison+insert+tokens&hl=en&lr=&ie=UTF-8&oe=UTF-8&selm=03-05-095%40comp.compilers&rnum=2 19:18:07 oh ho ho 19:20:31 witten: would you like your christmas present early? 19:20:36 yah :) 19:20:48 * file gives witten a 100MB hardrive 19:20:53 woot! 19:20:56 thank you santa! 19:21:19 I'm not santa but you're welcome 19:22:15 elves can't make decent hard drives anyway 19:30:21 --- quit: GoDie ("Client exiting") 19:32:56 --- join: zephir (~sdebnath@pinky.rcs.purdue.edu) joined #osdev 19:33:51 witten: why not just write yer own lexer/parser? 19:34:07 its not that hard 19:34:10 because I've got enough over-ambitious projects going at once :) 19:34:17 haha :) 19:34:21 serious 19:34:30 I'll probably write a lexer/parser with the language.. as soon as I can lex/parse it! 19:34:50 my lexer is tiny 19:34:56 write a lexer in perl :) 19:35:00 heh 19:35:11 and my parser is also tiny (in my head) 19:35:16 hahah 19:35:21 not much room in there? :) 19:35:27 :) 19:35:28 why waste time writing your own lexer/parser when there are perfectly good tools to make it easier 19:35:37 sdt: have u seen tetra? 19:35:37 yacc? 19:35:39 (aside from the educational value) 19:35:45 zephir: for example... 19:35:53 air: let me guess, your language? 19:35:54 sdt: of course u havent, the new manual isnt ready 19:36:05 or.. why waste time writing yoru own lexer/parse when you can use flex/bison and end up with a strong desire to impale yourself with a dull broomstick 19:36:07 which is totally revolutionary and will blow us all away? 19:36:08 sdt: just as wcstok what he thinks about it 19:36:15 s/as/ask/ 19:36:30 and allows writing turing-complete programs but detects all infinite loops? 19:36:39 tetra has no primitives 19:36:45 :) 19:37:12 * sdt shrugs, that's fine 19:37:13 very hard to use one of those parser generators for it 19:37:28 what do you mean by "primitive" 19:37:40 if, while and friends 19:37:44 because now I'm not entirely sure you mean what I mean. I assumed you meant primitive type 19:37:48 those are called control structures. 19:37:54 take all the keywords C has, tetra has ZERO 19:38:00 and plenty of functional languages don't have them 19:38:04 constructs 19:38:11 air: does it have ONE and TWO, as well? how about THREE? 19:38:24 er, yes, control constructs. my bad. 19:38:39 air: languages like C represent numbers numerically 19:38:44 instead of spelling them out 19:39:12 translate if 'cond'; with then 'body'; or { 'body' } optionally with else 'body2'; to if('cond', 'body', 'body2'); 19:39:26 :) 19:39:30 what? 19:39:39 that line is inside the IF extension 19:39:44 tells the parser how to handle it 19:40:12 ok. 19:40:13 er 19:40:17 screwed that up 19:40:24 have you seen TXL? 19:40:33 body and body2 should have double quotes 19:40:37 no 19:40:44 translational languages are fun 19:40:46 XL? 19:40:59 http://www.txl.ca/ 19:44:18 --- quit: newbs (Client Quit) 19:45:30 soooooo 19:45:34 much going on? 19:46:35 20:37 because now I'm not entirely sure you mean what I mean. I assumed you meant primitive type 19:46:40 no primitive anything 19:46:52 nothing is builtin 19:48:23 the language is completely user-defined 19:48:38 write down to the lexer and parser 19:48:42 right 19:48:43 --- join: DJCarlos (amakouso@200.27.132.63) joined #osdev 19:49:01 hi everyone 19:49:04 hi 19:50:40 heya 19:52:37 i have a "weird" question 19:52:47 DJCarlos: no, don't touch yourself there 19:52:55 heh 19:53:01 haha, no its not that 19:53:23 lol 19:53:28 sdt: got links to any other good languages? 19:54:30 ok, the question: im writing an os, and id like to know a good way to put text on the screen in protected mode 19:55:13 DJCarlos: paging? 19:55:53 no paging: just start writing text to 0xb8000 19:56:04 let me explain: im using direct video writes to the memory screen 19:56:07 with paging: map 0xb8000 to a page and then write text there 19:56:09 thats ok 19:56:14 BUT 19:56:15 char:attribute 19:56:27 every other byte is a char 19:57:10 when i try to move the cursor using vga registers i get three results when i execute the full code: 19:57:18 1º in bochs, all is ok 19:57:18 ah 19:57:28 2º in a 486, reset 19:57:46 in the 486, text out sometimes, other times reset 19:57:57 http://cvs.sourceforge.net/viewcvs.py/*checkout*/brix-os/core/screen.cr?content-type=text%2Fplain&rev=1.15 19:58:00 3º in a celeron 333, no text and no reset 19:58:11 the code is written in crush but u can figure it out 19:58:59 let me see 20:00:58 --- quit: zephir ("[BX] Time to make the donuts") 20:04:06 can u read the code? 20:04:13 yes 20:04:20 it seems very similar to mine 20:05:12 it works in the same way 20:05:19 using the crt registers 20:06:16 dump yer code 20:06:25 ok 20:06:27 wait a sec 20:08:39 video_setcursorpos: 20:08:39 push ebp 20:08:39 mov ebp, esp 20:08:39 pushad 20:08:39 20:08:39 mov bl, [ebp+8] 20:08:41 mov al, [ebp+12] 20:08:43 mov [video_data+2],al ; actualizo la posicion en mi arreglo 20:08:45 mov [video_data+3],bl 20:08:47 20:08:49 20:08:51 mul byte [video_data+1] 20:08:53 movzx bx, bl 20:08:55 add ax, bx 20:08:57 mov cx, ax 20:08:59 20:09:01 mov dx, [InpReg] 20:09:03 in al, dx ; reseteo el flipflop de la tarjeta 20:09:05 mov dx, [AddReg] 20:09:07 mov al, 0x0f 20:09:09 out dx, al 20:09:11 mov dx, [DataReg] ; escribo el byte bajo 20:09:13 mov al, cl 20:09:15 out dx, al 20:09:18 mov dx, [AddReg] 20:09:19 mov al, 0x0e 20:09:21 out dx, al 20:09:23 mov dx, [DataReg] ; escribo el byte alto 20:09:25 mov al, ch 20:09:27 out dx, al 20:09:29 20:09:31 popad 20:09:33 pop ebp 20:09:35 ret 20:09:37 this is to set the pos of the cursor 20:09:44 the values of AddReg (address) DataReg (data) and InpReg (input) are read at boot 20:10:29 video_data+2 are the rows 20:10:35 video_data+3 cols 20:10:49 video_data+1 max col (80) 20:15:11 ok 20:15:24 what do you think 20:15:39 sorry, just now looking 20:15:47 what is +8 and +12 on stack? 20:16:19 C parameters, its defined "void video_setcursorpos(int x, int y) 20:16:29 so the ebp+8 is the x 20:16:33 k 20:16:36 and ebp+12 the y 20:17:36 uhh 20:17:56 u move x and y into the rows and cols? 20:18:25 yes, into my kernel data 20:18:48 is rows/cols the actual size of the screen or the current cursor position? 20:19:10 cuz rows/cols implies size, not position 20:19:39 the current position 20:21:10 the idea is: save new position, multiply y*80, add x and write to the crt registers 20:22:33 right 20:22:45 it actually works fine under bochs, and sometimes in a 486dx266 20:22:59 InpReg, AddReg and DataReg <-- how are they defined 20:24:44 with a vga they are: InpReg:0x3da, DataReg:0x3d5, AddReg:0x3d4 20:26:08 try removing the two reset lines 20:26:37 ok ill try 20:26:54 thats the only difference i see 20:28:10 u really only need to reset if something goes wrong 20:28:58 woo hoo! 20:29:07 I got bison to parse offside rule / python style syntax! 20:29:14 man that was a bitch 20:29:17 witten: offside rule stinks :) 20:29:22 air: you stink :) 20:29:58 its only ok in functional languages like haskell 20:30:03 heh 20:30:07 language snob :) 20:31:12 if 1: 20:31:12 if 2: 20:31:12 if 17: 20:31:12 25 20:31:12 4+5 20:31:48 now I've just got to figure out how to get it to end a block if it reaches eof 20:32:04 end all the blocks 20:33:49 i might add that indentation crap to tetra but the nice thing about tetra is its editor will be builtin and source is stored as bytecode so it can render it however u like 20:33:51 yeah, but I end all open blocks when I reach the first non-indent character on a newline 20:34:00 air: thanks cool 20:34:04 maybe I'll use <> 20:34:10 anyway, going home 20:34:11 later all 20:34:13 --- quit: witten ("Client exiting") 20:35:18 DJCarlos: how goes? 20:37:48 i will go to my 486 now 20:43:27 it seems to work now 20:43:40 but i have to do more tests 20:44:10 i tried in my 486 20:44:21 i will try in the celeron 20:44:49 thanks air 20:44:52 np 20:44:58 bye 20:45:05 cya 20:45:09 --- part: DJCarlos left #osdev 20:45:57 which is a better name.. qubero or quebero? 20:46:16 eh? 20:46:40 qb, its shorter :) 20:46:53 or qube 20:46:55 umm.. i dont want to get confused with quickbasic 20:47:01 qube's not original 20:47:41 ero? 20:48:24 ok 20:50:09 u know im not good at picking names 20:51:20 yeah i know :) 21:11:37 heya pengo 21:12:05 it's so damn hot here.... hoooooooooooot! 21:16:22 hey you noticed that too! 21:16:32 lol 21:16:43 this room is like an oven 21:16:51 i'm about to get my laptop and wireless it 21:17:04 so i can chat in air conditioned glory :) 21:17:25 heh cool :) i got a big fan and a glass of water i just poured down my back 21:17:31 heh 21:18:02 i'm just about to revisit some old linux versions for fun 21:19:11 well, not just for fun 21:19:14 :P 21:20:16 because you're a freak? 21:20:21 lo 21:20:22 lol 21:20:38 no, i'm going to write something on the progress of linux from then --> now 21:20:45 do people even use pre 2.6 kernels any more? 21:20:58 kyelewis: cool :) doing any particular distros? 21:21:01 hah 21:21:15 well, i have more mandrake than anything else, but i have other ones too 21:22:15 i'm looking to see if i still have the entire set of suse linux 6 cd's 21:22:37 ....freak :) 21:25:14 pengo: i'm not stopping at linux stuff 21:25:25 after that, i'm going to be doing all sorts of reviews of open source operating systems *g* 21:25:29 ;) 21:25:39 pengo: yes 21:25:53 pengo: i use 2.4 and many ppl and devices still use 2.0 and 2.2 21:26:28 kyelewis: i have a redhat 2 cd :) 21:26:34 hehe 21:26:52 want the iso? :) 21:27:06 kyelewis: can you review my OS tho i haven't released anything yet? 21:27:06 that would be mega cool ;) 21:27:07 i think i might also have a caldera cd 21:27:17 pengo: hah... what nothing? 21:27:23 i have a corel linux cd somewhere too 21:27:26 not a sausage 21:27:28 corel linux was actually good 21:27:37 though it's not very old 21:27:42 pengo: a sausage? 21:27:52 mmm 21:27:54 kyelewis: no. not a sausage. nada. 21:27:54 sausage 21:28:10 * kyelewis gives pengo 5/5 21:28:15 clean, simple, and streamlined! 21:28:17 ;) 21:28:31 woohoo! 21:28:39 saves you a lot of installation hassles too 21:28:44 exactly! 21:28:49 it's even better than a livec 21:28:50 livecd 21:28:58 you don't even need to turn the PC on ;) 21:28:58 i haven't tested it in bochs yet 21:29:04 ahh :/ 21:29:25 PHT The Official Red Hat Commercial Linux 2.0 21:29:38 Caldera Network Desktop Linux 1.0 21:29:44 * kyelewis finds that slightly sad 21:29:45 :P 21:30:04 though wholly funsome! 21:30:17 those version numbers are not linux but the distro 21:30:24 i know 21:30:54 also have another cd burned by caldera 21:31:21 they are local to utah and handed them out at a lug 21:31:26 hehe, google have an illustration for the centenary of flight :) 21:31:30 hiyall 21:31:35 --- nick: Mathis__ -> Mathis 21:31:36 heya Mathis 21:32:16 * air emails 3 isos to kyelewis 21:32:23 haha 21:32:31 or are you serious? :P 21:32:43 * kyelewis would be scared if air was serious 21:33:14 they will be there as soon as my mail server uploads em 21:33:27 also have redhat 6.0 but u can probably still download that 21:33:32 lol ok so you were serious :P 21:33:48 nah, im kidding 21:34:00 my mail server would probably reject em 21:34:02 *phew* 21:34:16 my server wouldn't do so well either 21:34:23 i'm not even sure it has that much space for emails 21:34:31 mine limits mail to 2meg 21:34:44 i think 2meg is default for most servers 21:35:11 anyone wants me to email him my DVD collections? *g* 21:35:37 but if u really want any of them i can send em to u but not thru email 21:36:17 air: hehe... via slightly more sane methods? :P 21:36:32 Mathis: please, my email addy is support@microsoft.com 21:36:37 hehe 21:36:46 do you know if there are any ftps that keep archives of old linux iso's? 21:36:52 kyelewis: ya 21:37:14 u tried cdrom.com? 21:37:21 ibiblio? 21:37:33 how far back does ibiblio store them? 21:37:42 dunno 21:37:50 not very far i don't think 21:37:54 maybe a few versions 21:38:55 i'm having a look anyway 21:39:14 i asked in #linpeople 21:39:25 i'll let ya know if anyone answers 21:39:45 ibiblio for example has 8.2 21:39:47 mandrake 21:39:53 but nothing less as far as i can see 21:39:59 whereas i have *cd's* of 6 21:41:03 and 7 21:41:05 and 7.1 21:41:06 and 8 21:41:08 etc... 21:41:09 :P 21:58:43 yey! 21:58:44 http://www.ibiblio.org/pub/historic-linux/ 21:59:02 has redhat 2.0 --> 5.1 21:59:18 slackware 1 - 3.1 etc 22:03:27 http://altruistic.lbl.gov/mirrors/redhat/ goes back well too 22:03:48 brr 22:04:16 oh yay, debug phase after two days of coding 22:04:34 woot :P 22:05:17 though apart from ibiblio, there are very few that keep old stuff 22:05:49 have u checked those dirs? 22:05:56 redhat 2 dir is empty 22:06:05 in ibiblio? 22:06:09 ya 22:06:38 hmm, no iso... dang 22:07:02 not sure wtf 3 has in it 22:07:43 same with 4 22:07:51 dunno if that site has any isos 22:08:48 i'm taking a look around google to see if i can find one with isos 22:08:52 heheh 22:09:05 i think the slackware is all floppies :) 22:09:11 good luck 22:09:55 no iso at the altruistic site either 22:10:29 still (not sure about 2.0) but > 2.0 i should be able to use a boot floppy and download from http/ftp, right? 22:12:05 no idea 22:15:54 --- join: sliv3r (~sliv3r@213.154.116.228) joined #osdev 22:16:04 heya sliv3r 22:16:21 yo kyelewis 22:17:07 --- quit: sliv3r (Client Quit) 22:17:35 heh 22:18:28 well 22:18:34 :P 22:26:08 --- join: thc (who@p5086F3A3.dip.t-dialin.net) joined #osdev 22:39:31 --- quit: eniac (Read error: 54 (Connection reset by peer)) 22:39:58 --- join: eniac (~eniac@153.36-200-80.adsl.skynet.be) joined #osdev 22:40:21 darn 22:40:34 i forgot to write some code 22:40:52 rewrite an entire file that is 23:08:59 --- join: Prophet_ (~Prophet@pD9FF600E.dip.t-dialin.net) joined #osdev 23:11:26 --- join: Robert (~snofs@c-305a71d5.17-1-64736c10.cust.bredbandsbolaget.se) joined #osdev 23:12:39 --- quit: Robert_ (Read error: 113 (No route to host)) 23:16:52 --- join: Prophet__ (~Prophet@pD958DDEE.dip.t-dialin.net) joined #osdev 23:18:06 --- quit: Robert (Remote closed the connection) 23:23:53 --- join: Robert (~snofs@c-305a71d5.17-1-64736c10.cust.bredbandsbolaget.se) joined #osdev 23:24:05 --- quit: Prophet_ (Read error: 60 (Operation timed out)) 23:35:02 --- quit: ReKleSS ("I came, I saw, I deleted all your files") 23:51:57 yawn 23:53:29 Morning mur :( 23:53:30 er 23:53:30 ;( 23:53:31 er 23:53:32 :) 23:54:28 err is humane 23:54:37 I'm very humane 23:54:38 to err 23:54:43 yes 23:54:54 almost humanist, far away from engineerish pedant ;) 23:54:59 jk 23:55:03 what's up Robert 23:57:15 Going to school in 40 minutes, coding a bit.. 23:58:57 hehe 23:59:59 --- log: ended osdev/03.12.16