#garfield Logs
Mar 31 2021
#garfield Calendar
12:43 AM rue_mohr: so a keyboard controller for my old z80
12:50 AM rue_mohr: thought
12:50 AM rue_mohr: should I do an interrupt based scan controller
12:50 AM rue_mohr: it seems to me, that if your waiting or checking for a key, it doesn't matter if the wait is polled or came from an interrupt
12:50 AM rue_mohr: even wanting to move towards even based software, it still doesn't matter
12:50 AM rue_mohr: there always seems to have to be some event loop thats gathering things and issueing them based on context, it doesn't really matter if its checking a flag or scanning a whole keybaord
12:51 AM rue_mohr: there are two shift, ctrl, alt, keys, and caps lock and num lock
12:52 AM rue_mohr: maybe caps a num are normal keys
12:52 AM rue_mohr: I think so
12:52 AM rue_mohr: so, 6 modifiers
12:53 AM rue_mohr: almost need some kinda regex for them
12:53 AM rue_mohr: almost like I want a layer that can look for named seuqnces too
12:54 AM rue_mohr: "alt-a"
12:54 AM rue_mohr: which would cover left and right alts
12:55 AM rue_mohr: its like you want 2 masks, one for must be set and one for must be clear
12:56 AM rue_mohr: if their both 0, it will take any combination
12:56 AM rue_mohr: but what if their both 1
12:56 AM rue_mohr: and vs or?
12:57 AM rue_mohr: so both 0 is either
12:57 AM rue_mohr: one set is must be set/clear
12:59 AM rue_mohr: no
12:59 AM rue_mohr: noth 0 is "must not have modifiers"
12:59 AM rue_mohr: clear means must not have modifier
01:00 AM rue_mohr: set means must have modifier
01:00 AM rue_mohr: both 1 means it doesn't care what the state of that modifier is
01:01 AM rue_mohr: so each entry in the keybaord event table has
01:01 AM rue_mohr: key code, set modifiers, clear modifier, and function address
01:01 AM rue_mohr: where key code 0 is a catch-all entry
01:02 AM rue_mohr: or 255, cause that cant happen more.
01:03 AM rue_mohr: hmm, the z80 has search instructions that would work really well if I made it 4 matched tables
01:04 AM rue_mohr: 5 bytes per entry is pretty heavy
01:05 AM rue_mohr: tho I have quite a lot of memory available
06:53 AM polprog: https://polprog.net/rozne1/ircjunk/opabias.pdf
06:53 AM polprog: we had to work that out for the labs, i spent too much time doing that
06:54 AM polprog: was up until 2 am today
06:54 AM polprog: might as well put it here
09:38 AM aandrew: yeah I went to bed at 3:30am, not good
12:34 PM polprog: yah me neither. it sucks to stay up late
12:35 PM polprog: in other news, i just saved $20 on wire wrapping tools
12:35 PM polprog: because i made one from an empty ballpoint pen
12:35 PM polprog: and i made a tootory al
12:35 PM polprog: :-)
12:52 PM polprog: this is awesome
12:52 PM polprog: so fast
02:10 PM polprog: https://polprog.net/blog/diywirewrap/
02:10 PM polprog: rue_mohr: !! ^
06:08 PM rue_mohr: polprog, nice!
06:08 PM rue_mohr: wire wrapper
06:08 PM rue_mohr: I have indoor plumbing again!!!!
06:12 PM aandrew: rue_mohr: welcome back to the first world :-)
06:35 PM rue_mohr: they can take the outhouse away tommorow
06:35 PM rue_mohr: suppose I should get a pic sos I remembers
07:01 PM polprog: gonna make a tutorial about plumbing for a change ? :D
07:01 PM polprog: question, should i go to sleep or should i try and get the DOS circuit sim running
07:01 PM polprog: rue_mohr: now i can make fast prototypes just like you did
07:01 PM polprog: im so happy!
07:02 PM polprog: i guess ill try to get the dos sim running
07:38 PM rue_mohr: hah
07:38 PM rue_mohr: build them in real
07:38 PM rue_mohr: simulators dont really tell you anything
07:43 PM Tom_L: it could have been the dead of winter....
07:54 PM rue_mohr: ?
07:55 PM Tom_L: to make runs to the outhouse
08:03 PM rue_mohr: ah, yea,
08:03 PM rue_mohr: timing could have been much worse
08:21 PM rue_mohr: polprog, Im confused tho... fast prototypes?
09:12 PM aandrew: bah
09:12 PM aandrew: rue_mohr's in BC, that *can* get cold but it's rare
09:13 PM aandrew: it would suck though, but you wouldn't have to worry about your ass freezing (and even if that was the case I'm 100% sure rue'd have rigged a heated seat
10:28 PM * rue_mohr pees on plastic outhouse that melted cause he installed a heater
10:28 PM rue_mohr: so
10:28 PM rue_mohr: hdmi
10:29 PM rue_mohr: and data rates
10:29 PM rue_mohr: you dont actually have to do ANY framerate for hdmi do ya?
10:30 PM rue_mohr: I'm starting to ponder, too seriously, the idea of something like a raspberry pi to be a video card for a z80 computer
10:33 PM aandrew: hm?
10:33 PM Tom_L: speaking of heaters, do you need to replace all your radiators for your heatplant?
10:33 PM rue_mohr: just the only one it had
10:33 PM Tom_L: why the short life?
10:34 PM Tom_L: oh that's right, you were looking for those U connectors
10:34 PM rue_mohr: the orig radiator I used sprung a leak
10:34 PM rue_mohr: and it was apparently smaller than any radiator made today
10:35 PM rue_mohr: came from a 6L caravan
10:35 PM Tom_L: so an auto heater radiator
10:35 PM rue_mohr: https://www.aliexpress.com/item/1005002329285979.html
10:35 PM rue_mohr: it was a engine cooling radiator
10:35 PM Tom_L: oh
10:36 PM rue_mohr: yea, they were the most popular radiator when I used it
10:36 PM rue_mohr: everyone had tonnes of them
10:36 PM rue_mohr: thats why I chose it
10:36 PM Tom_L: should have got a spare
10:37 PM Tom_L: did it freeze up or something?
10:37 PM rue_mohr: no, just sprung a leak
10:37 PM rue_mohr: in the middle :/
10:39 PM rue_mohr: huh I wonder
10:39 PM rue_mohr: could the processor from a modern hard drive act as an hdmi video card?
10:39 PM rue_mohr: its almost the same kinda role isn't it?
10:44 PM Tom_L: who's spline?
10:45 PM rue_mohr: oh maybe a fellow from my past
10:45 PM rue_mohr: spline, lawnmower gocarts?
10:46 PM Tom_L: made one from wood when i was a teen
10:53 PM rue_mohr: we took lawnmovwers, put steerable wheels on the front, ditched the engine and put a seat on