00:00:00 --- log: started forth/03.02.13 00:11:00 --- quit: Serg_Penguin () 01:58:53 'morning 01:59:23 --- part: flyout left #forth 02:13:52 --- join: flyfly (~marekb@mail.melzer.cz) joined #forth 03:21:10 --- quit: flyfly ("using sirc version 2.211+KSIRC/1.2.1") 04:50:22 --- quit: Soap` () 06:17:44 --- join: Herkamire (~jason@wsip68-15-54-54.ri.ri.cox.net) joined #forth 07:25:01 --- join: Kitanin (~clark@SCF61185.ab.hsia.telus.net) joined #forth 08:11:59 --- quit: Speuler (Read error: 54 (Connection reset by peer)) 08:17:10 --- join: gilbertbsd (~knoppix@67.97.122.120) joined #forth 10:03:29 --- quit: Kitanin (Read error: 54 (Connection reset by peer)) 10:03:54 --- join: rafe__ (~rafe@www.scinq.org) joined #forth 10:04:52 --- join: Kitanin (~clark@SCF61185.ab.hsia.telus.net) joined #forth 10:04:53 hmmm. standalone programs from forth? 10:06:53 --- join: I440r (~mark4@ip209-183-83-26.ts.indy.net) joined #forth 10:07:01 there you are. 10:07:05 or are you there i440? 10:07:17 * Kitanin beats Windows Media Player into submission. 10:07:41 no :) 10:07:41 heh 10:07:54 good. 10:07:58 whussup ? 10:08:05 is there a way of writing programs in forth and making them executable? 10:08:14 independent of forth that is? 10:08:27 what do you mean? 10:08:33 yes and no 10:08:39 you can turnkey 10:08:53 lets say you write a program and the word to run that program is "foo" 10:09:04 in isforth you can do this 10:09:04 ' foo is quit 10:09:10 turnkey foo 10:09:23 just make sure that the exit point of the word foo is a "bye" 10:09:40 you will have a program file called foo now 10:09:40 ./foo 10:09:42 oh okay. 10:09:46 should work 10:09:49 do you know the openboot forth? 10:10:11 i know of. im not familiar with it 10:10:39 is this possible with all forths? 10:11:20 thers probably a similar mechanism in most forths 10:11:26 in fpc you do 10:11:32 ' foo is default 10:11:32 turnkey foo 10:11:57 you can do that in isforth too but i suggest not patching default unless you know what your doing, it has some important stuff to do 10:12:10 so i made quit a defered word - patch into that instead 10:14:59 I wanna write an asm for pedagogical reasons. 10:15:13 will forth be a good thingamabob to start with? 10:15:50 ... to write in? 10:16:56 hrm 10:17:07 you want to write an assembler ? 10:17:13 for x86 ? 10:17:39 sparc 10:17:51 aha 10:17:51 I feel a little sick :) 10:18:06 heh 10:18:23 well, writing an assembler in forth is not a trivial task but its well suited to the problem 10:18:23 I don't know if its gonna be a useful thing in anyway. 10:18:47 it will be a good learning experience don't you think? 10:19:53 yes 10:20:12 you going to use isforth to do it ??? :) 10:20:17 is it going to be a stand alone assembler ? 10:20:29 I'm gonna see if i can make it standalone. 10:20:37 but does isforth run on the sparc yet? 10:20:44 I have solaris on it currently. 10:20:45 its possible 10:22:12 no - isforth runs on linux/x86 only 10:22:18 wont even run on bsd/x86 yet 10:22:57 how would I go about writing an asm in forth :D 10:23:58 erm - when you figure it out come tell me all about it :) 10:24:03 heh 10:24:14 Evening, gilbertbsd + I440r :) 10:24:18 hi robert. 10:24:28 * I440r hides 10:24:28 but it would be similar to writing an asm in C won't it? 10:24:35 Bah 10:24:41 No, that's why you use Forth. 10:24:50 Because it's easier to use than C :P 10:25:14 not realy, its just more beautyful than c 10:25:26 c is very easy to use. thats part of its problem 10:25:42 how is C very easy to use? 10:25:49 is forth harder to use for the purpose? 10:26:08 I440r: Not really.. just think of the whole assembler business 10:26:13 every moron and his autistic brother can code c. not very well, but they can code it 10:26:28 Oh, you've met my cow orkers. :-) 10:26:29 I440r: I mean, stuff like : NOP $90 , ; is hell of a lot easier than parsing stuff with CV 10:26:34 C, that is. 10:26:41 kitanin your Cowworkers? 10:26:45 assembler is easier than c. assembler is easier than forth 10:26:47 _cow_ ? 10:27:24 how did the asm in forth get there? 10:27:26 gilbert: Joking reference to "coworkers". 10:27:34 hehehe. 10:27:40 kitanin how do you use forth at work? 10:28:12 Right now, primarily as a scripting language (ficl). 10:28:41 and how do you find it? 10:29:33 It's working wonderfully. And sooooooo much easier to interface to than Python, which was my second choice. :-) 10:30:40 are you serious? 10:30:50 this is sacrilege. The python charmers will gag! 10:31:19 Have you compared ficl's C interface with Python's? :-) 10:31:26 Let them gag. 10:33:27 * Kitanin gags a Python programmer. 10:36:54 give me ideas for writing an asm in forth . 10:37:14 I've never done any such thing omigod 10:40:15 * gilbertbsd watches the blank screen carefully 10:41:07 gilbertbsd: you got the intel docs? 10:41:13 --- nick: rafe__ -> rafe 10:41:17 no sparc. 10:41:22 the sparc docs. 10:41:37 I have the whole instruction set :) 10:41:41 all 10 of them. 10:41:54 lol & that the op codes are? 10:41:56 no. all 6 pages of the instruction set. 10:42:13 there aren't too many instructions. 10:42:13 s/that/what/ 10:42:24 yeah it has the opcodes as well. 10:42:51 ok you're 60% done 10:43:11 hehe. the remaining 40 which will take 30 years of my life? 10:43:15 how do i go about that. 10:43:26 add needs to push the add w/o any addressing info 10:43:59 then the reg1 will will pop that & or in reg direct mode for reg1 10:44:11 so add reg1, 10 ; 10:44:26 oops it's forth so no comma 10:44:36 so add reg1 10 10:44:59 push add w/o addressing mode 10:45:20 reg1 pop add & or the reg1 immediate 10:45:29 push 10:45:37 rafe have you written an asm? 10:45:47 yes much 10:46:03 but older stuff not this new fangled contraptions 10:46:16 dang'it 10:46:20 tell me about them . 10:46:31 * gilbertbsd clears 5 hrs off his non-existent calendar. 10:46:55 way back when gramps used to do systems work on novas & eclipes DG equipment 10:47:09 hehehe 10:47:21 now he got back into it using masm ... which is total crap as an asm 10:48:05 anywho don't be intimidated by asm it's not hard but it is picyune 10:48:35 whats a good language to write asm in? do you think forth is a candidate? 10:48:55 Personally I think it should be done in oct directly on the terminal :) 10:49:03 well im new to 4th BUT i'd have to say definetly YES!! 10:49:26 asm is good :) 10:49:29 hell you just need 2 keys a 0 & a 1 :) 10:49:59 thats right. which brings me baaaaack to my point of layers of languages being pseudocode. 10:50:09 oct, is pseudocode for binary :) 10:50:21 formal languages in this case. 10:50:35 & binary is pseudo code for patch board programming :D 10:50:53 you understand! 10:51:04 and asm is psuedocode for oct! 10:51:28 yes BUT there's still a 1:1 corespondence 10:51:42 * gilbertbsd nods. 10:51:59 onece you get to c , forth etc it all goes k'aflewie 10:52:53 stay close to the metal sonny & you'll keep it lean fast & efficient 10:53:09 * rafe slips into gramps mode 10:53:32 :) 10:53:48 While I'll agree with you about C, I think (most) FORTH maintains the correspondence. 10:54:22 not that i'm against 4th (obviously) but no i disagree 10:54:49 it's what you choose to abstract that's important & forth thend to get it right 10:54:59 or more right 10:55:14 s/thend/tends/ 10:56:08 even the metal hugging colorforth has abstractions... just fewer of them 10:56:23 the pseudocodeness of it all :) 10:56:29 lol 10:57:25 okay. do I need to know the elf header stuff to make this stuff executable elsewhere? 10:57:34 Nothing wrong with layers. Cake has layers, and cake is good. :-) 10:57:50 Kitanin: but too much makes you fat 10:57:56 :) 10:58:19 glibert: yes it you want it to be standalone 10:58:31 okay. 10:58:32 o/s has to know how to load it 10:58:37 the next thing. 11:00:05 I have the opcodes/instruction set, what am I missing? 11:00:26 elf file layout if you want stand alone asm progs 11:00:39 I'll get that in a jiffy. 11:00:56 ah what about all those things on parsing and such? 11:01:07 I440r: do you really think asm is easier than forth? or did I read something out of context 11:01:10 KISS my lad which is why 4th 11:01:17 okay. 11:01:32 1 word 1 thing to do 11:01:43 I mean for the finished product. 11:01:53 also: important grow this program don't write it entire 11:02:05 yeah I want a minimal skeletal thingamabob. 11:02:33 too much too soon & you'll give up ... if you anything like me 11:02:41 * rafe hope gil isn't insulted 11:02:55 :) I'm not insulted at all. 11:03:10 this guy seemed to need a whole lot though: http://www.users.qwest.net/~eballen1/sparc_asm.html 11:03:24 looking 11:05:11 yes tho it looks like he spend much time before posting 11:05:41 he needed things like flex, yacc, gdb, ln and such. 11:06:14 also you can do single pass if you use 4th right as an interpreter 11:06:20 too much fat 11:06:58 flex & yacc are useful? i haven't had a need yet. maybe in the future 11:07:05 how do I find out about single/multi pass stuff? 11:07:23 at this point I am beginning to doubt my sanity. 11:07:33 * gilbertbsd threatens to streak. 11:07:42 ahhh my eyes 11:07:52 my eyes! 11:08:01 alright I will not streak. 11:08:13 you need some ummm liquid for your eyes? 11:08:15 water perhaps? 11:08:36 no i plucked them out... have to put them in again 11:08:48 hardy hahaha 11:08:49 * pop * there 11:09:17 rafe what did you know to write your asm? 11:10:02 the o/s file formats, opcodes & mnemonics... that is machine & o/s 11:10:19 and what did you write them in? 11:10:21 themselves? 11:10:21 not an expert tho... so don't get scared off 11:10:39 yes asm in asm is what i did 11:10:46 Incest! 11:10:49 asm in 4th would be better 11:11:01 I always thought there was an asm in 4th. 11:11:16 not in these parts of florida :D 11:11:29 * gilbertbsd is in Miami :) 11:11:37 gainesville 11:11:55 yeah. I stayed in jacksonville for 4 mths 11:12:02 and I visited gainesville too. 11:12:10 Florida's banned asm in forth? Or just pre-installed asm in forth? 11:12:14 sorry to hear that ;0 11:12:31 I liked gainesville, I didn't like jacksonville much. 11:13:04 do you have a disassembler? 11:13:09 nope. 11:13:17 should I dissasemble stuff and look at them? 11:13:37 it'll make debugging your stuff easier 11:13:50 I have the gnu stuff installed on the solaris box. 11:14:41 should be a freebie somewhere ... doesn't gcc -a compile to gas? 11:14:52 yeah . 11:14:55 i have as as well. 11:14:58 I just don't wanna use it. 11:15:12 well a little will help 11:15:28 I mean I don't wanna read/learn AS but I will use the debugger. 11:15:34 not that you want to mimic it 11:16:07 you just want to confirm that your generated code is correct... or at least matched as 11:16:26 sanity checks are good 11:18:21 soo add $reg1, #10 instruct generated should match what u do... see i use olly debug but it's wincrap 11:18:31 no good to you 11:18:49 I think I am safe. 11:19:04 Brad Rodriguez has written cross assemblers in forth and published stuff on it. 11:19:22 www.zetetics.com/bj/papers/ 11:20:21 yea i skimmed some of these 11:20:59 this makes me feel that much better :) 11:21:04 he knows his stuff so maybe you can use his code as a template? 11:22:08 there. All nice and printed out. 11:22:33 * rafe warns: also my knowledge is dated a bit tho the concepts are still sound 11:22:52 s/also// 11:22:53 well gramps. I am into 'dated' stuff. 11:22:57 :D 11:23:31 if I had a CDC, I would play with it all day long. 11:23:51 ut oh back to work for me before my boss pistol whips me 11:23:59 hehehe 11:24:01 does he know forth? 11:24:04 * rafe goes back into lurk mode 11:24:26 no & they won't like that i use it either 11:24:52 tutles 11:24:55 --- nick: rafe -> rafe__ 11:38:43 --- join: mur (jukka@baana-62-165-185-224.phnet.fi) joined #forth 12:25:32 --- join: Soap` (~flop@202-0-42-22.cable.paradise.net.nz) joined #forth 12:25:51 BAM! 12:25:55 now it happened 12:26:04 someone left Soap` on floor 12:26:19 Someone is about to die, mur. 12:26:39 die is word i have used recently far too much 12:27:08 Because you're in the army. 12:27:10 as in "die mofo die mofo die" ? 12:27:22 well i have heard both words actaully 12:27:31 mofo is used often by one britt 12:27:35 i know 12:27:36 :) 12:28:03 to use does not equal to speak outloud 12:28:23 * Soap` raises an eyebrow 12:28:25 Someone dropped me? 12:28:49 yes you slipped to another side of world. to new seamanland 12:29:09 good you dont speak kiwi english 12:30:28 Soap`, what's the time in newzealand? 12:31:07 9:30am. I should still be in bed. 12:31:47 you got up or never got down? 12:32:48 I got up and lurched, zombie-like, from the bedroom to the coffee machine. 12:33:17 * mur will be zombie next week 12:33:41 we will have in hrmm.. there morning "sports" 12:33:50 thta is what i hate the most 12:33:56 i hate getting up quickly 12:34:03 and doingsomethig after that i hate even more 12:34:19 > than > 12:35:05 should i go to sleep or will you talk? 13:06:17 --- quit: Kitanin (Read error: 54 (Connection reset by peer)) 13:16:31 --- join: Kitanin (~clark@SCF61185.ab.hsia.telus.net) joined #forth 13:48:20 --- quit: I440r (Excess Flood) 13:49:32 --- join: I440r (~mark4@ip209-183-83-26.ts.indy.net) joined #forth 13:58:39 --- part: mur left #forth 14:00:16 Oh hell. 14:00:39 I spent most of yesterday trying to figure out why some numbers weren't what was expected. 14:00:50 Now I figure out the problem was in the itoa routine I was using to help me debug 14:01:52 14:14:07 Hmm... Anyone know anything about the IND$FILE transfer protocol? (Old IBM Mainframey stuff) 14:18:14 --- quit: Herkamire ("leaving") 14:19:00 Anyone? Anyone? Beuller? Beuller? 14:19:14 :) 14:21:46 Damnit. This lame-o-rama third party dialer program is interfering with my 100% success rate! It must die! Bring me the head of the person at IBM that decided not to document IND$FILE! Gnash! 14:22:51 are you working with a mainframe? 14:23:25 Dialing into another company's mainframe. So no, upgrading is not the answer. :-) 14:24:30 have you searched http://groups.google.com ? 14:25:12 Not this week. 14:25:17 * Kitanin googles. 14:25:34 ie for the stuff you are looking for. 14:26:55 Sweet Jebus! It actually came up! 14:27:08 ;) 14:28:38 Of course, with comments like "Most people have reverse engineered the protocol.", I'm less than reassured. :-( 14:30:13 Ah. It's going to involve faking a 3270. I may whimper now. 14:32:27 --- quit: proteusguy (Read error: 104 (Connection reset by peer)) 14:34:12 --- join: Speuler (~Speuler@mnch-d9ba4835.pool.mediaWays.net) joined #forth 14:43:06 --- quit: rafe__ ("That TV's not gonna watch itself you know") 14:43:17 --- quit: Soap` () 14:44:46 gilbert: Before, I was angry. Now, I am merely devoid of hope. Thank you. :-) 14:46:05 you are most welcome. 14:49:16 --- join: Soap` (~flop@202-0-42-22.cable.paradise.net.nz) joined #forth 14:49:46 But, I now know which "For Internal Use Only" highly secret "Proprietary even though we don't support it anymore" document I'm looking for. :-D 14:50:02 hehehe. 14:51:23 Of course, I fully expect Agent Smith to show up and make my mouth disappear for knowing that... 14:51:38 :) 14:51:53 Agent Smith. How is that collection of electrons these days? 14:52:28 We make him sick, apparently. 14:52:46 tell him he isn't entropic. 14:52:50 so he exists. 14:57:28 --- join: proteusguy (~username@216.27.161.121) joined #forth 15:04:51 --- join: ramnull (~nicad@12-241-145-39.client.attbi.com) joined #forth 15:08:16 --- quit: proteusguy (Read error: 54 (Connection reset by peer)) 15:12:41 Anyone here seen the code for the mail form at www.forth.org? 15:14:01 http://www.forth.org/links/mailfig.fth 15:17:03 I think I once had a quick look at it.. 15:17:33 Robert: It uses the word "get-char" and I cant find a definition for it anywhere. 15:17:44 Hm. 15:17:50 Sure it's not a gforth(?) word? 15:18:15 Robert: I couldn't find it in the gforth texinfo file. 15:18:54 Hmm.. 15:19:11 I have no idea then. "see get-char" doesn't work= 15:19:14 s/=/?/ 15:20:58 --- join: proteusguy (~username@216.27.161.121) joined #forth 15:27:33 --- join: tcn (tcn@tc4-login41.megatrondata.com) joined #forth 15:29:24 It looks like it's ThisForth-specific. 15:35:09 ramnull: From the context, next-char returns the next character from the input stream (without removing it from the input stream), and get-char returns it and removes it from the input stream. 15:38:32 So they're like KEY and KEY? 15:39:43 like KEY and something else 15:40:19 tcn: If KEY? returns the character (which it can, since valid characters are all true), then it is the same. :-) 15:40:42 Oops. 15:41:06 Okay. It's _almost_ KEY?. (null characters) 15:43:54 * ramnull nods 15:45:10 bbl 15:45:13 --- quit: ramnull ("This isn't Happy Hour!") 16:06:04 --- join: Kiara (~clark@SCF61185.ab.hsia.telus.net) joined #forth 16:06:04 --- quit: Kitanin (Read error: 54 (Connection reset by peer)) 16:23:16 --- join: Gamera (~gamera@p50893813.dip.t-dialin.net) joined #forth 16:24:37 Hi, one quick general question.... 16:24:38 --- join: Herkamire (~jason@ip68-9-58-25.ri.ri.cox.net) joined #forth 16:25:24 I started FORTH a long while ago, in 83 when after a few months doing BASIC you just knew there had to be something better :> 16:25:48 What are the new standards in FORTH? not 79 I guess. 16:26:18 ANS Forth 16:26:23 people hate it. 16:26:23 ok. 16:26:50 so what have you been doing since F-83? 16:27:01 --- quit: tcn (Read error: 54 (Connection reset by peer)) 16:27:33 right, well anyhoot I haven't touched it for a long while. Only when interracting with a SPARC monitor mode or also in Ghostscript (now don't start to kick me) 16:27:43 I had a Jupiter ace back then 16:28:06 Then on the Apple II there was graforth but I switched direct to ASM 16:28:47 It's just that if forth was good then, imagine today (yeah, but you guys know that) 16:29:46 I'm more and more looking back at it. 16:30:13 what would you need it for? 16:32:30 Go back, see how well in integrates into OSes. I have been doing Unix since, and I guess C and PERL are cute. However I haven't seen may people using FORTH outside of embeded systems 16:32:54 then again, what do I know :) 16:33:12 yeah its a scary language . 16:34:32 Well te fun stuff is that back in the early 80's the buzzword was "xth generation language", FORTH was the right answer, but people lost the appetite for it 16:35:29 I even was forced to do PROLOG because of that "xth generation fashion" :) 16:35:49 so I got my kicks with C. 16:36:15 are you a programmer? 16:36:20 or do you use it for fun? 16:36:47 fun mostly... 16:37:12 my jobs are more like C and PERL... sysadmin.. but I'd love to get out of it. 16:37:43 on what do you use FORTH? 16:40:11 umm. solaris 16:40:22 I have a solaris box which has the 'ok' prompt. 16:40:53 hehhehe... back to the NVRAM game then... STOP-A ... ok. 16:41:07 yes thats what it is. 16:41:28 do you know if its possible to reach the ok prompt by other means? 16:41:31 that isforth looks exactly what I was looking for... doing int 80 calls to the linux kernel 16:42:15 i440 will be happy to hear that. 16:42:16 eerrr... well, you can strip off the solaris bit and try to make your sparky a forth only box. 16:42:31 My name is not CM yet. 16:43:38 This said thanks to forth and SBUS you did have a very portable way of supporting cards back then. Much better than PCI, it it wasn't for the license costs and the speed it was limited to 16:44:11 nu I still remember forth to be used for game coding... fast ones 16:44:31 and comaparing it to java, it makes way more sense. 16:45:39 hehehe... let's replace html/javascript with postscript and code a browser in FORTH. this woudl have been netscape on steroids. 16:46:03 do you do much postscript? 16:46:15 i 16:46:36 hi, imean 16:46:51 did. also a long long while ago. 16:47:07 so many new faces.. how come? 16:48:01 Gamera its the call of Forth. 16:48:07 s/gamera/onetom 16:48:18 onetom: well there was that episode of Mannix where he codes in forth so it became a must 16:48:41 watch me, I've seen that on Mannix 16:48:46 2 2 + . 16:49:10 hehehhe 16:51:13 that is 4 16:51:18 ok 16:51:21 yes 16:51:22 :) 16:51:22 ok 16:53:15 great just downloaded isforth, gforth, bigforth... time to compile and so forth. 16:54:30 is there a cute tutorial around? I have just forgotten how to do functions/definitions already. 16:56:57 Gamera: hehe 16:57:05 ah yes. 16:57:11 gamera lemme show you one. 16:57:37 well I had this great Sybex book, ages ago... but it's gone 16:57:48 Gamera: flux is the state of art forth 16:57:49 look for andsoforth.df 16:57:52 look for andsoforth.pdf 16:58:03 'morning 16:58:28 thanks! 16:58:46 Gamera: gforth comes with tutorial. info gforth. or pinfo, for easier browsing 16:58:48 lemme see if I can find the url 16:59:29 http://ficl.sourceforge.net/pdf/Forth_Primer.pdf 17:00:30 go it!!! Many many thanks. A nice crunchy 86 pages! 17:01:56 yes. the larger it is the more 'meat' it might contain? 17:03:02 Well you had books like something-Bible (eg OpenGL Bible) which only had pics and lotsa blah blah blahs... 17:03:53 I am beginning to think thick books should be avoided at all costs. 17:04:47 I had very good mental orgasms with addison-wesley, but boy are they expensive 17:04:59 unnecesarily so. 17:06:07 then again you have those "mastering Windows paintbrush" that make 600+ pages with... nothing in them. 17:06:41 or teach yourself Unix in 5 days (that sort makes me laugh all the time) 17:07:18 you have 2 shell functions, 2 awk functions, a few thiongs like ls and the rest is filler. 17:09:33 and then a few C on UNIX books from O'Reilly that still code as if you were on MULTICS with weird advises about malloc and memory issues 17:09:40 Gamera: http://sec.dunasoft.com:9673/wiki/forth/source.html 17:11:36 oh that's cute! You show that to turn people away from Forth or to make them buy a C64? :) 17:11:38 Gamera: its the source code of flux 17:11:45 thanks 17:11:58 its not colored just 4 fun 17:12:16 colors replace a lot of functionality 17:12:39 eg red color make the use of : unnecessary 17:12:54 oh, ok.. that color-forth, I haven't got a chance to look at it yet 17:13:09 interesting concept though. 17:13:13 white colored words r executed no compiled as green ones 17:13:33 so u dont have 2 interrupt a word definition 17:13:49 for some computaion w brackets 17:14:02 u just have 2 switch colors 17:14:38 : new-display [ 1024 768 * 2* ] literal allocate ; 17:14:50 is written as 17:15:26 [red] new-display [white] 1024 768 * 2* [green] allocate ; 17:16:01 --- quit: fridge ("http://lice.codehack.com") 17:16:03 no need for the word "literal" because the 17:16:45 color transition from white (or cyan(dec), magenta(hex), yellow(address)) to green 17:17:06 compiles the top of stack element 17:18:00 new-display will be finaly replaced as 1572864 in the compile... a bit like macros on C but smarter. am I right? 17:18:24 well.. 17:18:36 it also does an allocation 17:18:42 what is getmem in C 17:19:05 malloc... 17:19:23 but 2 some extent u r right, this white among green is sg like macros 17:19:33 hehe :) that was pascal, sorry 17:20:04 sg like macros, coz those parts r "evaluated at compile time" 17:20:17 actually they r simply executed 17:20:32 no special evaluator code for it 17:20:40 *there is no ... 17:20:50 yeah, there are some concept like that in PERL... usefull to get rid of the system dependent bits at load time, then the rest is more portable 17:20:57 btw, what u c is: 17:22:50 a color terminal, kbd drv, video drv, 2 font drvs, floppy drv, mem dump, color editor, native compiler, word lister, clock example, tetris 17:23:00 plus some documentation 17:24:36 those pages are the only source for all the listed programs/drivers 17:25:08 no other, auxiliary code, just an 50k (source size!) 4th kernel 17:25:17 onetom would you say colorforth is pseudocode for forth ? 17:25:17 written in asm+4th 17:25:36 gilbertbsd: hm... dont think so 17:26:00 gilbertbsd: its a pseudo code 4 the dictionary 17:26:18 I don't like colorforth. 17:26:21 I see, I'm just reading now the primer on Enth... Sounds just like what we were joking about "A Sun without solaris" 17:26:25 gilbertbsd: but its also true in the case of the conventional 4th 17:26:29 gilbertbsd: why? 17:26:39 I don't understand anything about it. 17:26:49 do a hello world lemme see. 17:26:57 in flux: 17:27:04 Gamera: ForthPrimer examples are not all usable for copy-and-paste, because of a few misspellings 17:28:28 screen 12x22 black page " hello world" count type switch keys 17:28:34 Speuler... thanks! And I can't locate that Sybex book on FORTH either. So I guess I'm gratefull for having that paper. 17:29:02 gilbertbsd: there is not much special about flux 17:29:21 gilbertbsd: of course the original CM c4th is terrible :) 17:29:34 btw, where are you all located? 17:29:44 same as you 17:29:53 * onetom is in Hungary 17:29:53 hehehe 17:29:56 I'm in Darmstadt, Germany 17:29:57 miami 17:30:03 munich 17:30:12 gilbertbsd: .. You lucky *#*#&!!! :) 17:30:26 * onetom agrees on that w Gamera :) 17:30:48 well at leats the beer is good here... right Speuler? :) 17:30:58 * Speuler agrees 17:31:10 :)) 17:31:18 i get free beer in the pub around the corner 17:31:21 it helps... but I'd do with plenty of sun though. 17:31:21 just as the weather in NOT good @ all 17:31:58 there do exist mediocre qualities of beer, even in munich 17:32:09 at least, compared to the local standard :) 17:32:22 we have some here... bad stuff too. 2 glasses and yor head hurts. 17:33:06 Gamera I had a german g/f. 17:33:21 she wasn't very nice otherwise I would be in baden-baden now. 17:33:32 Oh my... 17:33:35 yeah. 17:33:41 it was a small matter of frequency ;) 17:33:42 :D 17:34:13 Well my ex was Irish, the drinking was too much. Beer was water, only deadly cocktails turned her on. 17:34:23 oh dear. 17:35:04 I don't understand why forth has a 'then' as part of the if/else. 17:35:24 She went back to Donegal... But I have just net the right German girl, only 3 litres of beer per night. 17:35:37 if and else alternate path jump to adress begin then 17:36:09 only 3? 17:36:12 t'is like the closing } in a c if construct 17:36:15 and frequency? only 3 a month too? 17:36:46 s/begin/behind/ 17:37:07 gilbertbsd: the then is needed. - the then backfills the if or the else's branch vector 17:37:42 oh boy we have this FORTH+Girls+alchoolism crossfire.... 17:39:08 gilbertbsd: the need for "then" should be easier to see then the need for "begin" in begin..while..repeat 17:39:42 or do you mean "forth has endif already, why does it need then" ? 17:40:07 I am going to use only a few of the controls. 17:40:20 gilbertbsd: there are only a few :) 17:40:39 endif is a ghey name - if else then. not if else endif 17:40:46 bleh 17:41:34 cm put it there because ALGOL had it. 17:42:00 if prefer then to endif 17:42:31 make more natural-language style code 17:43:09 Yeah... PROLOG!! (blueargh!) 17:45:31 begin .... endbegin :( 17:45:43 Gamera: loll watta g/fs 17:45:46 ... do .... enddo ... 17:45:54 shudder 17:46:01 Gamera: btw, ive been 2 donegal too :) 17:46:13 * Speuler too 17:46:25 Kewl... I never been there myself, she worked here for Merck 17:46:33 wow :) how frequent is that place 17:46:54 Gamera: i have some ps problem.. 17:47:05 ps...postscript? 17:47:13 Gamera: could u help me? yes, postscript 17:47:30 Gamera: what of r u workin on atm? 17:47:31 oh boy... ok... I'll try. My ps is very rusty. 17:47:51 id like 2 change font encoding 17:48:17 to let Õ & Û displayed as O" & U" 17:48:25 dup 325 /Odoubleacute 17:48:25 dup 333 /Udoubleacute 17:48:34 oh.. wait... er.. kerning pairs??? (suddently I have these awfull memories) 17:48:52 mark 17:48:52 /EncodingVector 256 array def 17:48:52 EncodingVector 0 17:48:52 ISOLatin1Encoding 0 255 getinterval putinterval 17:48:52 EncodingVector 17:48:54 dup 306 /AE 17:48:57 dup 301 /Aacute 17:48:59 ... 17:49:19 ive appended the above 2 char definitions into this list 17:49:25 but nothing has changed :/ 17:49:42 i also replaced ISOLatin1Encoding w ISOLatin2Encoding 17:49:47 but thats unknown 17:51:04 so what OS r u using? 17:51:12 Solaris and Linux 17:51:35 coz ive generated the problematic PS file w graphviz 17:51:39 I myself have problem setting it for Hiragana (japanese) characters... 17:51:44 if u r using @ least woody 17:51:57 its a matter of apt-get install graphviz 17:52:02 woody? 17:52:17 dot -Tps test.dot -o test.ps ; gv test.ps 17:52:28 Oh nah, basic barebone LFS here. Like a newborn Solaris system. Then I graf what I like. 17:52:31 yay :) woody = debian 3.0 17:52:53 I haven't even got gs compiled yet... :< 17:52:54 LFS? Linux From Scratch? 17:53:06 yep.. it's very basic and security is awfull 17:53:37 but then again all yo do is cut and paste from the LFS txt file (that's all it is). 17:53:46 it's very time consuming too. 17:53:49 Gamera: some examples in forth primer are rubbish 17:54:06 for example: 17:54:16 : place over over >r >r char+ swap chars cmove r> r> c! ; 17:54:24 Gamera: so why r u playin w lfs then? 17:54:27 which would be : 17:54:31 Speuler: You do love that book, don't ya?! :) 17:54:33 : place 2dup c! 1+ swap cmove ; 17:55:14 onetom: playing? as in? 17:55:25 speuler what primer do you normally recommend? 17:55:33 Gamera: why dont u use debian instead? 17:55:40 depends on whom iÄ'd recommend 17:56:13 the gforth tutorial is not bad. very short chapters. easy to read 17:56:43 * onetom recommends himself ;) 17:56:44 bah, with LFS you get a document that lists what has been compiled with what option. Latter on you can always fallback onto it to double check if i18n and stuff are there. It's all out of the tar-file stuff, frech from the original sites 17:56:57 * onetom is the most flexible tutorial :> 17:57:37 --- join: fridge (meldrum@zipperii.zip.com.au) joined #forth 17:57:56 Gamera: aha.. its better 2 use bsd than if u really wanna care about all but the most basic components 17:59:04 onetom: Totaly agree with ya, plus the latest "stable" linux kernel have bugs that make you think twice before calling it "production release" like ide.c has dangling pointers. 17:59:32 I sticked with Linux because of my sad devotion to my OpenGL drivers. 17:59:44 there's a crash course too. it ends with "now that you know how to produce crashes, let's learn how to produce meaningful programs." 18:00:14 and the once in a while thingy that has been ported to Linux. 18:00:19 Speuler: heheh funny. 18:00:44 See C run, see C crash, see programmer run.. 18:00:59 or something like that. 18:02:38 What I really dream of... a free SYS-V like Unix.. a SYS-V Linux. Not a half-bsd, half-whatever thingy like Linux. 18:03:14 Open Solaris? :) 18:04:27 Gee, anyone remembers Coherent Unix? the 99$ 16 bit toy? 18:04:37 jo 18:04:55 too bad that went down, it was fun back then. 18:04:57 well, just "coherent" 18:05:21 Oh yea.. UN*X with the big copyright on the name. 18:05:30 I forgot about that too. 18:06:02 else it was SCO for only $10,000 18:06:24 and limited users. (like 5 or 10) :) 18:07:01 * Speuler had a "real" unix at that time, microsomething unix (no, not microsoft :), running on 286 18:07:07 anyhoot. I'll stop distracting you away from forth. 18:07:10 Xenix? 18:07:15 nope 18:07:26 Interactive? 18:07:30 ahh :) I just discovered pinfo! finally a man page viewer where you can use the links :) 18:07:41 i'll google for the brand 18:08:12 microport i think 18:08:27 yes 18:08:30 Olivetti also made theirs.. but it's still is funny to see "Copyrighted Microsoft 1982" on some HP-UX or ohers. 18:09:20 Microport... mmmm... I haven't used that one.. Then again there were so many of them. 18:09:30 Microport (80x86): pure SVR4, X11, OpenLook GUI 18:09:35 Cute! 18:09:55 but very slow on 286/8mhz :) 18:10:26 yeah but still better than using 4 machines under Novell to get a 4 nodes BBS up and running. 18:11:55 hehehe, back in the days when Novell consultants ruled the world and made fun of Unix, Usenet and that Internet thing only geeks talked about. 18:13:23 --- join: skylan_ (sjh@Rockcliffe29.tbaytel.net) joined #forth 18:13:45 ... then in 1989 Microport went bankrupt, 18:14:03 say Speuler, you work at the southern observatory or just a regular high paying job? 18:14:28 haven't been doing "regular work" for more than a year 18:14:46 same here.. contracts are running dry. 18:15:20 used to work with ESA and Eumetsat, but nowadasy even they have problems. 18:15:40 losing their consultants quicker than their booster rockets ? 18:15:51 heheheheh :) 18:16:48 Nah that's Ariane Espace, but still 2 exploded missions did make some victims. 18:16:49 by "regular" i mean, paid per hour 18:17:49 Paid per hours?! I used to get that in London. HEre it's pro-tag but then again it's regulated with safehouses like the EU government places. No one stays after 5:30 18:18:23 last "real job", i.e. paid per month, i had about 25 years ago :) 18:18:24 though some people at the ECB are doing overtime. 18:18:24 --- quit: Herkamire ("leaving") 18:18:36 well, 23 18:19:00 oh, you mean permanent?! That thing were you are not even paid for extra days... Arghl. 18:19:34 well, you fill your hours, and then you leave 18:19:43 that kind of job 18:19:43 They promise you training and then... they just give you a cisco install manual of 20 pages and say "learn IOS from that" 18:20:25 last "real job" was reparing computers 18:20:48 hardly anything to do with software 18:21:16 Well... HP-9000s, E10k suns are fun to play with... it's repairing PCs that sucks. 18:21:42 there were no pcs at that time 18:22:12 Oh boy, from #FORTH we are going to turn this into #Grumpy_Unemployed_Unix_Gits 18:22:47 thats me :)( 18:22:51 Of course... well what then a Wang? A PDP? :) 18:22:52 took me years until i decided to put me a pc on the table 18:22:53 i gtg tho 18:23:01 nite nite 18:23:05 taaa taaa! 18:23:07 --- quit: I440r ("Reality Strikes Again") 18:23:46 repairing is was 6809-based sbcs 18:23:51 You know, MAME has a PDP emulator now.. for playing Space. 18:24:11 Hey cute, I have a 6809 in my Vectrex! 18:24:18 great cpu 18:24:26 i loved it 18:24:50 I had my first kicks on the 6502... X,Y register one Accumulator. Life was great 18:25:37 but only 8 bit stack pointer 18:25:52 zero page 18:25:58 Ok, so what do we have here? Forth, Enth, 6809, Vectrex... let's do a new VAX! 18:26:19 a new vectrex with SCSI 18:26:38 i did quite a lot of scsi programming btw 18:27:03 yeah memory sucked on my Apple II, but then again who needed more than 64 kb? 18:27:26 implemented initiator and target software for plastic-and-metal-only computers :) 18:27:52 --- quit: skylan (Read error: 110 (Connection timed out)) 18:28:01 scsi is fun... too bad a lot of jerks replaced it with IDE saying it was as "wide and flexible" 18:28:19 hmpf 18:28:41 I still can see IDE drive bottleneckign like mad. so theri solution is one controller per device.. reinventing SCSI .. badly. 18:29:58 Ok I need a contract badly, need to buy some new gear.. like some nice raid array. 18:30:23 adaptec 2100 and 3100 work allright under linux 18:31:11 Yeah.. and I did a short contract at Digital/Compaq in their SAN WAN division. Lotsa nice gear to plug onto a Linux or Solaris box. 18:31:31 nice fiber... mmmm 18:31:51 yes, would consider that as alternative too 18:32:31 of course, the controlling interface for configuring the ocmponents is a PC running Windows (doh! typical Compaq) 18:33:38 And the fun thing was... Compaq bought Digital back then, telling them "the old mainfraime mentality got you guys nowhere" 18:34:03 then when it came to storage, it's only the digital know how that saved the new compaq 18:34:47 last scsi project, i had to implement the assembler for the processor on the scsi controller too. 18:34:50 Compaq has a shitty litte RAID thingy (the RA-4000 I think) and Digital had monster things like fiber, on the fly datat replicators and the lot 18:35:15 Speuler: That must have been neat... 18:35:39 there was no other code available at all 18:35:40 what do they use? RISC? 18:36:18 that was a symbios controller. 53x896 i think 18:36:24 very risky, yes 18:36:32 but not general purpose cpu 18:36:48 streamlined for scsi operation 18:37:32 risky as in "reduced instruction set", not as in "huge register banks" :) 18:37:43 oui oui 18:38:30 Now that you mentioned it. I was a pocket computer freak. Sharp PC-1350, PC-1500 18:38:50 and the Sharp PS-1350 ahd a funny low voltage Fijutsu chip on it 18:39:00 Fujitsu, sorry. 18:39:27 and that one did map registers to memeory a la risc. I mean back in the days when Z80 was a big name 18:39:56 you could define and resize your register areas. 18:40:03 using static ram as registers ? 18:40:31 I dunno, but isn't it what big RISC things like the sparc do? 18:40:51 sparc uses afaik reigster windows 18:41:32 could have been somethign like that. but for me used to my 6502 and a bi of the z80, that was totlay new. 18:41:39 those are provided by cpu, not by external ram 18:41:48 Yes. 18:42:04 The memory was limited since it was inside. 18:42:10 inside the chip I meant.. sorry. 18:42:11 novix (forth cpu) allows single-cycle operation on static ram on first 32 addresses 18:43:26 --- quit: proteusguy ("Client Exiting") 18:43:40 that is, single cycle to address and fetch 18:43:42 but on a pocket PC that was designed in maybe 1984... that was quite surprising.. I'll look for more info on the web. 18:43:51 or address and store 18:43:59 but not read-modify-write 18:44:18 that's pretty convenient though. 18:44:30 rmw was in best case a two cycle operation 18:44:35 i think 18:46:49 "Microport's terminal problems began when SCO, then in temporary posession of Unix before passing it on to Caldera, took Lucent, Microport's biggest customer, direct after Microport put up $500,000 to get the deal going. Microport never really recovered from that." 18:47:06 Then when Caldera took over, it confusingly renamed UnixWare Open Unix 8, making it kind of indistinguishable from Open Server and Caldera Open Linux. That was another blow. 18:47:52 yep... So that is what UnixWare was then 18:48:06 apropos of that mysterious CPU... 18:48:10 http://www.ctrl.titech.ac.jp/~hkoba/pocketcom/sc61860op.html 18:49:46 ah 18:49:56 I guess I had it all confused then 18:50:13 registers ref'd through internal ram pointer to 96 bytes sram 18:50:50 like pic, 8051 and some more microcontrollers 18:52:08 ok. interesting. the computer itself was quite neat for the time.. and the batteries lasted for months. :) 18:53:34 it had a screaming 4KB RAM 18:54:10 better than the ZX-81, hey?! 18:56:04 "imagine a beowulf cluster of them" like the old Slashdot boring expression goes. 18:56:14 probably. integrated screen. battery power 18:56:56 and a serial port. Very neat for hacking those BBS at 300 bauds. 18:57:09 :) 18:57:40 speaker and micro, usable as acoustic coupler ? 18:57:57 nah the speaker was very bad for that. 18:57:57 --- quit: gilbertbsd ("Client Exiting") 18:58:43 http://pocket.free.fr/html/sharp/pc-1350_e.html 18:58:45 some ax25 packet modem drivers use just a sound card as modem 18:59:22 up to 9600 bps i think 18:59:35 uh-oh 18:59:44 temperature down to -13 here ... 19:00:15 oh boy... no wonder it's also cold in Hessen... 19:01:13 and it's 4 am too. 19:01:34 I'm expecting a call in 6 hours. Better go to bed. 19:02:05 need to stretch out too 19:02:23 just looking at the new software ,,, 19:02:32 hmm 19:02:48 ok, well it has been really great to talk to you all. I'll come back. 19:02:55 i do hope so 19:03:02 sleep well 19:03:04 and I'll go with that gforth tutorials. 19:03:10 taaa taaa! 19:03:11 --- quit: Kiara (Read error: 104 (Connection reset by peer)) 19:03:25 tchuuuuuuus! 19:03:31 --- quit: Gamera ("Client exiting") 19:03:32 servus 19:41:55 who knows amrforth v5 / linux ? 19:42:23 (costfree...) 20:04:04 would you think that this way of specifiying modifier of enum index is acceptable : 20:04:08 0 8 enums 1+ black red yellow green blue magenta cyan white 20:04:15 1 4 enums 2* bit0 bit1 bit2 bit3 20:04:21 ? 20:05:00 : enums ( start xt n -- ) 20:05:01 ' -rot 20:05:01 0 ?do 20:05:01 dup constant 20:05:01 over execute 20:05:01 loop 20:05:05 2drop 20:05:07 ; 20:05:24 ahem. stack diag wrong ... 20:05:58 dup postpone constant 20:06:01 (I think) 20:06:50 Hmmm. 20:12:29 ?do (ANS) consumes both arguments. 20:16:17 * TreyB obviously doesn't write enough forth. *sigh* 20:23:25 --- quit: Speuler (Read error: 110 (Connection timed out)) 20:23:40 --- join: Speuler (~Speuler@mnch-d9ba4739.pool.mediaWays.net) joined #forth 20:37:04 --- quit: Speuler ("Client Exiting") 21:03:11 --- join: Kitanin (~clark@SCF61185.ab.hsia.telus.net) joined #forth 22:08:10 --- quit: Kitanin (Read error: 54 (Connection reset by peer)) 23:39:17 --- join: flyfly (~marekb@mail.melzer.cz) joined #forth 23:39:51 --- join: Serg_Penguin (~Z@nat-ch1.nat.comex.ru) joined #forth 23:47:03 topic #forth ! 23:47:15 Hi serg :) 23:47:21 hi :)))) 23:50:06 --- join: Kitanin (~clark@SCF61185.ab.hsia.telus.net) joined #forth 23:53:10 --- quit: onetom (Read error: 110 (Connection timed out)) 23:56:35 is there any tutor how to write asm in forth ? 23:56:54 Just harass i440r a bit :P 23:59:59 --- log: ended forth/03.02.13