00:00:00 --- log: started forth/20.04.15 00:15:59 --- quit: rdrop-exit (Ping timeout: 256 seconds) 00:21:57 --- join: dys joined #forth 00:24:56 --- join: rdrop-exit joined #forth 00:26:38 --- quit: mtsd (Quit: Leaving) 00:30:45 --- join: mtsd joined #forth 00:42:00 --- quit: rdrop-exit (Ping timeout: 264 seconds) 00:45:43 --- join: rdrop-exit joined #forth 00:50:59 --- quit: mtsd (Quit: Leaving) 01:05:19 --- join: mtsd joined #forth 01:12:20 --- quit: reepca (Read error: Connection reset by peer) 01:12:22 --- join: reepca` joined #forth 01:26:27 --- join: dddddd joined #forth 01:43:57 --- join: dave0 joined #forth 02:14:08 --- join: mtsd_ joined #forth 02:15:37 --- quit: mtsd (Read error: Connection reset by peer) 02:18:15 --- quit: mtsd_ (Client Quit) 02:37:41 --- quit: WickedShell (Remote host closed the connection) 02:43:19 --- quit: webchat9 (Quit: Leaving) 04:04:35 --- join: mtsd joined #forth 04:27:53 --- quit: diginet2 (Quit: diginet has left the building) 04:28:10 --- join: diginet2 joined #forth 04:42:35 --- quit: Kumool (Quit: FreeZNC - Visit us! Server: chat.freenode.net Channel: ##bnc4you) 04:44:16 --- join: Kumool joined #forth 04:54:51 --- quit: rdrop-exit (Quit: Lost terminal) 05:24:51 --- nick: reepca` -> reepca 05:44:27 --- quit: mtsd (Quit: Leaving) 06:08:16 --- quit: iyzsong (Quit: ZNC 1.7.1 - https://znc.in) 06:11:24 rdrop-exit: the link looks like arm64 documentation to me 06:36:13 --- quit: reepca (Read error: Connection reset by peer) 06:36:27 --- join: reepca joined #forth 06:49:17 crest, how does that layout look ? http://dpaste.com/32P85R2 06:49:46 --- quit: reepca (Read error: Connection reset by peer) 06:50:04 --- join: reepca joined #forth 06:52:13 someone pointed me at some code for implementing D* and DU/MOD.... but it turns out the code is probably proprietary since it is part of SwiftForth... ugh 06:52:22 tp: about as readable as possible with limited amount of plaintext 06:52:32 crest, ta 06:52:45 maybe pad with spaces instead of leading zeroes 06:52:53 tabemann, what about the Mecrisp-Stellaris code ? 06:53:30 tp: hadn't thought of that 06:54:40 crest, hadn't thought of that 06:54:42 :) 06:55:18 crest, I have a dim recollection that I did the 8 char printout for a reason 06:55:38 crest, but for the life of me I cant recall 06:55:45 take a look at line 3 06:55:52 I need to get off to work 06:55:54 bbl 06:56:12 crest, in any event it's a generated number, changing it wont save code space in the chip 06:56:17 cya tabemann 06:56:27 tp: sure but it might improve readabilty 06:56:52 why pad the index in decimal with leading zeroes? 06:57:11 i'll set my subconscious to work on it soon when Im asleep! 06:57:20 theyre hex 06:57:45 but same question I guess 06:57:53 line 3 counts in decimal unless you suddenly have $15 pins per port 06:58:03 * $16 06:58:52 how many columns are you prepared to use? 06:59:23 64? 80? 120? even more? 06:59:53 I think just the default 80 07:01:10 because the longest line in your example is just 64 so you could add little more whitespace to make it easier to read 07:01:52 youd think so :) 07:02:31 but the Mecrisp-Stellaris print formatter is limited to 64 chars 07:02:37 okay 07:03:01 I cant generate any more than that, I tried everything initially 07:03:04 in that case you did the best layout possible within the 64 byte buffer 07:03:21 yeah, it does the job at least 07:03:34 any formatted register is better than none imho 07:03:38 --- quit: dys (Ping timeout: 256 seconds) 07:06:45 it's readable but very dense (visually) 07:07:01 yeah 07:07:21 i manually label registers for the f051 like this 07:07:24 RCC_APB1ENR RW $00000000 07:07:24 U 07:07:24 I I A S W T 07:07:24 C D P 2 2 R P W I T T T 07:07:24 E A W C C T I D M I I I 07:07:25 C C R 2 1 2 2 G 1 M M M 07:07:26 E E E E E E E E 4 6 3 2 07:07:28 N N N N N N N N E E E E 07:07:31 |3|2|2| |2|2| |1| |1| |1| N N N N 07:07:32 ~|0|9|8|~|~|~|~|~|2|1|~|~|~|7|~|~|4|~|~|1|~|~|8|~|~|~|4|~|~|1|0 07:07:34 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 07:07:57 and add them as I get to them in a project 07:08:01 nice but to much work 07:08:04 *too 07:08:14 actually it's pretty fast 07:08:24 I use gvim in replace mode 07:08:53 but it requires manual work for each new chip 07:09:03 unless you can extract the names from the xml files 07:09:14 and the effort is worth it when running up a infamiliar peripheral, it's either this or have a PDF taking up space on the screen 07:09:39 it's very useful 07:09:41 but takes time 07:09:52 yeah, It could be automated but way beyond my skills 07:11:20 such a program would be handy for the other chip users who just get a simple default legend 07:11:59 in my case, doing the legend is also educational for peripheral introduction 07:12:57 I take the names from the datasheet, but never thought about taking them from the SVD 07:13:37 ah well, zzz time here 07:13:44 catch ya on the morrow! 07:42:28 --- quit: dave0 (Quit: dave's not here) 07:53:11 tp: your output looks good enough 08:19:25 --- quit: guan (Ping timeout: 245 seconds) 08:20:26 --- join: guan joined #forth 08:43:09 --- join: TCZ joined #forth 08:43:41 --- part: TCZ left #forth 10:00:41 --- join: dys joined #forth 10:37:42 : 0<> 0= 0= ; 10:43:25 Law of the Excluded Middle? ;) 10:44:22 Quite so :D 10:59:48 --- quit: dys (Ping timeout: 240 seconds) 12:14:21 --- quit: nonlinear (Read error: Connection reset by peer) 12:14:26 --- join: nonlinear1 joined #forth 12:19:27 --- quit: reepca (Read error: Connection reset by peer) 12:19:39 --- join: reepca joined #forth 12:28:54 --- quit: Croran (Ping timeout: 260 seconds) 12:38:32 --- quit: jsoft (Ping timeout: 265 seconds) 12:39:00 --- join: Croran joined #forth 12:46:34 --- quit: pareidolia_ (Ping timeout: 265 seconds) 12:47:34 --- join: pareidolia joined #forth 12:52:55 --- quit: reepca (Read error: Connection reset by peer) 12:53:16 --- join: reepca joined #forth 12:58:28 --- quit: reepca (Read error: Connection reset by peer) 12:58:54 --- join: reepca joined #forth 13:46:57 --- quit: reepca (Read error: Connection reset by peer) 13:47:31 --- join: reepca joined #forth 14:03:34 --- join: Zarutian_HTC joined #forth 14:23:58 --- join: TCZ joined #forth 14:25:04 --- quit: Zarutian_HTC (Ping timeout: 256 seconds) 14:25:40 --- join: dave0 joined #forth 14:26:27 --- join: Zarutian_HTC joined #forth 14:30:10 --- quit: gravicappa (Ping timeout: 256 seconds) 14:30:22 --- join: WickedShell joined #forth 14:39:54 --- quit: TCZ (Quit: Leaving) 14:54:40 There are definitely some things Forth seems to do nicer than C-style languages 14:55:03 I like the way that you can chain together binary ops 14:55:46 Like in C you might have min(max(t, 1), 100) to keep t within 1 and 100 14:56:08 And in Forth it's: 1 max 100 min 15:04:53 --- quit: reepca (Read error: Connection reset by peer) 15:05:07 --- join: reepca joined #forth 15:52:10 --- quit: reepca (Ping timeout: 258 seconds) 15:53:29 --- join: reepca joined #forth 16:04:14 --- join: X-Scale` joined #forth 16:04:16 --- quit: X-Scale (Ping timeout: 240 seconds) 16:04:44 --- nick: X-Scale` -> X-Scale 16:19:15 I got a solution to D* and DUM/MOD... but the problem is that DUM/MOD requires UM/MOD, and I don't have an instruction for that 16:33:08 tabemann: were you able to translate my amd64 code for um/mod ? 16:36:08 --- join: TCZ joined #forth 16:36:46 I don't need code for UM*, because I realized there's a Thumb-2 instruction that can be used for it, 32x32+64 multiply/accumulate 16:37:02 I'll take a look at your code for UM/MOD though 16:37:17 --- part: TCZ left #forth 16:37:20 aah cool.. that will be way faster 16:40:36 --- join: TCZ joined #forth 16:40:51 --- quit: TCZ (Quit: Leaving) 16:41:13 --- join: TCZ joined #forth 16:45:18 unfortunately I can't read AMD64 asm 16:45:53 maybe I'm too used to ARM/Thumb asm 16:53:38 fair enough 16:54:02 i can't read arm :-p 16:54:52 i could write it in c if you want, it will just take a while 17:03:50 --- quit: reepca (Read error: Connection reset by peer) 17:04:03 --- join: reepca joined #forth 17:18:09 --- quit: TCZ (Quit: Leaving) 17:18:28 --- join: TCZ joined #forth 17:18:57 --- part: TCZ left #forth 17:37:11 I'm actually just copying Matthias's code 17:37:28 after all, his code is GPL3 and my code is GPL3 17:37:50 and I'm putting his copyright notice on my double cell arithmetic file 18:30:21 --- join: jsoft joined #forth 18:39:06 tabemann, but the Zaptoforth greeting is 100% your own work tho ? 18:40:20 yes 18:40:22 --- join: boru` joined #forth 18:40:25 lol 18:40:25 --- quit: boru (Disconnected by services) 18:40:28 --- nick: boru` -> boru 18:40:48 the only thing I wonder about is whether I should put a GPL notice in the greeting 18:40:54 heheh, sorry I couldn't resist it ;) 18:42:09 it wouldnt harm anything 18:55:43 my code is public domain 18:56:04 i don't write much anyways :-) 18:56:52 tp, did you ever see the thumbulator project? 18:57:00 it converts thumb code to msp430 iirc 18:57:04 dave0, tabemann is restricted to the GPL as he has used code from Mecrisp-Stellaris which is GPL 18:57:37 MrMobius, I sure did, I used it initially to produce binaries from the MCU 18:58:50 MrMobius, but I soon ran into issues and so developed a method to obtain the binary straight from the mcu 18:58:57 tp: oh i see 18:59:25 back 19:08:43 --- quit: Zarutian_HTC (Remote host closed the connection) 19:15:25 --- quit: _whitelogger (Remote host closed the connection) 19:17:12 tabemann: your cortex-Msomething, how many bits are the registers? 19:17:25 is it 64 bit? 19:18:07 cortex-m, 32 bit 19:18:13 M4 19:18:27 --- join: _whitelogger joined #forth 19:18:33 aha okay 19:18:40 thanks 19:18:55 no problemo. Ive been testing it from time to time 19:19:17 I have a STMicro F4 Discovery board it runs on 19:21:33 ugh writing multi-precision arithmetic is such a pain in c 19:35:39 --- quit: dddddd (Ping timeout: 258 seconds) 20:06:17 gn8 21:02:53 --- join: rdrop-exit joined #forth 21:07:02 simplified loop unrolling 21:08:40 : foo ( -- ) left-foo [ 14 unrolled, mid-foo ] right-foo ; 21:08:49 rdrop-exit, Zen Guru of Forth! 21:09:03 hello Forth Master Tech (tm)! 21:09:53 rdrop-exit, I cycled into my local town yesterday, first time since the Australian 'lockdown' so about 4 weeks 21:10:24 rdrop-exit, apart from pubs and hotels being closed, it was business as usual, all other biz and shops were open 21:10:29 nice, I can't even remember the last time I went out and about 21:10:44 the town was full of cars, lots of people about 21:10:50 : unrolled, ( # -- ) 21:10:50 ^ swap for dup compile, next drop ; 21:12:05 really, the streets I have a view of from my condo are pretty much deserted 21:12:41 yeah, I was surprised, I thought it would be deserted 21:13:13 it's a remote small country town, perhaps thats why 21:14:23 cafe's were all open, just no dine in facilities, take away only 21:15:13 I guess people are running out of those infamous meat pies 21:16:14 ahah, I havent had a meat pie in a long time, a good locally made one is awesome, mass produced ones are horrible 21:16:35 probably be a while before I can get a good one 21:21:23 my wife loves to cook but usually doesn't have the time for it, since the lockdown she's been cooking up a storm 21:22:01 I had homemade pineapple upside down cake for desert last night, yummy 21:22:10 yum 21:22:37 tonight she's promised Tarte Tatin 21:23:25 yun, French style apple tart 21:24:14 there goes my diet 21:24:26 yep 21:27:09 I've been going through my books deciding what to put in storage or donate/recycle 21:29:26 it's a slow process as I have a tendency to go "hey I forgot all about this one" and get lost leafing through them 21:29:37 heheh 21:29:45 yeah, it's not easy 21:30:20 lunch is on the table, bbiab 21:30:30 --- quit: rdrop-exit (Quit: Lost terminal) 21:31:20 I had a collection of about 200 scifi books going back to my teens, I'd reread them at least 2 -3 times each and was only able to ditch them as I matured and found them less interesting 21:31:23 no problemo 22:38:52 --- join: gravicappa joined #forth 22:48:24 --- quit: _whitelogger (Remote host closed the connection) 22:51:29 --- join: _whitelogger joined #forth 23:05:11 --- quit: djinni (Quit: Leaving) 23:08:28 --- join: rdrop-exit joined #forth 23:10:43 --- join: mtsd joined #forth 23:31:00 --- join: djinni joined #forth 23:50:57 --- quit: rpcope (Ping timeout: 256 seconds) 23:59:59 --- log: ended forth/20.04.15