00:00:00 --- log: started forth/19.05.14 00:23:06 --- join: jedb (~jedb@185.128.24.51) joined #forth 01:13:27 static is POWER! 01:13:33 static compilation 01:13:38 static webpages 01:14:02 static is good 01:57:45 --- join: dddddd (~dddddd@unaffiliated/dddddd) joined #forth 02:05:23 * jackdaniel recommends a static monitor in a form of a sheet of paper 02:07:23 * dave0 recommends jackdaniel's and ice 02:09:44 Are there any games in Forth where you write two programs which have to fight each other? Like Core War. 02:14:46 that 02:14:50 is a great idea 02:18:16 Don't know how it would work though. 02:22:11 Emulate a dual-core stack machine with shared memory? :D 02:26:38 actually starting to sound very interesting 02:30:11 The big thing is you'd have to have some way to stop people from just sniping at where they know the other program is. Some kind of protections that would have to be unlocked once you actually identify the location. 02:33:11 have them dumped randomly into memory 02:35:02 Hmm.... That could work, true. 02:37:46 i did corewars for a project at uni heh 02:38:17 it was in curses 02:38:31 supposed to be a fancy gui but the guy doing that was a douche 02:38:43 so i whipped up a curses front-end 02:39:06 it was all written in c though 02:39:35 there's a standard for corewars lol 02:39:52 This would be 02:39:54 stackWars 02:40:17 two stacks pushed - one stack popped 04:26:42 WilhelmVonWeiner: I am going to hunt you down and drag you into the ThunderCore. 05:00:38 hahaha love it. 05:05:44 --- quit: proteusguy (Ping timeout: 244 seconds) 05:15:35 I think a Forth would have to be written for the game though. 05:15:44 An eForth base would be a good starting point. 05:52:44 --- quit: john_metcalf (Ping timeout: 258 seconds) 06:01:07 WilhelmVonWeiner: Yes, you'd have to build a custom Forth for the custom stack machine. 06:01:21 Ideally a token-threaded one whose tokens are instructions in the hypothetical core. 06:01:50 I'd work at it starting from the core myself, though, not the Forth. 06:02:02 Let the Forth grow organically out of the foibles of the underlying stack machine. 06:02:28 that's what I was thinking after posting that 06:02:49 but, a machine that could run an eForth. 06:10:42 Why especially an eForth? (I have zero experience with eForth so ...) 06:18:00 small source, very easy to customise any which way as you write it 06:42:34 I can attest to that. Ported eForth easily to DCPU-16 without much hassle 06:58:20 --- quit: dave0 (Ping timeout: 245 seconds) 06:58:26 --- quit: dave42 (Ping timeout: 246 seconds) 07:16:45 --- join: dave9 (~dave@069.d.003.ncl.iprimus.net.au) joined #forth 07:25:28 --- quit: tabemann (Ping timeout: 252 seconds) 07:47:50 I occasionally think about porting eforth to nga 07:49:37 I totally want to try 07:50:01 soon as I don't feel bad about not dedicating my time to other, university-related things 07:54:38 school is for dorks! 07:55:59 --- join: dys (~dys@84.46.53.123) joined #forth 07:57:16 I got a job and immediately stopped caring about any kind of graduation 07:57:37 zy]x[yz: ya take Mark Twain's approach? Not letting schooling get in the way of your education? 07:57:48 Wish I could motivate myself but it's 36k of debt for what, shit I can learn online for free? 07:57:52 pardon my french 07:58:58 watch your fucking language, asshole 07:59:09 Most of my education in electronics and programming is self-taught; if I were looking to get hired solely on what university taught me I might as well go work at Subway 07:59:14 zy]x[yz: lol 07:59:56 yeah, I am puzzled why university education in many countries is this bad 08:00:14 and then people have the gall to tell me that university gives me the ability to teach myself or something like that 08:00:47 i think that is the purpose of school. some people are already capable of that without school, though 08:00:50 for 36k I could've rented a flat for the three years I was going and studied on my own time 08:00:51 not everyone is like that 08:01:36 if I hadn't had to write MELFA BASIC for Mitsubishi robotic arms maybe I would still care about mechatronics 08:02:33 I sometimes wished that BASIC never made it out of Darthmouth (or whatever the name of the university that 'invented' it) 08:04:38 but without BASIC what would've kids in the 80s written awful, awful games in? 08:05:24 COMPLICATED 08:09:14 i laughed too hard and my colleagues all went silent 08:09:35 --- quit: nerfur (Ping timeout: 245 seconds) 09:03:57 --- quit: dys (Ping timeout: 246 seconds) 09:07:46 WilhelmVonWeiner: I hope you followed up with "The revenge is mine!" 11:27:20 --- join: X-Scale` (~ARM@10.240.28.37.rev.vodafone.pt) joined #forth 11:29:08 --- quit: X-Scale (Ping timeout: 255 seconds) 11:29:08 --- nick: X-Scale` -> X-Scale 11:55:14 --- quit: gravicappa (Ping timeout: 246 seconds) 12:12:51 --- quit: Keshl (Ping timeout: 268 seconds) 12:18:38 --- join: gravicappa (~gravicapp@h109-187-22-102.dyn.bashtel.ru) joined #forth 12:19:26 --- join: Keshl (~Purple@207.44.70.214.res-cmts.gld.ptd.net) joined #forth 12:47:38 --- quit: gravicappa (Ping timeout: 244 seconds) 13:09:02 Forth in a sector. Well done crc! https://www.reddit.com/r/Forth/comments/bnjcka/forth_video/encmfql/ 13:12:07 The words "redpilled" and "bluepilled" are just as annoying as "sheeple". 13:13:28 https://wiki.stm32duino.com/index.php?title=Blue_Pill 13:13:29 ? 13:15:03 Cute. 13:19:14 --- quit: Zarutian (Ping timeout: 246 seconds) 13:20:01 Just remember: the blue-pill is a suppository. You were NOT supposed to swallow it. 13:22:27 microcontroller choking-hazard 13:23:04 http://ix.io/1J3 13:23:08 http://ix.io/1J39 13:23:20 is that what a hash table is? 13:23:32 "The ultimate vaporwave language" :D 13:24:23 I think I actually know the "Blue Pill"'s MCU. Isn't it on the nucleo board as some kind of flashing helper thingie? 13:25:39 https://hackaday.com/2017/08/04/take-the-blue-pill-and-go-forth/ 13:26:30 Nom nom nom. Wakka wakka! 13:27:00 --- join: Zarutian (~zarutian@173-133-17-89.fiber.hringdu.is) joined #forth 13:27:19 pointfree: thanks :) 13:51:24 I wonder if I can squeeze that a bit smaller... 14:02:59 The problem is always the text interpreter. 14:03:22 ..and the people... always the people. 14:07:13 Parsing always takes so much code. Maybe if I had some semantically meaningful binary data structure instead of crufty character sets. 14:17:04 could use an integer jump table to build up code using... something 15:34:23 --- join: dave0 (~dave0@069.d.003.ncl.iprimus.net.au) joined #forth 15:35:12 hi 16:04:32 --- quit: pierpal (Ping timeout: 258 seconds) 16:30:47 --- join: pierpal (~pierpal@host57-236-dynamic.22-79-r.retail.telecomitalia.it) joined #forth 16:37:25 --- quit: grewal (Remote host closed the connection) 16:47:35 --- quit: john_cephalopoda (Ping timeout: 250 seconds) 17:00:58 --- join: john_cephalopoda (~john@unaffiliated/john-cephalopoda/x-6407167) joined #forth 17:02:39 --- join: ashirase (~ashirase@modemcable098.166-22-96.mc.videotron.ca) joined #forth 17:08:17 --- join: smokeink (~smokeink@118.131.144.140) joined #forth 17:13:23 --- quit: dddddd (Ping timeout: 255 seconds) 17:13:54 --- join: dddddd (~dddddd@unaffiliated/dddddd) joined #forth 17:15:25 --- quit: Zarutian (Ping timeout: 245 seconds) 17:23:29 --- quit: smokeink (Remote host closed the connection) 17:39:36 --- quit: pierpal (Ping timeout: 258 seconds) 17:55:41 --- join: tabemann (~tabemann@h193.235.138.40.static.ip.windstream.net) joined #forth 18:04:15 john_cephalopoda: The Blue Pill MCU is an STM32F103C8 which is, yes, the target for ST-Link devices including the built-in ST-Links on Nucleos. 18:07:35 they are jlink-edu compatible, are they not? 18:08:56 the stlink is its own thing 18:09:07 and use you can use a nucleo to program them 18:09:11 and yes 18:10:37 some of the new nucleos might have the stm32f103cb 18:10:47 well, I already spent gren on jtag, so screw it. 18:11:04 what are you going to program PoppaVic ? 18:11:57 I've got some adafruit samd's: itsybitsy m0, m4 and an m0 Feather (samD[25]1's) 18:12:20 did you buy a jlink edu? 18:13:24 yep 18:13:40 For the price, it can't be beat.. I'mcheap as hell 18:13:42 you can turn a stlink device into a j-link edu for free from seeger 18:14:15 you can make a bluepill into a blackmagic probe for the cost of the bluepill 18:14:20 well, that's why I asked if the jlink was stlink compat. 18:14:35 at what level? 18:14:38 hardware? 18:14:40 software? 18:14:47 protocols they support? 18:15:00 jlink can't be an stlink 18:15:04 but an stlink can be a jlink 18:15:06 plug-in jtag; plug in lappy; plug in board.. talkety-talkety ;-) 18:15:12 --- quit: john_cephalopoda (Ping timeout: 252 seconds) 18:15:15 I see ;-P 18:15:19 what are you going to use as your host software 18:15:35 openocd suport both ot them but they each have their own driver 18:15:48 damnfino, as I understand it the arduino package can talk to these samd's 18:16:04 from the pc host they aren't compatible 18:16:08 yeah, I have openocd installed. I am sure some other package uses it 18:16:19 they are unique usb devices, each with their own usb internface 18:16:52 but yeah if you are using openocd you can pick the right -f interface/stlink.cfg or -f interface/j-link.cfg 18:17:11 well, I'll puzzle it out eventually.. I've held off changing them at all, so far. 18:17:30 are you using atmel studio for your development? 18:17:43 or is this just a one time thing to load a forth on there? 18:18:18 If I get involved, it'll be gcc or forth-via-asm. 18:18:28 No, screw studio. Linux only. 18:18:28 so from the command line? 18:18:31 yeah 18:19:10 --- quit: dave0 (Quit: dave's not here) 18:19:26 openocd -f interface/jlink.cfg -f target/someatmelsamedevice.cfg & 18:19:39 yeah, sounds about right 18:19:39 arm-none-eab-gdb -ex 'target remote :3333' foo.elf 18:19:45 ugh 18:20:03 I have absolutely no warm fuzzies for gdb in any universe 18:20:21 or use the seeger software 18:20:34 or vscode and its debugger 18:21:08 I suspect, even though I installed all that stuff here, that this particularly lappy will shit and turn toes-up before I start using those samd's. 18:21:12 or adafruit probably has their own thing :) 18:21:29 and it won't be compatible with anything :) 18:21:31 adafruit will sell you the jlink and point you at seeger ;-P 18:22:09 PoppaVic: I got three devices for SWD debugging. Same board with different firmware: one's a CMSIS-DAP, one's an ST-Link, one's a J-Link OB. They cost me about five bucks apieces. 18:22:28 nice 18:22:33 my favorite is BMP 18:22:38 you don't need any host software 18:22:44 Buying actual Segger kit is pricey as all Hell. 18:22:58 BMP: Black Magic Probe? 18:23:00 the BMP is a gdb proxy over the serial 18:23:01 yeah 18:23:09 so you just connect to it from gdb 18:23:30 arm-none-eabi-gdb -ex 'target remote /dev/ttyACM0' yourcode.elf 18:23:32 ttmrichter: the jlink-edu from adafruit was only about $20, just "not for commercial use" - and given what I get paid to code, this ain't an issue ;-) 18:24:03 oh and the BMP provides a virtual COM port too 18:24:18 So does my adapter. 18:24:22 so you can use a single cable to get the swd / jtag and another tty 18:24:26 and BMP is free 18:24:46 which one provides that the ST-Link? 18:26:13 All three of them give me a virtual COM. 18:26:49 and those are $5? 18:26:59 which cmsis-dap? 18:27:35 It's tagged "DAPLink" on the back. Not sure which version that is. 18:28:38 cool 18:28:46 i haven't looked around in a while 18:28:52 Also supplies a MOSI pin, but I'm not sure how to access that. 18:29:28 https://github.com/blacksphere/blackmagic i run that on a bluepill 18:30:34 If I developed exclusively on Linux I'd probably go that route. 18:30:35 Unfortunately I have to use IAR for work. 18:30:48 ah .. those are jlink/cmsis happy? 18:32:16 They support a few, but not a GDB server. :-/ 18:32:52 i've not tried the commercial products 18:33:34 seems like it would just be an exercise in jealousy 18:33:39 CADI, CMSIS-DAP, I-jet, J-Link, TI Stellaris, Nu-Link, PE micro, ST-Link, TI MSP-FET, TI XDS 18:34:03 what do you work on? dev tools? 18:34:34 --- join: Zarutian (~zarutian@173-133-17-89.fiber.hringdu.is) joined #forth 18:34:37 Control systems for high tension test equipment. 18:35:06 fun 18:36:16 It can be. Until they test some of the high tension equipment in the lab. Then I get nervous. :D 18:36:56 have you zapped anyone yet? 18:37:19 or more has the testers you make zapped anyone 18:37:44 are you using forth on the testers? 18:40:00 --- quit: dddddd (Remote host closed the connection) 18:42:18 No, sadly I don't use Forth professionally. I work with electrical engineers. :-/ 18:42:26 https://item.taobao.com/item.htm?id=567529543238 18:42:48 There, those are the devices I have for my personal work. 18:42:54 ah .. you are in china so everything is like 50 cents ;) 18:43:24 sorry 29 cents 18:43:55 wait no 4.66 18:44:49 Told you. About five bucks. :D 18:45:29 that has drag and drop? 18:45:37 over mass storage programming? 18:57:24 Rickta59: I'm ... not sure. I've never used Drag and Drop. 18:57:38 just wondering 18:57:39 thanks 18:57:45 Here at work we use a device that stores our ROM images and programs them directly. 18:58:11 So you walk around with this little hand-held device, plug it into the JTAG or USART or whatever port directly and burn. 18:58:36 :) star trek replicator 19:00:16 It's a cool little device, but waaaaaaaaaaaaaaaaaaaaaaay overpriced in my books. 19:00:23 I'm tempted to make one myself. 19:07:34 The device we use looks kind of like this: https://item.taobao.com/item.htm?id=37048058222 19:07:41 Ours is older, though. 19:34:48 Rickta59: I just checked. The DAPLink and the ST-Link variant both support drag-and-drop. The J-Link does not. 20:02:58 --- quit: tabemann (Ping timeout: 258 seconds) 20:24:31 --- join: john_cephalopoda (~john@unaffiliated/john-cephalopoda/x-6407167) joined #forth 20:28:04 --- join: tabemann (~tabemann@2600:1700:7990:24e0:b944:a349:56b9:12fb) joined #forth 20:34:13 --- join: gravicappa (~gravicapp@h109-187-22-102.dyn.bashtel.ru) joined #forth 20:42:32 --- quit: djinni (Quit: Leaving) 20:46:15 --- join: djinni (~djinni@68.ip-149-56-14.net) joined #forth 21:25:13 --- join: pierpal (~pierpal@host202-151-dynamic.56-79-r.retail.telecomitalia.it) joined #forth 21:58:57 --- quit: djinni (Quit: Leaving) 22:07:47 --- join: djinni (~djinni@68.ip-149-56-14.net) joined #forth 22:42:53 --- quit: PoppaVic (Remote host closed the connection) 22:45:48 --- join: PoppaVic (~PoppaVic@unaffiliated/poppavic) joined #forth 23:13:51 --- join: [1]MrMobius (~default@c-73-134-82-217.hsd1.va.comcast.net) joined #forth 23:16:03 --- quit: MrMobius (Ping timeout: 252 seconds) 23:16:03 --- nick: [1]MrMobius -> MrMobius 23:56:25 --- join: proteusguy (~proteusgu@mx-ll-14.207.208-30.dynamic.3bb.co.th) joined #forth 23:56:25 --- mode: ChanServ set +v proteusguy 23:59:59 --- log: ended forth/19.05.14