#garfield Logs
Apr 02 2021
#garfield Calendar
12:51 AM rue_mohr: working on collecting information to hack a hard drive controller
12:59 AM rue_mohr: looks like I should find a WD controller
01:18 AM rue_mohr: arg, hdmi is really 3 streams?
01:22 AM rue_mohr: sata only has 1 tx pair
01:28 AM rue_mohr: hhaah they push the audio data over the RGB channels during sync
01:29 AM rue_mohr: so, if you had to do hdmi with only 2 channels, it would need to be clock and blue
01:33 AM rue_mohr: "The amplitude for each color pixel is digitized to 8-bit resolution with the ADC function. The color information is expanded to 10-bit resolution by the so-called transition minimized differential signalling"
01:34 AM rue_mohr: "The respective pixel rates are 130MHz"
01:34 AM rue_mohr: the data rate for each LVDS channel ~ 1.3Gbps
01:38 AM rue_mohr: hmm
01:47 AM rue_mohr: PCIE clock rate is 8Ghz
01:47 AM rue_mohr: well, 1.1 was 2.5Ghz
01:48 AM rue_mohr: sata uses the same 8bit/10bit coding as hdmi
01:49 AM rue_mohr: sata is 6Ghz
01:49 AM rue_mohr: pcie 2.0 is 5Ghz
01:49 AM rue_mohr: so
01:50 AM rue_mohr: a sata port could be used as a 1x pcie?
01:52 AM rue_mohr: it looks like, yes?
01:52 AM rue_mohr: pcie uses a unidirectional set
01:52 AM rue_mohr: same as sata
03:19 AM rue_mohr: https://www.youtube.com/watch?v=oLs1V4ZLhLU&feature=youtu.be
03:19 AM rue_mohr: ^^^ check it out!
03:24 AM rue_mohr: so, could a hard drive controller run a usb port, with a usb video "card" attached
01:34 PM polprog: hmm
01:37 PM rue_mohr: heh, so it could require using the sata as a pcie, then using a pcie usb card, then using the usb video device
01:37 PM rue_mohr: heh
01:38 PM Tom_L: seems like a solid glitch free solution
01:38 PM Tom_L: :)
01:38 PM polprog: haha
01:39 PM polprog: i was sure i blew my 8051 when i hooked up a 32MHz xtal,but ti turns out it just would not reset properly
01:39 PM rue_mohr: it just requires a kernel that can handle hdmi over usb over pcie over sata
01:39 PM polprog: made a reset controller and it works now
01:39 PM rue_mohr: ?
01:39 PM rue_mohr: reset controller?
01:40 PM polprog: i made an LM358 comparator that goes low after a couple MS
01:40 PM polprog: ms*
01:40 PM polprog: so it compares a capacitor being charged with a fixed voltage
01:40 PM rue_mohr: so its a 555
01:40 PM polprog: sortof
01:41 PM polprog: do you know an mcs51 instruction set manual that lists how many cycles each instruction takes?
01:41 PM rue_mohr: its about 12
01:42 PM rue_mohr: I'm starting to see how cycle-efficient a 6502 is
01:42 PM Tom_L: oooo i found something the other day i should take a pic of and show you
01:42 PM Tom_L: forgot i had them
01:42 PM rue_mohr: ?
01:42 PM polprog: oh shit, that would be close
01:43 PM polprog: it looks like it takes 72 clks to make two movs an an SJMP back
01:43 PM rue_mohr: what are you up to??
01:43 PM polprog: trying to take over the worls with an army of 8051 based robots
01:43 PM rue_mohr: ok
01:43 PM polprog: just trying to make a blinky
01:44 PM rue_mohr: but... two movs and jump back?
01:44 PM polprog: im just making it do while(1){ P1 = 0xff; P1=0x00; } to see on the scope if it works
01:45 PM Tom_L: 2 z80, 8080a, 8085a, 80860& 8088 full sheet plastic cards with all the instruction set and register tables
01:46 PM rue_mohr: huh, I'm really short on 8051 docs
01:46 PM Tom_L: completely forgot i had those
01:46 PM rue_mohr: huh
01:46 PM polprog: Tom_L: thats neat
01:46 PM rue_mohr: 8080 z80 and 8085 are the same family
01:47 PM rue_mohr: 8086 and 8088 are antoher
01:47 PM Tom_L: i'll take a pic when i get back if you remind me
01:47 PM rue_mohr: I think 8085
01:47 PM rue_mohr: yea the 8085 and z80 were upgrades to the 8080
01:48 PM rue_mohr: both can run 8080 code
01:48 PM rue_mohr: but the 8080 requires about 6 support chips
01:49 PM rue_mohr: a clock chip and buffers and signal breakouts
01:50 PM rue_mohr: I should find some better mcs51 docs
01:52 PM polprog: i have the users man from intel on my computer
01:53 PM rue_mohr: it looks like the instruction set is a different doc
01:53 PM polprog: oh good it does list the clk counts
01:54 PM rue_mohr: cause its for the 8031,8051,8032,8052,8751,8752
01:55 PM rue_mohr: https://www.google.ca/url?sa=t&rct=j&q=&esrc=s&source=web&cd=&cad=rja&uact=8&ved=2ahUKEwiIsI6mm-DvAhVHop4KHeSDDkQQFjAAegQIBRAD&url=https%3A%2F%2Fwww.keil.com%2Fdd%2Fdocs%2Fdatashts%2Fintel%2Fism51.pdf&usg=AOvVaw2YXQqF-G1l13-vtgcn3NaR
01:55 PM rue_mohr: damn you gogole
01:55 PM rue_mohr: so, a cycle is not a clock
01:56 PM polprog: https://www.keil.com/dd/docs/datashts/intel/ism51.pdf (same link, but direct)
01:56 PM rue_mohr: yup, there is a site that cleans google links
01:59 PM rue_mohr: I dont see the key to clocks / cycle
01:59 PM rue_mohr: typically its about 12 on those
01:59 PM rue_mohr: on the 6502, its 2
02:00 PM polprog: yeah
02:00 PM rue_mohr: makes the 6502, for all its limits, 6x faster
02:00 PM polprog: says "oscillator period" in that link
02:00 PM rue_mohr: "In normal operation ALE is emitted at a constant
02:00 PM rue_mohr: rate of 1/6the oscillator frequency"
02:00 PM rue_mohr: implies 6
02:00 PM polprog: yeah. i wonder who on earth makes a cpu that takes 12 clks to do anything
02:01 PM rue_mohr: "lets think about this add first..."
02:01 PM rue_mohr: the new 8051 have a "not backwards compatible" mode switch that makes them 2 clocks/cycle
02:02 PM rue_mohr: those flash atmel ones you have?
02:04 PM polprog: yeah
02:04 PM polprog: haha
02:04 PM polprog: "magic/more magic"
02:05 PM rue_mohr: using a clip from that partial datasheet
02:05 PM rue_mohr: https://www.google.ca/url?sa=t&rct=j&q=&esrc=s&source=web&cd=&cad=rja&uact=8&ved=2ahUKEwjbu6y3neDvAhWGuZ4KHXSkBP0QFjAAegQIBRAD&url=http%3A%2F%2Fnewit.gsu.by%2Fresources%2FCPUs%2Fi8051%2FDescribe%2F270249.PDF&usg=AOvVaw2TW7rlddK-PT2ZNqt0ejPs
02:06 PM rue_mohr: (damn you google)
02:06 PM polprog: now im trying to write a sleep_ms function
02:06 PM rue_mohr: aha! they say it in "oscillator period"!
02:06 PM rue_mohr: yea, its 12
02:07 PM polprog: i need to sup up the clks an empty for takes
02:08 PM polprog: 60 cycles + 120*loopcount
02:09 PM rue_mohr: have it on a breadboard yet?
02:09 PM rue_mohr: using sdcc?
02:09 PM rue_mohr: or an assembler?
02:09 PM polprog: sdcc
02:09 PM rue_mohr: cool
02:09 PM polprog: i have it on my breadboard
02:10 PM rue_mohr: cool
02:10 PM rue_mohr: I have one breadboarded somewhere with the serial programming set up
02:10 PM polprog: too tired to do direct assembly, im pretty surprised i got it running that fast
02:10 PM polprog: yeah i was curious about that serial programming but i could not find anything in the atmel datasheet
02:12 PM polprog: time = clks / fcpu
02:12 PM polprog: clks = time * fcpu
02:12 PM polprog: clks(x) = 60 + 120*x thats how long the loop takes, x is the repeat count
02:12 PM polprog: x = (cycles - 60)/120
02:13 PM rue_mohr: ncpdude
02:13 PM rue_mohr: er
02:13 PM rue_mohr: nxpdude
02:13 PM rue_mohr: is what I called it, 1 sec
02:13 PM polprog: #define sleep_ms(x) for(int _i = 0; _i < (x * F_CPU - 60)/120; i++);
02:14 PM rue_mohr: static char* optswrite[] = {"--write"}; // write file
02:14 PM rue_mohr: static char* optserase[] = {"-e"}; // erase chip
02:14 PM rue_mohr: static char* opts2XClock[] = {"--doubleClock"}; // doubleclock
02:14 PM rue_mohr: static char* optsReset[] = {"--reset"}; // reset chip
02:14 PM rue_mohr: static char* optsBlank[] = {"--blank"}; // blank check
02:14 PM rue_mohr: printf("Trying to contact bootloader, press reset now..\n");
02:14 PM polprog: you have a serial uploader :D ?
02:14 PM rue_mohr: its built into one of the NXP variants
02:15 PM rue_mohr: I'll go find the part number
02:15 PM polprog: hmm its nearly bang on
02:16 PM polprog: 1.13ms and 2.20ms vs 1ms 2ms in the code
02:17 PM rue_shop1: they stopped making them, I was upset
02:17 PM rue_shop1: P89V51RD2FN
02:20 PM rue_mohr: if you need I can send you the project
02:20 PM rue_mohr: its involved enough to need a makefile :)
02:20 PM polprog: i guess ill have to get the NXP ones
02:21 PM rue_mohr: na, re-use the old stuff
02:21 PM rue_mohr: did you have an eprom programmer?
02:21 PM rue_mohr: no is fair enough
02:21 PM polprog: i do
02:21 PM rue_mohr: oh
02:21 PM polprog: dont you remember :V
02:21 PM rue_mohr: well then life is easy
02:22 PM rue_mohr: are you why I got one?
02:22 PM rue_mohr: things have been a blur
02:22 PM rue_mohr: want to do some ROM state machines?
02:22 PM rue_mohr: :)
02:23 PM polprog: youre one of the reasons :)
02:23 PM rue_mohr: oh
02:23 PM polprog: not today, but i did get the octal buffer ICs because of you
02:23 PM polprog: soo... my sleep_ms seems to be bang on
02:23 PM rue_mohr: I wrote that program to write state machines
02:23 PM rue_mohr: nice
02:24 PM polprog: i know, i was trying to debug it
02:24 PM polprog: i have it here :)
02:24 PM polprog: i even designed a rom fsm on paper
02:24 PM rue_mohr: zippo:/files/programming/c/8051# ls -1
02:24 PM rue_mohr: 8051lib
02:24 PM rue_mohr: SFRegisters.pdf
02:24 PM rue_mohr: blinkled
02:24 PM rue_mohr: outlet1
02:24 PM polprog: i have that scanned somewhere and filed
02:24 PM rue_mohr: serial
02:24 PM rue_mohr: serial2
02:24 PM rue_mohr: serialCommand
02:24 PM rue_mohr: serialCommand2
02:24 PM rue_mohr: template1
02:24 PM rue_mohr: template2
02:25 PM rue_mohr: while (1) {
02:25 PM rue_mohr: serial_putc('>');
02:25 PM rue_mohr: c = serial_getc(); // channel number
02:25 PM rue_mohr: ...
02:26 PM rue_mohr: void serialInit(void) {
02:26 PM rue_mohr: ...
02:26 PM rue_mohr: * The formula for determining the timer reload value based on desired baud
02:26 PM rue_mohr: http://www.keil.com/products/c51/baudrate.asp
02:26 PM rue_mohr: * if you have real crystals...
02:26 PM rue_mohr: * 6Mhz TH1 = 0xF3 -> 2400 baud
02:26 PM rue_mohr: * 8Mhz TH1 = 0xDD -> 1200 baud
02:26 PM rue_mohr: * 8Mhz TH1 = 0xEF ~> 2400 baud
02:26 PM rue_mohr: * 20Mhz TH1 = 0xF5 ~> 9600 baud
02:26 PM rue_mohr: */
02:28 PM rue_mohr: what are you clocking at anyhow?
02:28 PM polprog: 3.072Mhz
02:28 PM rue_mohr: ? ok
02:28 PM polprog: i picked a crystal like that
02:28 PM rue_mohr: thats not a colour crystal eh?
02:30 PM polprog: hmm
02:30 PM polprog: no i think its near
02:30 PM polprog: but not exactly that
02:31 PM polprog: 4.43M and 3.57M for PAL and NTSC
02:32 PM rue_mohr: I'm used the the PAL ones,
02:32 PM rue_mohr: baud rates fall right on them
02:32 PM polprog: good to know
02:33 PM rue_mohr: so, can I play to?
02:33 PM rue_mohr: what can we do with some 8051
02:33 PM rue_mohr: hahaha I could do a keyboard controller for my z80 hahahaha
02:33 PM polprog: that would be an appropriate use haha
02:34 PM rue_mohr: and yet, the 8051 _could_ be faster
02:34 PM rue_mohr: the z80 is at 4Mhz
02:34 PM rue_mohr: ~12 cycles
02:34 PM rue_mohr: heh
02:35 PM rue_mohr: you KNOW
02:35 PM rue_mohr: I bet some of the z80s on the old printers were sped up
02:37 PM rue_mohr: eeek
02:37 PM rue_mohr: upd780 is a z80
02:37 PM rue_mohr: and Z84C00
02:38 PM polprog: its still acting up
02:38 PM polprog: ahh, worked
02:39 PM polprog: i wonder why it does not start sometimes
02:39 PM polprog: why does it do 300ms waits though
02:40 PM polprog: ahh. loose breadboard
02:42 PM polprog: hah. nearly spot on
02:42 PM polprog: good enough
02:42 PM rue_mohr: its an 8751?
02:43 PM polprog: at89c52
02:43 PM polprog: i have 87c51 with a quartz window too
02:43 PM rue_mohr: ooo more memory
02:43 PM rue_mohr: thats 2k?
02:44 PM rue_mohr: with 512? bytes of awkwardly divded ram?
02:44 PM rue_mohr: thats paged all funny
02:44 PM polprog: dont ask me, this is my first time ever programming one :P and like second time im reading about it
02:45 PM rue_mohr: do you have an 8Mhz crystal to try some serial?
02:48 PM polprog: hmm
02:48 PM rue_mohr: I'm gonna start doing things, I'll be intermittent
02:49 PM polprog: i hve a 32MHz closest
02:49 PM rue_mohr: bit far out
02:49 PM rue_mohr: 20Mhz from a network card?
02:49 PM polprog: 32 is too fast anyway, i can divide it down
02:50 PM polprog: i have a pal colorburst xtal
02:50 PM polprog: 4.43MHz
02:51 PM rue_mohr: hmm
02:51 PM rue_mohr: http://www.keil.com/products/c51/baudrate.asp
02:52 PM rue_mohr: ouch, no
02:52 PM rue_mohr: 0E3h 4,773.71 4,800 -0.55%
02:52 PM rue_mohr: maaaybe 4800 baud
02:53 PM rue_mohr: k , bbl
03:00 PM rue_shop1: hey I have an at89c51
03:02 PM rue_shop1: OO and at89S52
03:03 PM rue_shop1: -20!
03:06 PM polprog: ooo nice
03:06 PM rue_shop1: so your using external memory
03:07 PM rue_shop1: what time are you at there?
03:07 PM rue_shop1: your getting late in the day
03:08 PM polprog: 22:00
03:09 PM rue_shop1: 22 - 12 = 10pm
03:09 PM rue_shop1: ok
03:09 PM rue_shop1: 10pm!
03:09 PM rue_shop1: nowonder your always up so late
03:09 PM rue_shop1: so, you just doing blinking led for now?
03:12 PM polprog: yeah
03:12 PM polprog: it is blinking
03:17 PM polprog: my back hurts
03:17 PM polprog: maybe ill go to sleep earlier or play some games for a change
03:18 PM rue_shop1: I'm doing awefull things to a vintage keyboard
03:18 PM polprog: no one liked my 8051 hello :(
03:19 PM rue_shop1: it might be quiet hour
03:19 PM rue_shop1: give it 24
03:19 PM polprog: what time is it at your place
03:19 PM polprog: hmm 1-4 pm in the states
03:19 PM polprog: everyone isprobably at work
03:19 PM polprog: is it holidays today ?
03:20 PM rue_shop1: sometimes I suspect twitter is doing strnage things
03:20 PM polprog: it's easter now so we have a national holiday
03:20 PM rue_shop1: is here
03:32 PM rue_shop1: is the pullup from a ttl gates input enough to trigger a uln2803...
03:36 PM polprog: hmm
03:36 PM polprog: apropos ULN2x03
03:37 PM polprog: i wonder if you out a resistor on the emitters you could use all 6 of them as a powerful transistor
03:41 PM rue_shop1: hmm no
03:41 PM rue_shop1: the currents dont lap right
03:42 PM Tom_L: http://tom-itx.no-ip.biz:81/~webpage/rue/8080a_1.jpg
03:42 PM Tom_L: http://tom-itx.no-ip.biz:81/~webpage/rue/8080a_2.jpg
03:43 PM rue_shop1: I was kinda hoping to use a uln2803 instead of a a bunch of transistors
03:44 PM rue_shop1: Tom_L, cool
03:44 PM rue_shop1: where do you think you aquired that?
03:44 PM polprog: awesome
03:44 PM Tom_L: dunno, probably the local electronics shop eons ago
03:44 PM Tom_L: one for each of those cpus i posted
03:45 PM rue_shop1: nice
03:45 PM Tom_L: happened upon them the other day by accident
03:45 PM rue_shop1: can you get some sharper takes of them?
03:45 PM Tom_L: i can do full size if you want
03:45 PM polprog: they seem to be a4/letter so you could scan them
03:45 PM Tom_L: i shrunk the file
03:45 PM Tom_L: i can do a pdf
03:46 PM polprog: that would be awesome :)
03:50 PM polprog: setting up a web server and the pdf search engine was a great idea
03:50 PM polprog: i have a copy of sams faq too
03:50 PM polprog: and gitweb
03:50 PM polprog: this is so useful
03:51 PM rue_mohr: :)
03:51 PM polprog: we should make a network of our lab PCs so we can access eachothers machines :P
03:51 PM Tom_L: http://tom-itx.no-ip.biz:81/~webpage/rue/CPU_instructions.pdf
03:52 PM polprog: thank you!
04:00 PM rue_mohr: vector table for x86
04:00 PM rue_mohr: there is something you dont see
04:02 PM aandrew: what a day
04:02 PM aandrew: my brain is *fried*
04:02 PM rue_mohr: supposed to be a holiday dude
04:02 PM rue_mohr: :) you did it wrong
04:02 PM aandrew: lol
04:03 PM aandrew: what's a holiday
04:03 PM aandrew: you work for yourself, you should know that there's no such thing as a stat holiday
04:03 PM rue_mohr: charge more :/
04:03 PM aandrew: those are just days you have a better chance of catching up since most others are not bothering you
04:03 PM rue_mohr: what are the priority encoders I got? 8->3
04:03 PM rue_mohr: 74...
04:06 PM rue_shop1: 148
04:09 PM aandrew: 138 is the other way, 3->8
04:10 PM rue_shop1: pullup is 235uA for LS
04:10 PM rue_shop1: this is for the keyboard decoder
04:10 PM rue_shop1: its not scanned :)
04:10 PM rue_shop1: Power is: 1.175mW
04:10 PM rue_shop1: Current is: 235.000uA
04:10 PM rue_shop1: Voltage is: 5.000V
04:10 PM rue_shop1: Resistance is: 21.277kOhms
04:11 PM rue_shop1: so 20k
04:16 PM polprog: [22:51] rue_mohr: 74...
04:16 PM polprog: [22:54] rue_shop1: 148
04:16 PM polprog: so lucky theres two of you
04:16 PM aandrew: yeah I'm not sure why rue_shop1 wouldn't use znc but this obviously works for him
04:17 PM polprog: :l
04:17 PM polprog: :) *
04:22 PM rue_shop1: YES I did get 10k resistor arrays
04:43 PM polprog: how far is Victoria BC from you
05:02 PM rue_mohr: "a ways"
05:08 PM rue_mohr: with the ferries and all it would probably take a day to get there
05:11 PM Tom_L: no ferries in ks
05:30 PM rue_mohr: so, I need to write a lookup table for the keybaord decoder
05:30 PM rue_mohr: eventually
05:30 PM rue_mohr: I need to map the keyboard first
05:33 PM rue_mohr: thats exciting
05:34 PM rue_mohr: I just need 8 transitors and a rom to read a decoded keybaord!
05:34 PM polprog: rue, ive got two of these I2L dacs
05:34 PM polprog: https://pdf1.alldatasheet.com/datasheet-pdf/view/66335/INTERSIL/CA3162.html
05:34 PM polprog: i wonder what can i do with them
05:35 PM polprog: oh crap, i could make a DMM !
05:35 PM polprog: damn, that is nice
05:35 PM rue_mohr: :)
05:35 PM rue_mohr: one that measures current AND voltage at the same time
05:35 PM rue_mohr: and can tell you resistance and watts
05:35 PM rue_mohr: 4 line display
05:35 PM rue_mohr: volts:
05:36 PM rue_mohr: current:
05:36 PM rue_mohr: wattage:
05:36 PM polprog: hmm
05:36 PM rue_mohr: resistance:
06:05 PM rue_mohr: wrting the code to generate the ROM now...
06:13 PM rue_mohr: .. that should do it...
06:19 PM rue_mohr: heh, these images always look like such a mess
06:19 PM rue_mohr: I think its good
06:19 PM rue_mohr: have to try it to know for sure
06:21 PM rue_mohr: / count set bits
06:21 PM rue_mohr: uint8_t bitCount(uint8_t n) {
06:21 PM rue_mohr: uint8_t rv;
06:21 PM rue_mohr: rv = 0;
06:21 PM rue_mohr: if (n & 0x01) rv++;
06:21 PM rue_mohr: if (n & 0x02) rv++;
06:21 PM rue_mohr: if (n & 0x04) rv++;
06:21 PM rue_mohr: if (n & 0x08) rv++;
06:21 PM rue_mohr: if (n & 0x10) rv++;
06:21 PM rue_mohr: if (n & 0x20) rv++;
06:21 PM rue_mohr: if (n & 0x40) rv++;
06:21 PM rue_mohr: if (n & 0x80) rv++;
06:21 PM rue_mohr: return rv;
06:21 PM rue_mohr: }
06:21 PM rue_mohr: todays function
06:22 PM polprog: you should look into scripting the rom image gen so you dont have to recompile
06:22 PM rue_mohr: I did mine in C after that guy did his in php
06:22 PM rue_mohr: the c is fine with me
06:23 PM rue_mohr: and I can have the rom do anything that can be done in C
06:24 PM polprog: fair
06:25 PM rue_mohr: :/ I dont have any 512s in my room
06:25 PM rue_mohr: goes from 128 to 1M
06:25 PM polprog: sounds like you need a rom room
06:26 PM Tom_L: rue's rom room
06:28 PM rue_mohr: I wonder if I should use something that can also take in shift/caps
06:28 PM rue_mohr: I'll go with this for now
06:28 PM rue_mohr: the machine already has a keyboard lookup table
06:28 PM polprog: what are you going to use the keyboard for?
06:28 PM rue_mohr: that old z80
06:28 PM rue_mohr: its keyboard died
06:28 PM polprog: z80 laptop?
06:28 PM rue_mohr: in a bad bad way
06:28 PM rue_mohr: the one I posted about haha
06:29 PM rue_mohr: https://twitter.com/RueNahcMohr/status/1376764192594653187
06:30 PM polprog: ah yeah i saw that
06:30 PM polprog: but what is it running?
06:30 PM rue_mohr: RueMonitor
06:31 PM rue_mohr: v3 I think
06:31 PM rue_mohr: you can read and write memory, jump to an address in ram, and write a Rom
06:31 PM rue_mohr: its barely out of bootstrap
06:31 PM polprog: hmm
06:32 PM rue_mohr: it was SO COOL to get the keyboard and lcd working to enter code
06:34 PM polprog: does it have an assembler
06:34 PM rue_mohr: no
06:34 PM rue_mohr: you enter the hex
06:37 PM rue_mohr: wow thats a slow write
06:40 PM polprog: wow
06:40 PM polprog: thats neat
06:40 PM rue_mohr: ok, I ahve a keybaord decoding rom, supposedly
06:41 PM rue_mohr: the decoder on it now is temporary
06:41 PM rue_mohr: I couldn't work out how to do it
06:41 PM rue_mohr: so I hooked 8 bits of the address bus to the rows, and the columns to the data lines
06:41 PM rue_mohr: you walk a bit thru the address range for the keybaord, and read the data back
06:42 PM rue_mohr: and if the user pushes 2 keys at once the address bus shorts out and the thing goes crazy
06:42 PM rue_mohr: :)
06:55 PM Tom_L: as it should
07:24 PM polprog: no pics, only z80
07:30 PM rue_mohr: haha
07:30 PM rue_mohr: give me a in
07:35 PM Tom_L: i'd expect an animation with electrons flying thru the wires
07:35 PM rue_mohr: http://ruemohr.org/~ircjunk/tempimage/p1190138.jpg
07:35 PM rue_mohr: the rom is a valid key detector and lookup table
07:35 PM rue_mohr: it also detects if the keyboard is being mashed
07:41 PM polprog: emacs mode
07:43 PM polprog: gonna hit the bed soon
07:43 PM polprog: goodnight
07:43 PM rue_mohr: gnight
07:43 PM rue_mohr: see the video
07:43 PM rue_mohr: https://twitter.com/RueNahcMohr/status/1378142710700253189
07:43 PM rue_mohr: less than 2 mins, I garuntee
07:44 PM rue_mohr: I'll hook it to the keybaord and map the keys
07:44 PM polprog: nice :D
07:44 PM rue_mohr: I can build that into the z80 computer later
07:45 PM rue_mohr: I have to rewrite the firmware for the new keyboard
07:45 PM Tom_L: are those key codes or ras cas?
07:45 PM rue_mohr: they are grid numbers
07:45 PM rue_mohr: so they need to be translated
07:45 PM rue_mohr: cause its only 6 bits
07:45 PM rue_mohr: (8x8 grid)
09:33 PM aandrew: https://store.basbrun.com/product/deluxe-fibonnaci-clock-walnut-finish/ ok that is simple and cool and I’m going to build one
09:34 PM aandrew: Of course it’ll either be NTP or CHU sync’d
09:34 PM aandrew: Probably CHU because I like that idea more
09:57 PM rue_shop1: heh
09:57 PM rue_shop1: so it tuns out the wiring of they keyboard seems to be completely funkey