#garfield Logs
Sep 11 2021
#garfield Calendar
10:06 AM rue_bed: morning
10:20 AM Tom_L: morning
10:20 AM Tom_L: mowed & showered.. on to the next thing
10:21 AM Tom_L: oh
10:21 AM Tom_L: breakfast next
10:22 AM * Tom_L puts on some scrambled eggs, hash browns, bacon, toast & juice for rue_bed
10:44 AM rue_mohr: mmm
10:45 AM rue_mohr: I should buy the stuff I need to fix the book shelves in my room
10:45 AM rue_mohr: before one of them collapses
11:36 AM rue_mohr: / wenigstens eine Ziffer nötigâ¦
11:36 AM rue_mohr: polprog, ?
11:54 AM Tom_L: at least one digit requiredâ €
11:54 AM Tom_L: says google
12:06 PM rue_mohr: :)
12:06 PM Tom_L: google is multilingual :)
12:07 PM rue_mohr: if((stemp + 1) != sp2) {
12:07 PM rue_mohr: so
12:07 PM rue_mohr: hmm
12:09 PM Tom_L: chores all done it must be time for a nap
12:10 PM Tom_L: been kinda under the weather
12:11 PM rue_mohr: yea, change of the seasons starts that
12:16 PM Tom_L: creeps up a little sooner every year it seems
12:18 PM rue_mohr: yea, that extra ram I put in has brought my machine to a crawl
12:19 PM Tom_L: take it out
12:19 PM rue_mohr: yea
12:19 PM rue_mohr: hate shutting down
12:20 PM Tom_L: little time lost is better than lots over time
12:20 PM rue_mohr: I have about 31 programs running normally
12:20 PM rue_mohr: setting them all back up is a pain
12:20 PM Tom_L: hot swap :)
12:21 PM Tom_L: set up a cron job to start them all up
12:24 PM rue_mohr: trying out some z80 dissassemblers
12:24 PM rue_mohr: wtf kinda drugs is the world on...
12:25 PM rue_mohr: wait, there is a z80 dissassembler with the 8051 dissassembler?
12:25 PM Tom_L: dunno
12:25 PM Tom_L: on either count
12:25 PM rue_mohr: ugh dz80
12:27 PM rue_mohr: ok, it was isntalled all along
12:27 PM Tom_L: part of 8051?
12:28 PM rue_mohr: yea
12:28 PM rue_mohr: they slipped one in
12:28 PM Tom_L: damn them
12:28 PM rue_mohr: and it doesn't suck
12:29 PM rue_mohr: there is a neat pattern
12:29 PM rue_mohr: the boot vector always starts with an interrupt disable on the things I'v reversed
12:30 PM rue_mohr: makes sense, but I usually expect it to be a jump
12:30 PM Tom_L: interrupts are a bit different on it aren't they?
12:30 PM rue_mohr: in the first 3 instuctions are usually a disable interrupt, set stack, and jump
12:30 PM rue_mohr: heh, different than?
12:30 PM Tom_L: oh i dunno
12:31 PM rue_mohr: after those 3 is usually hardware init, a pile of io setup
12:31 PM Tom_L: 68332 you had to set the interrupt vector location
12:31 PM rue_mohr: which kinda gives away the io structure
12:31 PM rue_mohr: it was in ram?
12:31 PM Tom_L: well, you could move it...
12:31 PM rue_mohr: huh
12:31 PM Tom_L: been too long
12:32 PM Tom_L: 'vectored interrupts'
12:32 PM rue_mohr: oh yea, these are static
12:32 PM Tom_L: https://www.nxp.com/docs/en/data-sheet/MC68332TS.pdf
12:33 PM rue_mohr: mm
12:33 PM Tom_L: iirc we had the "G" mask
12:33 PM rue_mohr: never cared much for mot arch
12:33 PM Tom_L: more motion control
12:33 PM Tom_L: that one was kinda fun
12:33 PM rue_mohr: I have a few chips
12:34 PM rue_mohr: I noticed yesterday I have an HC11 in the drawer
12:34 PM rue_mohr: we used hc11 in chool
12:34 PM Tom_L: i've got 2-3
12:34 PM rue_mohr: tech school
12:34 PM Tom_L: do any have buffalo?
12:34 PM rue_mohr: the one from school does
12:34 PM Tom_L: not that desireable really
12:34 PM Tom_L: iirc it gets in the way
12:35 PM rue_mohr: iirc it sets up io and does serial for ya
12:35 PM Tom_L: i don't remember ever using buffalo
12:35 PM Tom_L: i don't think any of the chips i have had it
12:36 PM rue_mohr: we used it to load all the S record programs
12:36 PM Tom_L: i can't remember much about the 6811 now
12:37 PM Tom_L: we used some basic interpreter one of the srs guys wrote
12:37 PM rue_mohr: I'm browsing thru the softare of the fax machine I stripped last night
12:40 PM rue_mohr: hahah
12:40 PM rue_mohr: I found a print hex byte routine!
12:46 PM rue_mohr: http://ruemohr.org/~ircjunk/tempimage/Untitled.png
12:51 PM rue_mohr: X0cf6: push bc
12:51 PM rue_mohr: ld b,0
12:51 PM rue_mohr: X0cf9: sub 0ah
12:51 PM rue_mohr: jr c,X0d00
12:51 PM rue_mohr: inc b
12:51 PM rue_mohr: jr X0cf9
12:51 PM rue_mohr: ;
12:51 PM rue_mohr: X0d00: add a,0ah
12:51 PM rue_mohr: ld c,a
12:51 PM rue_mohr: ld a,b
12:51 PM rue_mohr: sla a
12:51 PM rue_mohr: sla a
12:51 PM rue_mohr: sla a
12:51 PM rue_mohr: sla a
12:51 PM rue_mohr: or c
12:51 PM rue_mohr: pop bc
12:51 PM rue_mohr: ret
12:51 PM rue_mohr: this also looks distinct, something to do with base 10..
12:52 PM rue_mohr: it divides A by 10...
12:53 PM rue_mohr: hmm
02:04 PM rue_mohr: heh, one of the local eateries used a picture of the mecha in my front yard on a poster
02:05 PM rue_mohr: i guess its gonna be famous now
03:02 PM rue_mohr: I'm annoyed that I'v not built any robots latley
04:00 PM Tom_L: yeah man... wtf!
04:00 PM Tom_L: too many butterflies
04:00 PM rue_mohr: :)
04:00 PM rue_mohr: I need to build moving things again, use up mechanical stuff
04:04 PM Tom_L: i need to build things too
04:08 PM rue_mohr: just did a little utility for inductors
04:08 PM rue_mohr: ./a.out -n 100 -k 4n
04:08 PM rue_mohr: Inductance is: 40.000uH
04:08 PM rue_mohr: Turns is: 100.000
04:08 PM rue_mohr: Constant is: 4.000n
04:09 PM rue_mohr: you can put in two of either inudctance, turns, or constatnt, it works the rest out
04:09 PM rue_mohr: the other...
04:10 PM rue_mohr: next time I'm trying to do inductors that should help
04:19 PM rue_shop2: I can never google this thing
04:19 PM rue_shop2: http://zpostbox.ru/how_to_determine_permeability_of_unknown_cores_online_calculator.html
10:03 PM rue_mohr: working on a minimum MHz range oscillator for logic
10:03 PM rue_mohr: minimum parts
10:03 PM Tom_L: 1 part enough?
10:03 PM rue_mohr: I'm trying to avoid somehting like a tiny13
10:03 PM Tom_L: that osc i used was self contained
10:03 PM rue_mohr: I'd like something not larger than a 8 pin DIP
10:03 PM rue_mohr: oh, it was smt
10:03 PM Tom_L: yup
10:04 PM rue_mohr: hey, I wonder if I can scrounge any of those
10:04 PM Tom_L: i've likely got some left
10:04 PM Tom_L: 16mhz
10:05 PM rue_shop3: looks like nobody uses those, too expensive
10:05 PM rue_shop3: I need 4Mhz max
10:11 PM rue_shop3: the ones I can find are all way too high
10:11 PM rue_shop3: like 22Mhz
10:11 PM rue_shop3: but
10:12 PM rue_shop3: whats a cy2081
10:15 PM rue_shop3: ooo damn
10:16 PM rue_shop3: ok, I dont want to just use that willy nilly
10:17 PM rue_shop3: $1ea from china
10:22 PM Tom_L: that series has 4 mhz too iirc
10:23 PM Tom_L: This product is no longer manufactured.
10:23 PM Tom_L: haha
10:24 PM Tom_L: shows how long it's been
10:26 PM rue_shop3: there was a 3 terminal one too
10:26 PM rue_shop3: it was about $5ea, but is't made
10:27 PM Tom_L: https://www.digikey.com/en/products/detail/epson/SG7050CCN-4-000000M-HJGA3/5174977
10:27 PM Tom_L: out of stock
10:31 PM rue_shop3: semi shortage
10:38 PM rue_shop3: NICE!
10:38 PM rue_shop3: a 2Mhz yeilds 2, 4, and 8Mhz output