00:00:00 --- log: started forth/02.11.15 00:00:00 --- log: started forth/02.11.15 00:00:00 c@ \ fetch prefix value 00:00:14 prefixs2 dup c@ 1+ \ inject into buffer pointed to by prefix2 00:00:14 2dup swap c! 00:00:14 + c! ; 00:00:14 \ ------------------------------------------------------------------------ 00:00:14 \ compile prefixes for previous instruction if any, swap buffers 00:00:15 : prefix> 00:00:17 prefixs1 c@ \ any prefixs on previous instruction ? 00:00:19 if 00:00:21 prefixs1 count bounds \ for each prefix specified (up to 4) 00:00:23 ?do 00:00:25 i c@ c, \ fetch out of buffer and compile 00:00:27 loop 00:00:29 prefixs1 off \ no prefixes in this buffer now 00:00:31 then 00:00:33 prefixs2 c@ \ if any prefixes on current instruction 00:00:35 if \ swap prefix buffer pointers 00:00:37 prefixs1 prefixs2 00:00:39 !> prefixs1 !> prefixs2 00:00:42 then ; 00:00:43 \ ------------------------------------------------------------------------ 00:00:45 /360 prefix lock /362 prefix repne /362 prefix repnz 00:00:47 /363 prefix rep /363 prefix repe /363 prefix repz 00:00:49 /046 prefix es: /056 prefix cs: /066 prefix ss: 00:00:51 /076 prefix ds: /144 prefix fs: /145 prefix gs: 00:00:53 /146 prefix o: /147 prefix a: 00:00:55 \ it is suggested that you dont use segment overides unless you know you 00:00:57 \ are running in ring zero - they dont make any sense anywhere else 00:00:59 \ 00:01:00 --- quit: I440r (Excess Flood) 00:01:23 --- join: I440r (~mark4@sdn-ap-002tnnashP0455.dialsprint.net) joined #forth 00:01:33 dammit and it was just getting to the interesting part too!! 00:01:46 heh 00:01:57 if anyone wants to see it its in my ftp rite now :) 00:02:13 ftp isnt port 80, its port 21 00:02:25 http is port 80 00:08:08 --- quit: Serg_Penguin (benford.freenode.net irc.freenode.net) 00:08:08 --- quit: Forth (benford.freenode.net irc.freenode.net) 00:08:08 --- quit: proteusguy (benford.freenode.net irc.freenode.net) 00:08:08 --- quit: skylan (benford.freenode.net irc.freenode.net) 00:08:08 --- quit: Fractal (benford.freenode.net irc.freenode.net) 00:08:08 --- quit: onetom (benford.freenode.net irc.freenode.net) 00:08:08 --- quit: ChanServ (benford.freenode.net irc.freenode.net) 00:08:08 --- quit: I440r (benford.freenode.net irc.freenode.net) 00:08:08 --- quit: OrngeTide (benford.freenode.net irc.freenode.net) 00:08:08 --- quit: Robert (benford.freenode.net irc.freenode.net) 00:08:08 --- quit: fridge (benford.freenode.net irc.freenode.net) 00:08:08 --- quit: TreyB (benford.freenode.net irc.freenode.net) 00:10:23 --- join: ChanServ (ChanServ@services.) joined #forth 00:10:23 --- join: I440r (~mark4@sdn-ap-002tnnashP0455.dialsprint.net) joined #forth 00:10:23 --- join: Serg_Penguin (~Z@nat-ch1.nat.comex.ru) joined #forth 00:10:23 --- join: Forth (~Forth@sdn-ap-002tnnashP0455.dialsprint.net) joined #forth 00:10:23 --- join: proteusguy (~username@65.191.88.177) joined #forth 00:10:23 --- join: fridge (meldrum@zipperii.zip.com.au) joined #forth 00:10:23 --- join: onetom (~tom@novtan.bio.u-szeged.hu) joined #forth 00:10:23 --- join: skylan (sjh@207.164.213.52) joined #forth 00:10:23 --- join: Robert (~Robert@robost86.tsps1.freenet6.net) joined #forth 00:10:23 --- join: Fractal (~doug@24.77.171.228) joined #forth 00:10:23 --- join: TreyB (~trey@cpe-66-87-192-27.tx.sprintbbd.net) joined #forth 00:10:23 --- join: OrngeTide (orange@65.19.141.250) joined #forth 00:10:23 --- mode: benford.freenode.net set +o ChanServ 00:11:10 the actual meat of the assembler isnt written yet 00:11:10 but i have an overall picture of it in my head 00:11:13 there are some things ive not figured out yet so its on teh back burner while i code things i have figured out 00:11:21 meanwhile my subconsious is away coding teh assember for me :) 00:13:03 I440r, what do i use for sleep in IsForth? 00:13:23 nanosleep 00:13:24 ms 00:13:29 and seconds 00:13:47 found timer.f :) 00:13:49 thanks:) 00:13:54 ill have signals eventually too 00:13:57 ya 00:14:08 im not 100% posative my ms is functioning correctly 00:14:22 5 ms has no meaning in linux 00:14:29 the absolute minimum delay is 100 ms 00:14:43 101 ms might realy be 130 ms 00:14:46 no way of knowing 00:14:53 will u consider adding capability of partial assembly and template for user's asm extensions ? 00:15:10 the first thing i'll write will be a! code 00:15:12 explain 00:15:26 what do you mean paralell asembly ? 00:15:39 next - maybe vector-matrix calculations and matrix and vector stacks 00:15:43 partial 00:16:23 just like in Linux kernel - compile only what u need, make menuconfig 00:16:56 oh 00:17:22 hmm. as in - a target compiler that creates a whole new kernel for your application that includes NOTHING thats not needed 00:17:42 if i can think of a way to implement this i will. its what tom zimmers tcom does 00:21:22 solution is kernel capable ONLY of extending by compilation or loading bin modules 00:21:33 not any word beyond this 00:21:42 not any feature 00:21:43 sounds limiting 00:21:56 if im reading you right that is 00:24:33 yah. that depth thing is handy for finding leaks 00:24:33 s/yah/HAY 00:24:57 well time to go to bed. it draws the pieces. it just needs to rotate them. keep a game bitarray and check collisions and read user input and save high scores and do network sockets. :P 00:26:06 lol yes 00:26:06 so is .s :P 00:26:06 btw a tip 00:26:06 yes? 00:26:06 when you test a new word foo that takes 2 parameters do 00:26:09 1 2 3 p1 p2 foo 00:26:17 and see if 1 2 and 3 are still there 00:26:26 that's a good idea too 00:27:02 what's the entry point for turnkey again? 00:27:28 quit is teh best way 00:27:32 ' myapp is quit 00:27:40 turnkey myapp 00:27:45 oh. hrm. 00:27:49 that way you wont mess with the default init stuff 00:27:51 -> 3 I440r 1 remove unneded stuff at design time, not at compile time. Movethings backwards in time , not forward like Tom Zimmer, and read 9 Thinkful Programming 1 etc... 00:27:58 sounds good. 00:28:44 serg yea isforth IS designed a little fat right now, i know what can be stripped out tho, its only IN so i can use it as i test etc 00:29:03 ull see heh ya just gotta be patient with me atm 00:29:10 yah. it worked. well it segfaulted at the end 00:29:10 till i can assemble and metacompile 00:29:16 yes 00:29:20 you need to do something like 00:29:34 : mymain run-my-program bye ; 00:29:39 ' mymain is quit 00:29:46 turnkey myprog 00:29:51 ./myprog 00:30:07 all this will be in the documentation that might be written sometime within the next 234896523849 years :) 00:30:13 ur turnkeys are so huge so i better just SAVE.... 00:30:51 gp-forth ( RU, dos, 64k com ) makes them below 1k, forth.com is 18 k 00:30:54 no. they dont need to be 00:30:57 for instance 00:31:21 if you dont need any of the stuff that the kernel is extended with by isforth.f do this 00:31:25 works! :) 00:31:28 cp isforth.f myforth.f 00:31:36 edit out all the shit you dont need from myforth.f 00:31:44 change the fsave isforth to fsave myforth 00:31:50 gotcha 00:31:52 now compile your app on top of myforth and turnkey 00:31:56 MUCH smaller 00:31:57 heh 00:32:10 i did so ! 00:32:17 yah. i was going to say. my tetris is 28k and it doesn't really do anything. :P 00:32:19 tho still bigger than it realy needs to be because of all the overheads in the kernel that REALY belong in extensions 00:32:53 well time to go. seeya. thanks for your help. 00:33:13 serg you do realise this is a 32 bit forth right? all the xt's are 32 bits 00:33:26 they are going to look TWICE as big as the same code compiled under isforth 00:33:35 isforths turnkeyd apps are MINUTE!!!! 00:33:57 write netscape equiv in isforth and turnkey 00:34:00 :) 00:34:07 anyway, i realy need to go zzz 00:34:10 nite :) 00:34:12 i dunno digged it in depth 00:34:25 that might be nearly 128kB :P 00:34:29 i dig in depth only things i extensively use 00:34:30 if you include the graphics. 00:34:44 i extensively use only reliable things :) 00:34:58 i wanna do a web browser in isforth (graphical and console) 00:35:01 eventually 00:35:19 so then it will be more reliable, ull have more users, feedback and help 00:35:23 serg isforth IS reliable, it just doesnt check you arent doing silly things :) 00:35:24 something like 'links' would be do-able. with the neat text rendering of tables. 00:35:29 when ive coded signal handlers 00:35:33 'links' also has graphical support now too. it's kinda freaky 00:35:36 you can make segfault NOT a fatal error 00:36:08 so far i haven't had any problems. all segfaults were becuase i did something stupid. 00:36:19 start IsForth and hit @ 00:36:26 it'll segfault for obvious reasons 00:36:34 two more bugs: 00:36:57 sometimes it just hangs, killable by kill -TERM pid 00:37:08 lol - that should do "stack underflow" 00:37:16 but it segfaults before it gets that far :) 00:37:23 i don't like the fact that i can't hit ^C in it to break out of it. i sometimes screw up my loops 00:37:41 again.,... signals :) 00:37:54 KEY seems to be line-buffered one-time and char-by-char another time 00:37:55 you don't have to handle signals to do that. 00:38:04 or does crt0 setup those signals for you on linux? 00:38:06 no -ts never line buffered 00:38:07 * OrngeTide hrms. 00:38:24 i'll give u proggie showing linebuf behavior 00:38:31 ITS never line buffered :) 00:38:34 ok 00:38:39 email it to me or something :) 00:38:49 i'm going to bed. night all. 00:38:49 and ill explain it (i think :) 00:39:13 me 2 :) 00:39:35 damn, i wrote hello-word shebang example w/ KEY DROP at end, at it accepts MANY symbols and goes back to Midnight Commander only after ENTER , damn ! 00:40:12 show me 00:40:16 paste it here 00:40:25 that might be an MC thing 00:40:28 not an isforth thing 00:40:38 its at home, cat paste 00:40:46 ok 00:40:48 # shebang string 00:40:59 well zzz time :) 00:41:12 green >fg .( hi ! ) white >fg key drop 00:41:20 two lines 00:41:42 work time :) c u l8r.... 00:42:00 two lines, no :'s 00:42:31 --- quit: Serg_Penguin () 00:42:51 --- quit: I440r ("abort" Zzzzz Snort... zzzzZ"") 01:22:52 --- join: Serg_Penguin (~Z@nat-ch1.nat.comex.ru) joined #forth 01:34:04 --- join: XeF4 (xef4@lowfidelity.org) joined #forth 01:45:34 --- quit: Forth (Read error: 110 (Connection timed out)) 02:53:18 --- quit: Serg_Penguin (Killed (NickServ (Nickname Enforcement))) 02:53:20 --- join: Serg_p (~Z@nat-ch1.nat.comex.ru) joined #forth 02:55:09 --- nick: Serg_p -> Serg_penguin 03:27:25 --- quit: proteusguy (Read error: 104 (Connection reset by peer)) 03:27:45 --- join: proteusguy (~username@65.191.88.177) joined #forth 03:30:47 --- quit: Serg_penguin () 03:31:25 --- join: Serg_p (~Z@nat-ch1.nat.comex.ru) joined #forth 03:32:00 --- nick: Serg_p -> fhjkj 03:32:07 --- nick: fhjkj -> Serg_penguin 03:41:34 --- quit: proteusguy (Read error: 104 (Connection reset by peer)) 03:41:56 --- join: proteusguy (~username@65.191.88.177) joined #forth 04:13:06 --- quit: Serg_penguin () 04:13:30 --- quit: proteusguy (Read error: 104 (Connection reset by peer)) 04:13:52 --- join: proteusguy (~username@65.191.88.177) joined #forth 04:19:52 --- quit: XeF4 ("pois") 04:29:30 --- join: lament (~lament@h24-78-145-92.vc.shawcable.net) joined #forth 05:07:29 --- join: Serg_Penguin (~Z@nat-ch1.nat.comex.ru) joined #forth 05:28:31 z 05:28:58 hey, who's alive ? 05:35:34 --- quit: Serg_Penguin (Killed (NickServ (Nickname Enforcement))) 05:35:36 --- join: Serg_p (~Z@nat-ch1.nat.comex.ru) joined #forth 05:49:05 --- quit: lament ("Client Exiting") 05:52:10 --- quit: proteusguy (Read error: 104 (Connection reset by peer)) 05:52:30 --- join: proteusguy (~username@65.191.88.177) joined #forth 05:55:20 --- join: tathi (~josh@wsip68-15-54-54.ri.ri.cox.net) joined #forth 05:56:27 --- join: Herkamire (~jason@wsip68-15-54-54.ri.ri.cox.net) joined #forth 06:20:43 --- join: snowrichard (~richard@66.190.101.66) joined #forth 06:21:27 --- part: snowrichard left #forth 06:25:39 z 06:29:25 omega 06:32:26 kinda like manual keepalive, to avoid NAT dropping TCP link, zzzsleep :) 06:32:45 --- nick: Serg_p -> Serg_penguin 06:33:11 how is u'r Enth work ? 06:50:57 --- quit: proteusguy (Read error: 54 (Connection reset by peer)) 06:51:12 --- join: proteusguy (~username@65.191.88.177) joined #forth 06:55:43 Serg_penguin: I hate that. at work we finally bought our own router, and I set the timeout for tcp connections to 10 hours :) :) 06:59:52 --- join: penalva (~penalva@195.83.179.71) joined #forth 07:09:07 --- quit: Serg_penguin (Read error: 110 (Connection timed out)) 07:11:58 --- quit: proteusguy (Read error: 104 (Connection reset by peer)) 07:12:13 --- join: proteusguy (~username@65.191.88.177) joined #forth 07:14:34 --- join: Serg_Penguin (~Z@nat-ch1.nat.comex.ru) joined #forth 07:22:50 --- quit: proteusguy (Read error: 113 (No route to host)) 07:28:08 --- join: I440r (~mark4@sdn-ap-002tnnashP0455.dialsprint.net) joined #forth 07:28:27 re hi I440r 07:28:35 hi :) 07:28:47 Hi I440r. 07:28:55 u at work or at home serg ? 07:29:00 hi rob :) 07:29:08 at work still 07:29:13 Will you steal a nice design for your page? :P 07:29:27 i dont steal shit :) 07:29:34 serg working late ? 07:29:40 why steal, i can make if u want 07:29:53 chatting :( late 07:30:13 aha heh i only got 4 hours sleep last nite :P 07:30:31 I440r: I do! Anyway, next design will be a bit more simple..then I'll even have the time to do it myself... 07:30:32 who is penalva ? 07:30:36 a new #forther ? 07:30:40 I440r: I will NOT spend hours designing a site, heh. 07:30:48 Anyway, I'm goung out. Bye for now. 07:32:29 i gotta make coffee 07:32:31 brb 07:33:53 did u checked about KEY linebuffered ? is KEY syscall or what ? 07:42:01 key is char buffered for sure 07:42:11 what effect do you see from that shebanged 1 liner ? 07:54:37 --- quit: I440r (Read error: 54 (Connection reset by peer)) 07:56:41 --- join: I440r (~mark4@sdn-ap-008tnnashP0499.dialsprint.net) joined #forth 08:05:48 it echoes many chars, not 1, and exits after Enter, not _any_ char like it should 08:07:26 net troubles ? 08:08:10 gonna reboot, need to fix FDD 08:08:13 --- quit: Serg_Penguin () 08:09:14 no forther a that time 08:11:13 not here it doesnt 08:11:32 penalva hi :) 08:11:41 u planning to learn forth ? 08:13:51 --- join: Serg_Penguin (~Z@nat-ch1.nat.comex.ru) joined #forth 08:14:06 --- quit: clog (^C) 08:14:06 --- log: stopped forth/02.11.15 08:14:14 --- log: started forth/02.11.15 08:14:14 --- join: clog (nef@bespin.org) joined #forth 08:14:14 --- topic: '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' 08:14:14 --- topic: set by thin on [Fri Nov 08 15:54:41 2002] 08:14:14 --- names: list (clog Serg_Penguin I440r penalva Herkamire tathi OrngeTide TreyB Fractal Robert skylan onetom fridge @ChanServ ianni) 08:14:33 re 08:14:36 serg when i run that here it exits on any single keypress 08:15:03 :( will test new ver 08:15:14 ok 08:15:51 why didnt u _start_ from segfault catcher ? 08:16:04 and one more q: 08:16:20 ask as many as you like :) 08:16:27 ? 08:16:33 how did u test incomplete forth system ? 08:16:57 catching signals was low priority, i need to figure out how to implement them in isforth 08:17:01 how did i test it ? 08:17:10 well isforth is 2 years old now and ive been using it alot 08:17:18 im also testing on the fly alot 08:17:31 im sure there are bugs etc but thats why its a BETA release 08:17:38 i need a larger user base to catch all the bugs tho 08:17:41 i test every few operators, or else i write crap 08:18:02 so do i 08:18:29 once you get nest, next and unnest working you got your foundation 08:18:36 i mean _how_ to test incomplete forth every few operators ? 08:18:45 nest ? unnest ? 08:18:56 the core words in the kernel like + - * / etc drop dup are not all fully tested 08:19:15 nest and exit 08:19:23 exit is an unnest 08:19:36 i dream about _my_ forth so i wanna know how to do such stuff 08:20:23 the "it works now" came when i got query, expect, word and interpret working 08:20:26 and find 08:20:35 Hmm..what's for/next in IsForth called? 08:20:41 those are all so closly linked that i needed to test them all together 08:20:44 for/nxt 08:20:50 Ah, right. 08:20:59 How are they used? 08:21:01 i refuse to call it for/next, NEXT has SPECIAL meaning in isforth 08:21:08 someone think of better names and ill change them 08:21:16 : blah 10 for r@ . nxt ; 08:21:19 FOR/NEXT :P 08:21:20 10 9 8 7 6 5 4 3 2 1 08:21:34 no. i said BETTER names 08:21:35 r@ doesn't modify the return stack? 08:21:36 :P 08:21:41 no 08:21:50 it just fetches whats at the top of the return stack 08:22:01 if i ever write, it will look alot like yours, but simpler and closer to my ideal - capable only of extension, not showing funny messages, having CASE or vocabularies curses or bell or whistles 08:22:37 maybe i even rip some code from u'rs 08:22:38 i dislike case, i advise against it where it can be avoided 08:22:46 vocabularies are an absolute must 08:22:53 so rip it out ! 08:22:54 the curses shit is TOTALLY optional heh 08:23:00 :) 08:23:11 cell* my-list @ execute <-- great alternative for "case" in many cases :) 08:23:44 And it's done so easily in Forth... not like the ugly C syntax. 08:23:47 u'd better not spend ur time on 'shit' and work more on core 08:23:59 Heh. 08:24:03 You need "shit". 08:24:09 Without I/O, no fun! 08:24:15 had u any formal design document on such great project 08:24:19 Besides, the core should be small and simple. 08:24:22 brb 08:24:23 the core is practically stable now 08:25:30 Would you mind giving me a few opinions/suggestions for my VM instruction set? It's only like 30 simple instructions... 08:26:48 back 08:27:05 http://robert.zizi.org/~tinyvm/tiniervm/tinier8.txt 08:27:10 -> Robert post instructions here 08:27:17 can i do it when ive had more sleep ? 08:27:21 I don't want to flood :P 08:27:25 I440r: Heh, of course. 08:27:26 i only had 4 hours last nite 08:27:30 :-/ 08:27:32 my brain is not functioning right now 08:27:42 Go to bed :) 08:27:42 im a zombie heh 08:28:11 no, im waiting on the insurance claim guy to come and give estimate on the damage to my car :P 08:28:19 my dad hit a deer on the way home :) 08:28:37 dad was ok, car was messed up a little, deer was a write off :) 08:29:30 Heh.. 08:33:18 are u'r regs also adressable as memory ? 08:33:19 On the AVR, yes. 08:33:35 (Since all its RAM memory/registers/IO is addressable that way) 08:34:48 so crazy poke makes it mad... and no memory protection :) 08:36:18 what will u make out of AVR ? poket box ? smart house ? 08:36:19 Of course not. 08:36:31 $2 chips don't have memory protection .P 08:36:39 Moon rocket. 08:37:04 poket box w/ 2$ cpu will be kewl 08:37:34 can it interface memory, and what kind of mem ? 08:38:18 how much LCD and home-mountable SDRAM do cost ? 08:38:56 Hm. 08:39:04 Use SRAM. 08:39:16 Maybe $5 for a quite large one. 08:39:23 LCDs are expensive. 08:39:40 It has from like 128 to 1kB of memory. 08:39:44 (Built in) 08:39:49 Can address up to 64kB. 08:40:06 seriosly, would i have some xperience w/ such stuff, i would attempt to design 'folk's ham pda' 08:40:34 $5 = ? MEG SRAM ? 08:40:58 not only 'working piece', but easy to reproduce 08:41:03 Haha. 08:41:12 Not meg. 08:41:13 kB :) 08:41:18 Maybe 32 or 64kB. 08:42:36 ooops i got 256M DDR = 47$ and expected 1$ = 5M or at least 1$=1M 08:43:32 i was too greedy, it badly swaps on stuff like 3DMax, Bryce , Photoshop etc.... 08:43:55 Uh. 08:44:02 It can use Forth :) 08:44:18 Besides, SRAM is faster and more expensive. 08:44:21 (And simplier to use= 08:45:51 has AVR some external RAM interface ? 08:46:47 it was key to Z80 success 08:47:06 don't know. By now looking for current version of forth (with good manuals of course ...) 08:47:43 -> penalva what is u'r forth experience ? 08:48:14 Serg_Penguin: Yes, it has. It can address up to 64kB. 08:48:31 penalva: What Forth? 08:48:36 On an Apple 2e, more than 20 years ago ... 08:48:47 kewl 08:49:00 Neat. 08:50:20 it depends from what do u want from Forth 08:50:32 many ones do exist: 08:50:43 floppy-boot and OS-based 08:51:20 machine-code compiling / blitz fast vs. more script-like 08:59:47 --- quit: I440r (Read error: 110 (Connection timed out)) 09:16:03 --- quit: penalva ("Fermeture du client") 09:17:17 --- quit: clog (^C) 09:17:17 --- log: stopped forth/02.11.15 09:17:29 --- log: started forth/02.11.15 09:17:29 --- join: clog (nef@bespin.org) joined #forth 09:17:29 --- topic: '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' 09:17:29 --- topic: set by thin on [Fri Nov 08 15:54:41 2002] 09:17:29 --- names: list (clog Serg_Penguin Herkamire tathi OrngeTide TreyB Fractal Robert skylan onetom fridge @ChanServ ianni) 10:09:34 --- join: Kitanin (~Kitanin@SCF61185.ab.hsia.telus.net) joined #forth 10:15:22 --- quit: Serg_Penguin (Killed (NickServ (Nickname Enforcement))) 10:15:25 --- join: Serg_p (~Z@nat-ch1.nat.comex.ru) joined #forth 10:56:43 --- quit: Serg_p () 10:56:44 --- quit: Kitanin (Read error: 104 (Connection reset by peer)) 12:37:08 --- join: irc (wossname@HSE-QuebecCity-ppp80779.qc.sympatico.ca) joined #forth 12:38:08 --- nick: irc -> wossname 13:49:52 --- join: neobrat (~~jeff_tkd@h-64-105-21-62.DNVTCO56.covad.net) joined #forth 13:50:09 heya all 13:50:25 Hi there. 13:50:40 neo! 13:51:30 herk, I got solid polygons in my engine now 13:51:35 got another screen if you wanna see 13:52:32 neobrat: I read some of the stuff at your link about raycasting. Sounds cool, that's pretty much how I figured doom worked. 13:52:44 rrr, pretty much how I figured doom worked. 13:52:56 cool 13:53:02 neobrat: I'd love to see it. still have my email? 13:53:13 or dcc works 13:53:14 no, i got it at home -- at work now 13:53:28 dcc? 13:54:56 dcc'ing now herk 13:56:09 neobrat: try again, I just figured out how to recieve :) 13:56:23 retrying 13:58:35 ok not working, just gonna email it =) 14:01:19 very nice :) 14:01:26 that's on GBA right? 14:01:32 yeah 14:01:32 how many colors on that thing? 14:01:43 16-bit in that particular mode 14:01:59 cool 14:02:14 yeah, I've added normals, lighting, backface culling 14:02:33 and its still < 10 k :) 14:02:41 :) awesome 14:03:05 you doing this in forth? 14:03:26 well, my forth, but yeah 14:03:34 1/2 forth 1/2 ARM assembly 14:03:38 oh, that's the best kind 14:03:44 (your own) 14:03:53 yep 14:04:58 so you gonna make a raycaster? 14:05:00 you have a screenshot? 14:05:07 yep 14:05:14 wanna emailed or dcc'd? 14:05:22 neobrat: no, I'm thinking about a raytracer though 14:05:36 I don't want to make a 3d game now or soon 14:06:00 herk, there's a lot to a raytracer 14:06:05 I know 14:06:19 I've made one with tathi before that only did spheres and lights 14:06:30 and color 14:07:01 he had to help with the math 14:07:15 i've made a few -- raytracers are my "test" for any language/compiler 14:07:19 for some reason in highschool I learned calculus instead of Linear Algebra. grrr... 14:07:31 me, too... had to teach myself matrix math 14:07:41 yeah. I'm close to getting it :) 14:07:57 I need something bigger to use it on 14:08:25 I keep getting discouraged from projects like that because I want to do them in fpos, but fpos isn't done yet. 14:08:27 fridge, what ya think of the screenshot? 14:08:32 s/done/ready/ 14:11:35 neobrat: I'm amazed you can get it all in 10k 14:11:50 well, ill take that as a big complement -- thanks :) 14:11:54 I've seen some pretty amazing things in some of those 60k demos 14:12:50 as soon as I get some more done and some web space out there, I'm gonna put my compiler up on the web 14:13:43 tho i don't think ill get many hits -- forth for GBA i dont think will be too popular 14:28:08 --- quit: tathi ("leaving") 14:28:35 --- quit: Herkamire ("going home") 14:28:58 --- quit: neobrat () 15:34:38 --- join: Klaw (chuck@ip68-4-243-214.oc.oc.cox.net) joined #forth 16:11:01 Hehe. 16:11:13 I just wrote the most useless Forth program ever. 16:11:54 It finds all primes, whose number sums are primes, and whose numbers sum's sums are primes etc., each decimal digit should also be a prime. 16:45:54 --- join: Herkamire (~jason@ip68-9-59-184.ri.ri.cox.net) joined #forth 16:54:46 --- join: lament (~lament@h24-78-145-92.vc.shawcable.net) joined #forth 17:03:23 --- quit: wossname ("elite bbq~ haqers unite: join #ebh") 17:24:20 --- join: Soap` (flop@202-0-42-22.cable.paradise.net.nz) joined #forth 17:24:26 Robert: umeant sum of its digits, ithink 17:25:51 Hi there. 17:25:58 Er..yes I did :9 17:26:06 Sorry, I think in swedish this hour ;) 17:28:31 --- join: tathi (~josh@ip68-9-58-207.ri.ri.cox.net) joined #forth 17:36:20 Hi. 17:38:28 * tathi appoints Robert #forth's official greeter ;) 17:42:52 * Robert yawns. 17:43:06 I coded the ugliest piece of Forth I've ever seen. 17:44:00 why? 17:44:17 A program to look for primes, whose sum of digits recursivley are primes, and every number in the chain should also have all its digits to be primes. 17:44:34 I was competing with a guy, I coded in Forth, he wrote the same in Python. 17:44:41 hmm...interesting 17:45:01 and...? 17:45:01 Yeah, it was a nice way to kill some time. 17:45:24 Well... using IsForth on a P200, my program is at least 100 times faster than his running on a Celeron 333. 17:45:51 cool 17:46:03 Yeah. We're using similar or equal algorithms. 17:46:23 I'm rewriting it in x86 assembly now, just to check. 17:47:17 Robert: and who finished first? :) 17:47:28 yeah, that's the big question 17:48:14 I did. 17:48:19 hm 17:48:25 Although my code was uglier and longer. 17:48:36 Probably due to his inexperience. 17:48:38 The Python guy is probably a lousy programmer :) 17:48:42 He's almost 15 :) 17:48:59 And I'm over a year older... Hooray. 17:49:18 lament: Kind of... but so am I. 17:59:56 Robert: how long did it take you 18:00:27 Uhm. 18:00:48 No idea, maybe an hour, since the program specification changed like 5 times. :) 18:01:13 cool 18:01:15 Maybe longer, since I don't have a good feeling for time. 18:02:00 I was suprised I could even do it. Things like this aren't exactly what I consider a "forth-friendly" task. 18:02:42 does it just keep going arbitrarily long? or just until it overflows 32 bits? or what? 18:03:08 Nah, you specify where you want it to search. 18:03:13 start stop find 18:03:20 (Where find is the word) 19:02:26 Hey, robert, what's your website's URL again? 19:03:38 Ah, robet.zizi.org 19:03:42 Googled it. 19:12:08 Oops. 19:12:14 Sorry, didn't see you, Fractal :) 19:12:46 http://robert.zizi.org/pub/prime.f should contain the code I talked about. But remember I warned you :) 19:13:39 :) 19:14:51 I'll show that to Forth newbies from now on, to show how Forth looks like. 19:23:50 Now this was suprising. I implemented exactly the same algorithm in x86 assembly, and it was just a few percent faster than the IsForth version. 19:24:40 9 vs. 13 seconds. 19:24:53 (To find these primes up to 1000000) 19:27:08 Hmm... I guess the DIV instruction takes up most of that. 19:27:16 It's 4:30 here, good night. 19:36:34 night 19:42:21 --- quit: lament ("Client Exiting") 21:29:11 --- quit: tathi ("leaving") 22:20:27 cr cr ." Time eslaped: " .elapsed cr ; 22:20:28 --- quit: Soap` (Read error: 104 (Connection reset by peer)) 22:50:39 --- join: lament (~lament@h24-78-145-92.vc.shawcable.net) joined #forth 23:18:52 Hey lament. 23:18:56 hi. 23:19:22 What's new? 23:20:01 Nothing much. Got some Forth for my Palm and now don't know what to do with it :) 23:20:12 Oh, nice. Quartus? 23:20:30 no, ppforth. The free one. 23:20:49 Cool. 23:21:39 Well, I find actually programming on a palm is rather painful. 23:22:12 why? 23:22:27 Except perhaps because of the lack of a good editor. 23:22:42 Although it is painful in ppforth, because errors crash PalmOS. 23:22:57 Well, no... Using the stylus to enter text is... uncomfortable... 23:23:20 Yes, well PalmOS doesn't like dereferencing null pointers and the like... 23:24:09 PalmOS is kinda neat, though. I've got a Palm IIIxe, you? 23:25:44 ah, stylus 23:25:48 I have a keyboard :) 23:25:53 Visor Edge 23:26:17 Nice. I was going to get a keyboard, but they were like $100... 23:26:58 $50 23:27:02 it was some sort of deal 23:27:23 it's awesome. 23:27:30 Especially for taking notes and stuff like that. 23:27:37 Yeah, no doubt. 23:27:51 It even supports Dvorak! :) 23:28:33 Heh. Nice. 23:59:59 --- log: ended forth/02.11.15