00:00:00 --- log: started forth/02.07.03 00:04:06 --- quit: St3pan (carter.openprojects.net irc.openprojects.net) 00:04:07 --- quit: rob_ert (carter.openprojects.net irc.openprojects.net) 00:04:07 --- quit: goshawk` (carter.openprojects.net irc.openprojects.net) 00:04:07 --- quit: ChanServ (carter.openprojects.net irc.openprojects.net) 00:04:43 --- join: ChanServ (ChanServ@services.) joined #forth 00:04:43 --- mode: carter.openprojects.net set +o ChanServ 00:07:45 --- join: St3pan (~stepan@p50847DD8.dip.t-dialin.net) joined #forth 00:07:45 --- join: rob_ert (~robert@h137n2fls31o965.telia.com) joined #forth 00:07:45 --- join: goshawk` (goshawk@panix1.panix.com) joined #forth 00:31:09 --- nick: St3pan -> Stepan 00:33:49 --- part: Stepan left #forth 00:37:01 --- quit: air (Read error: 110 (Connection timed out)) 04:39:12 --- quit: goshawk` (carter.openprojects.net irc.openprojects.net) 04:39:12 --- quit: rob_ert (carter.openprojects.net irc.openprojects.net) 04:39:12 --- quit: ChanServ (carter.openprojects.net irc.openprojects.net) 04:39:12 --- quit: Soap` (carter.openprojects.net irc.openprojects.net) 04:39:12 --- quit: skylan (carter.openprojects.net irc.openprojects.net) 04:39:12 --- quit: Fractal (carter.openprojects.net irc.openprojects.net) 04:39:12 --- join: ChanServ (ChanServ@services.) joined #forth 04:39:12 --- join: Fractal (pamixtbw@h24-77-171-228.ok.shawcable.net) joined #forth 04:39:12 --- join: skylan (sjh@Riverview11.tbaytel.net) joined #forth 04:39:12 --- join: Soap` (~flop@202-0-42-22.cable.paradise.net.nz) joined #forth 04:39:12 --- join: rob_ert (~robert@h137n2fls31o965.telia.com) joined #forth 04:39:12 --- join: goshawk` (goshawk@panix1.panix.com) joined #forth 04:39:12 --- mode: carter.openprojects.net set +o ChanServ 05:24:09 --- join: dsmith (firewall-u@cherry7.comerica.com) joined #forth 05:34:30 --- quit: Soap` (Read error: 104 (Connection reset by peer)) 05:58:21 --- quit: dsmith (carter.openprojects.net irc.openprojects.net) 05:58:24 --- quit: goshawk` (carter.openprojects.net irc.openprojects.net) 05:58:24 --- quit: rob_ert (carter.openprojects.net irc.openprojects.net) 05:58:24 --- quit: Fractal (carter.openprojects.net irc.openprojects.net) 05:58:24 --- quit: skylan (carter.openprojects.net irc.openprojects.net) 05:58:25 --- quit: ChanServ (carter.openprojects.net irc.openprojects.net) 05:58:26 --- join: ChanServ (ChanServ@services.) joined #forth 05:58:26 --- join: dsmith (firewall-u@cherry7.comerica.com) joined #forth 05:58:26 --- join: goshawk` (goshawk@panix1.panix.com) joined #forth 05:58:26 --- join: rob_ert (~robert@h137n2fls31o965.telia.com) joined #forth 05:58:26 --- join: skylan (sjh@Riverview11.tbaytel.net) joined #forth 05:58:26 --- join: Fractal (pamixtbw@h24-77-171-228.ok.shawcable.net) joined #forth 05:58:26 --- mode: carter.openprojects.net set +o ChanServ 06:04:13 --- quit: goshawk` (carter.openprojects.net irc.openprojects.net) 06:04:13 --- quit: rob_ert (carter.openprojects.net irc.openprojects.net) 06:04:13 --- quit: dsmith (carter.openprojects.net irc.openprojects.net) 06:04:23 --- join: dsmith (firewall-u@cherry7.comerica.com) joined #forth 06:04:23 --- join: rob_ert (~robert@h137n2fls31o965.telia.com) joined #forth 06:04:23 --- join: goshawk` (goshawk@panix1.panix.com) joined #forth 06:26:50 --- join: tathi (~josh@wsip68-15-54-54.ri.ri.cox.net) joined #forth 06:50:24 --- join: snowrich (~snowrich@66.190.103.71) joined #forth 06:50:36 hello. 06:52:13 I've corrected the errors I made in my isforth notes. Sorry about my confusion. I was very tired at the time. 06:52:31 Hi there. 06:52:37 Hmm... what IsForth notes? 06:52:59 an article I have posted on my web site. see the linux forum at snowrich.dtdns.net 06:53:19 OK, I will, later :) 06:53:41 Hrmm.. I'm working on a web page too, I'll probably mention IsForth there :) It's a nice piece of software. 06:54:10 I haven't actually done more than the install yet. Its been a while since I messed with forth. 06:54:38 Oh. 06:55:19 but I downloaded it because I wanted the read the listing to see how it works. 06:55:48 I learnt a lot from the IsForth sources. 06:55:53 but 6000+ lines of code will take me a while to study :) 06:57:01 I guess you don't need to read _everything_ :) 06:57:08 the listing is posted on my site as well. its much easier to read in the browser. 06:57:24 Both I and I440r have written sockets code for IsForth, too. 06:58:38 Is there something similar to the "system" call in C there yet? I could write that and make an editor command. 06:59:11 Actually, I have no idea. 06:59:17 How is system() implemented? 06:59:17 I see you can make system calls if you know the parameters but I have not studied the linux system calls closely yet. 06:59:36 Does it just spawn /bin/sh? 06:59:54 pretty much, passed a command line to shell. 07:00:49 I see. 07:01:09 Then it's just a matter of fork() and execve()? 07:01:18 yes I think that's it. 07:04:24 I could look at the assembly code GCC generates and cheat a little. :) 07:06:28 Heh. 07:06:33 :) 07:06:45 Disassemble glibc. 07:07:33 I could compile it from source and have it generate the assembly listings. bet it would take a lot of space. 07:10:12 Ewww ;) 07:10:24 gcc produced assembly code isn't that good anyway. 07:10:54 not compared to forth. 07:12:11 :) 07:12:24 I know, forth isn't that fast. 07:12:35 That's why you write some pieces in assembly ;) 07:16:21 Its much faster than java. The java virtual machine is quite complex. 07:18:40 Well, I don't like Java anyway... Big and slow :/ 07:18:50 well I know how to call the "system" routine in assembly code, but I wanted the code for the "system" routine itself. you don't want to include glibc. 07:19:47 I know. 07:20:08 snowrich: system is a fork/exec of /bin/sh -c 07:20:19 snowrich: usually 07:20:35 I need to study the system calls. 07:21:28 the man pages show how to do them in C. 07:21:31 snowrich: You need wait also. 07:22:37 I looked at how all that was done in Minix a long time ago for a class, but I've mostly forgotten it all. 07:23:33 but its all open source, so I can read it again. 07:25:08 snowrich: Just see how it's done in glibc or the libraries in the *bsd's 07:25:19 snowrich: Standard stuff. 07:26:00 snowrich: I've got some code in some books at home too. 07:26:22 I was using a source-based distro a while back and compiled the whole linux system from sources. 07:26:48 --- join: Herkamire (~jason@wsip68-15-54-54.ri.ri.cox.net) joined #forth 07:28:34 downloading glibc. I'll take a look at system. 07:30:18 snowrich: fork/exec is the central concept in unix. That and devices are just files 07:31:51 I took that class in operating systems back in the 80's. I have to refresh my memory. I had a head injury when I was in the Navy and have trouble remembering stuff from that long ago. :) 07:33:23 Hi Herkamire. 07:34:32 snowrich: At least you have an excuse. I just can't remember stuff. ;^) 07:35:00 I took another class in Unix at a tech school more recently but we didn't get into programming at all. 07:35:40 most of us didn't manage to learn vi very well. :) 07:37:20 the networking curriculum was based on Novell 3.12. Piece of junk. 07:38:50 well it works for what it does, but unix/linux is much better I think. 07:39:14 * rob_ert uses Windows 95 for its stability. 07:42:43 * snowrich hopes rob_ert is joking 07:43:38 * dsmith realizes that rob_ert likes excitement and unexpected surprises 07:44:46 :) 07:44:57 I'm just bored, but actually I just booted Win98. 07:45:03 To play Warcraft, though :) 07:45:38 * dsmith hasn't used a m$ "os" in years 07:45:41 actually I will use windows98 when I have to. but I damaged my cd and can't install it again. 07:47:15 mostly to fix my mom's stuff 07:47:17 I mostly use UNIX clones. 07:47:24 Sometimes DOS or CP/M on older computers. 07:47:42 I wrote my first C program on MP/M 07:48:35 snowrich: I did on ccpm. Same stuff. 07:48:36 they had a computer lab with 1 processor for each terminal, they mostly used it as a terminal server for the mainframe, but you could program it. 07:50:44 now I can run programs for that mainframe on this pc much faster than they did on the mainframe. it was a 360/50. 07:54:12 not that I am, but there is a 360/70/90 emulator called hercules which I have tried. 07:55:10 snowrich: Anyone that's messed with mp/m has been around. How old are you? 07:55:16 45 07:56:04 snowrich: Ahh. I'm 42. 07:56:13 getting white hair in my beard, memory failing, aches and pains... 07:56:36 snowrich: Old Man's Disease 07:56:55 snowrich: You start grunting more whenn you get up. 07:57:51 actually I feel pretty good most of the time, but I'm getting a hernia operated on this month. 08:00:44 * snowrich computer addiction causes lack of sleep sometimes. 08:04:15 --- join: Etaoin (~david@ljk2.sat.net) joined #forth 08:07:55 be back later.... 08:08:00 --- quit: snowrich ("Client Exiting") 08:13:36 bye 08:28:02 --- join: cleverdra (julianf@65.142.111.28) joined #forth 08:37:46 --- quit: tathi (Remote closed the connection) 08:52:06 --- join: Shrdlu (~david@ljk9.sat.net) joined #forth 08:52:53 --- quit: Etaoin (Killed (NickServ (Ghost: Shrdlu!~david@ljk9.sat.net))) 08:53:05 --- nick: Shrdlu -> Etaoin 08:53:46 --- join: tathi (~josh@wsip68-15-54-54.ri.ri.cox.net) joined #forth 08:53:58 hi tathi 08:54:37 Hi Etaoin, tathi :) 09:26:20 --- quit: cleverdra ("Leaving") 09:41:11 --- join: I440r (~mark4@1Cust160.tnt3.bloomington.in.da.uu.net) joined #forth 09:44:15 Hey. 09:44:53 hi 10:27:26 --- join: Speuler (~l@195.30.184.4) joined #forth 10:27:35 g'day 10:29:40 bongo! 10:30:04 aye 10:30:23 live, lively and living 10:30:52 how'r doing dude 10:31:27 not too bad 10:31:36 ive written that text windowing system 10:31:37 sounds quite allright 10:31:41 but its a bit slow on the update 10:31:45 hmm 10:31:56 i've written a quick one :) 10:31:56 need to speed it up 10:32:10 that does what ? 10:32:13 simple trick used: 10:32:35 what trick 10:32:37 well, all kind of windows, text mode, overlapping, movable and so on 10:32:47 my background is a window too 10:32:53 and it has a shadow 10:32:58 i call the background a screen 10:33:05 which contains the number of the windows "owning" the char position 10:33:08 and you can write windows INTO a screen 10:33:14 oh 10:33:22 i dont need to know that heh 10:33:27 so, when outputting chars, i just look up whether it is visible 10:33:29 quickly 10:33:30 and my windows are overlapped nicely heh 10:33:35 thats not the problem 10:33:47 but ? 10:33:52 the problem is the console update is slow 10:33:57 ah 10:34:53 the actual windowing shit is fast. its just the display update thats too slow 10:35:04 it bugs me :P 10:35:16 you'll have to write your own graphics drivers ;) 10:35:43 i use "pluggable" output drivers. direct hardware writes, ANSI, or BIOS output 10:35:53 ansi was slow of course 10:36:09 but i could redirect windows through serial link :) 10:36:18 you CANT write directly to hardware in linux 10:36:28 the actual video display might not be local 10:36:37 you can under msdog 10:36:50 and ncurses display update is INSTANT 10:37:01 which is realy annoying me right now 10:37:57 I440r: aren't you using ncurses? 10:38:11 fuck no 10:38:33 oh right... it's a library :) 10:38:34 my windowing system compiles into 3k of code 10:38:50 would slang be any good ? 10:38:53 look quick too 10:38:55 you have to find out what ncurses does :) 10:38:56 and its 24562983469824598275982376982354 gigs of source file 10:39:26 speuler if its not 100% forth with some assembler it is not being used in isforth 10:39:39 isforth will make use of not ONE fuciing thing other than forth 10:40:25 too bad x86 asm is such a mess 10:40:29 what is slang anyway ? 10:40:38 herk no actually x86 isnt a mess at all 10:40:45 its just asm 10:40:55 text mode library 10:41:04 its light years better than crappy fucked up languages like c 10:41:13 colors, cursor pos, output, that kind of shit 10:41:21 I440r: :) I was compairing it with PPC ASM :) 10:41:41 bongo check the isforth extensions color.f and term.f 10:41:56 haven't got it here 10:41:57 term.f handles the cursor positioning, regeon scrolling etc 10:42:09 I440r: isforth redraws the screen two or three times when I start it up... 10:42:10 color.f handles attributes etc 10:42:21 herk it should draw it once 10:43:54 my terminal blinks (the text disapears and reapears) about five times before isforth comes up with the menubar and blam 10:43:54 hmm 10:44:08 render text to png, display it with an image viewer ? 10:44:20 aview can do that i think 10:44:22 pnm 10:44:32 (if you're local) 10:44:39 herk what machine are yourunning this on ? 10:46:02 Linux dev.rpdesign.com 2.4.7-10enterprise #1 SMP Thu Sep 6 16:48:20 EDT 2001 i686 unknown 10:46:24 hmmm might be because its smp 10:46:27 * Speuler fires up his pizza disassembler 10:47:12 odd it's using smp... I don't think that thing has two processors... 10:48:19 aha then its not smp thats the problem 10:48:28 debian's default .config comes with "SMP=y" 10:48:39 if you compile smp into your linux kernel when you dont have 2 processors all it does is increase the size of your kernel ehh 10:49:22 I440r: yeah I know it's stupid. I didn't realize it was in there, and I don't know why it is. it's just our stupid testing server though. 10:49:30 heh 10:49:41 well ive no idea when you get what you get 10:49:45 its not isforth doing that 10:49:56 isforth only draws things once 10:50:03 is this in a console? 10:50:37 in xterm, connected to that box through ssh 10:52:02 can i ssh to that box? 10:52:19 I've got 1.08b 10:52:45 thats the latest :) 11:03:18 I440r: x86 is yucky 11:03:29 I440r: I liked the 68k myself 11:04:27 i like all asm 11:04:28 x86 11:04:30 68k 11:04:32 8051 :) 11:04:35 6502 :))) 11:04:41 hell even nec 75x is fun :) 11:05:18 I440r: it's asm that's bad, it's the processor archetecture. 11:05:34 I440r: it's NOT asm that's bad, it's the processor archetecture. 11:05:57 heh i dont mind it myself 11:06:05 tho - its not exactly the best ive ever seen :) 11:06:50 I440r: I guess I still have flashbacks to that bad old dos days of 64k segments. Ugh. 11:07:21 well. i have a big thing against dos programs that are bigger than 10k or 11k 11:07:34 any bigger than that and it shows how LAME its author is 11:07:43 2984569345432 gig programs in dos are REALY fucking lame 11:07:43 heh 11:07:47 64k is plenty 11:08:41 I'm not talking code size, I mean data size. 11:09:12 I used to use a dos editor that was limited to 64k files. 11:09:43 It was a paing when you ewanted to edit a file from someone else. 11:09:52 multi edit is a good dos editor 11:10:14 it does page swapping automatically on your file so you can have 2746293569823498234 gig files with it heh 11:10:55 I440r: but writing an editor like that in x86 asm (non 386) is a real pain. 11:12:06 heh 11:12:15 I couldn't beleive how less stressful working in 68k was. 11:12:22 writing an editor is a pain no matter what language you use :P 11:12:33 It was like life itself. 11:35:38 brb 11:35:40 making coffee 11:45:36 back 12:23:35 Mmmm. Coffee 12:28:17 I440r: you know what the difference between the mmap and mmap2 syscalls is, by any chance? 12:30:27 yes 12:30:43 th eoriginal mmap passed parameters through a structure 12:30:49 mmap2 does it all thru registers 12:30:52 i believe 12:31:19 hmm 12:34:57 well, I think PPC does all syscall stuff through registers, so I'll just go grep my kernel sources then... 12:36:53 man 2 mmap 12:36:55 man 2 mmap2 12:37:41 aha, mmap2 takes an offset (into the file) in pages 12:37:57 whereas mmap takes a byte offset and bitches at you if it's not page-aligned :) 12:38:23 heh, tried the manpages, I don't seem to have them 12:38:30 lol 13:07:10 --- quit: I440r ("Reality Strikes Again") 13:33:11 --- quit: Herkamire (Remote closed the connection) 13:33:42 --- join: Herkamire (~jason@wsip68-15-54-54.ri.ri.cox.net) joined #forth 14:05:37 --- join: snowrichard (~snowrich@66.190.103.71) joined #forth 14:08:34 --- quit: snowrichard (Client Quit) 14:10:20 --- join: n_ (kdeljk@pcp01518417pcs.reding01.pa.comcast.net) joined #forth 14:37:50 --- quit: Herkamire ("leaving") 14:38:10 --- quit: tathi ("leaving") 14:52:04 night all 14:52:13 --- part: Speuler left #forth 15:00:53 --- quit: dsmith (Remote closed the connection) 15:59:46 --- join: jamc (~dne@as3-6-8.asp.s.bonet.se) joined #forth 16:01:47 Hejsan :) 16:02:04 ho ho 16:22:11 hello, all 16:23:42 Hi :) 16:36:01 --- quit: jamc ("[x]chat") 17:42:38 --- join: njd (junk@njd.paradise.net.nz) joined #forth 17:43:22 --- quit: njd (Client Quit) 18:49:52 --- join: I440r (~mark4@1Cust96.tnt1.bloomington.in.da.uu.net) joined #forth 18:51:15 Hey. 18:51:34 I'm writing a forth-style bytecode interpreter for 16f84 PICs :) 18:51:49 cool 18:52:18 Grr... 18:52:23 Sun is already rising. 18:52:33 And I haven't even written half of it :( 18:53:05 lol 19:57:43 16f84 pics? 19:57:47 what are they used in? 20:15:21 --- quit: I440r ("Reality Strikes Again") 20:20:18 --- join: dsmith (~dsmith@oh-strongsvillecadent1-1c-245.clvhoh.adelphia.net) joined #forth 21:13:10 --- quit: dsmith ("later..") 21:35:14 --- join: dsmith (root@oh-strongsvillecadent1-1c-245.clvhoh.adelphia.net) joined #forth 21:36:22 --- quit: dsmith (Client Quit) 21:38:06 --- join: dsmith (dsmith@oh-strongsvillecadent1-1c-245.clvhoh.adelphia.net) joined #forth 21:43:53 --- quit: dsmith ("later..") 22:58:50 --- join: CrowKiller (Vapo_Rulez@cnq5-233.cablevision.qc.ca) joined #forth 22:59:09 damn keyboard polling code, i cant get it to work 22:59:24 i dont want to use interrupts, only polling, and my code crash 22:59:42 the PC each time 23:00:01 really starting to piss me off, all the docs on the internet dont even tell how to do this 23:00:38 are you trying to write some kind of OS? 23:01:30 forth system ;p 23:01:52 its impossible to do i tried it all 23:02:07 the only thing i didnt tries was disabling the interrupt 23:02:17 by issuing a command to to the controller 23:02:26 the very first line in my code is cli 23:02:35 no interrupts at all 23:08:04 àll the code on the net that I see 23:08:09 not only from google 23:08:18 from every site is erroneous 23:08:30 only one html version of pc guide got the correct infos 23:08:35 why concern yourself with such pc-centric crap? 23:08:39 but isnt showing any real example 23:08:53 because thats the crap i got in front of me 23:08:58 and it should be already done 23:08:59 if you are going to port this thing to real machines, as you should if you want to make a decent system... you won't even have to deal with PC architectures issues like this 23:09:06 and accessible to the general public 23:09:21 my forth wont go over an os 23:09:43 never, it doesnt need it, its an os! a programmer's os 23:09:47 that he build himself 23:11:11 if Zen is like Forth, then i'm seeking for the Truth, bypassing the illusions imposed by my perceptions of things 23:11:44 that's truly the way to go 23:12:05 and i really dont like losing time when i dotn have much 23:12:35 i've lost enough time I want to code inside my OWN implementation of my language, for the first thing 23:13:09 and secondly I want total dynamism, by forth code compiled on the fly 23:13:23 i really mean on the fly, noi more stored object code 23:14:06 write all your programs and then setup the compilers appended to the source files 23:14:20 where to compile the code in memory 23:14:45 the compiler should a parametrizable macro 23:15:13 should be 23:26:58 ill lokk into the code of allegro game library 23:27:04 they have a polling routine for the keyboard 23:27:06 --- quit: CrowKiller () 23:59:59 --- log: ended forth/02.07.03