00:00:00 --- log: started retro/12.12.05 00:21:18 --- quit: tangentstorm (Ping timeout: 260 seconds) 00:22:30 --- join: tangentstorm (~michal@108-218-151-22.lightspeed.rcsntx.sbcglobal.net) joined #retro 04:43:04 okay, i have a plan for retro <-> pascal communication: https://github.com/sabren/b4/blob/master/ref/retro-pascal.org 04:46:00 also... not sure i actually showed this to you guys or not yet, but a faster js terminal with direct input ( still slightly buggy ) is here : http://games.tangentcode.com/retro/src/console.html 08:38:00 --- join: harrison (~quassel@li89-226.members.linode.com) joined #retro 13:49:25 --- join: Mat2 (5b419085@gateway/web/freenode/ip.91.65.144.133) joined #retro 13:49:31 hello ! 13:49:58 hey Mat2 :) 13:50:12 hi tangentstorm ! 13:50:31 how are things? i'm compiling :) 13:50:39 nice :) 13:51:42 I'm down from 4.0 s for an empty loop ($10000000 times) to 0.8 s and found that the limit for interpretation 13:52:10 !! very nice 13:53:33 because my interpreter recompiles to direct threading code on the fly I'm now on implementing a JIT compiler instead as this is not much mor effort 13:54:01 this way I can use nasm and forget about the frustating limitations (and bugs) of the inline assembler 13:54:14 so the whole compiler will be an external procedure 13:55:52 that's handy 13:56:33 I've figured out calls with 64 bit adresses are executed with a latency of 18 clock cycles !!!, this is impressive bad 13:57:40 weak. but you probably don't need anywhere near that amount of address space, do you? 13:58:12 i've kind of been thinking about switching to 16-bit 13:58:31 the inline compiler have this limitation (beside restrictions on relative adress generation) 13:59:15 but with nasm I can generate 23 bit address references and these are much more efficient 13:59:25 sorry mean 32 bit of course 14:00:16 are the compiler sources in your repro ? 14:00:19 I was talking to a guy who made another pascal "os" that wasn't on that page i showed you 14:00:44 all this one does is boot up and say "hello world" 14:00:54 not yet 14:01:11 https://github.com/sabren/b4/blob/master/ref/retro-pascal.org 14:01:34 these are my notes for how i'm planning to do the calling conventions 14:01:56 https://github.com/tangentstorm/PL0-Language-Tools/blob/master/pl0_to_retro.py 14:02:18 that's the core of the compiler, but no code is generated yet 14:02:45 it's based on a python adaptation of niklaus wirth's 450 line pl/0 compiler from 1975 :) 14:03:02 ( which is in the same directory there ) 14:03:34 ah thats the explanation for my dejá vue 14:03:48 https://github.com/nickelsworth/paskernel <- the "hello world" OS with freepascal 14:04:48 the guy that made this is also the author of PTCpas, the SDL alternative for direct graphics 14:05:43 ( which also has a text console implementation like what you made for sdl ) 14:05:49 ahm, the os kernel interface is very unixoid 14:07:00 yeah. he basically made an ELF file so it would boot with GRUB 14:08:13 somewhere I have seen an microkernel in pascal 14:08:28 very interesting sources (and very readable) 14:08:38 http://wiki.osdev.org/Pascal_Bare_Bones 14:11:15 who knows, some day there will be an tablet os written in pascal on top of a MISC style vm 14:11:42 :) 14:12:14 i would love to see that 14:12:44 this all came up because there's a guy hanging out in #fpc who's also wanting to make a tiny os 14:13:10 always good to progess from inspiration :) 14:13:11 one of the core compiler devs showed up today after reading through the irc logs 14:13:38 in the pascal channel ? 14:14:12 yeah. he was explaining to that guy that you can use "embedded" as the target OS 14:14:36 if you are doing stuff like wanting to make your own operating system. the runtime library gets much smaller that way 14:14:53 good to know 14:17:17 logs are http://www.elesoft.net/lift/lift.php?prefs[showtype]=current&prefs[channel]=100 he explained it much better than i did 14:17:50 under todays chat i guess 14:24:01 very interesting read 14:33:59 look here: 14:34:03 http://j-software.dk/rtos.php 14:34:46 http://j-software.dk/os.php 14:34:49 huh! 14:34:53 hadn't seen that one 14:35:38 also http://j-software.dk/os.php 14:35:43 oh :) 14:42:30 nice handy os 14:42:46 (and written in pascal) 14:43:52 just added it to the fpc wiki 14:49:28 need some sleep, I will upload my current sources tomorrow night as I want to finish the JIT vm 14:49:45 I think it matures enough to be usable 14:50:59 (beside some minor bugs for sure) 14:51:30 is mature the right word ?? hmm, anyway 14:51:34 ciao 14:51:41 --- quit: Mat2 (Quit: Page closed) 23:59:59 --- log: ended retro/12.12.05