00:00:00 --- log: started forth/19.09.17 00:08:36 --- quit: xek (Ping timeout: 258 seconds) 00:11:03 --- quit: proteusdude (Ping timeout: 276 seconds) 00:22:52 --- join: proteusguy (~proteusgu@cm-58-10-208-146.revip7.asianet.co.th) joined #forth 00:22:52 --- mode: ChanServ set +v proteusguy 00:23:22 --- join: proteusdude (~proteusgu@cm-58-10-208-146.revip7.asianet.co.th) joined #forth 00:23:22 --- mode: ChanServ set +v proteusdude 00:56:57 --- quit: proteusguy (Quit: Leaving) 02:00:35 --- join: dys (~dys@2003:5b:203b:100:a64c:c8ff:fef4:13a6) joined #forth 02:50:24 --- quit: ryke (Ping timeout: 240 seconds) 02:53:44 --- quit: rdrop-exit (Quit: Lost terminal) 03:06:30 --- quit: dys (Ping timeout: 245 seconds) 03:32:10 --- join: dys (~dys@2003:5b:203b:100:a64c:c8ff:fef4:13a6) joined #forth 03:36:30 --- quit: dys (Ping timeout: 245 seconds) 04:04:24 --- quit: karswell (Ping timeout: 240 seconds) 04:13:07 --- join: dys (~dys@2003:5b:203b:100:a64c:c8ff:fef4:13a6) joined #forth 04:21:57 --- quit: dys (Ping timeout: 250 seconds) 04:42:40 --- quit: gravicappa (Ping timeout: 268 seconds) 04:45:12 --- join: gravicappa (~gravicapp@h109-187-195-121.dyn.bashtel.ru) joined #forth 05:15:29 --- join: dys (~dys@tmo-115-103.customers.d1-online.com) joined #forth 05:15:31 --- join: dddddd (~dddddd@unaffiliated/dddddd) joined #forth 05:18:44 --- quit: gravicappa (Ping timeout: 245 seconds) 06:25:12 --- quit: dys (Ping timeout: 240 seconds) 06:56:26 --- join: xek (~xek@public-gprs411294.centertel.pl) joined #forth 07:00:38 --- join: ryke (~Thunderbi@71-9-171-192.dhcp.jcsn.tn.charter.com) joined #forth 07:13:08 --- quit: john_cephalopoda (Remote host closed the connection) 07:16:14 --- quit: lchvdlch (Ping timeout: 245 seconds) 07:50:11 --- quit: dave0 (Quit: dave's not here) 07:55:36 --- quit: ryke (Ping timeout: 240 seconds) 08:17:19 --- quit: APic (Ping timeout: 244 seconds) 08:20:39 --- join: APic (apic@apic.name) joined #forth 08:25:36 --- quit: APic (Ping timeout: 265 seconds) 08:29:09 --- quit: dave9 (Ping timeout: 245 seconds) 08:36:11 --- join: dave9 (~dave@069.d.003.ncl.iprimus.net.au) joined #forth 08:53:36 --- quit: dave9 (Ping timeout: 240 seconds) 08:54:56 --- join: john_cephalopoda (~john_ceph@ahti.space) joined #forth 08:54:56 --- quit: john_cephalopoda (Changing host) 08:54:56 --- join: john_cephalopoda (~john_ceph@unaffiliated/john-cephalopoda/x-6407167) joined #forth 08:57:13 --- join: dave9 (~dave@069.d.003.ncl.iprimus.net.au) joined #forth 09:43:14 --- join: gravicappa (~gravicapp@46.191.232.145) joined #forth 10:26:33 --- join: APic (apic@apic.name) joined #forth 10:52:20 --- join: creat1001 (63be2f20@99-190-47-32.lightspeed.chrlnc.sbcglobal.net) joined #forth 11:02:34 --- quit: gravicappa (Ping timeout: 258 seconds) 11:45:51 --- quit: creat1001 (Remote host closed the connection) 11:55:09 --- join: xek_ (~xek@user-94-254-232-167.play-internet.pl) joined #forth 11:57:47 --- quit: xek (Ping timeout: 265 seconds) 12:03:06 --- quit: irsol (Remote host closed the connection) 12:03:44 --- join: irsol (~irsol@unaffiliated/contempt) joined #forth 12:05:50 --- join: WickedShell (~WickedShe@159-118-128-145.cpe.cableone.net) joined #forth 12:19:44 --- quit: irsol (Remote host closed the connection) 12:24:17 --- join: creat1001 (63be2f20@99-190-47-32.lightspeed.chrlnc.sbcglobal.net) joined #forth 12:26:12 --- join: dys (~dys@2a01:598:a80b:ca23:9eb6:d0ff:feee:f529) joined #forth 12:31:24 --- quit: dys (Ping timeout: 276 seconds) 12:42:47 --- join: irsol (~irsol@unaffiliated/contempt) joined #forth 12:49:13 --- quit: WickedShell (Remote host closed the connection) 13:23:41 --- join: dys (~dys@84.46.53.122) joined #forth 15:15:51 --- quit: xek_ (Ping timeout: 276 seconds) 15:20:41 --- quit: phadthai (Remote host closed the connection) 15:31:05 Hello 15:31:43 Hi creat1001 15:32:29 Hi John 15:33:09 --- join: DKordic (~user@178-222-28-243.dynamic.isp.telekom.rs) joined #forth 15:40:35 Anyone doing anything fun codeing wise? 15:42:32 --- quit: cheater (Ping timeout: 265 seconds) 15:49:37 --- join: cheater (~cheater@unaffiliated/cheater) joined #forth 15:51:34 One more thing to fix and my interpreter will be done. Then on to my VM 15:52:09 Well, I need to add some test scripts first I suppose 16:00:15 creat1001: I finished initial work to support 64-bit cells in my forth 16:00:31 nice. 16:01:13 I'm just starting on mine. Will be vm based. Concept play around code. 16:03:30 been Valginding the code the past two hours, It seems happy now 16:23:45 crc, you writing it in asm? 16:30:51 --- join: phadthai (mmondor@ginseng.pulsar-zone.net) joined #forth 16:32:46 my kernel is in assembly, but for an emulated MISC based processor 16:33:30 most of the code is in forth (though unconventional) 16:36:13 --- quit: dys (Ping timeout: 245 seconds) 16:38:40 Sounds nice. What you emulating the proc with? 16:40:04 I have implementations of it in C, C#, Python, JavaScript, and (thanks to john_cephalopoda) x86 assembly 16:41:44 I'm doing mine in C. The VM will be stacked based. First stack vm I have ever written. 16:47:30 http://forth.works/live/doc/Nga.md is the minimal implantation of my processor (everything except for I/O devices, which differ depending on the host hardware or os) 16:50:41 Yeah, I have an in/out for the IO as place holders, but it will changes I'm sure. 16:53:25 Looks like I have 4-5 more instuctions than that one. 16:54:19 Don't want to look too much at the code. I like no influences on my projects like this. 16:55:59 nothing wrong with that :) 16:56:42 I like my own mistakes :) 16:58:12 I though valgrind and myself were going to fight today.. 16:58:32 was ready to throw it out of the window :) 17:55:46 --- join: tabemann (~tabemann@rrcs-162-155-170-75.central.biz.rr.com) joined #forth 17:57:00 --- join: rdrop-exit (~markwilli@112.201.170.86) joined #forth 17:57:18 hey rdrop-exit 17:57:37 Good morning tabemann :) c[] 17:58:47 I actually often drink coffee or tea at this time of the day (and it's the evening here) 17:59:08 I'm still half-asleep 18:00:30 I don't know where to start with my damn ARM Cortex M port of hashforth 18:01:09 I've decided I'll try porting the C runtime rather than rewriting it in assembly from scratch 18:01:23 but I don't know how to put together the right build environment 18:02:00 down to simple things such as how do I declare to the compiler that a function is supposed to run in an IRQ or FIQ environment 18:03:06 I only do C on host machines (i.e. PCs and such), I've never done any C on embedded targets, wouldn't know where to start 18:04:36 yeah, C on embedded seems to be enough of a pain that I might just as well do it in assembly to avoid build environment issues... but then, which assembler do I choose... and writing my own assembler certainly wouldn't be easier than any build environment issues 18:04:55 there's gas, but I've heard bad things about it 18:05:14 even though supposedly Mecrisp targets it 18:05:22 There are plenty of embedded C books out there, I've never read any though 18:05:29 *Mecrisp-Stellaris 18:05:57 https://en.wikipedia.org/wiki/Embedded_C 18:06:00 it's not the general parts of embedded C which is the problem 18:06:07 I've done embedded C before 18:06:21 it's getting the build environment off the ground which is the problem 18:06:59 I would assume that's covered as well 18:07:52 oh 18:08:03 you don't just mean programming for embedded devices in C 18:08:16 --- join: WickedShell (~WickedShe@159-118-128-145.cpe.cableone.net) joined #forth 18:08:21 you mean a specific set of C extensions for supporting embedded programming 18:09:55 okay, I've gotta head out - gonna go home and have dinner, gonna go to the grocery store on the way 18:10:03 I'll be on later 18:10:08 Have fun 18:10:08 bare-metal c is easy peasy 18:10:38 it's the same as c on an os except there are no system libs and you just write to wild addresses like a madman 18:10:54 cmtptr: the main concerns I have are simple ones like how to declare functions to execute as interrupt handlers 18:11:17 yeah that's usually a compiler extension 18:11:46 and that's the kind of thing I need to figure out 18:11:50 but I've gotta go 18:16:30 --- quit: tabemann (Ping timeout: 258 seconds) 18:37:53 cmtptr, I guess thats why Arduino users are so attached to their 'libraries' ? 18:44:14 --- join: ryke (~Thunderbi@71-9-171-192.dhcp.jcsn.tn.charter.com) joined #forth 18:45:54 ?? 18:59:19 cmtptr, oops, apologies, I misread your " it's the same as c on an os except there are no system libs and you just write to wild addresses like a madman: 19:02:20 --- join: dave0 (~davezero@069.d.003.ncl.iprimus.net.au) joined #forth 19:23:02 cmtptr, personally I find C for embedded convoluted in comparison to Forth, here is one example, the STM32F0xx GPIOA MODER 19:23:24 in Keil C for the same, their include file has this 19:23:49 #define GPIO_MODER_MODE0_Pos (0U) 19:23:50 #define GPIO_MODER_MODE0_Msk (0x3UL << GPIO_MODER_MODE0_Pos) /*!< 0x00000003 */ 19:23:50 #define GPIO_MODER_MODE0 GPIO_MODER_MODE0_Msk 19:24:03 my Forth uses this 19:24:30 : GPIOC_MODER_MODER0 ( %XX -- ) 0 lshift GPIOC_MODER bis! ; \ GPIOC_MODER_MODER0 19:26:24 and I can then use a constant " %01 constant output " to do this to set GPIOA-0 as a output 19:26:36 output GPIO_MODER_MODE0 19:28:52 --- quit: `presiden (Read error: Connection reset by peer) 19:28:55 cmtptr, my "GPIO_MODER_MODE0" is automatically created from the vendor SVD file, there are no madmen writing wild addresses required 19:31:35 csb 19:38:43 --- join: tabemann (~tabemann@2600:1700:7990:24e0:80fa:39ed:a7d0:c852) joined #forth 20:32:02 --- join: gravicappa (~gravicapp@145.255.0.90) joined #forth 20:57:14 --- quit: dddddd (Remote host closed the connection) 21:22:24 --- quit: gravicappa (Ping timeout: 240 seconds) 21:50:44 --- join: gravicappa (~gravicapp@145.255.0.90) joined #forth 21:58:03 --- quit: gravicappa (Ping timeout: 268 seconds) 22:09:03 --- quit: ryke (Quit: ryke) 22:12:47 --- join: ryke (~Thunderbi@71-9-171-192.dhcp.jcsn.tn.charter.com) joined #forth 23:22:38 --- join: xek_ (~xek@user-94-254-232-167.play-internet.pl) joined #forth 23:30:30 --- quit: xek_ (Ping timeout: 276 seconds) 23:59:59 --- log: ended forth/19.09.17