#garfield Logs
Apr 15 2021
#garfield Calendar
04:22 AM Tom_L: did you ever?
04:29 AM * Tom_L opens a jar of butterflies
05:17 AM polprog: ubiquity had some security issues recently
05:17 AM polprog: i just got a mikrotik but i havent set it up yet
09:30 AM aandrew: yep they got their asses handed to them
09:31 AM aandrew: I had a little mikrotik but hadn't really used it
09:32 AM aandrew: my biggest issue is that my cable connection is 1G/30M and if you try to do any kind of QoS/shaping on it with a normal router it drops to 400M or so. I ended up just installing OpnSense on a USB key and running it on one of my blades
09:32 AM aandrew: it's WAY overkill (dual Xeon E5500 I think) but it keeps up just fine. :-)
09:39 AM rue_mohr: I forget what processor my router has
09:43 AM polprog: aliexpress kit came in
09:44 AM rue_mohr: which one?
09:44 AM polprog: lm2576-adj, ads111705.0. xl1509
09:45 AM rue_mohr: hmm
09:45 AM polprog: IC hooks, very nice for tiny ssop packages
09:45 AM polprog: a very nice glass prism in a beautiful box
09:45 AM rue_mohr: heh
09:46 AM polprog: high voltage inverters, i needed something adjustable to make 400V for the GM tubes
09:46 AM polprog: think thats all
09:47 AM polprog: oh, and some camera modules
09:47 AM rue_mohr: :) nice bbl
10:14 AM polprog: setting up the mikrotik router
11:11 AM aandrew: yeah ali has been pretty fast. I made an order either early last week or late the week before and I've already had two items show up
11:11 AM aandrew: that's *crazy* fast
11:12 AM aandrew: I mean for you rue_mohr I am pretty sure they just put your order in a big trebuchet and launch it over the sea
11:12 AM aandrew: for this delivery speed I suspect they're launching my orders via tiny ICBM
11:12 AM aandrew: launch straight up, wait for the earth to rotate far enough, then fall down
12:17 PM polprog: https://cdn.discordapp.com/attachments/739849787238776855/832300096967278602/IMG_20210415_182349.jpg
03:44 PM aandrew: it's a router on a stick heh
04:02 PM polprog: lol
04:02 PM polprog: thats the rail the shelves are on
04:02 PM polprog: and damn that looked nicer in my head
04:02 PM polprog: than a router on a stick
04:28 PM aandrew: heh
04:28 PM aandrew: sorry didn't mean to rain on your artistic expression
04:29 PM polprog: no, i can see it too :v
04:44 PM polprog: so dont worry
04:44 PM polprog: i wonder when is the velcro tape gonna come
06:07 PM rue_mohr: done work early
06:07 PM rue_mohr: ya
08:00 PM Tom_L: i wish
09:01 PM rue_mohr: so, the z80 has what I think is a bad address bus connection somewhere
09:01 PM rue_mohr: causing it to intermittently glitch
09:01 PM Tom_itx: gawd i hate new phones
09:02 PM rue_mohr: "were not gonna ask and install this update that changed..."
09:02 PM rue_mohr: ?
09:04 PM rue_mohr: zippo:/files/programming/c/tests# gcc linefeed.c
09:05 PM rue_mohr: zippo:/files/programming/c/tests# ./a.out
09:05 PM rue_mohr: \n: 0x0A
09:05 PM rue_mohr: \r: 0x0D
09:07 PM rue_mohr: so, when I first did this computer, it was just the z80 and a 16k ram chip
09:07 PM rue_mohr: I eventually wrote the ram to a rom chip with the monitor software in it
09:07 PM rue_mohr: and used a 16k rom chip, but didn't change the socket wiring
09:08 PM rue_mohr: so, now I have a flash chip in there
09:08 PM rue_mohr: and when the processor runs amok, it corrupts it
09:08 PM rue_mohr: I think I should remove the write pin
09:09 PM rue_mohr: at the same time, the memory decoder is meant for 32k chips
09:10 PM rue_mohr: so, having all the source anyhow, I could change it up to 32k and move all the ram usage up to the newer 64k ram chip
09:17 PM rue_mohr: but I didn't wire the socket to nicely take a 32k
09:17 PM rue_mohr: its pin 1 endian
09:22 PM rue_mohr: ok, I think I should work out why it runs amok first
09:46 PM rue_shop1: aha
09:46 PM rue_shop1: 200mV noise at the processor
10:00 PM Tom_itx: about halfway back to where i was this morning
10:00 PM Tom_itx: now that's progress
10:00 PM Tom_itx is now known as Tom_L
10:10 PM aandrew: oof
10:11 PM aandrew: I've got a DeviceNet stack that's at least 20y old. It's now building for STM32 and I've mostly hooked up the actual CAN hardware to it
10:11 PM aandrew: this has been a bit of an adventure
10:11 PM aandrew: this stack was originally written for processors like the HC08/12
10:11 PM aandrew: I dragged it into ColdFire (68k) about 15 years ago
10:11 PM aandrew: and now I'm dragging it further :-)
10:37 PM rue_shop1: cleaned that up
10:47 PM aandrew: got some airbrush stuff coming in
10:47 PM aandrew: never done that ever before
10:47 PM aandrew: so it's gonna look like shit
11:01 PM rue_shop1: so the serial chip I had in there cant actaully run at the system clock rate, which is what I had it running iat
11:01 PM rue_shop1: :)
11:04 PM rue_shop1: wait a second
11:04 PM rue_shop1: this has always been at address 0
11:04 PM rue_shop1: was it ever a ram chip
11:04 PM rue_shop1: no yes it must have been
11:42 PM rue_mohr: hmm, its being stable
11:50 PM rue_mohr: hahaha
11:50 PM rue_mohr: - get key
11:50 PM rue_mohr: - convert to hex nibble
11:50 PM rue_mohr: save
11:50 PM rue_mohr: -convert to ascii
11:50 PM rue_mohr: -print
11:50 PM rue_mohr: -restore
11:50 PM rue_mohr: ...