00:00:00 --- log: started forth/03.03.21 00:03:22 --- join: krish (KRISHNAKUM@61.1.220.161) joined #forth 02:43:20 --- join: XeF4 (~xef4@mitosis104.gprs.suomen2g.fi) joined #forth 02:57:44 --- quit: krish (Read error: 113 (No route to host)) 02:58:21 --- join: mur (jukka@baana-62-165-184-128.phnet.fi) joined #forth 02:59:07 terve 03:32:56 --- join: krish (KRISHNAKUM@61.1.220.221) joined #forth 03:36:21 terve krisha 03:37:21 mur: terve ? 03:49:10 the article "Thoughtful Programming in forth" is quite an interesting read .. 03:49:13 . 03:51:03 * mur hasn't read it 03:55:33 but I cant agree on certain aspects ... 04:22:52 --- quit: krish ("Client Exiting") 05:35:25 --- quit: XeF4 (Read error: 110 (Connection timed out)) 06:31:13 --- nick: mur -> mur|afk 06:32:11 --- join: krish (KRISHNAKUM@61.1.220.178) joined #forth 06:39:55 hi! 06:41:08 Charles Moore in his interview mentioned that he'd prefer to avoid conditionals and loops. He also mentioned Wil Baden's flow diagrams - what exactly is that ? 06:45:23 what? 06:45:28 the diagrams? 06:46:15 yes 06:47:34 dunno 06:47:48 where is the quote from? 06:47:51 url? 06:48:44 1 sec 06:50:44 http://www.ultratechnology.com/forth1.htm 06:50:44 http://www.ultratechnology.com/forth2.htm 06:50:44 http://www.ultratechnology.com/forth3.htm 06:50:44 not too sure. 06:52:26 no not there ... 06:53:27 i read this afternoon 06:55:54 aha 07:06:18 --- join: tathi (~josh@wsip68-15-54-54.ri.ri.cox.net) joined #forth 07:23:33 --- join: deluxe (~deluxe@pD950F1FB.dip.t-dialin.net) joined #forth 07:24:31 bon jour 07:26:00 Good afternoon :) 07:27:20 hello robert :) 07:27:41 how is it going? 07:28:40 Not too bad 07:29:47 --- quit: krish (Read error: 113 (No route to host)) 07:29:58 btw 07:30:12 excuse my bad english ;-) 07:30:44 I won't hurt you. 07:31:02 haha :-) 07:31:06 >:) 07:33:08 is sweden actually officially on the winner's or on the loosers side? 07:33:32 I have no idea what you're talking about, heh... 07:33:36 Winning what? 07:34:38 security councils eg. ;-) 07:34:46 Heh 07:35:20 Sweden, is like most other countries a bunch of humans being ruled by a government, let's not forget that. 07:36:09 However, the government seems to be on the loser's side, although they're playing it safe... by having one foot on each side. 07:36:24 The people is definitly on the losing side. 07:36:31 As always. :) 07:44:19 --- join: I440r (~mark4@1Cust131.tnt3.bloomington.in.da.uu.net) joined #forth 07:44:30 welcome :-) 07:45:11 how is your project today? ;-) 07:46:06 hi - going slow :) 07:46:14 hows yours going btw? 07:46:21 ive not realy helped you with it much :/ 07:48:23 learned a lot since ;-) 07:49:13 but not focused enough yet 07:50:02 still a complete forth newbie... 07:50:28 thats ok :) 07:50:38 if you learn slower you learn better 07:50:50 erm, almost... 07:50:58 yes, that's right 07:51:29 on the long run better 07:51:36 :) 07:51:45 ive always been a slow leraner :) 07:52:26 it's like w/ music 07:54:00 i can listen to some songs each for weeks, day and night 07:55:35 i mean only one perfect song all 14 days for 16 hours 07:55:47 heh me 2 :) 07:58:03 but then i don't need that song anymore for the next week or so ;-) LOL 07:58:33 I440r: which music do you favour? 07:58:50 classical (specially guitar or voilin) or blues 07:59:06 not jazz. not country. not rap. 08:00:51 classic for the most, but also *authentic* world/folk music 08:01:05 like raga's eg. 08:02:48 raga's are actually classical music too 08:04:29 :) 08:04:38 paganini or bb king :) 08:05:21 * Robert plays some Grieg for the heathen norwegian-haters out there! 08:05:53 and i love those shepherd flutes from anywhere 08:07:12 i like peruvian music, pan pipes are cool 08:09:23 yea, that's in my shellak tresor as well ;-) 08:11:09 so hows your mini boot disk project going? 08:13:13 only snippets 08:13:34 favouring a strong forth cpu 08:13:44 +board 08:14:08 :) 08:14:27 small is good but it's always in a broader view 08:15:00 so i'm researching for the most 08:15:26 building dbases 08:16:44 will start to dig into colorforth next days 08:17:09 * deluxe is away brb 08:31:56 --- join: gilbertdeb (~gilbert@fl-nked-ubr2-c3a-29.dad.adelphia.net) joined #forth 08:32:47 --- quit: I440r (Excess Flood) 08:33:04 --- join: I440r (~mark4@1Cust131.tnt3.bloomington.in.da.uu.net) joined #forth 08:36:31 --- join: Herkamire (~sajgos@cpe-68-112-235-123.ma.charter.com) joined #forth 08:39:57 --- nick: mur|afk -> mur 08:40:55 terve gilbertdeb ! 08:41:01 terve mur 08:41:04 terve kaikki 08:41:07 * mur palasi 08:41:59 palasi? 08:42:41 returned 08:43:03 * mur palaa! 08:43:23 = mur is on fire! (or mur returns) 08:44:42 and there was great rejoicing 08:45:40 Happy happy, joy joy. 08:46:02 where is that quote from 08:46:16 Herkamire ? 08:46:20 i must inquire that since i'm in stage of ignoracry of inknowledge 08:46:20 where did you get that from. 08:46:36 * mur has heard that many times before 08:46:41 some 1970 08:46:43 s stuff 08:46:44 :) 08:46:45 'and there was great rejoicing'? 08:46:47 Monty Python 08:47:15 a few people murmer "yay" after 08:47:20 "Happy happy, joy joy." ? 08:47:27 no 08:47:28 oh. 08:47:34 "and there was much rejoicing" 08:47:37 Herkamire: I did type 'yay' and deleted it :) 08:47:41 it's also in the bible I believe :) 08:48:02 i meant 08:48:10 where does "Happy happy, joy joy. " come from 08:48:15 Ah that. 08:48:17 :) 08:48:26 nowhere in particular. 08:48:43 I see it at the end of mitscheme. it is the last thing it says after you quit. 08:50:59 mur: I think "happy happy, joy joy" is from ren and stimpy :) but maybe not first 08:51:04 maybe 08:51:59 okay 08:52:02 and "shit happens" then? 08:52:09 everywhere 08:52:17 it is a popular phrase. 08:52:27 yes but everything has beginning :) 08:52:33 that particular one comes from Anonymous. 08:52:42 heh 08:52:51 but some nobody knows where 08:52:56 can i talk to him? :) 08:53:00 sure. 08:53:17 mur heshe is the zero of persons. 08:53:20 english folk lore 08:53:28 folklore 08:53:30 hmmmm 08:53:35 "shit happens" is just a common phrase. "and there was much rejoicing" is a quote 08:53:46 Herkamire: it sounds biblical though. 08:53:54 ." is string" 08:55:07 what is the finnish word for the day.. hmmm.. 08:55:28 palaa 08:55:35 imuroida = vacuum (clean) or as colloquial expression download 08:55:59 I will forget that because I can't use it or need use it. 08:56:04 palaa I can remember :D 08:56:32 imuroin huoneen ja ohjelman = i vacuumed room and downloaded program :) 08:57:20 what's with the forign languages? 08:57:29 he speaks one. 08:58:10 good for him I say 08:58:54 :) 08:59:12 Herkamire seems impressed 09:00:35 I think it's great. I wish I knew another language, I'm just sometimes a little annoyed that half the traffic in here is dutch lessons 09:00:55 well, you could start a herkforth lesson :) 09:01:09 we were waiting for the REAL forth stuff to start. 09:01:23 Hmm. 09:01:31 How many in here do even speak any duch? 09:01:35 Except Speuler... 09:01:52 Herkamire: mur was speaking finnish. 09:02:17 s/speaking/writing 09:03:38 go on... say whats new about herkamireforth. 09:04:59 nothing's new. I've been sick, and I've been trying to finda place to live next month 09:05:25 I thought through how I'd write an xml parser 09:05:51 do you do much xmling/ 09:05:52 ? 09:05:56 no 09:06:15 * mur will teach Herkamire finnish :) 09:06:19 I've started a jabber client in C 09:06:38 I'm no where near board enough to learn finish 09:07:15 suuure you can learn. lerning takes time 09:07:17 Herkamire: have you seen the powerpc eforth? 09:07:23 but I'm starting to think I should start over in python 09:07:53 gilbertdeb: didn't know there was one 09:08:07 mur: I know I could. I'm saying I have better tings to do 09:08:13 http://www.eforth.com.tw/academy/zip/efppc.zip 09:08:46 gilbertdeb: cool. I'll check it out when I get home (monday or Tuesday) 09:09:22 the powerpc is the chip ibm makes and apple uses right? 09:09:28 whats the pc for? 09:10:30 motorola makes the ones apple uses 09:10:55 I think IBM makes their own, but they may [also] use ones from motorola 09:11:11 does the PC in it have a meaning? 09:11:43 "power personal computer" I think. I've never been sure 09:17:26 that makes sense. 09:17:37 since they developed the PC marketing gimmick to begin with. 09:18:32 --- quit: I440r (Excess Flood) 09:18:51 --- join: I440r (~mark4@1Cust131.tnt3.bloomington.in.da.uu.net) joined #forth 09:21:37 don't know what the PC is for, originally it was just the POWER architecture 09:21:58 (Performance Optimization With Enhanced RISC) 09:23:15 tathi do you only know the PowerPc risc asm? 09:23:22 or do you know other risc asm? 09:23:54 I have briefly looked at Sparc 09:24:04 think I read through the manuals for MIPS at some point 09:24:10 but haven't ever used either 09:25:03 tähti :) 09:26:54 ah right, POWER was IBM's original thing, then Apple/IBM/Motorola took off from there to create the PowerPC architecture 10:02:24 anyone watching the news rite now ? 10:02:36 badhdad is being bombed live on tv 10:02:53 actually they are prolly missiles not bombs 10:03:28 is that a good thing? 10:03:35 when we are looking specifically for ONE man? 10:03:43 sounds terribly inefficient to me. 10:03:58 reminds me of a C++ program . 10:07:19 this is war. we are liberating this country in order to protect ourselves 10:07:31 blah blah BLAH BLAH 10:07:33 some colateral damage is going to happen 10:07:39 liberating. 10:07:46 pish posh. 10:07:47 --- part: gilbertdeb left #forth 10:08:03 and YES. this is a good thing 10:08:30 war is never a good thing 10:09:08 no. but sometimes its needed 10:15:50 erm, protect from what? 10:16:12 didn't get that yet 10:17:53 I440r: "protecting ourselves" from what? 10:18:07 from terrorist states 10:18:15 from people who finance terrorists 10:18:26 what is a terrorist state? 10:18:29 getting rid of sadam cuts off alot of funds from terrorists. 10:18:38 ok, if you dont get it you just dont get it 10:19:18 no please explain what you are talkink about, i want to understand 10:19:48 sadam is (was?) a threat. 10:19:51 its that simple 10:20:13 --- quit: ChanServ (Shutting Down) 10:20:23 --- join: ChanServ (ChanServ@services.) joined #forth 10:20:23 --- mode: brunner.freenode.net set +o ChanServ 10:20:23 --- mode: ChanServ set +l 83 10:20:57 a threat to whom? threatening what? and with what? 10:21:39 he has money. he gives the money to alquida and others. he allows them to train in his country. he opresses his own country. he is an evil man 10:23:19 but oppressors of other countries are not only left alone, but also financially (and otherwise) supported 10:23:51 one at a time. 10:24:56 notice how the lights in baghdad havent gone out ? 10:25:02 --- join: krish (KRISHNAKUM@61.1.220.211) joined #forth 10:25:09 were bombing the fuck out of the place but were hitting only military targets 10:25:16 hi krish - do you code forth ? 10:25:29 not yet. 10:25:33 :) 10:25:36 but seriously interested. 10:25:53 i saw a video from ~1982 were Saddam Hussein at beginning of is dictatorship executed over 20 of is own "staff" in front of the camera 10:26:29 whatz the news on Iraq ? 10:26:32 that video went publically over the whole globe that time 10:26:40 I was watching "The Bone Collector" 10:26:50 were bombing baghdad 10:26:55 well - missiles i think 10:27:03 also other cities too 10:27:16 sadams palace is rubble 10:27:31 hmm, feeding stories for hollywood - atleast 10 movies will be made 10:27:36 supprisingly tho the lights in the city havent been hit, they are all still on 10:27:38 palace ? 10:27:44 is he alive ? 10:28:06 yes - his palace. we dont know for sure but they think he might have either been killed in the initial bombing of his palace or wounded 10:28:10 him and his sons 10:28:25 in a bunker perhaps 10:28:55 there are a lot of duplicate saddams as well. 10:28:59 they bimbed his bunker, they think he had just retired to there for the night :) 10:29:17 they think there might not be. that might just be a myth 10:29:56 ok. whatz the reason for the attack ? 10:30:14 weapons of mass destruction under production ? 10:30:59 Right. They're a great threat to the US. That's why they invade, since the Iraqi army is no problem...oh...wait, wasn't it a threat? You lost me there! 10:31:44 Iraq will stand tall as long as the oil supplies last. 10:32:07 I440r: now can you tell me, why on earth (after seen this videos) the US did supply that man w/ biological hazardous virii eg. the plague (including a 3 month training in the US for "handling" those virii)? 10:32:34 Because there are evil democrats and communists in the US! 10:32:47 it was a decision of bush sen. btw 10:32:47 deluxe: ??? 10:32:59 Liar. He was manipulated by communists. 10:33:26 I440r: didn't know that? 10:34:22 France and Russia are strongly opposing the attack arent they ? 10:35:17 I440r: read the senates hearings protocolls w/ Mr. Rumsfield in 9/2002 10:35:36 whatz the real problem ? 10:36:13 I440r: to know that i'm talking about officially protocolled facts 10:36:37 brb - listening to D.R 10:36:51 d.r ? 10:37:19 rumsfeld ? 10:37:24 think about it heh 10:37:25 yea 10:37:43 what means d.r ? 10:37:58 Donald Rumsfeld 10:38:05 yes 10:38:51 d.r was in the Bush Sr admin as well wasnt he ? 10:39:10 think about it heh <-- what do you want to say? i really don't know 10:39:58 no rhetorical question 10:42:59 krish: yes. he was saddam's and aziz's friendly handshaker as the US delegate to settle the oncoming US-Iraqi partnership those days ~1984 10:44:11 after seen this outstanding cruel execution video, of course... 10:45:02 it's *really* shocking 10:48:59 deluxe: so do you support the US attack ? 10:50:42 krish: i won't go there and bomb and shot 10:51:27 krish: i don't have bombs and weapons 10:52:47 krish: i've seen men dying, don't like it 10:53:22 krish: i mean in reality, live, face to face 10:53:55 krish: *that* makes a difference 10:55:38 krish: most ppl like those evening crime movies everyday 10:56:04 krish: as long as they don't wake up in one ;-) 10:59:10 krish: now my question is, have there been found other major weapons(ABC) except of those, which came from the US as "present" 11:03:13 until now the official and unofficial answer is no, unisono around the globe, even in america 11:03:27 hmm.... 11:03:49 as long as there is no civilian casualty, the US can gettaway with the attack 11:05:00 what do you mean with that? 11:05:54 if the attack is on military complexes etc. it will not cause much uproar 11:06:43 btw i mean the answer in evident facts, of course 11:09:47 --- part: tathi left #forth 11:16:52 krish: are you sure? 11:18:01 there are other evil than ABC 11:18:16 ABC = atomic, biological and chemical weapon 11:18:46 * mur knows it all. you name it. NATO map markup has propaganda with neutral symbol. 11:18:48 deluxe: sure about what ? 11:19:07 No, mur. You may torture me and shoot me with a handgun, but you may NOT A-bomb me. The former is more human! 11:19:27 rethink, Robert. it's me after all >: 11:19:29 >:D 11:21:37 propaganda is fun 11:21:48 you can examine it very nicely at the moment 11:21:59 you can see how iraqi and us propaganda differs 11:22:09 and how is the media handled 11:22:28 the objective is to give "real and true" picture 11:22:42 that's why reporters are accomoded at us mil base 11:22:43 :) 11:24:11 krish: are you sure about "it will not cause much uproar" 11:25:27 * krish playing blits in ICC 11:58:04 * krish having a bad time w/blitz in ICC 11:59:19 --- join: thin (~blahbl@198.162.21.156) joined #forth 11:59:25 --- mode: ChanServ set +o thin 11:59:26 re meal was good 12:00:12 --- topic: set to 'The channel for Forth "sophists and their sophisticated design"| IsForth: runs on linux, coded in x86 asm - http://isforth.clss.net | official forth sites: http://www.ultratechnology.com/forth.htm & http://www.colorforth.com' by thin 12:00:14 er 12:00:19 hm 12:01:19 --- topic: set to 'The channel for Forth "sophists and their sophisticated design[s]" | IsForth: runs on linux, coded in x86 asm - http://isforth.clss.net | official forth sites: http://www.ultratechnology.com/forth.htm & http://www.colorforth.com' by thin 12:01:49 hey cuties! 12:01:51 whasssup 12:03:04 hmmm... 12:03:15 you shoudul have not mentioned you are female. all nerds are horny 12:03:17 >:) 12:03:35 i'm not 12:03:40 :/ 12:04:48 nerds can be horny to opposite sex too >:) 12:06:03 there are no girls on this channel as far as i know 12:06:15 and if any came, i'd kick them :D 12:06:38 gtg 12:06:39 --- part: thin left #forth 12:12:25 ? 12:12:30 * mur wonders why 12:12:46 there are 11 year old linux chicks on finnish channels :) 12:13:57 Heh. 12:14:03 I told you finns aren't sane. 12:14:13 girls on irc ? 12:14:44 i guess 80% of irc girls are finnish :) 12:15:05 krish: Yeah, I've seen one or two. 12:15:22 girls on irc ? <-- yea tons of 12:15:22 on freenode ? 12:15:56 girls on irc ? <-- yea tons of, but not cheap... 12:16:40 nm, just kidding 12:16:51 see #linuxchicks 12:16:52 Heh. 12:16:58 Yeah, a few ones. But really not many. 12:17:23 or #hardware ;-) 12:17:55 #debian-fi has but dont come ask 12:18:00 >:/ 12:19:32 how do I do callbacks in forth ? 12:19:47 Erm. 12:19:52 Didn't I explain that a day ago? 12:20:30 no. 12:20:37 wait... 12:20:52 I think I have the transcript. 12:20:56 yes, I do 12:21:01 i'll look at it. 12:21:08 :) 12:29:31 --- join: Fahr (~Fahr@e208057.upc-e.chello.nl) joined #forth 12:29:38 hello people 12:29:42 no speuler ? 12:30:16 terve fah fah 12:30:28 Robert, girls! 12:32:18 ...? 12:32:26 Geen Speuler, Fahr :( 12:33:10 ow, too bad :( 12:33:27 far too 12:33:28 yes 12:33:46 hmm... 12:34:02 this probably isn't the right channel to ask... but can anyone help me with a tiny ASM problem? :D 12:34:35 Maybe, ask. 12:34:42 Win32 ASM 12:34:47 I get something wrong 12:34:54 I have ecx, which I inc 12:34:58 but it seems like it doesn't inc 12:35:05 it just goes poof and hangs 12:35:11 here's the routine bit; 12:35:25 == 12:35:25 said_yes: 12:35:26 mov ecx,50 12:35:26 piano: 12:35:26 push dur 12:35:26 push ecx 12:35:28 call Beep 12:35:30 inc ecx 12:35:32 cmp ecx,200 12:35:34 jz msg 12:35:36 jmp piano 12:35:38 == 12:35:40 further above is; 12:35:42 dur equ 200 12:35:44 so that's like a const 12:35:56 Beep takes frequency, milliseconds 12:35:57 Microsoft added recently internet patch to windows not to work with that feature! because of the war!! 12:36:17 huh? 12:36:18 Are you sure "beep" doesn't destroy ecx? 12:36:21 ;) 12:36:29 well, Beep pops it ofcuz :S 12:36:34 but then how do I save it? 12:36:46 microsoft will not use assembly at all in next windows. they play to use educated monkey instead 12:36:57 that'll make huge increase in stability and features 12:37:03 cool :) 12:37:11 Fahr: Heh... 12:37:27 Fahr: Show me what it looks like, Beep. 12:37:39 Beep == Win32API 12:37:53 Oh, OK. 12:38:08 Is it a C function? 12:38:10 == 12:38:10 BOOL Beep( 12:38:10 DWORD dwFreq, // sound frequency, in hertz 12:38:10 DWORD dwDuration // sound duration, in milliseconds 12:38:10 ); 12:38:11 == 12:38:14 that's the def 12:38:15 Okay. 12:38:20 it does pop the params 12:38:23 like all API does 12:38:31 --- quit: I440r (Excess Flood) 12:38:31 I just didn't think of it till now :P 12:38:33 stupid me 12:38:40 Does it pop them, or do you have to add 8 to esp? 12:38:48 --- join: I440r (~mark4@1Cust131.tnt3.bloomington.in.da.uu.net) joined #forth 12:38:52 Win32 is evil. :) 12:39:17 8 to esp ? 12:39:26 Erm. 12:39:26 what do you mean with 'adding 8 to esp' ? 12:39:32 After the call. 12:39:40 That's the C calling convention. 12:39:53 And, if you want to restore ecx: 12:39:58 push dur 12:39:59 push ecx 12:40:01 call Beep 12:40:04 pop ecx 12:40:10 add esp,4 12:40:11 inc ecx 12:40:13 etc... 12:40:24 what is esp ? 12:40:27 What assembler are you using? 12:40:31 The stack pointer. 12:40:49 winapi uses pascal or stdcall convention - no ? 12:40:54 MASM 12:41:06 yes, mainly stdcall 12:41:08 krish: No idea, never had to use it :) 12:41:13 Hehe. 12:41:19 Then don't listen to me. I really don't know. 12:41:20 Robert: good for you 12:41:54 well, sorry :S 12:41:55 stdcall => callee cleans the stack - no ? 12:42:06 I'm just trying to learn ASM, the ultimate goal is a PE loader :P 12:42:11 Is that what C does, krish ? 12:42:14 hi fahr 12:42:17 hi :) 12:42:23 My suggestion just follows the standard C calling convention. 12:42:31 C => caller cleans the stack 12:42:36 so what does the add esp,4 get me? 12:42:45 does it mean it will inc ecx with 4 instead of 1? 12:42:49 its a faster way to drop the top item of the stack 12:42:56 it adds 4 to the ESP register 12:43:03 ok 12:43:04 Fahr: Well, if what krish says is true, just ignore me. :) 12:43:08 and that helps me because? :P 12:43:12 ow ok 12:43:20 so it doesn't help me then :P 12:44:57 you can add any value to a register 12:45:08 add eax, 1 can be done but inc eax is more efficient 12:45:18 Fahr: if in doubt, write a small C stub and check the assembler generated. 12:46:05 hmm 12:46:11 still wont work 12:46:21 maybe I gotta store ecx in eax before pushing it to beep ? 12:46:50 by pushing you are merely copying the value of ecx into the stack 12:47:05 then why doesn't it work? :S 12:48:04 did you check the return value ? 12:48:11 of beep ? 12:48:11 its supposed to reurn a bool 12:48:16 hmm yeah 12:48:48 test eax,eax etc. 12:49:02 test ? 12:49:03 call GetLastError in case of 0 12:49:04 what about cmp ? 12:49:23 cmp eax,0 12:49:23 test is faster ? (correct me gurus) 12:49:25 jz msg 12:49:31 ow, could well be 12:49:35 I am but a n00b :P 12:49:40 what does test return ? 12:49:46 test eax,eax ? 12:49:51 if it's false it returns false? 12:50:10 * krish searching for nasm manual 12:50:26 :) 12:50:29 :P 12:50:30 google nasm manual 12:51:46 also, GetLastError returns an int 12:51:47 Fahr: better write a C stub and check the asm listing 12:51:49 what to do with THAT ? :S 12:51:59 inline ? 12:52:31 just generate asm code for the routine 12:52:40 what compiler do you have ? 12:52:46 MASM32 12:52:53 C compiler ? 12:52:58 VC++ 6 :S 12:56:22 Fahr: Beep is actually _Beep@8 12:56:29 right ? 12:57:02 uhm, if you say so :P 12:57:13 --- join: wossname (wossname@HSE-QuebecCity-ppp82125.qc.sympatico.ca) joined #forth 12:57:16 and it follows C convention - so "add esp,8" 12:57:29 and where do I use esp ?? 12:57:33 I only use ecx 12:58:15 you are pushing 2 params on the stack - who will clean them up ? 12:58:34 the call 12:58:36 doesn't it/ 12:58:44 calling beep pops all params 12:59:26 * krish in utter state of confusion @ 2:30am 13:00:20 ok. this is what I did: BOOL dummy() { return Beep(0,0); } and compiled it to asm using GCC 13:00:31 here is the code: _dummy: 13:02:03 _dummy: 13:02:04 subl $12, %esp 13:02:04 subl $8, %esp 13:02:04 pushl $0 13:02:04 pushl $0 13:02:04 call _Beep@8 13:02:06 addl $8, %esp 13:02:08 addl $12, %esp 13:02:10 ret 13:02:45 hmmk 13:02:55 but the beep actually seems to work 13:03:06 Fahr: good. 13:03:38 check for the return value - the M$ executive is well known for tearing programmer's hair 13:04:13 that's ok 13:04:20 a test eax,eax returns true 13:04:42 here 13:04:43 == 13:04:43 push 200 13:04:43 push 200 13:04:43 call Beep 13:04:43 test eax,eax 13:04:45 jz error_msg 13:04:47 jmp msg 13:04:49 == 13:04:54 if it's false, it jumps to error message 13:04:58 or if it's true? :S 13:05:03 I dunno actually... 13:05:08 me too 13:05:27 why dont you write the C version and look at the asm code generated ? 13:05:42 or give me the C version and i'll tell you 13:06:22 well, there's another thing I don't get 13:06:33 on my laptop, this asm code gives out one beep and then hangs 13:06:42 but on my regular comp, it doesn't even beep once! 13:06:53 SAME code... same windows version, too 13:07:03 but somehow it doesn;t beep on this machine 13:07:06 unless... 13:07:09 let me check something 13:07:35 ok, kill me now :P 13:07:39 PC speaker not connected 13:09:35 Fahr: you have to add esp,8 13:09:49 what is this esp ?? 13:09:52 where do I call it 13:09:55 where do I use it ? 13:10:20 write the C version and look at the asm code generated 13:10:38 ok folks, its time for some sleep.... 13:10:40 bye 13:10:41 well, it will look WORLDS apart 13:10:45 --- quit: krish ("Client Exiting") 13:10:46 well, thanks for the help so far 13:10:50 too late :S 13:56:17 well people, I'm off 13:56:17 bye 13:56:25 --- quit: Fahr ("There the Lycanthrope goes, back into the woods, and he's gone through the trees...") 14:04:10 --- quit: I440r ("Reality Strikes Again") 14:04:35 --- quit: Herkamire ("Leaving") 14:13:43 --- join: Speuler (~Speuler@mnch-d9ba45a2.pool.mediaWays.net) joined #forth 14:13:49 Hi Speuler 14:13:54 Good..morning? 14:13:56 hi 14:14:05 not quite :) 14:14:27 almost 14:14:45 ;) 14:17:11 which went wrong? 14:17:12 :) 14:17:44 hi speuler 14:20:31 --- nick: mur -> mur|noIRC 14:21:17 --- join: semtex (~Speuler@mnch-d9ba45a2.pool.mediaWays.net) joined #forth 14:30:34 --- join: tathi (~josh@ip68-9-58-105.ri.ri.cox.net) joined #forth 14:35:01 ah, my quote made channel topic 14:38:59 tee hee 14:52:17 --- part: semtex left #forth 14:53:27 mur|noIRC: the "morning" part did 14:53:42 hi deluxe 14:55:06 back from .ca already ;-) 15:03:49 --- nick: mur|noIRC -> mur 15:54:45 --- quit: wossname ("he, he.") 16:09:21 --- join: tcn (tcn@tc3-login44.megatrondata.com) joined #forth 16:16:58 --- quit: mur ("http://bbspot.com/News/2003/02/healing_potion.html - if i had known i woudl not have player RPGs! >:)") 16:34:53 --- join: gilbertdeb (~gilbert@fl-nked-ubr2-c3a-29.dad.adelphia.net) joined #forth 16:36:51 hi gilb 16:36:55 hi. 16:37:02 just found a way to crash bash 16:37:17 which bash? 16:37:23 bash 2.05 16:37:29 possibly others 16:37:32 in 2.03 you just type anyting=() 16:37:40 and down it goes... 16:37:46 how do you crash yours? 16:37:47 echo -e "\e[2t" 16:38:18 nothing happened. 16:38:33 it minimizes the xterm though. 16:38:39 hmm. confirmed by somebody else. his bash crashed too 16:38:52 2.05a or b? 16:38:57 b here 16:39:02 2.05b self compiled or apt-get? 16:39:13 not sure 16:39:38 2.03 is fine so far. 16:40:06 and 2.05 is no longer minimizing. 16:43:01 there's a vt esc sequence whihc sends cursor position to standard in. do you know that one ? 16:43:16 'fraid not. 16:45:08 --- part: tcn left #forth 16:54:49 --- quit: tathi ("leaving") 17:07:29 ah. found it 17:12:34 --- join: XeF4_ (~xef4@plasmid27.gprs.suomen2g.fi) joined #forth 17:27:55 --- join: CaffeineJunkie (~Speuler@mnch-d9ba4e01.pool.mediaWays.net) joined #forth 17:44:44 --- quit: Speuler (Read error: 110 (Connection timed out)) 17:46:45 --- nick: CaffeineJunkie -> Speuler 18:59:23 --- quit: XeF4_ (Read error: 110 (Connection timed out)) 19:59:25 --- quit: deluxe ("bb") 20:36:00 --- quit: TreyB () 20:38:35 --- join: krish (KRISHNAKUM@61.1.220.142) joined #forth 20:38:44 hi ppl ! 20:42:02 --- join: TreyB (~trey@cpe-66-87-192-27.tx.sprintbbd.net) joined #forth 21:03:41 --- quit: krish ("Client Exiting") 22:23:52 --- join: krish (KRISHNAKUM@61.1.220.160) joined #forth 22:24:05 hi ppl. 22:25:43 anyone knows I440r's email id ? 22:33:22 its in c.l.f 22:33:46 look for mark mann* 22:35:49 --- quit: gilbertdeb (""Monk has left the building"") 23:59:59 --- log: ended forth/03.03.21